OEFragmentOptions

Attention

This is a preliminary API and may be improved based on user feedback. It is currently available in C++ and Python.

class OEFragmentOptions : public OESystem::OEOptions

This class provides an interface to setup basic options related to biosiostereic fragment overlap scoring.

The OEFragmentOptions class defines the following public methods:

Constructors

OEFragmentOptions()
OEFragmentOptions(const OEFragmentOptions &)

Default and copy constructors.

operator=

OEFragmentOptions &operator=(const OEFragmentOptions &)

Assignment operator.

GetMaxChiral

unsigned GetMaxChiral() const

See SetMaxChiral method.

GetMaxDegree

unsigned GetMaxDegree() const

See SetMaxDegree method.

GetMaxHeavy

unsigned GetMaxHeavy() const

See SetMaxHeavy method.

GetMaxMolWt

double GetMaxMolWt() const

See SetMaxMolWt method.

GetMinDegree

unsigned GetMinDegree() const

See SetMinDegree method.

GetMinHeavy

unsigned GetMinHeavy() const

See SetMinHeavy method.

GetSmarts

std::string GetSmarts() const

See SetSmarts method.

SetMaxChiral

bool SetMaxChiral(const unsigned)

Sets the Maximum allowable number of chiral centers (both atom and bond centers) in the generated fragments. Default: 3.

SetMaxDegree

bool SetMaxDegree(const unsigned)

Sets the Maximum allowable number of attachment points in the generated fragments. Default: 3.

SetMaxHeavy

bool SetMaxHeavy(const unsigned)

Sets the Maximum allowable number of heavy atoms in the generated fragments. Default: 15.

SetMaxMolWt

bool SetMaxMolWt(const double)

Sets the Maximum allowable molecular weight in the generated fragments. Default: 350.

SetMinDegree

bool SetMinDegree(const unsigned)

Sets the Minimum required number of attachment points in the generated fragments. Default: 1.

SetMinHeavy

bool SetMinHeavy(const unsigned)

Sets the Minimum required number of heavy atoms in the generated fragments. Default: 1.

SetSmarts

bool SetSmarts(const std::string&) const

Sets the SMARTS definition for bonds to break. Built-in methods are recap, rlf, both (both rlf and recap), all. User-defined set of rules can also be used by passing in a file with the desired smarts patterns. Default: all

SetSmartsFile

bool SetSmartsFile(const OEPlatform::oeostream&) const

Sets the SMARTS definition for bonds to break by passing in a file with the desired smarts patterns. This method takes precedence over the SetSmarts method.