Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

print-individual-mapq not working #58

Open
fkokocinski opened this issue Oct 22, 2018 · 2 comments
Open

print-individual-mapq not working #58

fkokocinski opened this issue Oct 22, 2018 · 2 comments

Comments

@fkokocinski
Copy link

Running with other options works great, but -D or --print-individual-mapq with either of 1, true, yes or a few other things throws an error:

bam-readcount -w 10 -f ${fasta}.fa -D true ${sample}.bam ${region}

Minimum mapping quality is set to 0
libc++abi.dylib: terminating with uncaught exception of type char const*
Abort trap: 6

This is on OS X 10.14 in a conda environment.
Many thanks, Felix

@susannasiebert
Copy link

This might just be an error in the documentation but since this is a flag, I wouldn't expect it to take an argument. Have you tried to run it with just -D without an argument?

@fkokocinski
Copy link
Author

Thanks, but yes, this was the result:

libc++abi.dylib: terminating with uncaught exception of type boost::exception_detail::clone_impl<boost::exception_detail::error_info_injector<boost::program_options::invalid_bool_value> >: 
the argument ('filengs.bam') for option '--mapq' is invalid. 
Valid choices are 'on|off', 'yes|no', '1|0' and 'true|false'
Abort trap: 6

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants