Package picard.vcf.filter
Class DepthFilter
- java.lang.Object
-
- picard.vcf.filter.DepthFilter
-
- All Implemented Interfaces:
GenotypeFilter
public class DepthFilter extends Object implements GenotypeFilter
Filters out a record if all variant samples have depth lower than the given value.
-
-
Constructor Summary
Constructors Constructor Description DepthFilter(int minDepth)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
filter(htsjdk.variant.variantcontext.VariantContext ctx, htsjdk.variant.variantcontext.Genotype gt)
Test whether or not the genotype should be filtered out.
-
-
-
Method Detail
-
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
-
-