@@ -188,7 +188,7 @@ explore=false
188188include_assembly=true
189189annotation=false
190190verbose_option_circos=" "
191- w_winner=" "
191+ w_winner=" -w "
192192is_verbose=false
193193config_dir=" $script_dir /config_files"
194194trimmomatic_directory=/opt/Trimmomatic/
@@ -287,7 +287,7 @@ while getopts $options opt; do
287287 output_dir=$OPTARG
288288 ;;
289289 w)
290- w_winner=" -w "
290+ w_winner=" "
291291 ;;
292292 V)
293293 verbose_option_circos=" -V"
@@ -599,7 +599,7 @@ this will reduce the input sequences to map against" $sample
599599 echo -e " \n${CYAN} CLUSTERING SEQUENCES BY KMER DISTANCE${NC} ($( date) )\n \
600600Sequences obtained after screen will be clustered to reduce redundancy,\n \
601601one representative, the largest, will be considered for further analysis" $sample
602- mashclust.py -i $output_dir /$group /$sample /kmer/database.filtered_$kmer_cutoff " _term.fasta" -d $cluster_cutoff
602+ mashclust.py -i $output_dir /$group /$sample /kmer/database.filtered_$kmer_cutoff " _term.fasta" -d $cluster_cutoff & >> $log_file || error ${LINENO} $( basename $0 ) " See $output_dir /logs/plasmidID.log for more information.\n command:mashclust.py -i $output_dir / $group / $sample /kmer/database.filtered_ $kmer_cutoff " _term.fasta " -d $cluster_cutoff "
603603
604604 screened_ddbb=$output_dir /$group /$sample /kmer/database.filtered_$kmer_cutoff " _term." $cluster_cutoff " .representative.fasta"
605605
@@ -751,7 +751,7 @@ this will reduce the input sequences to map against" $sample
751751 echo -e " \n${CYAN} CLUSTERING SEQUENCES BY KMER DISTANCE${NC} ($( date) )\n \
752752Sequences obtained after screen will be clustered to reduce redundancy,\n \
753753one representative, the largest, will be considered for further analysis" $sample
754- mashclust.py -i $output_dir /$group /$sample /kmer/database.filtered_$kmer_cutoff " _term.fasta" -d $cluster_cutoff
754+ mashclust.py -i $output_dir /$group /$sample /kmer/database.filtered_$kmer_cutoff " _term.fasta" -d $cluster_cutoff & >> $log_file || error ${LINENO} $( basename $0 ) " See $output_dir /logs/plasmidID.log for more information.\n command: mashclust.py -i $output_dir / $group / $sample /kmer/database.filtered_ $kmer_cutoff " _term.fasta " -d $cluster_cutoff "
755755
756756 screened_ddbb=$output_dir /$group /$sample /kmer/database.filtered_$kmer_cutoff " _term." $cluster_cutoff " .representative.fasta"
757757
@@ -1072,6 +1072,6 @@ draw_circos_images.sh -i $output_dir/$group/$sample \
10721072echo -e " \n${CYAN} CREATING SUMMARY REPORT${NC} ($( date) )\n \
10731073An html report with miniatures of the images will be generate with useful statistics to determine the correct plasmids in the sample."
10741074
1075- summary_report_pid.py -i $output_dir /$group /$sample -g
1075+ summary_report_pid.py -i $output_dir /$group /$sample -g || error ${LINENO} $( basename $0 ) " See $output_dir /logs/plasmidID.log for more information.\ncommand:\nsummary_report_pid.py -i $output_dir / $group / $sample -g "
10761076
10771077echo -e " \n${YELLOW} ALL DONE WITH plasmidID${NC} \nThank you for using plasmidID\n"
0 commit comments