On Oct 16, 2009, at 6:54 PM, Richard West wrote:

> (i.e. is there an open-babel function to count the number of
> rotors in a statistical mechanics sense?)

No, it counts the number of rotors in a cheminformatics (i.e., quick- 
and-dirty) way.

You can also try this, which finds rotatable bonds based on SMARTS  
patterns:
       OpenBabel::OBRotorList rl;
       OpenBabel::OBMol obmol = m_molecule->OBMol();
       rl.Setup(obmol);
       cout << "# of Rotors" << rl.Size();

Hope that helps,
-Geoff

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
OpenBabel-scripting mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openbabel-scripting

Reply via email to