Package picard.vcf.filter
Class DepthFilter
java.lang.Object
picard.vcf.filter.DepthFilter
- All Implemented Interfaces:
GenotypeFilter
Filters out a record if all variant samples have depth lower than the given value.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
DepthFilter
public DepthFilter(int minDepth)
-
-
Method Details
-
filter
public String filter(htsjdk.variant.variantcontext.VariantContext ctx, htsjdk.variant.variantcontext.Genotype gt) Description copied from interface:GenotypeFilter
Test whether or not the genotype should be filtered out. If so return a filter string, otherwise return null.- Specified by:
filter
in interfaceGenotypeFilter
-