Package org.snpeff.stats
Class AlleleCountStats
- java.lang.Object
-
- org.snpeff.stats.AlleleCountStats
-
- All Implemented Interfaces:
SamplingStats<VcfEntry>
public class AlleleCountStats extends java.lang.Object implements SamplingStats<VcfEntry>
Count singletons and other allele counts per sample- Author:
- pablocingolani
-
-
Field Summary
Fields Modifier and Type Field Description static int
MAX_MAC
-
Constructor Summary
Constructors Constructor Description AlleleCountStats()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
hasData()
Does this statistic have any data?void
sample(VcfEntry vcfEntry)
Update MAC countersjava.lang.String
toString()
Show results to stdout
-
-
-
Field Detail
-
MAX_MAC
public static final int MAX_MAC
- See Also:
- Constant Field Values
-
-
Method Detail
-
hasData
public boolean hasData()
Description copied from interface:SamplingStats
Does this statistic have any data?- Specified by:
hasData
in interfaceSamplingStats<VcfEntry>
- Returns:
-
sample
public void sample(VcfEntry vcfEntry)
Update MAC counters- Specified by:
sample
in interfaceSamplingStats<VcfEntry>
-
toString
public java.lang.String toString()
Show results to stdout- Overrides:
toString
in classjava.lang.Object
-
-