Filtering by specific genotype VCF
1
0
Entering edit mode
6.8 years ago
virpatel3 ▴ 20

I have a vcf file with 274 samples in which I need to remove all heterozygotic SNPs for individual samples, since I am studying a haploid model. How can I best accomplish this?

vcf genotype filter • 1.4k views
ADD COMMENT
0
Entering edit mode

is it 274 vcf with one sample , or 1 vcf with 274 samples (and what should you do if only one sample is Het) ?

ADD REPLY
0
Entering edit mode

So 274 samples in 1 VCF. If there is a heterozygous site, I'd like to remove it, with the distinction of ./. as is typically prescribed for sites without data. You see, this is genotype data for a malaria strain, which is haploid.

ADD REPLY
1
Entering edit mode
6.7 years ago
agata88 ▴ 870

Hi! I found post in biostar that might be helpful. filter my vcf for heterozygous

To be curious, why do you have hetero variants if your organism is haploid?

Best,

Agata

ADD COMMENT

Login before adding your answer.

Traffic: 2710 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