Using Chem.CanonSmiles
in stk.Smiles()
for better canonicalisation versus canonicalising the molecule.
#537
Unanswered
andrewtarzia
asked this question in
Q&A
Replies: 1 comment
-
link example for posterity? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I have had an example where the canonicalisation in
stk.Smile().get_key(stk.Molecule)
does not find equivalent molecules when they are built from different topology graphs instk
. But if I useChem.CanonSmiles
on the smiles from those molecules through rdkit, they are found to be matching.Should we change algorithms? Or add a secondary algorithm? Or a warning?
Example of this implementation can be found in the new
stko
example: https://github.com/andrewtarzia/stko/blob/a57cec0ccac12670ad5b1a8209a783d23de64855/examples/intermediates_example.pyTo implement the class:
stko.UnreactedTopologyGraph
, I needed to check for duplicate smiles in theget_reacted_smiles
method, which would not work with thestk
implementation of canonicalisation:Beta Was this translation helpful? Give feedback.
All reactions