From all we know only tautomers should get the same InChI key, or, in case of the second block, if there are lots of stereo centers. However these cases are just collisions, they still have different InChI. I have found a class of molecule pairs, with four real-world examples in ChEBI and PubChem, where both web input pages of ChEBI and PubChem generate identical InChI and keys, despite there being a different E-Z configuration on a double bond. And these are also entries in the said databases. My question:
Is this normal/expected? Is it a bug in both software, which part of it?
The pairs:
5,7-dihydroxy-2-(4-hydroxy-3,5-dimethoxyphenyl)-1-benzopyran-1-ium-3-yl 6-O-[(2Z)-3-(3,4-dihydroxyphenyl)prop-2-enoyl]-β-D-glucopyranoside and 5,7-dihydroxy-2-(4-hydroxy-3,5-dimethoxyphenyl)-1-benzopyran-1-ium-3-yl 6-O-[(2E)-3-(3,4-dihydroxyphenyl)prop-2-enoyl]-β-D-glucopyranoside
2-(3,4-dihydroxy-5-methoxyphenyl)-5,7-dihydroxychromenium-3-yl 6-O-[(2Z)-3-(4-hydroxyphenyl)prop-2-enoyl]-β-D-glucopyranoside and 2-(3,4-dihydroxy-5-methoxyphenyl)-5,7-dihydroxychromenium-3-yl 6-O-[(2E)-3-(4-hydroxyphenyl)prop-2-enoyl]-β-D-glucopyranoside
5,7-dihydroxy-2-(4-hydroxy-3,5-dimethoxyphenyl)chromenium-3-yl 6-O-[(2Z)-3-(4-hydroxyphenyl)prop-2-enoyl]--β-D-glucopyranoside and 5,7-dihydroxy-2-(4-hydroxy-3,5-dimethoxyphenyl)chromenium-3-yl 6-O-[(2E)-3-(4-hydroxyphenyl)prop-2-enoyl]-β-D-glucopyranoside
5,7-dihydroxy-2-(4-hydroxy-3-methoxyphenyl)chromenium-3-yl 6-O-[(2Z)-3-(4-hydroxyphenyl)prop-2-enoyl]-β-D-glucopyranoside and 5,7-dihydroxy-2-(4-hydroxy-3-methoxyphenyl)chromenium-3-yl 6-O-[(2E)-3-(4-hydroxyphenyl)prop-2-enoyl]-β-D-glucoside-glucopyranoside
Addendum: I also confirmed with two different SDF files that the current inchi-1 Linux binary generates the same InChi.
P.S. This is a pair of minimal molecules:
Both have the InChi InChI=1S/C11H10O3/c1-14-8-11(13)7-4-9-2-5-10(12)6-3-9/h2-8H,1H3/p+1
. If the methyl is removed, leaving a =OH+ group at the end, both isomers get different InChi.
.sdf
of all four pairs and converted them into.smi
(OpenBabel 3.1.1, as repackaged for Debian 11/bullseye, branch testing). Pairwise, the SMILES are different. Note, converting the.sdf
into.inchi
(again same OpenBabel version), e.g. byobabel -isdf 2A_ChEBI_75708.sdf -oinchi -O 2A.inchi
yielded this warning information:*** Open Babel Warning in InChI code petunidin 3-O-(6-O-(Z)-4-coumaroyl-beta-D-glucoside) :Proton(s) added/removed 1 molecule converted
. (Then, pair wise, inchis equate each other.). Maybe there is some sanitizing issue. $\endgroup$Warning (Proton(s) added/removed) structure #1
from INCHI-1. Do all these software (web input at ChEBI, PubChem, OpenBabel) use the same InChi library? $\endgroup$