Enum Nucleotide

java.lang.Object
java.lang.Enum<Nucleotide>
pl.poznan.put.rna.Nucleotide
All Implemented Interfaces:
Serializable, Comparable<Nucleotide>, java.lang.constant.Constable, ResidueInformationProvider

public enum Nucleotide extends Enum<Nucleotide> implements ResidueInformationProvider
A nucleotide (A, C, G, U or T) with all details regarding atoms, torsion angles, etc.
  • Enum Constant Details

  • Method Details

    • values

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

      public static Nucleotide valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified name
      NullPointerException - if the argument is null
    • nucleobase

      public Nucleobase nucleobase()
      Returns:
      An instance of nucleobase in this nucleotide.
    • moleculeType

      public MoleculeType moleculeType()
      Specified by:
      moleculeType in interface ResidueInformationProvider
      Returns:
      The type of molecule of this residue (RNA or protein).
    • moleculeComponents

      public List<ResidueComponent> moleculeComponents()
      Specified by:
      moleculeComponents in interface ResidueInformationProvider
      Returns:
      The list of components this residue consists of.
    • oneLetterName

      public char oneLetterName()
      Specified by:
      oneLetterName in interface ResidueInformationProvider
      Returns:
      A one letter name to describe this type of residue.
    • aliases

      public List<String> aliases()
      Specified by:
      aliases in interface ResidueInformationProvider
      Returns:
      The list of all names this residues may be found in PDB and mmCIF files.
    • torsionAngleTypes

      public List<TorsionAngleType> torsionAngleTypes()
      Specified by:
      torsionAngleTypes in interface ResidueInformationProvider
      Returns:
      The list of torsion angle types defined for this residue.