Package VCF.Changers
Class MaxDepthNoReadsChanger
- java.lang.Object
-
- VCF.Changers.MaxDepthNoReadsChanger
-
- All Implemented Interfaces:
GenotypeChanger
public class MaxDepthNoReadsChanger extends java.lang.Object implements GenotypeChanger
Changes the genotype (the GT field) of genotype to unknown (./.) if the total number of reads is less than a threshold
-
-
Constructor Summary
Constructors Constructor Description MaxDepthNoReadsChanger(int depth)
Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
change(Genotype g)
Change the given genotype
-
-
-
Method Detail
-
change
public void change(Genotype g) throws VCFDataException
Description copied from interface:GenotypeChanger
Change the given genotype- Specified by:
change
in interfaceGenotypeChanger
- Parameters:
g
- The genotype to change- Throws:
VCFDataException
- If there is a problem with the data in the VCF
-
-