![]() |
RDKit
Open-source cheminformatics and machine learning.
|
Classes | |
| struct | StereoInfo |
Enumerations | |
| enum class | StereoType { Unspecified , Atom_Tetrahedral , Atom_SquarePlanar , Atom_TrigonalBipyramidal , Atom_Octahedral , Bond_Double , Bond_Cumulene_Even , Bond_Atropisomer } |
| enum class | StereoDescriptor { None , Tet_CW , Tet_CCW , Bond_Cis , Bond_Trans } |
| enum class | StereoSpecified { Unspecified , Specified , Unknown } |
Variables | |
| constexpr unsigned int | minRingSizeForDoubleBondStereo = 8 |
| double bond stereo will be ignored/removed for rings smaller than this: More... | |
| constexpr auto | nonTetrahedralStereoEnvVar = "RDK_ENABLE_NONTETRAHEDRAL_STEREO" |
| constexpr auto | useLegacyStereoEnvVar = "RDK_USE_LEGACY_STEREO_PERCEPTION" |
| constexpr bool | nonTetrahedralStereoDefaultVal |
| whether or not nontetrahedral stereo is perceived by default More... | |
| constexpr bool | useLegacyStereoDefaultVal |
| RDKIT_GRAPHMOL_EXPORT bool | useLegacyStereoPerception |
|
strong |
| Enumerator | |
|---|---|
| None | |
| Tet_CW | |
| Tet_CCW | |
| Bond_Cis | |
| Bond_Trans | |
Definition at line 97 of file Chirality.h.
|
strong |
| Enumerator | |
|---|---|
| Unspecified | |
| Specified | |
| Unknown | |
Definition at line 99 of file Chirality.h.
|
strong |
| Enumerator | |
|---|---|
| Unspecified | |
| Atom_Tetrahedral | |
| Atom_SquarePlanar | |
| Atom_TrigonalBipyramidal | |
| Atom_Octahedral | |
| Bond_Double | |
| Bond_Cumulene_Even | |
| Bond_Atropisomer | |
Definition at line 86 of file Chirality.h.
| RDKIT_GRAPHMOL_EXPORT void RDKit::Chirality::assignLegacyCIPLabels | ( | ROMol & | mol, |
| bool | flagPossibleStereoCenters = false |
||
| ) |
calls the approximate legacy code for assigning CIP labels
| RDKIT_GRAPHMOL_EXPORT void RDKit::Chirality::cleanupStereoGroups | ( | ROMol & | mol | ) |
removes atoms without specified chirality from stereo groups
| RDKIT_GRAPHMOL_EXPORT std::vector< StereoInfo > RDKit::Chirality::findPotentialStereo | ( | const ROMol & | mol | ) |
overload
| RDKIT_GRAPHMOL_EXPORT std::vector< StereoInfo > RDKit::Chirality::findPotentialStereo | ( | ROMol & | mol, |
| bool | cleanIt, | ||
| bool | flagPossible = true |
||
| ) |
identifies potential stereoatoms and stereobonds in a molecule
Note that this function is still somewhat experimental and the API and results may change in a future release.
| mol | the molecule to look for stereo in |
| cleanIt | remove chirality/stereo specifications from atoms/bonds that cannot be chiral/stereo |
| RDKIT_GRAPHMOL_EXPORT INT_VECT RDKit::Chirality::findStereoAtoms | ( | const Bond * | bond | ) |
| RDKIT_GRAPHMOL_EXPORT bool RDKit::Chirality::getAllowNontetrahedralChirality | ( | ) |
| RDKIT_GRAPHMOL_EXPORT Atom * RDKit::Chirality::getChiralAcrossAtom | ( | const Atom * | center, |
| const Atom * | qry | ||
| ) |
| RDKIT_GRAPHMOL_EXPORT Atom * RDKit::Chirality::getChiralAcrossAtom | ( | const Atom * | center, |
| const Bond * | qry | ||
| ) |
| RDKIT_GRAPHMOL_EXPORT Bond * RDKit::Chirality::getChiralAcrossBond | ( | const Atom * | center, |
| const Atom * | qry | ||
| ) |
| RDKIT_GRAPHMOL_EXPORT Bond * RDKit::Chirality::getChiralAcrossBond | ( | const Atom * | center, |
| const Bond * | qry | ||
| ) |
| RDKIT_GRAPHMOL_EXPORT unsigned int RDKit::Chirality::getChiralPermutation | ( | const Atom * | center, |
| const INT_LIST & | probe | ||
| ) |
| RDKIT_GRAPHMOL_EXPORT double RDKit::Chirality::getIdealAngleBetweenLigands | ( | const Atom * | center, |
| const Atom * | lig1, | ||
| const Atom * | lig2 | ||
| ) |
| RDKIT_GRAPHMOL_EXPORT Atom * RDKit::Chirality::getTrigonalBipyramidalAxialAtom | ( | const Atom * | center, |
| int | which = 0 |
||
| ) |
| RDKIT_GRAPHMOL_EXPORT Bond * RDKit::Chirality::getTrigonalBipyramidalAxialBond | ( | const Atom * | center, |
| int | which = 0 |
||
| ) |
| which | if this is -1 then the second axial bond will be returned, otherwise the first |
| RDKIT_GRAPHMOL_EXPORT bool RDKit::Chirality::getUseLegacyStereoPerception | ( | ) |
| RDKIT_GRAPHMOL_EXPORT bool RDKit::Chirality::hasNonTetrahedralStereo | ( | const Atom * | center | ) |
| RDKIT_GRAPHMOL_EXPORT int RDKit::Chirality::isTrigonalBipyramidalAxialAtom | ( | const Atom * | center, |
| const Atom * | qry | ||
| ) |
| RDKIT_GRAPHMOL_EXPORT int RDKit::Chirality::isTrigonalBipyramidalAxialBond | ( | const Atom * | center, |
| const Bond * | qry | ||
| ) |
| RDKIT_GRAPHMOL_EXPORT std::ostream & RDKit::Chirality::operator<< | ( | std::ostream & | oss, |
| const StereoSpecified & | s | ||
| ) |
| RDKIT_GRAPHMOL_EXPORT std::ostream & RDKit::Chirality::operator<< | ( | std::ostream & | oss, |
| const StereoType & | s | ||
| ) |
| RDKIT_GRAPHMOL_EXPORT void RDKit::Chirality::setAllowNontetrahedralChirality | ( | bool | val | ) |
| RDKIT_GRAPHMOL_EXPORT void RDKit::Chirality::setUseLegacyStereoPerception | ( | bool | val | ) |
|
constexpr |
double bond stereo will be ignored/removed for rings smaller than this:
Definition at line 29 of file Chirality.h.
|
constexpr |
whether or not nontetrahedral stereo is perceived by default
Definition at line 33 of file Chirality.h.
|
constexpr |
Definition at line 31 of file Chirality.h.
|
constexpr |
whether or not the legacy stereo perception code is used by default
Definition at line 35 of file Chirality.h.
|
constexpr |
Definition at line 32 of file Chirality.h.
|
extern |
Toggle usage of the legacy stereo perception code
Definition at line 50 of file Chirality.h.