From: Rajarshi G. <rg...@in...> - 2007-03-22 15:30:49
|
On Thu, 2007-03-22 at 20:30 +0530, Om wrote: > Hi, > > I have no idea how to go about this situation: > > [1] Read large SDF file with many property data > [2] Generate 3D co-ordinates of the molecules > [3] Calculate the descriptors using Descriptor Engine > [4] Write back the 3D co-ordinates, old property data along with the > descriptors in new SDF. I assume that the 3D coords were being written out? For adding descriptor information as tags, you have to put them in a HashMap and supply that map to the MDLWriter. See DescriptorSwingWorker.evalToSDF() in the CDKDescUI sources (http://cheminfo.informatics.indiana.edu/~rguha/code/java/cdkdesc.html) ------------------------------------------------------------------- Rajarshi Guha <rg...@in...> GPG Fingerprint: 0CCA 8EE2 2EEB 25E2 AB04 06F7 1BB9 E634 9B87 56EE ------------------------------------------------------------------- I put up my thumb... and it blotted out the planet Earth. -- Neil Armstrong |