I get an error about a unknown genotype. The file is produced by Freebayes. but might contain ./. and . as missing genotypes? genotypeSummary -f my_file.vcf.gz -y GT -t 0,1,2,3,4,5 FATAL: unknown genotype: .
Also I would like to do this for a large set of samples so a parsing for a range of targets might be usefull. i.e.: -t 1-100
Using
vcftools --het? According to the manual this option calculates a measure of heterozygosity on a per-individual basis.This functionality seems to be broken in my installed version of vcftools (v0.1.14 (= the latest?) ) . It says all variants and samples are included but outputs a file called out.het with a header " INDV O(HOM) E(HOM) N_SITES F " and no records. I am also still looking for the per site heterozygosity .