Enum Class EffFormatVersion

java.lang.Object
java.lang.Enum<EffFormatVersion>
org.snpeff.vcf.EffFormatVersion
All Implemented Interfaces:
Serializable, Comparable<EffFormatVersion>, Constable

public enum EffFormatVersion extends Enum<EffFormatVersion>
VcfFields in SnpEff version 2.X have a different format than 3.X As of version 4.1 we switch to a standard annotation format
  • Enum Constant Details

  • Field Details

  • Method Details

    • values

      public static EffFormatVersion[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static EffFormatVersion valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • isEffectVcfInfoField

      public static boolean isEffectVcfInfoField(String key)
      Is this one of the VCF INFO keys?
    • infoFieldName

      public String infoFieldName()
      Get INF field name for corresponding format
    • isAnn

      public boolean isAnn()
      Is this an 'ANN' format?
    • isEff

      public boolean isEff()
      Id this an 'EFF' format?
    • isFullVersion

      public boolean isFullVersion()
      Is this format fully specified? I.e. does it have version number?
    • separator

      public String separator()
      Multiple effect separator
    • separatorSplit

      public String separatorSplit()
      Multiple effect separator: Split regex
    • vcfHeader

      public String vcfHeader()
      VCF header for each format type