public class EquivalentIndelRegion extends Object
| Modifier and Type | Field and Description |
|---|---|
int |
endPosition |
String |
flankLeft |
String |
flankRight |
String |
from |
byte[] |
qualityScores
Quality scores across the length of the indel.
|
it.unimi.dsi.fastutil.ints.IntArraySet |
readIndices
The indices of the first bases in the reads where the indel was observed.
|
int |
referenceIndex
Index of the reference sequence on which the indel is observed.
|
int |
sampleIndex
The index of the sample where these indels were observed.
|
int |
startPosition
Start position (zero-based) of the position after which the indel occurs.
|
Set<Alignments.AlignmentEntry> |
supportingEntries |
String |
to |
| Constructor and Description |
|---|
EquivalentIndelRegion() |
| Modifier and Type | Method and Description |
|---|---|
EquivalentIndelRegion |
copy()
Make a copy of this indel, with zero count.
|
boolean |
equals(Object o)
Compares startPosition, endPosition, referenceIndex and sampleIndex.
|
String |
fromInContext()
Return the from bases, surrounded by flankLeft and flankRight bases.
|
int |
getForwardFrequency()
Return the forward frequency of this indel.
|
int |
getFrequency()
Return the total frequency of this indel.
|
int |
getReverseFrequency()
Return the forward frequency of this indel.
|
int |
hashCode() |
void |
incrementForwardFrequency() |
void |
incrementReverseFrequency() |
boolean |
isFiltered() |
void |
markFiltered()
Indicate that this indel was filtered out.
|
boolean |
matchesReference() |
void |
mergeInto(EquivalentIndelRegion candidateIndel,
Alignments.AlignmentEntry alignmentEntry)
Merge information from candidateIndel into this indel.
|
void |
removeFiltered()
Remove the filtered flag from an indel.
|
void |
setForwardFrequency(int frequency) |
void |
setReverseFrequency(int frequency) |
String |
toInContext()
Return the to bases, surrounded by flankLeft and flankRight bases.
|
String |
toString()
Returns a string representation of the eir, in the format "flankingLeft from/to flankingRight start-end"
|
public int referenceIndex
public int startPosition
public int endPosition
public String from
public String to
public String flankLeft
public String flankRight
public Set<Alignments.AlignmentEntry> supportingEntries
public int sampleIndex
public it.unimi.dsi.fastutil.ints.IntArraySet readIndices
public byte[] qualityScores
public String fromInContext()
public String toInContext()
public final boolean equals(Object o)
public String toString()
public EquivalentIndelRegion copy()
public boolean matchesReference()
public void markFiltered()
public void removeFiltered()
public boolean isFiltered()
public void incrementForwardFrequency()
public void incrementReverseFrequency()
public void setForwardFrequency(int frequency)
public void setReverseFrequency(int frequency)
public int getReverseFrequency()
public int getForwardFrequency()
public int getFrequency()
public void mergeInto(EquivalentIndelRegion candidateIndel, Alignments.AlignmentEntry alignmentEntry)
candidateIndel - alignmentEntry - Copyright © 2017 Campagne Laboratory. All rights reserved.