public abstract static class BCF2FieldWriter.GenotypesWriter extends BCF2FieldWriter
BCF2FieldWriter.FTGenotypesWriter, BCF2FieldWriter.GenericSiteWriter, BCF2FieldWriter.GenotypesWriter, BCF2FieldWriter.GTWriter, BCF2FieldWriter.IGFGenotypesWriter, BCF2FieldWriter.IntegerTypeGenotypesWriter, BCF2FieldWriter.SiteWriter, BCF2FieldWriter.StaticallyTypeGenotypesWriter
Modifier | Constructor and Description |
---|---|
protected |
GenotypesWriter(VCFHeader header,
BCF2FieldEncoder fieldEncoder) |
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
protected GenotypesWriter(VCFHeader header, BCF2FieldEncoder fieldEncoder)
public void start(BCF2Encoder encoder, VariantContext vc) throws java.io.IOException
start
in class BCF2FieldWriter
java.io.IOException
public void addGenotype(BCF2Encoder encoder, VariantContext vc, Genotype g) throws java.io.IOException
java.io.IOException
protected int numElements(VariantContext vc, Genotype g)