Class FieldGenotype

  • Direct Known Subclasses:
    FieldGenotypeSub

    public class FieldGenotype
    extends FieldSub
    A field: E.g.: 'GEN[2].GT'
    Author:
    pablocingolani
    • Constructor Detail

      • FieldGenotype

        public FieldGenotype​(java.lang.String name,
                             Expression indexExpr)
    • Method Detail

      • evalGenotype

        protected org.snpeff.vcf.VcfGenotype evalGenotype​(org.snpeff.vcf.VcfEntry vcfEntry)
        Evaluate expressions and return VcfGenotype
      • getFieldString

        public java.lang.String getFieldString​(org.snpeff.vcf.VcfEntry vcfEntry)
        Get a field from VcfEntry
        Overrides:
        getFieldString in class FieldSub
      • getFieldString

        public java.lang.String getFieldString​(org.snpeff.vcf.VcfGenotype vcfGenotype)
        Get a field (as a Float) from VcfEntry
        Overrides:
        getFieldString in class FieldSub
      • isSub

        protected boolean isSub()
        Overrides:
        isSub in class FieldSub
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class FieldSub