OEPositOptions¶
class OEPositOptions : public OESystem::OEOptions
This class provides an interface to setup options required for performing pose prediction using POSIT.
- The
OEPositOptions
class defines the following public methods:
Constructor¶
OEPositOptions();
OEPositOptions(const OEPositOptions &)
Default and copy constructors.
operator=¶
OEPositOptions &operator=(const OEPositOptions &)
GetFullConformationSearch¶
bool GetFullConformationSearch() const
See SetFullConformationSearch
method.
SetAllowedClashType¶
bool SetAllowedClashType(const unsigned)
Sets the allowed clash type between the ligand pose and the protein,
for pose generation. Allowed clash types are defined in the
OEAllowedClashType
namespace.
The allowed clash type defines if a generated pose contains a clash or not, as
reported in a pose calculation result. The allowed clash type also determines if
a relexation of the pose would be carried out when
SetPoseRelaxMode
is set
to OEPoseRelaxMode::CLASHED
.
Default is OEAllowedClashType::HYDROGEN
.
SetExcludeSelf¶
bool SetExcludeSelf(const bool)
Sets flag to exclude receptor that contains a given ligand as its bound ligand, when choosing the best receptor for a ligand during pose prediction. This option is meant to be used when running cross docking validation experiments, and allows the user to prevent docking a ligand to a receptor containing itself, without having to generate a number of leave one out receptor datasets. Default: False.
SetFullConformationSearch¶
bool SetFullConformationSearch(const bool)
Sets flag to perform full conformation search.
Setting this option to false
disables internal rotamer conformer searching during
the flexible searching algorithm. If this option is set to false
and a 3D input is
not given, this setting is ignored and a full conformation search is automatically performed.
Default: true
.
SetIgnoreNitrogenStereo¶
bool SetIgnoreNitrogenStereo(const bool)
Sets flag to ignore Nitrogen stereo specifications in input molecule.
Setting this option to false
ignores Nitrogen stereo specifications in the input molecule,
and a value to true
ensures that any specified Nitrogen stereo information is restored.
A molecule would always be processed, irrespective of this setting. When Nitrogen stereo is
specified in the incoming molecule, setting flag is set to true
would respect those
stereo specifications. Default: false
.
SetMinProbability¶
bool SetMinProbability(const double)
Sets the minimum pose probability, for poses to be of interest. Poses
that has a probability below the minimum value are not relaxed even when
the SetPoseRelaxMode
is set to CLASHED
or ALL`. Default is 0.33
.
SetPoserCacheCount¶
bool SetPoserCacheCount(const unsigned)
Sets the maximum number of posers to be kept in memory cache during POSIT calculation.
Each poser takes ~0.75GB of memory. Ability to keep more poser in the cache speeds
up the calculation when working with multiple receptors. Default is 10
.
SetPoseRelaxMode¶
bool SetPoseRelaxMode(const unsigned)
Sets the trigger to perform relexation of the generated pose. The relexation is
performed by allowing flexibility to the ligand and parts of the receptor. Turning on
relexation can significantly slow down the calculations. Pose relexation modes are
defined in the OEPoseRelaxMode
namespace.
Default is OEPoseRelaxMode::NONE
.
SetPositMethods¶
bool SetPositMethods(const unsigned)
Sets the posing methods to be used. Methods are set as bits in the supplied integer,
see the OEPositMethod
namespace for more details.
Default is OEPositMethod::ALL
.
SetBestReceptorPoseOnly¶
bool SetBestReceptorPoseOnly(const bool)
The default behavior is that for a given ligand to return the pose or poses corresponding
to the best receptor from the list of input receptors.
If set to false
, result of pose prediction for multi receptors will be returned.
Default is true
.