Skip to content

Commit

Permalink
changed minimum --mbq to 4
Browse files Browse the repository at this point in the history
  • Loading branch information
pjedge committed Mar 14, 2019
1 parent c50dede commit 1ba3e87
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions hairs-src/extracthairs.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// author: Vikas Bansal, vbansal@scripps, 2011-2012
/// author: Vikas Bansal, vbansal@scripps, 2011-2012
// program to extract haplotype informative reads from sorted BAM file, input requirements: bamfile and variantfile
// Jan 13 2012, changed to read directly from BAM file
// paired-end overlapping reads need to be handled properly
Expand Down Expand Up @@ -384,8 +384,8 @@ int main(int argc, char** argv) {
fprintf(stderr, "\nERROR: In order to realign variants (including --pacbio and --ont options), reference fasta file must be provided with --ref option.\n");
exit(1);
}
if (MINQ < 3) {
fprintf(stderr, "\nERROR: MINQ must be at least 3.\n");
if (MINQ < 4) {
fprintf(stderr, "\nERROR: MINQ must be at least 4.\n");
exit(1);
}
if (bamfiles > 0 && strcmp(variantfile, "None") != 0) {
Expand Down

0 comments on commit 1ba3e87

Please sign in to comment.