Class CRAMEncoderV3_1
java.lang.Object
htsjdk.beta.codecs.reads.cram.CRAMEncoder
htsjdk.beta.codecs.reads.cram.cramV3_1.CRAMEncoderV3_1
- All Implemented Interfaces:
HtsEncoder<SAMFileHeader,,SAMRecord> ReadsEncoder,Closeable,AutoCloseable
CRAM v3.1 encoder.
-
Constructor Summary
ConstructorsConstructorDescriptionCRAMEncoderV3_1(Bundle outputBundle, ReadsEncoderOptions readsEncoderOptions) Create a new CRAM v3.1 encoder for the given output bundle. -
Method Summary
Modifier and TypeMethodDescriptionGet the version of the file format supported by this encoder.Methods inherited from class htsjdk.beta.codecs.reads.cram.CRAMEncoder
close, getCRAMReferenceSource, getDisplayName, getFileFormat, getOutputBundle, getReadsEncoderOptions, setHeader, write
-
Constructor Details
-
CRAMEncoderV3_1
Create a new CRAM v3.1 encoder for the given output bundle. The primary resource in the bundle must have content typeBundleResourceType.CT_ALIGNED_READS(to find an encoder for a bundle, seeReadsResolver).- Parameters:
outputBundle- outputBundleto encodereadsEncoderOptions-ReadsEncoderOptionsto use
-
-
Method Details
-
getVersion
Description copied from interface:HtsEncoderGet the version of the file format supported by this encoder.
-