Is it possible to do a weighted rotor search in pybel? I have been using
openbabel and the WeightedRotorSearch function. I couldn't find any simple
example online and wanted to find out if the approach below is ok and if
anyone would advise changes. Am I right in saying that the mol is updated to
the best conformer and this is what will be written to the output file?

"
import openbabel
filename = 'test.mol2'

mol = openbabel.OBMol()
conversion = openbabel.OBConversion()
conversion.SetInAndOutFormats('mol2', 'mol2')
conversion.ReadFile(mol, filename)

ff = openbabel.OBForceField.FindForceField("MMFF94")
ff.SetLogLevel(openbabel.OBFF_LOGLVL_LOW)
ff.SetLogToStdErr()
ff.Setup(mol)

ff.WeightedRotorSearch(5, 500)
ff.GetConformers(mol)
conversion.WriteFile(mol, 'TEST1.mol2')
"  

One thing I notice with a calculation, was that the lowest energy did not
match any of the conformer energies (see below). Is this an error?

CONFORMER     ENERGY
--------------------
     1       192.047
     2       212.909
     3       234.580
     4       216.623
     5       211.296

  LOWEST ENERGY:  191.771


Thanks in advance,

Scott


--
View this message in context: 
http://forums.openbabel.org/Weighted-rotor-search-tp4655264.html
Sent from the General discussion mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
OpenBabel-discuss mailing list
OpenBabel-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openbabel-discuss

Reply via email to