Class BCF2GenotypeFieldDecoders


  • public class BCF2GenotypeFieldDecoders
    extends Object
    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
    • Constructor Detail

      • BCF2GenotypeFieldDecoders

        public BCF2GenotypeFieldDecoders​(VCFHeader header)
    • Method Detail

      • getDecoder

        public BCF2GenotypeFieldDecoders.Decoder getDecoder​(String field)
        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