Class HomHetStats

  • All Implemented Interfaces:
    SamplingStats<VcfEntry>

    public class HomHetStats
    extends java.lang.Object
    implements 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 
      Constructor Description
      HomHetStats()  
    • 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 Hom/Het counters
      java.lang.String toString()
      Show results to stdout
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • HomHetStats

        public HomHetStats()
    • Method Detail

      • toString

        public java.lang.String toString()
        Show results to stdout
        Overrides:
        toString in class java.lang.Object