bowtie2 icon indicating copy to clipboard operation
bowtie2 copied to clipboard

clarification on -fr vs -f vs --fr flags

Open stephenfloor opened this issue 3 years ago • 1 comments

Hello,

Thanks for writing great software and your work maintaining it. I ran into a vexing issue that would be easy to fix for people in the future. Somehow my command line ended up dropping a dash on the --fr flag, so I was running bowtie2 with the -fr flag. This was interpreted by bowtie2 as the -f flag, which led it to try to interpret the input as fasta instead of fastq. Would it be possible to throw an error with the parameter -fr instead of interpreting it as -f, since -fr is likely a typo for --fr?

I realize this is kind of a minute issue, but also seems simple to fix and might lead to a more robust user experience! Thanks, Stephen

stephenfloor avatar Feb 15 '22 22:02 stephenfloor

Read formats should indeed be mutually exclusive options. I have pushed a change to the bug_fixes branch to address this.

ch4rr0 avatar Feb 21 '22 00:02 ch4rr0

FYI -- this change is already available in production.

ch4rr0 avatar Nov 09 '23 18:11 ch4rr0