Skip to content

Commit

Permalink
Allow wildcard in -R: '-R *fasta'.
Browse files Browse the repository at this point in the history
  • Loading branch information
brianwalenz committed Sep 27, 2018
1 parent 44b3eb7 commit 5e08ded
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/haplotyping/splitHaplotype.C
Original file line number Diff line number Diff line change
Expand Up @@ -637,7 +637,8 @@ main(int argc, char **argv) {
decodeRange(argv[++arg], G->_idMin, G->_idMax);

} else if (strcmp(argv[arg], "-R") == 0) {
G->_seqs.push(new dnaSeqFile(argv[++arg]));
while ((arg < argc) && (fileExists(argv[arg+1])))
G->_seqs.push(new dnaSeqFile(argv[++arg]));

} else if (strcmp(argv[arg], "-H") == 0) { // HAPLOTYPE SPECIFICATION
G->_haps.push_back(new hapData(argv[++arg]));
Expand Down

0 comments on commit 5e08ded

Please sign in to comment.