Skip to content

Commit

Permalink
Stop of quality issues but not on too many short reads
Browse files Browse the repository at this point in the history
  • Loading branch information
skoren committed Jul 17, 2019
1 parent 6e61f02 commit a446548
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/pipelines/canu/Defaults.pm
Original file line number Diff line number Diff line change
Expand Up @@ -907,7 +907,7 @@ sub setDefaults () {

##### Stopping conditions

setDefault("stopOnReadQuality", 0, "Stop if a significant portion of the input data is too short or has quality value or base composition errors");
setDefault("stopOnReadQuality", 1, "Stop if a significant portion of the input data has quality value or base composition errors");
setDefault("stopOnLowCoverage", 10, "Stop if raw, corrected or trimmed read coverage is low");
setDefault("stopAfter", undef, "Stop after a specific algorithm step is completed");

Expand Down
3 changes: 1 addition & 2 deletions src/stores/sqStoreCreate.C
Original file line number Diff line number Diff line change
Expand Up @@ -727,8 +727,7 @@ createStore(const char *seqStoreName,
if (nWARNS > 0.25 * (nLOADED))
fprintf(stderr, "sqStoreCreate did NOT finish successfully; too many warnings. Check your reads.\n");

if (nSKIPPED > 0.50 * (nLOADED))
fprintf(stderr, "sqStoreCreate did NOT finish successfully; too many short reads. Check your reads!\n");
// do not output an error for too many short reads

if ((bSKIPPED > 0.25 * (bSKIPPED + bLOADED)) ||
(nWARNS > 0.25 * (nSKIPPED + nLOADED)) ||
Expand Down

0 comments on commit a446548

Please sign in to comment.