We want to have a canonical order for the map indices in the mapped SMILES.
Currently, cmiles uses the setting omega.SetCanonOrder(True) and generates a conformer which has a canonical atom order that is used to generate the map. However, I want to avoid having to use omega since it can be slow for larger molecules.
oechem has a function OECanonicalOrderAtoms that is supposed to reorder the atoms, but it doesn't change the indices and the new order is not the same canonical order as the one in omega.
@j-wags, do you have any insight on this?
Unfortunately, I don't have much experience dealing with canonicalization. Though, I'll follow this issue because I'd like to know what OE/RDK will/can do in terms of reordering atom indices.
We want to have a canonical order for the map indices in the mapped SMILES. Currently, cmiles uses the setting
omega.SetCanonOrder(True)
and generates a conformer which has a canonical atom order that is used to generate the map. However, I want to avoid having to use omega since it can be slow for larger molecules.oechem has a function
OECanonicalOrderAtoms
that is supposed to reorder the atoms, but it doesn't change the indices and the new order is not the same canonical order as the one in omega. @j-wags, do you have any insight on this?