public class GenotypeQualityFilter extends java.lang.Object implements VariantContextFilter
| Constructor and Description |
|---|
GenotypeQualityFilter(int gqThreshold)
Constructor as above that doesn't take a sample, instead it will look at the first genotype of the variant context.
|
GenotypeQualityFilter(int gqThreshold,
java.lang.String sample)
Constructor for a filter that will keep VC for which the
genotype quality (GQ) of sample passes a threshold.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
test(VariantContext variantContext) |
public GenotypeQualityFilter(int gqThreshold,
java.lang.String sample)
gqThreshold - the smallest value of GQ that this filter will passsample - the name of the sample in the variant context whose genotype should be examined.public GenotypeQualityFilter(int gqThreshold)
gqThreshold - the smallest value of GQ that this filter will passpublic boolean test(VariantContext variantContext)
test in interface java.util.function.Predicate<VariantContext>variantContext - the record to examine for GQ