public class SequenceVariationPool extends Object
| Modifier and Type | Class and Description |
|---|---|
class |
SequenceVariationPool.ReadIndexInfo |
class |
SequenceVariationPool.Variation |
| Constructor and Description |
|---|
SequenceVariationPool(int numberOfGroups) |
| Modifier and Type | Method and Description |
|---|---|
it.unimi.dsi.fastutil.objects.ObjectArrayList<SequenceVariationPool.Variation> |
getAtPosition(int position) |
double |
getAverageVariantQualityScore(int position,
int groupIndex)
Return the average variant quality score for this position in this group of samples.
|
it.unimi.dsi.fastutil.ints.IntArraySet |
getDistinctReadIndices(int position,
int groupIndex)
Return the distinct read indices supporting variations at this position.
|
int |
getNumDistinctReadIndices(int position,
int groupIndex)
Return the number of distinct read indices supporting variations at this position.
|
it.unimi.dsi.fastutil.objects.ObjectArrayList<SequenceVariationPool.ReadIndexInfo> |
getReadIndicesAt(int position,
int groupIndex)
Return the list of read indices that aligned to this position of the alignment,
in the samples belonging to the specified group.
|
int |
getReferenceAlleleCount(int position,
int groupIndex)
Get the count for the reference allele.
|
it.unimi.dsi.fastutil.ints.IntArrayList |
getVariantQualityScores(int position,
int groupIndex)
Return the list of variant quality scores for this position in this group of samples.
|
void |
removePosition(int position)
Remove variation and associated information for the positions between the previoulsy removed position (exclusive)
and this new position (inclusive).
|
void |
reset()
Reset the pool, removing all variations and associated information.
|
void |
store(Alignments.AlignmentEntry entry,
int groupIndex,
int readerIndex) |
public void reset()
public int getReferenceAlleleCount(int position,
int groupIndex)
position - public void removePosition(int position)
position - for which information will be removed from the pool.public int getNumDistinctReadIndices(int position,
int groupIndex)
position - position of the variationgroupIndex - Index of the group in which the alignment was found.public it.unimi.dsi.fastutil.ints.IntArraySet getDistinctReadIndices(int position,
int groupIndex)
position - position of the variationgroupIndex - Index of the group in which the alignment was found.public it.unimi.dsi.fastutil.ints.IntArrayList getVariantQualityScores(int position,
int groupIndex)
position - Position of the variation.groupIndex - Index of the group that contain the variation associated with these quality scores.public double getAverageVariantQualityScore(int position,
int groupIndex)
position - Position of the variation.groupIndex - Index of the group that contain the variation associated with these quality scores.public it.unimi.dsi.fastutil.objects.ObjectArrayList<SequenceVariationPool.ReadIndexInfo> getReadIndicesAt(int position, int groupIndex)
position - Position of the alignment that is being queried.groupIndex - Index of the group to which the alignment must belong to be considered.public it.unimi.dsi.fastutil.objects.ObjectArrayList<SequenceVariationPool.Variation> getAtPosition(int position)
public void store(Alignments.AlignmentEntry entry, int groupIndex, int readerIndex)
Copyright © 2017 Campagne Laboratory. All rights reserved.