![]() |
RDKit
Open-source cheminformatics and machine learning.
|
Classes | |
| struct | ExtendedQueryMol |
Functions | |
| RDKIT_GENERALIZEDSUBSTRUCT_EXPORT ExtendedQueryMol | createExtendedQueryMol (const RWMol &mol, bool doEnumeration=true, bool doTautomers=true, bool adjustQueryProperties=false, MolOps::AdjustQueryParameters params={}) |
| Creates an ExtendedQueryMol from the input molecule. | |
| RDKIT_GENERALIZEDSUBSTRUCT_EXPORT std::vector< MatchVectType > | SubstructMatch (const ROMol &mol, const ExtendedQueryMol &query, const SubstructMatchParameters ¶ms=SubstructMatchParameters()) |
| does a substructure search with an ExtendedQueryMol | |
| bool | hasSubstructMatch (const ROMol &mol, const ExtendedQueryMol &query, const SubstructMatchParameters ¶ms=SubstructMatchParameters()) |
| checks if a molecule has a match to an ExtendedQueryMol | |
| RDKIT_GENERALIZEDSUBSTRUCT_EXPORT ExtendedQueryMol RDKit::GeneralizedSubstruct::createExtendedQueryMol | ( | const RWMol & | mol, |
| bool | doEnumeration = true, |
||
| bool | doTautomers = true, |
||
| bool | adjustQueryProperties = false, |
||
| MolOps::AdjustQueryParameters | params = {} |
||
| ) |
Creates an ExtendedQueryMol from the input molecule.
This takes a query molecule and, conceptually, performs the following steps to produce an ExtendedQueryMol:
Each step is optional
| mol | the molecule to start with |
| doEnumeration | enumerate features like Link Nodes and SRUs |
| doTautomers | generate TautomerQueries |
| adjustQueryProperties | call adjustQueryProperties on each of the results |
| params | AdjustQueryParameters object controlling the operation of adjustQueryProperties |
|
inline |
checks if a molecule has a match to an ExtendedQueryMol
Definition at line 106 of file XQMol.h.
References RDKit::SubstructMatchParameters::maxMatches, RDKit::rdvalue_is(), and SubstructMatch().
| RDKIT_GENERALIZEDSUBSTRUCT_EXPORT std::vector< MatchVectType > RDKit::GeneralizedSubstruct::SubstructMatch | ( | const ROMol & | mol, |
| const ExtendedQueryMol & | query, | ||
| const SubstructMatchParameters & | params = SubstructMatchParameters() |
||
| ) |
does a substructure search with an ExtendedQueryMol
Referenced by hasSubstructMatch().