BiopolymerResidue Class Reference
#include <Compound.h>
List of all members.
Constructor & Destructor Documentation
Constructor for BiopolymerResidue.
- Parameters:
-
| residueTypeName | name for the type of BiopolymerResidue, e.g. "glycine" |
| threeLetterCode | three letter code for the type of residue, e.g. "GLY". This name will be used in the ResidueType field when PDB files are created. |
| oneLetterCode | one letter code for the type of residue. e.g 'G'. Use 'X' if the residue type is non-canonical. |
Member Function Documentation
Attempt to automatically assign a Biotype to each atom.
Biotype assignments for each atom in a compound are required to match atoms to force field parameters. Residue name and atom name, including synonyms, are used to identify Biotypes. Previous loading of relevant Biotypes from a force field definition may be required for the assignBiotypes() method to work.
- Returns:
- true if Biotypes were successfully assigned
- Parameters:
-
| ordinality | whether this residue is at the beginning, middle, or end of the Biopolymer chain. |
Referenced by Protein::initialize(), and RNA::RNA().
char getOneLetterCode |
( |
|
) |
const |
Compound::AtomIndex getParentCompoundAtomIndex |
( |
AtomIndex |
residueAtomIndex |
) |
const |
const String& getResidueTypeName |
( |
|
) |
const |
const String& getThreeLetterCode |
( |
|
) |
const |
- Returns:
- a reference to this BiopolymerResidue
- Parameters:
-
| olc | The one-letter-code for this type of residue. Currently not used for anything. |
- Returns:
- a reference to this BiopolymerResidue
- Parameters:
-
| tlc | three letter code for the type of residue, e.g. "GLY". This name will be used in the ResidueType field when PDB files are created. |
The documentation for this class was generated from the following file: