Genotype

Struct to represent VCF/BCF genotype data

Constructors

this
this(FormatField gt, ulong sampleIdx)

ctor from FormatField

Postblit

this(this)
this(this)

Explicit postblit to avoid https://github.com/blachlylab/dhtslib/issues/122

Members

Functions

alleles
auto alleles()
Undocumented in source. Be warned that the author may not have intended to support it.
getPloidy
auto getPloidy()

get genotype ploidy

isNull
bool isNull()
Undocumented in source. Be warned that the author may not have intended to support it.
toString
auto toString()

mixin for genotype printing

toString
auto toString()

get string representation

Variables

data
void[] data;

Array of encoded genotypes

line
Bcf1 line;

VCFRecord refct

type
BcfRecordType type;

Type of underlying format data

Meta