Class BCF2FieldWriter.GenotypesWriter
- java.lang.Object
-
- htsjdk.variant.variantcontext.writer.BCF2FieldWriter
-
- htsjdk.variant.variantcontext.writer.BCF2FieldWriter.GenotypesWriter
-
- Direct Known Subclasses:
BCF2FieldWriter.GTWriter
,BCF2FieldWriter.IGFGenotypesWriter
,BCF2FieldWriter.IntegerTypeGenotypesWriter
,BCF2FieldWriter.StaticallyTypeGenotypesWriter
- Enclosing class:
- BCF2FieldWriter
public abstract static class BCF2FieldWriter.GenotypesWriter extends BCF2FieldWriter
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class htsjdk.variant.variantcontext.writer.BCF2FieldWriter
BCF2FieldWriter.FTGenotypesWriter, BCF2FieldWriter.GenericSiteWriter, BCF2FieldWriter.GenotypesWriter, BCF2FieldWriter.GTWriter, BCF2FieldWriter.IGFGenotypesWriter, BCF2FieldWriter.IntegerTypeGenotypesWriter, BCF2FieldWriter.SiteWriter, BCF2FieldWriter.StaticallyTypeGenotypesWriter
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
GenotypesWriter(VCFHeader header, BCF2FieldEncoder fieldEncoder)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addGenotype(BCF2Encoder encoder, VariantContext vc, Genotype g)
protected int
numElements(VariantContext vc, Genotype g)
void
start(BCF2Encoder encoder, VariantContext vc)
-
Methods inherited from class htsjdk.variant.variantcontext.writer.BCF2FieldWriter
done, getField, getFieldEncoder, getHeader, toString
-
-
-
-
Constructor Detail
-
GenotypesWriter
protected GenotypesWriter(VCFHeader header, BCF2FieldEncoder fieldEncoder)
-
-
Method Detail
-
start
public void start(BCF2Encoder encoder, VariantContext vc) throws IOException
- Overrides:
start
in classBCF2FieldWriter
- Throws:
IOException
-
addGenotype
public void addGenotype(BCF2Encoder encoder, VariantContext vc, Genotype g) throws IOException
- Throws:
IOException
-
numElements
protected int numElements(VariantContext vc, Genotype g)
-
-