Filter heterozygous SNP calls out of a VCF file?
1
2
Entering edit mode
6.4 years ago
nute11a ▴ 30

Hello,

I was wondering if there was a way to filter out heterozygous SNP calls from a VCF file. I am working with a model that has a doubled haploid genome, so we expect all calls to be homozygous, and any heterozygotes are a false positive which should be removed. Should I be filtering by genotype? Does anyone have any suggestions on how to do this?

Thank you!

SNP VCF • 3.6k views
ADD COMMENT
1
Entering edit mode

Previous thread that may be useful: filter vcf file heterozygous calls by allelic depth

ADD REPLY
1
Entering edit mode

multi-samples ? what happens if only one sample is HET ? Input/output is needed.

ADD REPLY
0
Entering edit mode
6.3 years ago
nute11a ▴ 30

Hey! I figured it out -- sorry for the late response. I used GATK and did isHet and then set filtered genotypes to no call. Thank you for your help.

ADD COMMENT

Login before adding your answer.

Traffic: 1773 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6