![]() |
Chemical Data Processing Library Python API - Version 1.4.0
|
Driver for the generation of low-energy conformer ensembles for single molecular fragments (chain, small ring system or macrocycle) More...
Inheritance diagram for CDPL.ConfGen.FragmentConformerGenerator:Public Member Functions | |
| None | __init__ () |
Constructs the FragmentConformerGenerator instance. | |
| int | getObjectID () |
| Returns the numeric identifier (ID) of the wrapped C++ class instance. More... | |
| None | setAbortCallback (CallbackFunction func) |
| Sets the callback invoked periodically to allow conformer generation to be aborted by the user. More... | |
| CallbackFunction | getAbortCallback () |
| Returns the currently configured abort-check callback. More... | |
| None | setTimeoutCallback (CallbackFunction func) |
| Sets the callback invoked periodically to check whether the configured timeout has elapsed. More... | |
| CallbackFunction | getTimeoutCallback () |
| Returns the currently configured timeout-check callback. More... | |
| None | setLogMessageCallback (LogMessageCallbackFunction func) |
| Sets the callback that receives log messages produced during conformer generation. More... | |
| LogMessageCallbackFunction | getLogMessageCallback () |
| Returns the currently configured log-message callback. More... | |
| int | generate (Chem.MolecularGraph molgraph) |
| Generates a conformer ensemble for the fragment molgraph (the fragment type is perceived automatically). More... | |
| int | generate (Chem.MolecularGraph molgraph, Chem.MolecularGraph fixed_substr, Math.Vector3DArray fixed_substr_coords) |
| Generates a conformer ensemble for the fragment molgraph while keeping the substructure fixed_substr at the supplied 3D coordinates. More... | |
| int | generate (Chem.MolecularGraph molgraph, int frag_type) |
| Generates a conformer ensemble for the fragment molgraph using the fragment-type-specific settings selected by frag_type. More... | |
| int | generate (Chem.MolecularGraph molgraph, int frag_type, Chem.MolecularGraph fixed_substr, Math.Vector3DArray fixed_substr_coords) |
| Generates a conformer ensemble for the fragment molgraph using the fragment-type-specific settings selected by frag_type while keeping the substructure fixed_substr at the supplied 3D coordinates. More... | |
| None | setConformers (Chem.MolecularGraph molgraph) |
| Transfers the generated conformer ensemble onto molgraph. More... | |
| int | getNumConformers () |
| Returns the number of generated conformers. More... | |
| ConformerData | getConformer (int conf_idx) |
| FragmentConformerGeneratorSettings | getSettings () |
| Returns the current generator settings. More... | |
| ConformerData | __getitem__ (int conf_idx) |
Properties | |
| objectID = property(getObjectID) | |
| numConformers = property(getNumConformers) | |
| settings = property(getSettings) | |
| abortCallback = property(getAbortCallback, setAbortCallback) | |
| timeoutCallback = property(getTimeoutCallback, setTimeoutCallback) | |
| logMessageCallback = property(getLogMessageCallback, setLogMessageCallback) | |
Driver for the generation of low-energy conformer ensembles for single molecular fragments (chain, small ring system or macrocycle)
Conformer sampling is done in a stochastic manner using distance-geometry-based raw coordinates generation, MMFF94 energy minimization and conformer RMSD clustering.
| int CDPL.ConfGen.FragmentConformerGenerator.getObjectID | ( | ) |
Returns the numeric identifier (ID) of the wrapped C++ class instance.
Different Python FragmentConformerGenerator instances may reference the same underlying C++ class instance. The commonly used Python expression a is not b thus cannot tell reliably whether the two FragmentConformerGenerator instances a and b reference different C++ objects. The numeric identifier returned by this method allows to correctly implement such an identity test via the simple expression a.getObjectID() != b.getObjectID().
| None CDPL.ConfGen.FragmentConformerGenerator.setAbortCallback | ( | CallbackFunction | func | ) |
Sets the callback invoked periodically to allow conformer generation to be aborted by the user.
| func | The abort-check callback. |
| CallbackFunction CDPL.ConfGen.FragmentConformerGenerator.getAbortCallback | ( | ) |
Returns the currently configured abort-check callback.
| None CDPL.ConfGen.FragmentConformerGenerator.setTimeoutCallback | ( | CallbackFunction | func | ) |
Sets the callback invoked periodically to check whether the configured timeout has elapsed.
| func | The timeout-check callback. |
| CallbackFunction CDPL.ConfGen.FragmentConformerGenerator.getTimeoutCallback | ( | ) |
Returns the currently configured timeout-check callback.
| None CDPL.ConfGen.FragmentConformerGenerator.setLogMessageCallback | ( | LogMessageCallbackFunction | func | ) |
Sets the callback that receives log messages produced during conformer generation.
| func | The log-message callback. |
| LogMessageCallbackFunction CDPL.ConfGen.FragmentConformerGenerator.getLogMessageCallback | ( | ) |
Returns the currently configured log-message callback.
| int CDPL.ConfGen.FragmentConformerGenerator.generate | ( | Chem.MolecularGraph | molgraph | ) |
Generates a conformer ensemble for the fragment molgraph (the fragment type is perceived automatically).
| molgraph | The fragment to process. |
| int CDPL.ConfGen.FragmentConformerGenerator.generate | ( | Chem.MolecularGraph | molgraph, |
| Chem.MolecularGraph | fixed_substr, | ||
| Math.Vector3DArray | fixed_substr_coords | ||
| ) |
Generates a conformer ensemble for the fragment molgraph while keeping the substructure fixed_substr at the supplied 3D coordinates.
| molgraph | The fragment to process. |
| fixed_substr | The substructure that must retain the supplied 3D coordinates. |
| fixed_substr_coords | The 3D coordinates assigned to fixed_substr. |
| int CDPL.ConfGen.FragmentConformerGenerator.generate | ( | Chem.MolecularGraph | molgraph, |
| int | frag_type | ||
| ) |
Generates a conformer ensemble for the fragment molgraph using the fragment-type-specific settings selected by frag_type.
| molgraph | The fragment to process. |
| frag_type | One of the ConfGen.FragmentType values selecting the per-fragment-class settings. |
| int CDPL.ConfGen.FragmentConformerGenerator.generate | ( | Chem.MolecularGraph | molgraph, |
| int | frag_type, | ||
| Chem.MolecularGraph | fixed_substr, | ||
| Math.Vector3DArray | fixed_substr_coords | ||
| ) |
Generates a conformer ensemble for the fragment molgraph using the fragment-type-specific settings selected by frag_type while keeping the substructure fixed_substr at the supplied 3D coordinates.
| molgraph | The fragment to process. |
| frag_type | One of the ConfGen.FragmentType values selecting the per-fragment-class settings. |
| fixed_substr | The substructure that must retain the supplied 3D coordinates. |
| fixed_substr_coords | The 3D coordinates assigned to fixed_substr. |
| None CDPL.ConfGen.FragmentConformerGenerator.setConformers | ( | Chem.MolecularGraph | molgraph | ) |
Transfers the generated conformer ensemble onto molgraph.
The per-conformer 3D coordinates are written to each atom's 3D-coordinates array (via Chem.set3DCoordinatesArray) and the corresponding per-conformer energies are attached to the molecular graph (via Chem.setConformerEnergies).
| molgraph | The molecular graph that receives the conformer coordinates and energies. |
| int CDPL.ConfGen.FragmentConformerGenerator.getNumConformers | ( | ) |
Returns the number of generated conformers.
| ConformerData CDPL.ConfGen.FragmentConformerGenerator.getConformer | ( | int | conf_idx | ) |
| conf_idx |
| FragmentConformerGeneratorSettings CDPL.ConfGen.FragmentConformerGenerator.getSettings | ( | ) |
Returns the current generator settings.
| ConformerData CDPL.ConfGen.FragmentConformerGenerator.__getitem__ | ( | int | conf_idx | ) |
| conf_idx |