bcf_gt2alleles

Conversion between alleles indexes to Number=G genotype index (assuming diploid, all 0-based)

  1. auto bcf_alleles2gt(int a, int b)
  2. void bcf_gt2alleles(int igt, int* a, int* b)
    extern (C) pragma(inline, true)
    void
    bcf_gt2alleles
    (
    int igt
    ,
    int* a
    ,
    int* b
    )

Meta