Class BCF2FieldWriter
- java.lang.Object
-
- htsjdk.variant.variantcontext.writer.BCF2FieldWriter
-
- Direct Known Subclasses:
BCF2FieldWriter.GenotypesWriter,BCF2FieldWriter.SiteWriter
public abstract class BCF2FieldWriter extends Object
See #BCFWriter for documentation on this classes role in encoding BCF2 files- Since:
- 06/12
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classBCF2FieldWriter.FTGenotypesWriterstatic classBCF2FieldWriter.GenericSiteWriterstatic classBCF2FieldWriter.GenotypesWriterstatic classBCF2FieldWriter.GTWriterstatic classBCF2FieldWriter.IGFGenotypesWriterstatic classBCF2FieldWriter.IntegerTypeGenotypesWriterstatic classBCF2FieldWriter.SiteWriterstatic classBCF2FieldWriter.StaticallyTypeGenotypesWriter
-
Constructor Summary
Constructors Modifier Constructor Description protectedBCF2FieldWriter(VCFHeader header, BCF2FieldEncoder fieldEncoder)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddone(BCF2Encoder encoder, VariantContext vc)protected StringgetField()protected BCF2FieldEncodergetFieldEncoder()protected VCFHeadergetHeader()voidstart(BCF2Encoder encoder, VariantContext vc)StringtoString()
-
-
-
Constructor Detail
-
BCF2FieldWriter
protected BCF2FieldWriter(VCFHeader header, BCF2FieldEncoder fieldEncoder)
-
-
Method Detail
-
getHeader
protected VCFHeader getHeader()
-
getFieldEncoder
protected BCF2FieldEncoder getFieldEncoder()
-
getField
protected String getField()
-
start
public void start(BCF2Encoder encoder, VariantContext vc) throws IOException
- Throws:
IOException
-
done
public void done(BCF2Encoder encoder, VariantContext vc) throws IOException
- Throws:
IOException
-
-