Package htsjdk.variant.bcf2
Class BCF2GenotypeFieldDecoders
java.lang.Object
htsjdk.variant.bcf2.BCF2GenotypeFieldDecoders
An efficient scheme for building and obtaining specialized
genotype field decoders. Used by the BCFCodec to parse
with little overhead the fields from BCF2 encoded genotype
records
- Since:
- 6/12
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic interface
Decoder a field (implicit from creation) encoded as typeDescriptor in the decoder object in the GenotypeBuilders one for each sample in order. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetDecoder
(String field) Return decoder appropriate for field, or the generic decoder if no specialized one is bound
-
Constructor Details
-
BCF2GenotypeFieldDecoders
-
-
Method Details
-
getDecoder
Return decoder appropriate for field, or the generic decoder if no specialized one is bound- Parameters:
field
- the GT field to decode- Returns:
- a non-null decoder
-