DiploidGenotype

Holds ordered pair of two alleles

Constructors

this
this(B b1, B b2)

Construct a genotype from two bases Every ambiguous base gets converted to 'N' internally.

this
this(B b)

Construct homozygous genotype

Members

Functions

base1
B base1()

First allele

base2
B base2()

Second allele

is_heterozygous
bool is_heterozygous()
is_homozygous
bool is_homozygous()
toString
string toString()

String representation B1|B2 (TODO: add phasing in future?)

Mixins

__anonymous
mixin TinyMapInterface!(B.ValueSetSize^^2)
Undocumented in source.

Meta