#include <Compound.h>
List of all members.
Constructor & Destructor Documentation
SimTK::BiopolymerResidue::BiopolymerResidue |
( |
const Compound::Name & |
residueTypeName, |
|
|
const String & |
threeLetterCode, |
|
|
char |
oneLetterCode |
|
) |
| |
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
- 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. |
char SimTK::BiopolymerResidue::getOneLetterCode |
( |
| ) |
const |
const String& SimTK::BiopolymerResidue::getThreeLetterCode |
( |
| ) |
const |
const String& SimTK::BiopolymerResidue::getResidueTypeName |
( |
| ) |
const |
bool SimTK::BiopolymerResidue::assignBiotypes |
( |
Ordinality::Residue |
ordinality = Ordinality::Any | ) |
|
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. |
Compound::AtomIndex SimTK::BiopolymerResidue::getParentCompoundAtomIndex |
( |
AtomIndex |
residueAtomIndex | ) |
const |
The documentation for this class was generated from the following file: