4

I would like to know whether is it possible to convert SYBYL Line Notation (SNL) into Smiles with Python?

Example for N-methyl-pyrrolidone:

SNL = 'N[1](CH2CH2CH2C@1=O)CH3'
SMI = 'CN1CCCC1=O'

I haven't found any solution with RDKit :(

B.Gees
  • 1,125
  • 2
  • 11
  • 28

1 Answers1

1

In RDKit it's in AllChem.

from rdkit.Chem import AllChem as Chem
Chem.MolToSmiles(Chem.MolFromSLN('N[1](CH2CH2CH2C@1=O)CH3'))
'CN1CCCC1=O'
rapelpy
  • 1,684
  • 1
  • 11
  • 14