public class Pileup extends java.lang.Object implements java.util.Iterator
Overall class containing pileup state
Modifiers | Name | Description |
---|---|---|
java.util.List<PileupState> |
alignments |
|
java.lang.String |
chr |
|
int |
end |
|
int |
position |
|
int |
start |
Type Params | Return Type | Name and description |
---|---|---|
|
public void |
close() |
|
public int |
countOf(java.lang.String baseString) |
|
public int |
countOf(byte base) Return the count of reads supporting the specified base at the current position. |
|
public int[] |
getSummary() Returns a summary of the coverage at the location: |
|
public java.util.Map<java.lang.String, java.lang.Integer> |
getSummaryAsMap() Convenience method to return counts of each base as a map indexed by the base as a string. |
|
public boolean |
hasNext() |
|
public Pileup |
next() |
|
public void |
remove() |
Methods inherited from class | Name |
---|---|
class java.lang.Object |
java.lang.Object#wait(long), java.lang.Object#wait(long, int), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Return the count of reads supporting the specified base at the current position.
base ascii
- int code for A,T,C,G,N, etc.Returns a summary of the coverage at the location: [ A, T , C, G, Deletion, total ]
Convenience method to return counts of each base as a map indexed by the base as a string. This is not efficient, but useful in non performance sensitive contexts.