sgkit.variables.variant_genotype_count_spec#

sgkit.variables.variant_genotype_count_spec = ArrayLikeSpec(default_name='variant_genotype_count', __doc__='\nThe number of observations for each possible genotype at each variant.\nCounts are sorted following the ordering defined in the VCF specification.\n\n- For biallelic, diploid genotypes the ordering is ``00``, ``01``, ``11``\n  (homozygous reference, heterozygous, homozygous alternate).\n- For triallelic, diploid genotypes the ordering is ``00``, ``01``, ``11``,\n  ``02``, ``12``, ``22``\n- For triallelic, triploid genotypes the ordering is  ``000``, ``001``, ``011``,\n  ``111``, ``002``, ``012``, ``112``, ``022``, ``122``, ``222``\n', kind={'u', 'i'}, ndim=2, dims=('variants', 'genotypes'))#

The number of observations for each possible genotype at each variant. Counts are sorted following the ordering defined in the VCF specification.

  • For biallelic, diploid genotypes the ordering is 00, 01, 11 (homozygous reference, heterozygous, homozygous alternate).

  • For triallelic, diploid genotypes the ordering is 00, 01, 11, 02, 12, 22

  • For triallelic, triploid genotypes the ordering is 000, 001, 011, 111, 002, 012, 112, 022, 122, 222