public abstract class BAMEncoder extends java.lang.Object implements ReadsEncoder
BundleResourceType.READS_BAM encoders.| Constructor and Description |
|---|
BAMEncoder(Bundle outputBundle,
ReadsEncoderOptions readsEncoderOptions)
InternalAPI
Create a BAM encoder for the given output bundle.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getDisplayName()
Get a user-friendly display name for this encoder.
|
java.lang.String |
getFileFormat()
Get the name of the file format supported by this encoder.
|
Bundle |
getOutputBundle()
Get the output
Bundle for this encoder. |
ReadsEncoderOptions |
getReadsEncoderOptions()
Get the
ReadsEncoderOptions for this encoder. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclose, getVersion, setHeader, writepublic BAMEncoder(Bundle outputBundle, ReadsEncoderOptions readsEncoderOptions)
BundleResourceType.ALIGNED_READS (to find a decoder for a bundle,
see ReadsResolver).
NOTE: callers that provide an output stream resource should provide a buffered output stream
if buffering is desired, since the encoder does not provide an additional buffering layer.outputBundle - output Bundle to encodereadsEncoderOptions - ReadsEncoderOptions to usepublic final java.lang.String getFileFormat()
HtsEncoderBundleResourceType
and BundleResource.getFileFormat()).getFileFormat in interface HtsEncoder<SAMFileHeader,SAMRecord>public final java.lang.String getDisplayName()
HtsEncodergetDisplayName in interface HtsEncoder<SAMFileHeader,SAMRecord>public Bundle getOutputBundle()
Bundle for this encoder.Bundle for this encoderpublic ReadsEncoderOptions getReadsEncoderOptions()
ReadsEncoderOptions for this encoder.ReadsEncoderOptions for this encoder.