Skip to content

Commit

Permalink
add checks for --fastq_minqual
Browse files Browse the repository at this point in the history
  • Loading branch information
frederic-mahe committed Feb 28, 2025
1 parent a120f37 commit ff5b0c9
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/filter.cc
Original file line number Diff line number Diff line change
Expand Up @@ -649,6 +649,10 @@ namespace {
if (is_negative) {
fatal("--fastq_truncee_rate cannot be negative");
}

if (parameters.opt_fastq_minqual < 0) {
fatal("--fastq_minqual cannot be negative");
}
}

} // end of anonymous namespace
Expand Down

0 comments on commit ff5b0c9

Please sign in to comment.