struct
HTS::Bcf::Format::GenotypeView
- HTS::Bcf::Format::GenotypeView
- Struct
- Value
- Object
Overview
Borrowed view of one sample's encoded GT values.
EXPERIMENTAL
Defined in:
hts/bcf/format.crConstructors
Instance Method Summary
-
#each_allele(& : Int32, Bool, Bool -> ) : Nil
Yields allele index, phased flag, and missing flag for each allele.
- #ploidy : Int32
- #values : Slice(Int32)
Constructor Detail
Instance Method Detail
def each_allele(& : Int32, Bool, Bool -> ) : Nil
#
Yields allele index, phased flag, and missing flag for each allele. Missing alleles use -1 as their allele index. Vector-end sentinels are excluded from this view and are not yielded.