Skip to content

Commit

Permalink
assembleAll.pl: quast --min-contig 1 to avoid errors on bad assemblies
Browse files Browse the repository at this point in the history
  • Loading branch information
lskatz authored Sep 23, 2024
1 parent 4ae1d0a commit c65e62d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion SneakerNet.plugins/assembleAll.pl
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,9 @@ sub assembleAll{

if(!-e "$outdir/quast/report.html"){
logmsg "Running quast on $outassembly > $outdir/quast";
command("quast $outassembly --glimmer --output-dir $outdir/quast --threads $$settings{numcpus} --rna-finding");
# 2024-09-23 adding --min-contig 1 to accept assemblies of very small contig lengths:
# we just want to know if it's a bad assembly and we don't want quast to crash.
command("quast $outassembly --glimmer --output-dir $outdir/quast --threads $$settings{numcpus} --rna-finding --min-contig 1");
}
else{
logmsg "Found $outdir/quast/report.html. Not rerunning";
Expand Down

0 comments on commit c65e62d

Please sign in to comment.