OEHermiteOverlay
Attention
This is a preliminary API and may be improved based on user feedback. It is currently available in C++ and Python.
class OEHermiteOverlay
The OEHermiteOverlay defines an interface for overlap optimization between a reference object (a molecule, grid, shape query, or Hermite) and a fit object (molecule conformers, grid, or Hermite).
Note
Currently OEHermiteOverlay optimizes shape only.
- The OEHermiteOverlay class defines the following public methods:
Constructors
OEHermiteOverlay(hermOverlayOpts: OEHermiteOverlayOptions = OEHermiteOverlayOptions()) -> OEHermiteOverlay
OEHermiteOverlay(arg2: OEHermiteOverlay) -> OEHermiteOverlay
Default and copy constructors.
Assignment operator.
BestOverlay
BestOverlay(score: OEBestOverlayScore, fitherm: OEHermite, sorter: OEBestOverlayScoreSorterPred = OEHighestTanimoto()) -> bool BestOverlay(score: OEBestOverlayScore, fitmol: OEMol, sorter: OEBestOverlayScoreSorterPred = OEHighestTanimoto()) -> bool BestOverlay(score: OEBestOverlayScore, fitgrid: OEScalarGrid, sorter: OEBestOverlayScoreSorterPred = OEHighestTanimoto()) -> boolThis method optimizes the overlay between the reference object and the fit object (molecule conformers, grid, or Hermite), and returns the best result, sorted based on the binary predicate
sorter. The predicate has a default setting of OEHighestTanimoto. The reference object must be set using theSetupRefmethod prior to calling this method.
SetupRef
SetupRef(refherm: OEHermite) -> bool SetupRef(refmol: Union[OEGraphMol,OEMol,OEQMol]) -> bool SetupRef(refgrid: OEScalarGrid) -> bool SetupRef(query: OEShapeQuery) -> boolThis method defines the interface for setting up the reference system for the OEHermiteOverlay instance with a molecule, grid, shape query, or Hermite object.