Skip to content

Instantly share code, notes, and snippets.

@egonw
Created February 15, 2009 14:02
Show Gist options
  • Select an option

  • Save egonw/64707 to your computer and use it in GitHub Desktop.

Select an option

Save egonw/64707 to your computer and use it in GitHub Desktop.
// script that shows how the CDK parses SMILES
mol1 = cdk.fromSMILES("C")
mol2 = cdk.fromSMILES("[13C]")
cdx.diff(mol1, mol2)
// output:
// AtomContainerDiff{AtomDiff{H:4/0, AtomTypeDiff{IsotopeDiff{MN:NA/13}}}}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment