Hi, Fredrik- thanks, that's working for me now.
I am using the following simple python script to run the rmsd calcs on two conformers from two files: import pybel file1 = 'conf1.mol2' file2 = 'conf2.mol2' ref = pybel.readfile('mol2', file1).next() tar = pybel.readfile('mol2', file2).next() align=pybel.ob.OBAlign() align.SetRefMol(ref.OBMol) align.SetTargetMol(tar.OBMol) align.Align() rmsd=align.GetRMSD() print rmsd Just thought this might be helpful for any other new people reading. Cheers, Scott -- View this message in context: http://forums.openbabel.org/Compare-3D-strucuture-of-molecules-tp4655501p4655511.html Sent from the General discussion mailing list archive at Nabble.com. ------------------------------------------------------------------------------ Don't let slow site performance ruin your business. Deploy New Relic APM Deploy New Relic app performance management and know exactly what is happening inside your Ruby, Python, PHP, Java, and .NET app Try New Relic at no cost today and get our sweet Data Nerd shirt too! http://p.sf.net/sfu/newrelic-dev2dev _______________________________________________ OpenBabel-discuss mailing list OpenBabel-discuss@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/openbabel-discuss