![]() |
Chemical Data Processing Library Python API - Version 1.4.0
|
Distance-geometry-based generation of raw 3D structures for molecular graphs. More...
Inheritance diagram for CDPL.ConfGen.DGStructureGenerator:Public Member Functions | |
| None | __init__ () |
Constructs the DGStructureGenerator instance. | |
| None | __init__ (DGStructureGenerator gen) |
Initializes a copy of the DGStructureGenerator instance gen. More... | |
| int | getObjectID () |
| Returns the numeric identifier (ID) of the wrapped C++ class instance. More... | |
| DGStructureGenerator | assign (DGStructureGenerator gen) |
Replaces the current state of self with a copy of the state of the DGStructureGenerator instance gen. More... | |
| Util.BitSet | getExcludedHydrogenMask () |
| Returns the bit mask of hydrogens excluded from the coordinate-generation step. More... | |
| None | setup (Chem.MolecularGraph molgraph) |
| Sets up the generator for molgraph using geometry defaults derived from each atom's element number and hybridization state. More... | |
| None | setup (Chem.MolecularGraph molgraph, ForceField.MMFF94InteractionData ia_data) |
| Sets up the generator for molgraph using the supplied MMFF94 interaction data. More... | |
| bool | generate (Math.Vector3DArray coords) |
| Generates a 3D coordinate set that respects the configured distance constraints. More... | |
| int | getNumAtomStereoCenters () |
| Returns the number of atom stereo centers in the set-up molecular graph. More... | |
| int | getNumBondStereoCenters () |
| Returns the number of bond stereo centers in the set-up molecular graph. More... | |
| bool | checkAtomConfigurations (Math.Vector3DArray coords) |
| Validates the per-atom stereo-configurations of coords against the perceived stereo descriptors. More... | |
| bool | checkBondConfigurations (Math.Vector3DArray coords) |
| Validates the per-bond stereo-configurations of coords against the perceived stereo descriptors. More... | |
| DGStructureGeneratorSettings | getSettings () |
| Returns the current generator settings. More... | |
| DGConstraintGenerator | getConstraintGenerator () |
| Returns the embedded constraint generator used to produce the distance/volume constraints. More... | |
Properties | |
| objectID = property(getObjectID) | |
| numAtomStereoCenters = property(getNumAtomStereoCenters) | |
| numBondStereoCenters = property(getNumBondStereoCenters) | |
| settings = property(getSettings) | |
| constraintGenerator = property(getConstraintGenerator) | |
| exclHydrogenMask = property(getExcludedHydrogenMask) | |
Distance-geometry-based generation of raw 3D structures for molecular graphs.
Constraints are produced by an embedded ConfGen.DGConstraintGenerator and used to embed the coordinates via a two-phase Util.DG3DCoordinatesGenerator pipeline. After generation, atom and bond stereo configurations can be validated against the perceived stereo descriptors.
| None CDPL.ConfGen.DGStructureGenerator.__init__ | ( | DGStructureGenerator | gen | ) |
Initializes a copy of the DGStructureGenerator instance gen.
| gen | The DGStructureGenerator instance to copy. |
| int CDPL.ConfGen.DGStructureGenerator.getObjectID | ( | ) |
Returns the numeric identifier (ID) of the wrapped C++ class instance.
Different Python DGStructureGenerator 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 DGStructureGenerator 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().
| DGStructureGenerator CDPL.ConfGen.DGStructureGenerator.assign | ( | DGStructureGenerator | gen | ) |
Replaces the current state of self with a copy of the state of the DGStructureGenerator instance gen.
| gen | The DGStructureGenerator instance to copy. |
| Util.BitSet CDPL.ConfGen.DGStructureGenerator.getExcludedHydrogenMask | ( | ) |
Returns the bit mask of hydrogens excluded from the coordinate-generation step.
| None CDPL.ConfGen.DGStructureGenerator.setup | ( | Chem.MolecularGraph | molgraph | ) |
Sets up the generator for molgraph using geometry defaults derived from each atom's element number and hybridization state.
No MMFF94 parameterization is carried out; reference bond lengths and angles are taken from element-/hybridization-based lookup tables.
| molgraph | The input molecular graph. |
| None CDPL.ConfGen.DGStructureGenerator.setup | ( | Chem.MolecularGraph | molgraph, |
| ForceField.MMFF94InteractionData | ia_data | ||
| ) |
Sets up the generator for molgraph using the supplied MMFF94 interaction data.
| molgraph | The input molecular graph. |
| ia_data | The pre-computed MMFF94 interaction data. |
| bool CDPL.ConfGen.DGStructureGenerator.generate | ( | Math.Vector3DArray | coords | ) |
Generates a 3D coordinate set that respects the configured distance constraints.
| coords | The output 3D coordinate array. |
True if the embedding succeeded, and False otherwise. | int CDPL.ConfGen.DGStructureGenerator.getNumAtomStereoCenters | ( | ) |
Returns the number of atom stereo centers in the set-up molecular graph.
| int CDPL.ConfGen.DGStructureGenerator.getNumBondStereoCenters | ( | ) |
Returns the number of bond stereo centers in the set-up molecular graph.
| bool CDPL.ConfGen.DGStructureGenerator.checkAtomConfigurations | ( | Math.Vector3DArray | coords | ) |
Validates the per-atom stereo-configurations of coords against the perceived stereo descriptors.
| coords | The 3D coordinates to test. |
True if all per-atom stereo-configurations are valid, and False otherwise. | bool CDPL.ConfGen.DGStructureGenerator.checkBondConfigurations | ( | Math.Vector3DArray | coords | ) |
Validates the per-bond stereo-configurations of coords against the perceived stereo descriptors.
| coords | The 3D coordinates to test. |
True if all per-bond stereo-configurations are valid, and False otherwise. | DGStructureGeneratorSettings CDPL.ConfGen.DGStructureGenerator.getSettings | ( | ) |
Returns the current generator settings.
| DGConstraintGenerator CDPL.ConfGen.DGStructureGenerator.getConstraintGenerator | ( | ) |
Returns the embedded constraint generator used to produce the distance/volume constraints.