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.

A single pass mechanism to add multiple annotations to vcf

juberjuber Member


I was wondering if there is a nice way to apply multiple processing steps to each variant (or a group of variants) as they are read so that the variant file is not read again and again. My understanding is that even if I use Queue, each script would read the vcf again. Is that correct?

Best Answer


  • SheilaSheila admin Broad InstituteMember, Broadie, Moderator admin
  • juberjuber Member

    Hi Sheila,

    Thanks for the quick response.

    Looking at the VariantAnnotatorEngine method annotateContext, it seems that it is only doing INFO annotations and not genotype annotations (ie FORMAT fields). Also if one annotation depends on a genotype attribute added in a previous annotation, that doesn't seem accessible in the current annotation. I am trying to understand if Variant Annotator could be used to create a chain of annotations with possible dependencies on previous annotations.


    Juber Patel

  • juberjuber Member

    Hi Geraldine,

    on a second look, I do see that VariationAnnotationEngine annotates genotypes as well. But the sequence and dependency issue remains. Thanks for the clarification.


Sign In or Register to comment.