19 #ifndef OST_RESIDUE_BASE_HH
20 #define OST_RESIDUE_BASE_HH
35 namespace ost {
namespace mol {
75 operator bool()
const {
return this->IsValid(); }
Three dimensional vector class, using Real precision.
base class for the handler classes
base class for the implementation
base class for ResidueHandle and ResidueView
ChemType GetChemType() const
PDB ligand classification from component dictionary.
String GetStringProperty(Prop::ID prop_id) const
Get String property by id
ResidueBase(const impl::ResidueImplPtr &impl)
void SetIsProtein(bool protein)
void SetSecStructure(SecStructure ss)
Set secondary structure type.
int GetIntProperty(Prop::ID prop_id) const
Get int property by id.
const impl::ResidueImplPtr & Impl() const
bool IsPeptideLinking() const
whether the residue can form peptide bonds
AtomHandle GetCentralAtom() const
returns main atom, ie CA for amino acids
SecStructure GetSecStructure() const
Get secondary structure type. By default, the residue is in COIL conformation.
ResidueBase(const ResidueBase &rhs)
TorsionHandle GetOmegaTorsion() const
Get omega torsion.
char GetOneLetterCode() const
void CheckValidity() const
void SetCentralAtom(const AtomHandle &a)
set explicit central atom
const ResidueKey & GetKey() const
return the residue key.
void SetOneLetterCode(char olc)
bool IsProtein() const
whether the residue is part of the protein.
String GetQualifiedName() const
get fully qualified name of residue, including the chain name, residue name and residue number
void SetIsLigand(bool ligand)
GenericPropContainerImpl * GpImpl()
geom::Vec3 GetCentralNormal() const
TorsionHandle GetPsiTorsion() const
Get psi torsion.
ChemClass GetChemClass() const
TorsionHandle GetPhiTorsion() const
Get phi torsion.
void SetChemClass(ChemClass cc)
bool IsNucleotideLinking() const
whether the residue can be part of a polynucleotide
const GenericPropContainerImpl * GpImpl() const
void SetChemType(ChemType ct)
const ResNum & GetNumber() const
return residue number
impl::ResidueImplPtr & Impl()
const String & GetName() const
return the residue name, at the moment an alias for GetKey().
Real GetFloatProperty(Prop::ID prop_id) const
Get float property by id
Named torsion (dihedral) angle.
#define DLLEXPORT_OST_MOL
boost::shared_ptr< ResidueImpl > ResidueImplPtr
DLLEXPORT_OST_MOL std::ostream & operator<<(std::ostream &os, const AtomBase &atom)
Secondary structure types as defined by DSSP. For convenience, the enum values match the characters u...