Thanks Greg!
I found an alternative solution which is also no so straightforward.
I set an isotope label to aromatic atoms, generate isomeric SMILES and
make regex replacement.
But your suggestion to set remove hydrogens is important, since this
can cause other ambiguity.
import re
Hi Pavel,
It is, unfortunately, not that easy.
The canonicalization algorithm does not use atomic aromaticity when
determining atom ordering, so as far as it is concerned there is no
difference between atoms 0 and 2 in either of your examples. What does get
used is the number of hydrogens, so you
Hi all,
canonicalization of fragment SMILES does not work properly. Below
there are two examples of identical fragments. The only difference is
the order of atoms (indices). However, it seems that RDKit
canonicalization does not take into account atom types.
Does someone have an idea
3 matches
Mail list logo