Package htsjdk.samtools
Interface SamReader.PrimitiveSamReader
-
- All Known Implementing Classes:
BAMFileReader,CRAMFileReader,HtsgetBAMFileReader,SamReader.ReaderImplementation,SRAFileReader
- Enclosing interface:
- SamReader
public static interface SamReader.PrimitiveSamReaderThe minimal subset of functionality needed for aSAMRecorddata source.SamReaderitself is somewhat large and bulky, but the core functionality can be captured in relatively few methods, which are included here. For documentation, see the corresponding methods inSamReader. See also:SamReader.PrimitiveSamReaderToSamReaderAdapter,SamReader.ReaderImplementation
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description voidclose()SAMFileHeadergetFileHeader()SAMFileSpangetFilePointerSpanningReads()BAMIndexgetIndex()CloseableIterator<SAMRecord>getIterator()CloseableIterator<SAMRecord>getIterator(SAMFileSpan fileSpan)ValidationStringencygetValidationStringency()booleanhasIndex()default booleanisQueryable()CloseableIterator<SAMRecord>query(QueryInterval[] intervals, boolean contained)CloseableIterator<SAMRecord>queryAlignmentStart(String sequence, int start)CloseableIterator<SAMRecord>queryUnmapped()SamReader.Typetype()
-
-
-
Method Detail
-
type
SamReader.Type type()
-
isQueryable
default boolean isQueryable()
-
hasIndex
boolean hasIndex()
-
getIndex
BAMIndex getIndex()
-
getFileHeader
SAMFileHeader getFileHeader()
-
getIterator
CloseableIterator<SAMRecord> getIterator()
-
getIterator
CloseableIterator<SAMRecord> getIterator(SAMFileSpan fileSpan)
-
getFilePointerSpanningReads
SAMFileSpan getFilePointerSpanningReads()
-
query
CloseableIterator<SAMRecord> query(QueryInterval[] intervals, boolean contained)
-
queryAlignmentStart
CloseableIterator<SAMRecord> queryAlignmentStart(String sequence, int start)
-
queryUnmapped
CloseableIterator<SAMRecord> queryUnmapped()
-
close
void close()
-
getValidationStringency
ValidationStringency getValidationStringency()
-
-