public class QualityScoreFilter extends GenotypeFilter
| Modifier and Type | Field and Description |
|---|---|
static DynamicOptionClient |
doc |
LOG, numFiltered, numScreened, refCountRemovedPerSample, removalSuggestions, varCountRemovedPerSample| Constructor and Description |
|---|
QualityScoreFilter() |
| Modifier and Type | Method and Description |
|---|---|
String |
describe()
Returns a short description of the filtering criteria.
|
static DynamicOptionClient |
doc() |
void |
filterGenotypes(DiscoverVariantPositionData list,
SampleCountInfo[] sampleCounts,
it.unimi.dsi.fastutil.objects.ObjectSet<PositionBaseInfo> filteredList)
Adjust genotypes and sampleCounts to remove/reduce the effect of sequencing errors.
|
int |
getThresholdForSample(int sampleIndex) |
void |
initStorage(int numSamples) |
void |
setNoRandomSampling(boolean noRandomSampling)
Setting this attribute to true will make the filter compatible with Goby 2.2.1
|
adjustGenotypes, adjustRefVarCounts, filterIndels, getName, getPercentFilteredOut, removeGenotype, resetCounterspublic static final DynamicOptionClient doc
public static DynamicOptionClient doc()
public void setNoRandomSampling(boolean noRandomSampling)
noRandomSampling - True for Goby 2.2.1 behavior, False for 2.3+ (default).public String describe()
GenotypeFilterdescribe in class GenotypeFilterpublic int getThresholdForSample(int sampleIndex)
getThresholdForSample in class GenotypeFilterpublic void initStorage(int numSamples)
initStorage in class GenotypeFilterpublic void filterGenotypes(DiscoverVariantPositionData list, SampleCountInfo[] sampleCounts, it.unimi.dsi.fastutil.objects.ObjectSet<PositionBaseInfo> filteredList)
GenotypeFilterfilterGenotypes in class GenotypeFilterlist - Variation or reference genotype observations at positionsampleCounts - Counts for alleles at position each each sample under study.filteredList - Set of genotype observations that have been filteredCopyright © 2018 Campagne Laboratory. All rights reserved.