OEStructuralSuperposition
Warning
This is a deprecated API. Please use OESuperpose class instead.
Attention
This API is currently available in C++ and Python.
class OEStructuralSuperposition
This class represents OEStructuralSuperposition that performs a structural superposition on fit protein to a reference protein, using a superposition method given as an optional parameter.
See also
Constructors
OEStructuralSuperposition(const OEChem::OEMolBase& argRefMol,
const OEChem::OEMolBase& argFitMol,
const OESuperpositionOptions& argOpts = OESuperpositionOptions())
Constructor that superimposes the argFitMol to the argRefMol.
If no OESuperpositionOptions are passed in as argOpts,
then the default behavior of using a superposition to all globally matched atoms will be used.
Both argRefMol and argFitMol must have 3D coordinates assigned.
OEStructuralSuperposition(const OEStructuralSuperposition& rhs)
Copy constructor.
operator bool
operator bool()
Returns whether the OEStructuralSuperposition object is valid.
ConstraintsMet
bool ConstraintsMet() const
Returns whether or not the constraints were met.
GetFitChains
std::vector<std::string> GetFitChains() const
Returns 1-letter code of all names of fit protein chains.
See also
GetRMSD
double GetRMSD() const
Returns the RMSD of the structural superposition.
GetRefChains
std::vector<std::string> GetRefChains() const
Returns 1-letter code of all names of reference protein chains.
See also
GetRegion
std::vector<int> GetRegion() const
Returns the index of all residues involved in the alignment.
GetRotMatrix
void GetRotMatrix(double* rmat) const
Returns by reference the rotation matrix of the superposition.
GetScore
int GetScore() const
Returns the sequence alignment score for the structural superposition.
GetTranslation
void GetTranslation(double* trans) const
Returns by reference the translation vector of the superposition.
Transform
void Transform(OEChem::OEMolBase& mol)
Transforms the input molecule using the stored rotation matrix and translation vector from the superposition.