public class HtsgetBAMCodecV1_2 extends HtsgetBAMCodec
BundleResourceType.READS_HTSGET_BAM codec.HTSGET_VERSION| Constructor and Description |
|---|
HtsgetBAMCodecV1_2() |
| Modifier and Type | Method and Description |
|---|---|
HtsgetBAMDecoder |
getDecoder(Bundle inputBundle,
ReadsDecoderOptions decodeOptions)
Get an
HtsDecoder to decode the provided inputs. |
HtsEncoder<?,? extends HtsRecord> |
getEncoder(Bundle outputBundle,
ReadsEncoderOptions encodeOptions)
Get an
HtsEncoder to encode to the provided outputs. |
canDecodeSignature, canDecodeURI, getFileFormat, getSignatureLength, getVersion, handlesURI, ownsURI, runVersionUpgradeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetContentTypegetDisplayName, getSignatureProbeLengthpublic HtsgetBAMDecoder getDecoder(Bundle inputBundle, ReadsDecoderOptions decodeOptions)
HtsCodecHtsDecoder to decode the provided inputs. The input bundle must contain
resources of the type required by this codec. To find a codec appropriate for decoding a
given resource, use an HtsCodecResolver obtained
from an HtsCodecRegistry.
The framework will never call thi* method unless either HtsCodec.ownsURI(IOPath), or
HtsCodec.canDecodeURI(IOPath) and HtsCodec.canDecodeSignature(SignatureStream, String) (IOPath)}
return true for inputBundle.
inputBundle - input to be decoded. To get a decoder for use with index queries that use
HtsQuery methods, the bundle must contain
an index resource.decodeOptions - options for the decoder to useHtsDecoder that can decode the provided inputspublic HtsEncoder<?,? extends HtsRecord> getEncoder(Bundle outputBundle, ReadsEncoderOptions encodeOptions)
HtsCodecHtsEncoder to encode to the provided outputs. The output bundle must contain
resources of the type required by this codec. To find a codec appropriate for encoding a given
resource, use an HtsCodecResolver obtained from an
HtsCodecRegistry.
The framework will never call this method unless either HtsCodec.ownsURI(IOPath), or
HtsCodec.canDecodeURI(IOPath) returned true for outputBundle.outputBundle - target output for the encoderencodeOptions - encoder options to useHtsEncoder suitable for writing to the provided outputs