Chem::Residue
Inherits Comparable < Reference < Object
Constants
MODIFIED_AMINO_ACIDS = {"ALY" => 'K', "CAS" => 'C', "CME" => 'C', "CSD" => 'C', "CSO" => 'C', "CSS" => 'C', "CSX" => 'C', "HYP" => 'P', "KCX" => 'K', "LLP" => 'K', "M3L" => 'K', "MLY" => 'K', "MLZ" => 'K', "MSE" => 'M', "NEP" => 'H', "OCS" => 'C', "PCA" => 'E', "PTR" => 'Y', "SAC" => 'S', "SEP" => 'S', "TPO" => 'T', "TYS" => 'Y'}
One-letter codes of the parent amino acids of modified residues common in the PDB.
Instance methods
amino_acid?
Returns true if the residue is a standard amino acid or a modified
one listed in MODIFIED_AMINO_ACIDS, else false. Caps and other
protein residues without a one-letter code are not amino acids.
Returns the single-letter code of the residue's template, or that of
the parent amino acid of a modified residue (see
MODIFIED_AMINO_ACIDS). Returns default if neither is known.
complete?
Returns true if every heavy atom of the residue template is
present, else false. Residues without a template are considered
complete.
id
Source