OESuperposeOptions
Attention
This API is currently available in C++ and Python.
class OESuperposeOptions
This class represents OESuperposeOptions that sets the optional parameters for structural superposition using the OESuperpose class.
See also
OESuperpose class
Code Example
Calculating superposition example
Constructors
OESuperposeOptions(const unsigned method = OESuperposeMethod::Default)
Default constructor.
OESuperposeOptions(const OESuperposeOptions &rhs)
Copy constructor.
operator=
OESuperposeOptions &operator=(const OESuperposeOptions &argOpts)
Assignment operator.
GetMethod
unsigned GetMethod() constReturns the type of superposition to be performed. Types are given from the constants given in OESuperposeMethod. The default type is Default.
SetMethod
bool SetMethod(unsigned value)Sets the type of superposition to be performed. Types are taken from the constants given in OESuperposeMethod.
GetUseConstraints
bool GetUseConstraints() constReturns whether or not ligand or site-residue constraints should be used to validate the superposition.
See also
SetUseConstraints method
SetupRef method
Superpose method
SetUseConstraints
bool SetUseConstraints(bool value)Sets whether or not ligand or site-residue constraints should be used to validate the superposition.
See also
GetUseConstraints method
SetupRef method
Superpose method
GetValidRMSD
double GetValidRMSD() constReturns the RMSD threshold for validating the superposition of the reference and fit molecules.
OESuperposeResults::IsValidreturns false if the RMSD of the superposed molecules exceeds this threshold. The default value is 10.0 Angstroms for sequence-based methods and -1.0 for shape-based methods (RMSD calculation is only applicable to sequence-based methods).See also
SetValidRMSD method
IsValid method
GetRMSD method
SetValidRMSD
bool SetValidRMSD(double value)Sets the RMSD threshold for validating the superposition of the reference and fit molecules.
Warning
RMSD calculation is only applicable to sequence-based methods. Please avoid using this function when running shape-based superposition.
See also
SetValidRMSD method
GetValidTanimoto
double GetValidTanimoto() constReturns the Tanimoto threshold for validating the superposition of the reference and fit molecules.
OESuperposeResults::IsValidreturns false if the Tanimoto of the superposed molecules is smaller than this threshold. The default value is 0.0 for shape-based methods and -1.0 for sequence-based methods (Tanimoto calculation is only applicable to shape-based methods).See also
SetValidTanimoto method
IsValid method
GetTanimoto method
SetValidTanimoto
bool SetValidTanimoto(double value)Sets the Tanimoto threshold for validating the superposition of the reference and fit molecules.
Warning
Tanimoto calculation is only applicable to shape-based methods. Please avoid using this function when running sequence-based superposition.
See also
GetValidRMSD method
GetValidSeqScore
int GetValidSeqScore() constReturns the sequence alignment score threshold for validating the superposition of the reference and fit molecules.
OESuperposeResults::IsValidreturns false if the sequence alignment score of the superposed molecules is smaller than this threshold. The default value is 200 for sequence-based methods and -1000 for shape-based methods (sequence alignment score is only applicable to sequence-based methods).See also
SetValidSeqScore method
IsValid method
GetSeqScore method
SetValidSeqScore
bool SetValidSeqScore(int value)Sets the sequence alignment score threshold for validating the superposition of the reference and fit molecules.
Warning
sequence alignment score is only applicable to sequence-based methods. Please avoid using this function when running shape-based superposition.
See also
GetValidRMSD method
GetUseSeqScoreChainMatching
bool GetUseSeqScoreChainMatching() constReturns whether or not combined sequence alignment score should be used to match chains for multi-chain complexes.
See also
SetUseSeqScoreChainMatching method
SetUseSeqScoreChainMatching
bool SetUseSeqScoreChainMatching(bool value)Sets whether or not combined sequence alignment score should be used to match chains for multi-chain complexes.
See also
GetUseSeqScoreChainMatching method