Skip to content

Commit

Permalink
Update TrimBam to accept -.ubam, etc. Previously it failed if the inp…
Browse files Browse the repository at this point in the history
…ut/output filename was -.ubam, etc
  • Loading branch information
mktrost committed Jun 2, 2020
1 parent c2dd61f commit fccc66c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/TrimBam.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ int TrimBam::execute(int argc, char ** argv)
int c = 0;
int n_option_index = 0;
// Process any additional parameters
while ( ( c = getopt_long(argc, argv,
while ( ( c = getopt_long(argc-3, &(argv[3]),
"L:R:icn", getopt_long_options, &n_option_index) )
!= -1 )
{
Expand Down

0 comments on commit fccc66c

Please sign in to comment.