Heads up:
We’re moving the GATK website, docs and forum to a new platform. Read the full story and breakdown of key changes on this blog.
Notice:
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.
Attention:
We will be out of the office for a Broad Institute event from Dec 10th to Dec 11th 2019. We will be back to monitor the GATK forum on Dec 12th 2019. In the meantime we encourage you to help out other community members with their queries.
Thank you for your patience!

GATK4beta6 HaplotypeCaller doesn't index g.vcf.gz output

With the following command:

java -Xmx7g -jar gatk-package-4.beta.6-local.jar HaplotypeCaller -ERC GVCF -G StandardAnnotation -G AS_StandardAnnotation --maxReadsPerAlignmentStart 0 -GQB 5 -GQB 10 -GQB 15 -GQB 20 -GQB 25 -GQB 30 -GQB 35 -GQB 40 -GQB 45 -GQB 50 -GQB 55 -GQB 60 -GQB 65 -GQB 70 -GQB 75 -GQB 80 -GQB 85 -GQB 90 -GQB 95 -GQB 99 -I example.bam -O example.g.vcf.gz -R /path/to/GRCh38.d1.vd1.fa

the output file example.g.vcf.gz does not get indexed, despite the default value for --createOutputVariantIndex being True. The command finishes successfully without error, but never creates the index. '

Ben

Best Answer

  • shleeshlee Cambridge ✭✭✭✭✭
    Accepted Answer

    Hi @bkelly01,

    I can recapitulate your observation. HaplotypeCaller in GATK4.beta hasn't been tied out yet and I assume this is an issue that will be fixed in the official release. You can use IndexFeatureFile to index the .g.vcf.gz in the meanwhile. If you still do not get an index with the official release, please let us know.

Answers

  • shleeshlee CambridgeMember, Broadie ✭✭✭✭✭
    Accepted Answer

    Hi @bkelly01,

    I can recapitulate your observation. HaplotypeCaller in GATK4.beta hasn't been tied out yet and I assume this is an issue that will be fixed in the official release. You can use IndexFeatureFile to index the .g.vcf.gz in the meanwhile. If you still do not get an index with the official release, please let us know.

  • bkelly01bkelly01 USAMember

    It was more of a "call to your attention" than anything else. I went the tabix -p vcf my.g.vcf.gz route because I didn't realize IndexFeatureFile existed. Thanks!

  • shleeshlee CambridgeMember, Broadie ✭✭✭✭✭

    Thanks @bkelly01 for taking the time to call our attention to this. The fix for HaplotypeCaller indexing was incorporated in November and should be available for the next release.

Sign In or Register to comment.