Advertisement
Guest User

Untitled

a guest
Feb 14th, 2020
98
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.16 KB | None | 0 0
  1. import rdkit
  2. import rdkit.Chem as Chem
  3.  
  4. s = 'c1ccccc1O'
  5. m = Chem.MolFromSmiles(s)
  6.  
  7. Chem.rdDepictor.Compute2DCoords(m)
  8. c = m.GetConformer(0)
  9. c.GetPositions()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement