Skip to content

Instantly share code, notes, and snippets.

@olas
Created September 28, 2009 12:36
Show Gist options
  • Save olas/195398 to your computer and use it in GitHub Desktop.
Save olas/195398 to your computer and use it in GitHub Desktop.
//Script to predict MetaPrint2D for two SMILES using Bioclipse.
//Author: Ola Spjuth
mollist=cdk.createMoleculeList();
mol1=cdk.fromSMILES("CN(C)CCC1=CNC2=C1C=C(C=C2)CC1NC(=O)OC1");
mol2=cdk.fromSMILES("CN(C)CCC1=CNc2c1cc(cc2)CC1NC(=O)OC1");
mollist.add(mol1);
mollist.add(mol2);
res=metaprint2d.calculate(mollist);
js.print("\nMetaprint2D results\n=============\n" + res);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment