Re: [Rdkit-discuss] sanitization converts "I(=O)(=O)[O-]" into "[O-][I+2]([O-])[O-]"

2021-01-22 Thread Peter S. Shenkin
 On Fri, Jan 22, 2021 at 9:01 AM Ivan Tubert-Brohman < ivan.tubert-broh...@schrodinger.com> wrote: > I think there was some confusion between left and right in the original > message, but RDKit prefers the representation that preserves the octet at > the expense of having more formal charges: >

Re: [Rdkit-discuss] sanitization converts "I(=O)(=O)[O-]" into "[O-][I+2]([O-])[O-]"

2021-01-22 Thread Ivan Tubert-Brohman
I think there was some confusion between left and right in the original message, but RDKit prefers the representation that preserves the octet at the expense of having more formal charges: In [9]: mol = Chem.MolFromSmiles('O=I(=O)([O-])') In [10]: Chem.MolToSmiles(mol) Out[10]: