#include <Compound.h>
Public Member Functions | |
BiopolymerResidue (Compound::Name name, String threeLetterCode, char oneLetterCode) | |
Constructor for BiopolymerResidue. | |
BiopolymerResidue & | setOneLetterCode (char olc) |
BiopolymerResidue & | setThreeLetterCode (const String &tlc) |
BiopolymerResidue & | setResidueName (const String &name) |
bool | assignBiotypes (Ordinality::Residue ordinality=Ordinality::Any) |
Attempt to automatically assign a Biotype to each atom. | |
SimTK_INSERT_DERIVED_HANDLE_DECLARATIONS (BiopolymerResidue, BiopolymerResidueRep, Compound) |
BiopolymerResidue | ( | Compound::Name | name, | |
String | threeLetterCode, | |||
char | oneLetterCode | |||
) |
Constructor for BiopolymerResidue.
name | 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. |
BiopolymerResidue& setOneLetterCode | ( | char | olc | ) |
olc | The one-letter-code for this type of residue. Currently not used for anything. |
BiopolymerResidue& setThreeLetterCode | ( | const String & | tlc | ) |
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. |
BiopolymerResidue& setResidueName | ( | const String & | name | ) |
name | name for the type of BiopolymerResidue, e.g. "glycine" |
bool 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.
ordinality | whether this residue is at the beginning, middle, or end of the Biopolymer chain. |
Referenced by RNA::RNA().
SimTK_INSERT_DERIVED_HANDLE_DECLARATIONS | ( | BiopolymerResidue | , | |
BiopolymerResidueRep | , | |||
Compound | ||||
) |