Package htsjdk.beta.plugin.reads
Interface ReadsQuery<R extends HtsRecord>
- All Known Subinterfaces:
ReadsDecoder
- All Known Implementing Classes:
BAMDecoder
,BAMDecoderV1_0
,CRAMDecoder
,CRAMDecoderV2_1
,CRAMDecoderV3_0
,HtsgetBAMDecoder
,HtsgetBAMDecoderV1_2
,SAMDecoder
,SAMDecoderV1_0
public interface ReadsQuery<R extends HtsRecord>
Query methods specific to
ReadsDecoder
s.-
Method Summary
Modifier and TypeMethodDescriptionFetch the mate for the given read.Get an iterator of unmapped reads.
-
Method Details
-
queryUnmapped
CloseableIterator<R> queryUnmapped()Get an iterator of unmapped reads. -
queryMate
Fetch the mate for the given read.- Parameters:
record
- the source record- Returns:
- the source record's mate, or Optional.empty() if the source record has no mate
-