Package org.snpeff.stats
Class HomHetStats
java.lang.Object
org.snpeff.stats.HomHetStats
- All Implemented Interfaces:
SamplingStats<VcfEntry>
Count Hom/Het per sample
From Pierre:
For multiple ALT, I suggest to count the number of REF allele
0/1 => ALT1
0/2 => ALT1
1/1 => ALT2
2/2 => ALT2
1/2 => ALT2
- Author:
- pablocingolani
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
HomHetStats
public HomHetStats()
-
-
Method Details
-
hasData
public boolean hasData()Description copied from interface:SamplingStats
Does this statistic have any data?- Specified by:
hasData
in interfaceSamplingStats<VcfEntry>
- Returns:
-
sample
Update Hom/Het counters- Specified by:
sample
in interfaceSamplingStats<VcfEntry>
-
toString
Show results to stdout
-