public class ObservedIndel extends Object implements Comparable<ObservedIndel>
| Modifier and Type | Field and Description |
|---|---|
int |
readIndex
The index of the first base in the read where the indel was observed.
|
| Constructor and Description |
|---|
ObservedIndel(int startPosition,
int endPosition,
String from,
String to) |
ObservedIndel(int startPosition,
int endPosition,
String from,
String to,
int readIndex)
Construct an indel observation.
|
ObservedIndel(int startPosition,
String from,
String to,
int readIndex) |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(ObservedIndel other) |
boolean |
equals(Object o) |
String |
from() |
int |
getEnd() |
int |
getLength()
Return the length of the indel.
|
byte[] |
getQualityScores()
Return the quality scores for bases of this indel.
|
int |
getStart() |
int |
hashCode() |
boolean |
isHasQualityScores() |
boolean |
isReadInsertion() |
int |
positionSpan()
Return the span of the indel, in bases.
|
void |
setQualityScores(byte[] qualityScores) |
String |
to() |
String |
toString() |
public int readIndex
public ObservedIndel(int startPosition,
int endPosition,
String from,
String to,
int readIndex)
startPosition - The position where the indel starts, zero-based, position of the base at the left of the first gap.endPosition - The position where the indel ends, zero-based, position of the base at the right of the first gap.from - Bases in the referenceto - Bases in the readreadIndex - Index of the base in the read at the left of where the indel is observed.public boolean isHasQualityScores()
public byte[] getQualityScores()
public void setQualityScores(byte[] qualityScores)
public int positionSpan()
public int getLength()
public int getStart()
public int getEnd()
public String from()
public String to()
public final boolean isReadInsertion()
public int compareTo(ObservedIndel other)
compareTo in interface Comparable<ObservedIndel>Copyright © 2017 Campagne Laboratory. All rights reserved.