@InternalAPI public abstract class BAMDecoder extends java.lang.Object implements ReadsDecoder
BundleResourceType.READS_BAM
decoders.Constructor and Description |
---|
BAMDecoder(Bundle inputBundle,
ReadsDecoderOptions readsDecoderOptions)
Create a BAM decoder for the given input bundle.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDisplayName()
Get a user-friendly display name for this decoder.
|
java.lang.String |
getFileFormat()
Get the name of the file format supported by this decoder.The format name defines the underlying
format handled by this decoder, and also corresponds to the format of the primary bundle
resource that is required when decoding (see
BundleResourceType
and BundleResource.getFileFormat() ). |
Bundle |
getInputBundle()
Get the input
Bundle for this decoder. |
ReadsDecoderOptions |
getReadsDecoderOptions()
Get the
ReadsDecoderOptions for this decoder. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
queryMate, queryUnmapped
close, getHeader, getVersion
hasIndex, isQueryable, iterator, query, query, query, query, queryContained, queryContained, queryContained, queryOverlapping, queryOverlapping, queryOverlapping, queryStart
@InternalAPI public BAMDecoder(Bundle inputBundle, ReadsDecoderOptions readsDecoderOptions)
BundleResourceType.ALIGNED_READS
, and the resource must be an
appropriate format and version for this encoder (to find an encoder for a bundle, see
ReadsResolver
.inputBundle
- input Bundle
to decodereadsDecoderOptions
- ReadsDecoderOptions
to usepublic final java.lang.String getFileFormat()
HtsDecoder
BundleResourceType
and BundleResource.getFileFormat()
).getFileFormat
in interface HtsDecoder<SAMFileHeader,SAMRecord>
public final java.lang.String getDisplayName()
HtsDecoder
getDisplayName
in interface HtsDecoder<SAMFileHeader,SAMRecord>
public Bundle getInputBundle()
Bundle
for this decoder.Bundle
for this decoderpublic ReadsDecoderOptions getReadsDecoderOptions()
ReadsDecoderOptions
for this decoder.ReadsDecoderOptions
for this decoder.