Andrew .... The Java classes provided with the Chemistry Development Kit if interfaced with a bit of Jython might be useful ... http://cdk.sourceforge.net/ -- Cousin Stanley Human Being Phoenix, Arizona