Molmodel
Public Member Functions

SimTK::BiopolymerResidue Class Reference

#include <Compound.h>

Inheritance diagram for SimTK::BiopolymerResidue:

List of all members.

Public Member Functions

 BiopolymerResidue (const Compound::Name &residueTypeName, const String &threeLetterCode, char oneLetterCode)
 Constructor for BiopolymerResidue.
BiopolymerResiduesetOneLetterCode (char olc)
BiopolymerResiduesetThreeLetterCode (const String &tlc)
BiopolymerResiduesetResidueTypeName (const String &name)
char getOneLetterCode () const
const StringgetThreeLetterCode () const
const StringgetResidueTypeName () const
bool assignBiotypes (Ordinality::Residue ordinality=Ordinality::Any)
 Attempt to automatically assign a Biotype to each atom.
Compound::AtomIndex getParentCompoundAtomIndex (AtomIndex residueAtomIndex) const
 SimTK_INSERT_DERIVED_HANDLE_DECLARATIONS (BiopolymerResidue, BiopolymerResidueRep, Compound)

Constructor & Destructor Documentation

SimTK::BiopolymerResidue::BiopolymerResidue ( const Compound::Name residueTypeName,
const String threeLetterCode,
char  oneLetterCode 
)

Constructor for BiopolymerResidue.

Parameters:
residueTypeNamename for the type of BiopolymerResidue, e.g. "glycine"
threeLetterCodethree letter code for the type of residue, e.g. "GLY". This name will be used in the ResidueType field when PDB files are created.
oneLetterCodeone letter code for the type of residue. e.g 'G'. Use 'X' if the residue type is non-canonical.

Member Function Documentation

BiopolymerResidue& SimTK::BiopolymerResidue::setOneLetterCode ( char  olc)
Returns:
a reference to this BiopolymerResidue
Parameters:
olcThe one-letter-code for this type of residue. Currently not used for anything.
BiopolymerResidue& SimTK::BiopolymerResidue::setThreeLetterCode ( const String tlc)
Returns:
a reference to this BiopolymerResidue
Parameters:
tlcthree 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& SimTK::BiopolymerResidue::setResidueTypeName ( const String name)
Returns:
a reference to this BiopolymerResidue
Parameters:
namename for the type of BiopolymerResidue, e.g. "glycine"
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:
ordinalitywhether this residue is at the beginning, middle, or end of the Biopolymer chain.
Compound::AtomIndex SimTK::BiopolymerResidue::getParentCompoundAtomIndex ( AtomIndex  residueAtomIndex) const
SimTK::BiopolymerResidue::SimTK_INSERT_DERIVED_HANDLE_DECLARATIONS ( BiopolymerResidue  ,
BiopolymerResidueRep  ,
Compound   
)

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines