Package htsjdk.samtools.util
Class SamLocusIterator.RecordAndOffset
java.lang.Object
htsjdk.samtools.util.AbstractRecordAndOffset
htsjdk.samtools.util.SamLocusIterator.RecordAndOffset
- Enclosing class:
- SamLocusIterator
Implementation of
AbstractRecordAndOffset
class for SamLocusIterator
.
One object represents one aligned base of inner SAMRecord
.-
Nested Class Summary
Nested classes/interfaces inherited from class htsjdk.samtools.util.AbstractRecordAndOffset
AbstractRecordAndOffset.AlignmentType
-
Field Summary
Fields inherited from class htsjdk.samtools.util.AbstractRecordAndOffset
alignmentType, offset, record
-
Constructor Summary
ConstructorDescriptionRecordAndOffset
(SAMRecord record, int offset) RecordAndOffset
(SAMRecord record, int offset, AbstractRecordAndOffset.AlignmentType alignmentType) -
Method Summary
Methods inherited from class htsjdk.samtools.util.AbstractRecordAndOffset
getAlignmentType, getBaseQualities, getBaseQuality, getLength, getOffset, getReadBase, getReadName, getRecord, validateOffset
-
Constructor Details
-
RecordAndOffset
- Parameters:
record
- innerSAMRecord
offset
- 0-based offset from the start ofSAMRecord
-
RecordAndOffset
public RecordAndOffset(SAMRecord record, int offset, AbstractRecordAndOffset.AlignmentType alignmentType) - Parameters:
record
- innerSAMRecord
offset
- 0-based offset from the start ofSAMRecord
alignmentType
- TheAbstractRecordAndOffset.AlignmentType
of this object, which is used when queried in aSamLocusIterator
.
-