Re: [Rdkit-discuss] Inchi/smiles conversion issue

2019-06-18 Thread Markus Sitzmann
Yes, this is a well known problem: first of all, if there is more than one chemist present, you can always have a long discussions about what the most stable tautomeric form of a given compound (under certain conditions) might be, however, in case of InChI, if you ask the algorithm for the

Re: [Rdkit-discuss] Inchi/smiles conversion issue

2019-06-18 Thread Alexis Parenty
Dear Jennifer, Many thanks for your response. Very useful tutorial on Inchi. I did not know about the FixedH option: inchi = Chem.MolToInchi(mol, options='/FixedH') Best, Alexis On Tue, 18 Jun 2019 at 13:20, Jennifer Hemmerich wrote: > Dear Alexis, > > if you calculate the Standard Inchi it

Re: [Rdkit-discuss] Inchi/smiles conversion issue

2019-06-18 Thread Jennifer Hemmerich
Dear Alexis, if you calculate the Standard Inchi it is invariant to tautomers (see here: https://www.inchi-trust.org/technical-faq-2/#6.1). Therefore the information which tautomer was converted is lost due to the Inchi conversion. If you want to keep the tautomer information you need to use

[Rdkit-discuss] Inchi/smiles conversion issue

2019-06-18 Thread Alexis Parenty
Dear RdKiters, Why is it that the stable tautomer of the following structure is lost during inchi/smiles conversion? [image: image.png] mol = Chem.MolFromSmiles(*"Cc1ccc([nH]nc2)c2c1"*) inchi = Chem.MolToInchi(mol) mol = Chem.MolFromInchi(inchi) smiles = Chem.MolToSmiles(mol) print(smiles)