Menu

#100 Import from SMILES

2.6.0
closed
None
5
2016-02-11
2014-03-27
Nils Kriege
No

When importing molecules from SMILES this is problematic since we internally store molecules in MOL format. SMILES contain aromaticity information instead of bond orders, while the MOL format stores bond orders and no aromaticity. CDK currently is not able to convert this information by kekulisation. Therefore depiction of molecules imported from SMILES, calculation of additional properties etc. may be incorrect. This bug will be solved by upgrading to a new CDK version (not yet stable), cf. http://efficientbits.blogspot.nl/2013/12/new-smiles-behaviour-parsing-cdk-154.html

Discussion

  • Till Schäfer

    Till Schäfer - 2014-03-27

    this bug depends on feature request 31 (Upgrade to CDK 1.6 as soon it is available)

     
  • Till Schäfer

    Till Schäfer - 2015-11-10

    @Nils: can you provide a test case?

     
  • Nils Kriege

    Nils Kriege - 2015-11-11

    This could be verified by importing the following SMILES: c1ccccc1

    With the old version the imported molecule most likely contains 6 single bonds; the correct depiction should have 3 single and 3 double bonds. Please also check that the bug occurs with the old version of CDK, since there might be a work-around for simple cases implemented.

     
  • Sven Schrinner

    Sven Schrinner - 2015-11-19
    • status: open --> in-progress
    • assigned_to: Sven Schrinner
    • Related To: -->
    • Blocks: -->
    • Depends On: -->
    • Group: any future version --> cdk update release
     
  • Sven Schrinner

    Sven Schrinner - 2015-11-19

    Again, SF, somehow did not save my post ...

    I tested the mentioned SMILES with both CDK versions. The old CDK creates a C-ring with only single bonds, while the new CDK adds three double bonds. Therefore, this bug will be resolved in the next major SH release.

     
  • Nils Kriege

    Nils Kriege - 2015-11-19
    • status: in-progress --> closed
     

Log in to post a comment.