public static class BCF2FieldWriter.IGFGenotypesWriter extends BCF2FieldWriter.GenotypesWriter
BCF2FieldWriter.FTGenotypesWriter, BCF2FieldWriter.GenericSiteWriter, BCF2FieldWriter.GenotypesWriter, BCF2FieldWriter.GTWriter, BCF2FieldWriter.IGFGenotypesWriter, BCF2FieldWriter.IntegerTypeGenotypesWriter, BCF2FieldWriter.SiteWriter, BCF2FieldWriter.StaticallyTypeGenotypesWriter
Constructor and Description |
---|
IGFGenotypesWriter(VCFHeader header,
BCF2FieldEncoder fieldEncoder,
IntGenotypeFieldAccessors.Accessor ige) |
Modifier and Type | Method and Description |
---|---|
void |
addGenotype(BCF2Encoder encoder,
VariantContext vc,
Genotype g) |
protected int |
numElements(VariantContext vc,
Genotype g) |
void |
start(BCF2Encoder encoder,
VariantContext vc) |
done, getField, getFieldEncoder, getHeader, toString
public IGFGenotypesWriter(VCFHeader header, BCF2FieldEncoder fieldEncoder, IntGenotypeFieldAccessors.Accessor ige)
public void start(BCF2Encoder encoder, VariantContext vc) throws java.io.IOException
start
in class BCF2FieldWriter.GenotypesWriter
java.io.IOException
public void addGenotype(BCF2Encoder encoder, VariantContext vc, Genotype g) throws java.io.IOException
addGenotype
in class BCF2FieldWriter.GenotypesWriter
java.io.IOException
protected int numElements(VariantContext vc, Genotype g)
numElements
in class BCF2FieldWriter.GenotypesWriter