public static final class SamLocusIterator.LocusInfo extends Object implements Locus
| Modifier and Type | Method and Description |
|---|---|
void |
add(SAMRecord read,
int position)
Accumulate info for one read at the locus.
|
void |
addDeleted(SAMRecord read,
int previousPosition)
Accumulate info for one read with a deletion
|
void |
addInserted(SAMRecord read,
int firstPosition)
Accumulate info for one read with an insertion.
|
List<SamLocusIterator.RecordAndOffset> |
getDeletedInRecord() |
List<SamLocusIterator.RecordAndOffset> |
getInsertedInRecord() |
int |
getPosition() |
List<SamLocusIterator.RecordAndOffset> |
getRecordAndPositions() |
int |
getSequenceIndex() |
int |
getSequenceLength() |
String |
getSequenceName() |
boolean |
isEmpty() |
int |
size() |
String |
toString() |
public void add(SAMRecord read, int position)
public void addDeleted(SAMRecord read, int previousPosition)
public void addInserted(SAMRecord read, int firstPosition)
public int getSequenceIndex()
getSequenceIndex in interface Locuspublic int getPosition()
getPosition in interface Locuspublic List<SamLocusIterator.RecordAndOffset> getRecordAndPositions()
public String getSequenceName()
public int getSequenceLength()
public List<SamLocusIterator.RecordAndOffset> getDeletedInRecord()
public List<SamLocusIterator.RecordAndOffset> getInsertedInRecord()
public int size()
public boolean isEmpty()
true if all the RecordAndOffset lists are empty;
false if at least one have records