Skip to content

Commit

Permalink
Added error requesting upgrade or downgrade for bowtie2 v2.3.1 due to…
Browse files Browse the repository at this point in the history
… malformeds SAM output
  • Loading branch information
jeffreybarrick committed Apr 13, 2017
1 parent 0c5a866 commit 7f6a179
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/c/breseq/settings.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1150,6 +1150,13 @@ namespace breseq
cerr << "---> Your version is " << this->installed["bowtie2_version_string"] << "." << endl;
cerr << "---> See http://bowtie-bio.sourceforge.net/bowtie2" << endl;
}
else if (from_string<uint32_t>(this->installed["bowtie2_version"]) == 2003001000) {
good_to_go = false;
cerr << "---> ERROR \"bowtie2\" version 2.3.1 is known to have a major bug in SAM" << endl;
cerr << "---> ERROR output that will cause breseq to crash. Please upgrade/downgrade." << endl;
cerr << "---> Your version is " << this->installed["bowtie2_version_string"] << "." << endl;
cerr << "---> See http://bowtie-bio.sourceforge.net/bowtie2" << endl;
}
else {
cout << "---> bowtie2 :: version " << this->installed["bowtie2_version_string"] << " [" << this->installed["bowtie2"] << "]" << endl;
}
Expand Down

0 comments on commit 7f6a179

Please sign in to comment.