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 intMAX_MAC
-
Constructor Summary
Constructors Constructor Description AlleleCountStats()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanhasData()Does this statistic have any data?voidsample(VcfEntry vcfEntry)Update MAC countersjava.lang.StringtoString()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:SamplingStatsDoes this statistic have any data?- Specified by:
hasDatain interfaceSamplingStats<VcfEntry>- Returns:
-
sample
public void sample(VcfEntry vcfEntry)
Update MAC counters- Specified by:
samplein interfaceSamplingStats<VcfEntry>
-
toString
public java.lang.String toString()
Show results to stdout- Overrides:
toStringin classjava.lang.Object
-
-