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.
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 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!

Biallelic variants only with HaplotypeCaller

I want to restrict the HaplotypeCaller to only call biallelic sites. I'm thinking that this can be accomplished with --max_alternate_alleles, although I'm not 100% whether this parameter should be set to 1 or 2 (one alternate allele, or two different alleles?).

--max_genotype_count seems relevant here also, but I don't understand what it does.

Basically, how do I ensure calling only biallelic sites?


  • Geraldine_VdAuweraGeraldine_VdAuwera Cambridge, MAMember, Administrator, Broadie admin

    Those parameters are mainly intended to limit complexity and improve performance in messy regions, so I can't guarantee that will work well for your use case. But it's worth trying. However I would recommend using --max_genotype_count which may be a more principled way of looking for biallelic sites. The idea is that the program will look at the possible genotypes given the observed alleles, and eliminate alleles based on the amount of support they have in reads until it reaches the requested threshold for number of genotypes.

  • olavurolavur Member

    Thanks @Geraldine_VdAuwera

    Ok, if I do this, I will use --max_genotype_count=2.

    I understand that this functionality speeds up the variant calling process. It seems to me that most software doesn't even consider multiallelic sites, so calling them seems like a waste of time. This is basically why I wanted to try this.

  • SheilaSheila Broad InstituteMember, Broadie admin


    That is fine, but if you are looking for only biallelic sites, you should set --max_genotype_count 3. There will be 3 possible genotypes with two alleles.


Sign In or Register to comment.