Skip to content

Commit 71f6442

Browse files
committed
pre release 1.6
1 parent 3c5342d commit 71f6442

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

plasmidID

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ explore=false
188188
include_assembly=true
189189
annotation=false
190190
verbose_option_circos=""
191-
w_winner=""
191+
w_winner="-w"
192192
is_verbose=false
193193
config_dir="$script_dir/config_files"
194194
trimmomatic_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 \
600600
Sequences obtained after screen will be clustered to reduce redundancy,\n \
601601
one 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 \
752752
Sequences obtained after screen will be clustered to reduce redundancy,\n \
753753
one 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 \
10721072
echo -e "\n${CYAN}CREATING SUMMARY REPORT${NC} ($(date))\n \
10731073
An 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

10771077
echo -e "\n${YELLOW}ALL DONE WITH plasmidID${NC}\nThank you for using plasmidID\n"

0 commit comments

Comments
 (0)