Open mkviatkovskii opened 7 years ago
This is not actually an Indigo bug, the StdInChI intentionally does not encode which tautomer is being described so as to be a tautomer independent representation. When the InChI library produces a structure from a StdInChI, a tautomer is arbritarily but determinisitcally chosen,.. and is unfortunately the uncommon one for amides i.e. Indigo is just depicting the structure that is being given to it.
Usually it is best to use the SMILES for depictions (e.g. N[C@@H](CCC(N)=O)C(=O)O
) as it precisely specifies bond orders/charges and the StdInChI for checking if two molecules are chemically identical. As another example NCC(=O)O and [NH3+]CC(=O)[O-] will give the same StdInChI, and hence be depicted identically if the StdInChI is used as input.
I'm seeing something similar with benzamide. @dan2097 Is this the same issue?
Rendered via inchi:
Rendered via SMILES:
@twall Yes it is, both tautomers of benzamide have the same StdInChI
Is there some sort of option to give to the inchi->smiles conversion to set a preference?
Original bug report from GGA repository When L-glutamine is loaded from InChI, double bond is between the
C=N
instead ofC=O
.smiles.png:
inchi.png:
![inchi](https://cloud.githubusercontent.com/assets/4228185/23665459/80d23360-0369-11e7-880d-191220ca6e48.png)