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 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 interface GenotypeFilter