If you happen to see a question you know the answer to, please do chime in and help your fellow community members. We encourage our fourm members to be more involved, jump in and help out your fellow researchers with their questions. GATK forum is a community forum and helping each other with using GATK tools and research is the cornerstone of our success as a genomics research community.We appreciate your help!

Test-drive the GATK tools and Best Practices pipelines on Terra

Check out this blog post to learn how you can get started with GATK and try out the pipelines in preconfigured workspaces (with a user-friendly interface!) without having to install anything.

CountBases -o option

tommycarstensentommycarstensen United KingdomMember ✭✭✭

I wanted to calculate the depth of coverage of my bam and as part of that calculation did this:
java -Xmx200m \
-jar GATK.jar \
-T CountBases \
-o CountBases.out \
-I $mybam \

However, I got this error:

ERROR ------------------------------------------------------------------------------------------
ERROR A USER ERROR has occurred (version 2.1-13-g0f021e6):
ERROR The invalid arguments or inputs must be corrected before the GATK can proceed
ERROR Please do not post this error to the GATK forum
ERROR See the documentation (rerun with -h) for this tool to view allowable command-line arguments.
ERROR Visit our website and forum for extensive documentation and answers to
ERROR commonly asked questions
ERROR MESSAGE: Argument with name 'o' isn't defined.
ERROR ------------------------------------------------------------------------------------------

-o is allowed according to

Is this the right place to submit bugs?

A feature request:
PrintReads has a --downsample_coverage option. This allows me to downsample by a given ratio. It would be great, if I could also downsample to a given depth of coverage with this tool without having to calculate the depth of coverage a priori.

Best Answer


Sign In or Register to comment.