public class DiscoverVariantPositionData extends it.unimi.dsi.fastutil.objects.ObjectArrayList<PositionBaseInfo>
| Modifier and Type | Field and Description |
|---|---|
it.unimi.dsi.fastutil.objects.ObjectArraySet[] |
filtered
Count of genotypes that were flagged for removal by some filter in this sample.
|
int |
SUB_SAMPLE_SIZE |
| Constructor and Description |
|---|
DiscoverVariantPositionData() |
DiscoverVariantPositionData(int position,
char referenceBase) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
add(PositionBaseInfo positionBaseInfo) |
void |
clear() |
String |
completeToString() |
void |
failIndel(EquivalentIndelRegion indel)
Mark an indel observation as failing genotype filters.
|
it.unimi.dsi.fastutil.objects.ObjectArraySet<EquivalentIndelRegion> |
getFailedIndels() |
it.unimi.dsi.fastutil.objects.ObjectArraySet<EquivalentIndelRegion> |
getIndels() |
char |
getReferenceBase() |
int |
getZeroBasedPosition() |
boolean |
hasCandidateIndels()
Test if this set of genotype observation includes indels.
|
int |
numObservations() |
void |
observeCandidateIndel(EquivalentIndelRegion candidateIndel,
Alignments.AlignmentEntry alignmentEntry)
This method is called if a candidate indel is observed whose start position overlaps with position.
|
void |
printAll() |
void |
setReferenceBase(char referenceBase) |
void |
subSample(int numberToKeep)
Sub-sample this list to keep the specified maximum number of elements.
|
String |
toString() |
add, addElements, clone, compareTo, elements, ensureCapacity, equals, get, getElements, indexOf, isEmpty, lastIndexOf, listIterator, rem, remove, remove, removeAll, removeElements, set, size, size, trim, trim, wrap, wrapaddAll, addAll, addElements, compareTo, contains, ensureIndex, ensureRestrictedIndex, equals, hashCode, iterator, listIterator, objectListIterator, objectListIterator, objectSubList, peek, pop, push, subList, topcontainsAll, objectIterator, retainAll, toArray, toArrayfinalize, getClass, notify, notifyAll, wait, wait, waitcontainsAll, replaceAll, retainAll, sort, spliterator, toArray, toArrayobjectIterator, toArrayparallelStream, removeIf, streampublic int SUB_SAMPLE_SIZE
public it.unimi.dsi.fastutil.objects.ObjectArraySet[] filtered
public DiscoverVariantPositionData()
public DiscoverVariantPositionData(int position,
char referenceBase)
public int getZeroBasedPosition()
public void clear()
clear in interface Collection<PositionBaseInfo>clear in interface List<PositionBaseInfo>clear in class it.unimi.dsi.fastutil.objects.ObjectArrayList<PositionBaseInfo>public String toString()
toString in class it.unimi.dsi.fastutil.objects.AbstractObjectList<PositionBaseInfo>public void observeCandidateIndel(EquivalentIndelRegion candidateIndel, Alignments.AlignmentEntry alignmentEntry)
candidateIndel - the candidate indels observed with the same startPosition == positionalignmentEntry - public it.unimi.dsi.fastutil.objects.ObjectArraySet<EquivalentIndelRegion> getIndels()
public void failIndel(EquivalentIndelRegion indel)
indel - the candidate indel that failed tests.public boolean hasCandidateIndels()
public char getReferenceBase()
public it.unimi.dsi.fastutil.objects.ObjectArraySet<EquivalentIndelRegion> getFailedIndels()
public String completeToString()
public void printAll()
public void subSample(int numberToKeep)
numberToKeep - the number of elements to keep in the list after sub-samplingpublic boolean add(PositionBaseInfo positionBaseInfo)
add in interface Collection<PositionBaseInfo>add in interface List<PositionBaseInfo>add in class it.unimi.dsi.fastutil.objects.ObjectArrayList<PositionBaseInfo>public int numObservations()
public void setReferenceBase(char referenceBase)
Copyright © 2017 Campagne Laboratory. All rights reserved.