expected heterozygosity calculation
0
0
Entering edit mode
6.5 years ago

Hi to all, I have a vcf file that including multisample. I want to calculate expected heterozygosity for this vcf file by sliding-window approach(40-kb-windows slidingin20-kb-steps). I want to know, which software do this? Thanks, Siavash

VCF SNP genome snp • 3.8k views
ADD COMMENT
0
Entering edit mode

Number of hets, hom. ref. and hom. alt. in a given region

bcftools stats -r chr1:23000-26000 -s - <input.vcf.gz>

You are probably interested in runs of homozygosity

bcftools roh
ADD REPLY

Login before adding your answer.

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