Package pl.poznan.put.protein
Enum AminoAcid
- java.lang.Object
-
- java.lang.Enum<AminoAcid>
-
- pl.poznan.put.protein.AminoAcid
-
- All Implemented Interfaces:
Serializable,Comparable<AminoAcid>,ResidueInformationProvider
public enum AminoAcid extends Enum<AminoAcid> implements ResidueInformationProvider
An amino acid with all details regarding its atoms, torsion angles, etc.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ALANINEARGININEASPARAGINEASPARTIC_ACIDCYSTEINEGLUTAMIC_ACIDGLUTAMINEGLYCINEHISTIDINEISOLEUCINELEUCINELYSINEMETHIONINEPHENYLALANINEPROLINESERINETHREONINETRYPTOPHANTYROSINEVALINE
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description List<String>aliases()List<ResidueComponent>moleculeComponents()MoleculeTypemoleculeType()charoneLetterName()Sidechainsidechain()List<TorsionAngleType>torsionAngleTypes()static AminoAcidvalueOf(String name)Returns the enum constant of this type with the specified name.static AminoAcid[]values()Returns an array containing the constants of this enum type, in the order they are declared.-
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Methods inherited from interface pl.poznan.put.pdb.analysis.ResidueInformationProvider
defaultName
-
-
-
-
Enum Constant Detail
-
ALANINE
public static final AminoAcid ALANINE
-
ARGININE
public static final AminoAcid ARGININE
-
ASPARAGINE
public static final AminoAcid ASPARAGINE
-
ASPARTIC_ACID
public static final AminoAcid ASPARTIC_ACID
-
CYSTEINE
public static final AminoAcid CYSTEINE
-
GLUTAMIC_ACID
public static final AminoAcid GLUTAMIC_ACID
-
GLUTAMINE
public static final AminoAcid GLUTAMINE
-
GLYCINE
public static final AminoAcid GLYCINE
-
HISTIDINE
public static final AminoAcid HISTIDINE
-
ISOLEUCINE
public static final AminoAcid ISOLEUCINE
-
LEUCINE
public static final AminoAcid LEUCINE
-
LYSINE
public static final AminoAcid LYSINE
-
METHIONINE
public static final AminoAcid METHIONINE
-
PHENYLALANINE
public static final AminoAcid PHENYLALANINE
-
PROLINE
public static final AminoAcid PROLINE
-
SERINE
public static final AminoAcid SERINE
-
THREONINE
public static final AminoAcid THREONINE
-
TRYPTOPHAN
public static final AminoAcid TRYPTOPHAN
-
TYROSINE
public static final AminoAcid TYROSINE
-
VALINE
public static final AminoAcid VALINE
-
-
Method Detail
-
values
public static AminoAcid[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (AminoAcid c : AminoAcid.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AminoAcid 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 nameNullPointerException- if the argument is null
-
sidechain
public Sidechain sidechain()
- Returns:
- The sidechain instance.
-
moleculeType
public MoleculeType moleculeType()
- Specified by:
moleculeTypein interfaceResidueInformationProvider- Returns:
- The type of molecule of this residue (RNA or protein).
-
moleculeComponents
public List<ResidueComponent> moleculeComponents()
- Specified by:
moleculeComponentsin interfaceResidueInformationProvider- Returns:
- The list of components this residue consists of.
-
oneLetterName
public char oneLetterName()
- Specified by:
oneLetterNamein interfaceResidueInformationProvider- Returns:
- A one letter name to describe this type of residue.
-
aliases
public List<String> aliases()
- Specified by:
aliasesin interfaceResidueInformationProvider- Returns:
- The list of all names this residues may be found in PDB and mmCIF files.
-
torsionAngleTypes
public List<TorsionAngleType> torsionAngleTypes()
- Specified by:
torsionAngleTypesin interfaceResidueInformationProvider- Returns:
- The list of torsion angle types defined for this residue.
-
-