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.
We will be out of the office on November 11th and 13th 2019, due to the U.S. holiday(Veteran's day) and due to a team event(Nov 13th). We will return to monitoring the GATK forum on November 12th and 14th respectively. Thank you for your patience.

gatk FilterVariantTranches

jodybkjodybk LondonMember

I am a bit unsure on the usage of FilterVariantTranches. I have have applied CNNScoreVariants to a VCF and am now trying to filter. I am using another VCF as the resource (also after applying CNNScoreVariants) like this:

gatk FilterVariantTranches -V ERR1213935.CNN.vcf.gz --resource por7A1.CNN.vcf.gz --info-key CNN_1D --snp-tranche 99.95 --indel-tranche 99.4 -O out.vcf

However it is throwing the following error: A USER ERROR has occurred: VCF must contain SNPs and indels with scores and resources must contain matching SNPs and indels.

So my question does the overlap between the sample VCF and the resource have to be? At the moment they contain some of the same variants but also different ones. From the error message it seems like they should contain exactly the same variants?

Thanks in advance,


Sign In or Register to comment.