• Docs »
  • OESecondaryStructureSuperposition

OESecondaryStructureSuperposition

Attention

PRELIMINARY-IMAGE This is a preliminary API until 2019.Apr and may be improved based on user feedback. It is currently available in C++ and Python.

class OESecondaryStructureSuperposition

This class represents OESecondaryStructureSuperposition that performs a structural superposition on fit protein to a reference using a shape-based alignment of the secondary structure elements.

Constructors

OESecondaryStructureSuperposition(const OEChem::OEMolBase &refMol,
                                  const OEChem::OEMolBase &fitMol,
                                  const OESuperpositionOptions& argOpts = OESuperpositionOptions())

Constructor that superimposes the fitMol to the refMol by using a shape-based alignment to the secondary structure elements. If no OESuperpositionOptions as passed in as argOpts, then the default behavior of using a superposition to all globally matched atoms will be used.

OESecondaryStructureSuperposition(const OESecondaryStructureSuperposition &rhs)

Copy constructor.

operator=

OESecondaryStructureSuperposition &
  operator=(const OESecondaryStructureSuperposition &rhs)

Assignment operator.

operator bool

operator bool() const

Retruns whether the :oe:cls::OESpruce::OESecondaryStructureSuperposition object is valid.

GetFitChains

std::vector<std::string> GetFitChains() const

Returns 1-letter code of all names of fit protein chains.

GetRefChains

std::vector<std::string> GetRefChains() const

Returns 1-letter code of all names of reference protein chains.

GetRotMatrix

bool GetRotMatrix(double *rmat) const

Returns by reference the rotation matrix of the superposition.

GetTanimoto

double GetTanimoto() const

Returns the tanimoto score for the structural superposition.

GetTranslation

bool GetTranslation(double *trans) const

Returns by reference the translation vector of the superposition.

Transform

void Transform(OEChem::OEMolBase& mol)

Transforms the input mol using the stored rotation matrix and translation vector from the superposition.