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 Details

  • Method Details

    • 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 String getFieldString(org.snpeff.vcf.VcfEntry vcfEntry)
      Get a field from VcfEntry
    • getFieldString

      public 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 String toString()
      Overrides:
      toString in class Field