Distance-geometry-based generation of raw 3D structures for molecular graphs.
More...
#include <DGStructureGenerator.hpp>
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.
◆ DGStructureGenerator()
| CDPL::ConfGen::DGStructureGenerator::DGStructureGenerator |
( |
| ) |
|
Constructs the DGStructureGenerator instance.
◆ getSettings() [1/2]
Returns the current generator settings (mutable).
- Returns
- A reference to the settings.
◆ getSettings() [2/2]
Returns the current generator settings.
- Returns
- A
const reference to the settings.
◆ getExcludedHydrogenMask()
| const Util::BitSet& CDPL::ConfGen::DGStructureGenerator::getExcludedHydrogenMask |
( |
| ) |
const |
Returns the bit mask of hydrogens excluded from the coordinate-generation step.
- Returns
- A
const reference to the bit mask.
◆ setup() [1/4]
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.
- Parameters
-
| molgraph | The input molecular graph. |
◆ setup() [2/4]
Sets up the generator for molgraph using the supplied MMFF94 interaction data.
- Parameters
-
| molgraph | The input molecular graph. |
| ia_data | The pre-computed MMFF94 interaction data. |
◆ setup() [3/4]
Sets up the generator for molgraph while keeping the substructure fragments in fixed_substr_frags at the supplied 3D coordinates.
- Parameters
-
| molgraph | The input molecular graph. |
| fixed_substr_frags | The substructure fragments that must retain their 3D coordinates. |
| fixed_substr_coords | The 3D coordinates assigned to the fixed substructures. |
- Since
- 1.1
◆ setup() [4/4]
Sets up the generator for molgraph using the supplied MMFF94 interaction data and fixed-substructure data.
- Parameters
-
| molgraph | The input molecular graph. |
| ia_data | The pre-computed MMFF94 interaction data. |
| fixed_substr_frags | The substructure fragments that must retain their 3D coordinates. |
| fixed_substr_coords | The 3D coordinates assigned to the fixed substructures. |
- Since
- 1.1
◆ generate()
Generates a 3D coordinate set that respects the configured distance constraints.
- Parameters
-
| coords | The output 3D coordinate array. |
- Returns
true if the embedding succeeded, and false otherwise.
◆ checkAtomConfigurations()
Validates the per-atom stereo-configurations of coords against the perceived stereo descriptors.
- Parameters
-
| coords | The 3D coordinates to test. |
- Returns
true if all per-atom stereo-configurations are valid, and false otherwise.
◆ checkBondConfigurations()
Validates the per-bond stereo-configurations of coords against the perceived stereo descriptors.
- Parameters
-
| coords | The 3D coordinates to test. |
- Returns
true if all per-bond stereo-configurations are valid, and false otherwise.
◆ getNumAtomStereoCenters()
| std::size_t CDPL::ConfGen::DGStructureGenerator::getNumAtomStereoCenters |
( |
| ) |
const |
Returns the number of atom stereo centers in the set-up molecular graph.
- Returns
- The atom stereo-center count.
◆ getNumBondStereoCenters()
| std::size_t CDPL::ConfGen::DGStructureGenerator::getNumBondStereoCenters |
( |
| ) |
const |
Returns the number of bond stereo centers in the set-up molecular graph.
- Returns
- The bond stereo-center count.
◆ getConstraintGenerator()
Returns the embedded constraint generator used to produce the distance/volume constraints.
- Returns
- A
const reference to the constraint generator.
The documentation for this class was generated from the following file: