Menu

#656 Tet stereo in 2D mol file not interpreted correctly

2.3.x
closed
nobody
5
2012-10-23
2010-10-19
No

A follow-on from PR#3089953.

For the attached file, Inchi executable gives:
InChI=1S/C11H18O4/c1-3-6-10(13)8(5-14-2)7-4-9(12)15-11(6)7/h6-8,10-11,13H,3-5H2,1-2H3/t6?,7-,8?,10-,11?/m1/s1

We get the same if we pass the Wedge/Hash bonds to InChI through OB (the default):

obabel igor.sdf -oinchi
InChI=1S/C11H18O4/c1-3-6-10(13)8(5-14-2)7-4-9(12)15-11(6)7/h6-8,10-11,13H,3-5H2,1-2H3/t6?,7-,8?,10-,11?/m1/s1

but not if we use the generated stereochem:

obabel igor.sdf -oinchi -xs
InChI=1S/C11H18O4/c1-3-6-10(13)8(5-14-2)7-4-9(12)15-11(6)7/h6-8,10-11,13H,3-5H2,1-2H3/t6?,7?,8?,10-,11?/m1/s1
1 molecule converted

The difference is inchi atom 7, which is 7- versus 7?.

Discussion

  • Noel O'Boyle

    Noel O'Boyle - 2010-10-19
     
  • Noel O'Boyle

    Noel O'Boyle - 2010-12-11

    Now fixed.

    C:\Tools\openbabel\trunk\windows-vc2008\build\bin\Debug>obabel igor.sdf -o inchi -xs
    InChI=1S/C11H18O4/c1-3-6-10(13)8(5-14-2)7-4-9(12)15-11(6)7h6-8,10-11,13H,3-5H2,
    1-2H3/t6?,7-,8?,10-,11?/m1/s1

     
MongoDB Logo MongoDB