Entering edit mode
7.8 years ago
thal
▴
10
Hello. I received a rather messy vcf file recently and I already did some cleaning with vcftools and bcftools. But there are two more things I want to do and I cannot find an option for it.
First, I want to exclude all sites which have more than 90% heterozygous calls. And second, I want to include only those sites which have at least one homozygous genotype for both alleles (there are only biallelic sites left). I'd be very thankful for any help.
Thanks a lot. Unfortunately I get an error.
I guess the problem is that my vcf does not has a header.
A VCF requires a header...