Cartridge aromatization of SMARTS queries #7207
-
The cartridge documentation (https://www.rdkit.org/docs/Cartridge.html) indicates that mol_adjust_query_properties() will perform aromaticity perception, but I cannot get a kekule bezene SMARTS to find either aromatic benzene or kekule benzene (both sanitized to aromatic) by substructure search. Aromatic benzene SMARTS works fine. See below for both. Is there a way to get the kekule benzene SMARTS to work the same as aromatic benzene SMARTS? Thank you for any guidance. Best, Andrew
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
@someonetookmyname Thearomaticity perception done by SMARTS is a language which gives you enormous control over how to express your queries, that includes specifying exactly what bond orders you want. If you do not what this degree of specificity, you should provide the query molecules as SMILES or a mol block (CTAB). |
Beta Was this translation helpful? Give feedback.
@someonetookmyname Thearomaticity perception done by
mol_adjust_query_properties()
does not, as you have discovered, work with molecules constructed from SMARTS. This isn't something we are likely to ever change.SMARTS is a language which gives you enormous control over how to express your queries, that includes specifying exactly what bond orders you want. If you do not what this degree of specificity, you should provide the query molecules as SMILES or a mol block (CTAB).