Class CRAMDecoderV2_1
java.lang.Object
htsjdk.beta.codecs.reads.cram.CRAMDecoder
htsjdk.beta.codecs.reads.cram.cramV2_1.CRAMDecoderV2_1
- All Implemented Interfaces:
HtsDecoder<SAMFileHeader,,SAMRecord> HtsQuery<SAMRecord>,ReadsDecoder,ReadsQuery<SAMRecord>,Closeable,AutoCloseable,Iterable<SAMRecord>
CRAM v2.1decoder.
-
Constructor Summary
ConstructorsConstructorDescriptionCRAMDecoderV2_1(Bundle bundle, ReadsDecoderOptions readsDecoderOptions) Create a new V2.1 CRAM decoder. -
Method Summary
Modifier and TypeMethodDescriptionGet the version of the file format supported by this decoder.Methods inherited from class htsjdk.beta.codecs.reads.cram.CRAMDecoder
close, getCRAMReferenceSource, getDisplayName, getFileFormat, getHeader, getInputBundle, getReadsDecoderOptions, hasIndex, isQueryable, iterator, query, queryMate, queryStart, queryUnmappedMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface htsjdk.beta.plugin.interval.HtsQuery
query, query, query, queryContained, queryContained, queryContained, queryOverlapping, queryOverlapping, queryOverlappingMethods inherited from interface java.lang.Iterable
forEach, spliterator
-
Constructor Details
-
CRAMDecoderV2_1
Create a new V2.1 CRAM decoder. The primary resource in the input bundle must have content typeBundleResourceType.CT_ALIGNED_READS(to find a decoder for a bundle, seeReadsResolver).- Parameters:
bundle- the inputBundleto decodereadsDecoderOptions- theReadsDecoderOptionsto use
-
-
Method Details
-
getVersion
Description copied from interface:HtsDecoderGet the version of the file format supported by this decoder.
-