Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
//This is an example how to use MetaPrint2D in a Bioclipse Script
//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