EdgingRecordAndOffset
, SamLocusIterator.RecordAndOffset
public class AbstractRecordAndOffset extends Object
SamLocusIterator.RecordAndOffset
implementation or one alignment block of
SAMRecord
for TypedRecordAndOffset
implementation.Modifier and Type | Field | Description |
---|---|---|
protected int |
offset |
Zero-based offset in the read corresponding to the current position in AbstractLocusInfo
|
protected SAMRecord |
record |
A SAMRecord aligned to reference position
|
Constructor | Description |
---|---|
AbstractRecordAndOffset(SAMRecord record,
int offset) |
Modifier and Type | Method | Description |
---|---|---|
byte[] |
getBaseQualities() |
|
byte |
getBaseQuality() |
|
int |
getLength() |
|
int |
getOffset() |
|
byte |
getReadBase() |
|
String |
getReadName() |
|
SAMRecord |
getRecord() |
|
protected void |
validateOffset(int offset,
byte[] array) |
protected final SAMRecord record
protected final int offset
public AbstractRecordAndOffset(SAMRecord record, int offset)
record
- inner SAMRecordoffset
- from the start of the readpublic int getOffset()
public SAMRecord getRecord()
SAMRecord
object.public byte getReadBase()
offset
.public int getLength()
public String getReadName()
public byte[] getBaseQualities()
public byte getBaseQuality()
offset
.protected void validateOffset(int offset, byte[] array)