Skip to content

Commit

Permalink
Make it an error to use --reorder and not specify -S
Browse files Browse the repository at this point in the history
  • Loading branch information
ch4rr0 committed Jul 10, 2020
1 parent b58c1e3 commit 29358a2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ebwt_search.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -836,9 +836,9 @@ static void parseOptions(int argc, const char **argv) {
reorder = false;
}
if (reorder == true && outType != OUTPUT_SAM) {
cerr << "Bowtie will attempt to reorder its output only when outputting SAM." << endl
<< "Please specify the `-S` parameter if you intend on using this option." << endl;
reorder = false;
cerr << "Bowtie will reorder its output only when outputting SAM." << endl
<< "Please specify the `-S` parameter if you intend on using this option." << endl;
throw 1;
}
//bool paired = mates1.size() > 0 || mates2.size() > 0 || mates12.size() > 0;
if(rangeMode) {
Expand Down

0 comments on commit 29358a2

Please sign in to comment.