public class ObservedIndel extends Object implements Comparable<ObservedIndel>, Serializable
| 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)
For use by VCFToKnownIndelsMode, no need for readIndex or strand match.
|
ObservedIndel(int startPosition,
String from,
String to,
int readIndex) |
ObservedIndel(int startPosition,
String from,
String to,
int readIndex,
boolean matchesForwardStrand) |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(ObservedIndel other) |
boolean |
equals(Object o) |
String |
from() |
int |
gapLength() |
int |
getEnd() |
int |
getLength()
Return the length of the indel.
|
boolean |
getMatchesForwardStrand() |
byte[] |
getQualityScores()
Return the quality scores for bases of this indel.
|
int |
getStart() |
int |
hashCode() |
boolean |
hasQualityScores() |
boolean |
isReadInsertion() |
boolean |
isReferenceInsertion() |
int |
positionSpan()
Return the span of the indel, in bases.
|
void |
setMatchesForwardStrand(boolean matchesForwardStrand) |
void |
setQualityScores(byte[] qualityScores) |
String |
to() |
String |
toString() |
public int readIndex
public ObservedIndel(int startPosition,
String from,
String to,
int readIndex,
boolean matchesForwardStrand)
public ObservedIndel(int startPosition,
String from,
String to)
startPosition - from - to - 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 hasQualityScores()
public byte[] getQualityScores()
public void setQualityScores(byte[] qualityScores)
public void setMatchesForwardStrand(boolean matchesForwardStrand)
public int positionSpan()
public int getLength()
public int getStart()
public int getEnd()
public String from()
public String to()
public final boolean isReferenceInsertion()
public final boolean isReadInsertion()
public int compareTo(ObservedIndel other)
compareTo in interface Comparable<ObservedIndel>public boolean getMatchesForwardStrand()
public int gapLength()
Copyright © 2018 Campagne Laboratory. All rights reserved.