Created
August 19, 2009 15:36
-
-
Save olas/170410 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//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