Class FieldSub

  • Direct Known Subclasses:
    FieldEff, FieldGenotype, FieldLof

    public class FieldSub
    extends Field
    A field that has sub fields (e.g. comma separated list of parameters): E.g.: 'AF1[2]'
    Author:
    pablocingolani
    • Constructor Detail

      • FieldSub

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

      • evalIndex

        protected int evalIndex​(org.snpeff.vcf.VcfEntry vcfEntry)
        Evaluate index expression
      • evalIndex

        protected int evalIndex​(org.snpeff.vcf.VcfEntry vcfEntry,
                                Expression idxExpr)
        Evaluate index expression (VCF entry)
      • evalIndex

        protected int evalIndex​(org.snpeff.vcf.VcfGenotype vcfGenotype)
        Evaluate index expression (VCF genotype)
      • evalIndex

        protected int evalIndex​(org.snpeff.vcf.VcfGenotype vcfGenotype,
                                Expression idxExpr)
        Evaluate index expression (VCF genotype)
      • getFieldString

        public java.lang.String getFieldString​(org.snpeff.vcf.VcfEntry vcfEntry)
        Get a field from VcfEntry
      • getFieldString

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

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

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