Entering edit mode
8.8 years ago
Matt
•
0
Hi all
Is it possible to use vcftools to filter vcf files based on % of heterozygosity ?!
best
M
Hi all
Is it possible to use vcftools to filter vcf files based on % of heterozygosity ?!
best
M
Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
I don't think you can't do that using vcffilter
If you're looking to do something like that you'll need to use a tool that already calculated the number of heterozygotes in your multi-sample VCF, write a wrapper script around another tool, or use the vcftools Perl API. I had assumed you already had your % heterozygosity calculated using an annotation tool and had it in your VCF in the INFO field. Otherwise you need to calculate this before you can filter on it.