Monday 18 April 2011

Last chance to apply to attend Open Babel users' workshop

Apply before Apr 22nd to attend the 2nd Open Babble, a hands-on Open Babel workshop presented by Open Babel developers Chris Morley, Tim Vandermeersch and Noel O'Boyle. This will take place on July 5-6 2011 at the Unilever Centre in the Dept of Chemistry, University of Cambridge, UK.

This is the first ever users' workshop for Open Babel, one of the most widely used cheminformatics toolkits. Open Babble presents a unique opportunity to learn how to make the most of Open Babel, whether you are interested in using for converting file formats, writing scripts to analyse molecular structures, or developing your own chemistry software.

The workshop will start on the afternoon of the 5th July, and finish on the evening of the 6th. The exact topics covered will depend on the attendees’ interests but will include some or all of the following:
  • Exploiting the Open Babel command line for fast searching and filtering of molecular databases
  • How to get the most from the Open Babel GUI
  • Getting started with Python scripting for chemistry
  • Compiling C++ programs that use Open Babel
  • Writing a new plugin for Open Babel
  • How to create a user-defined molecular fingerprint
  • Combining Open Babel with other Open Source cheminformatics toolkits

To apply, see the workshop website.

Thursday 14 April 2011

Review of Data Analysis with Open Source Tools

A little while ago, I reviewed Gnuplot in Action by Philipp Janert. One of the aspects of that book that I liked the most was the inclusion of more general discussions about data analysis and appropriate methods.

Now Philipp has published a book where those discussions are the focus, and the software is mentioned in passing. Data Analysis with Open Source Tools was published in January 2011 by O'Reilly.

I got my hands on a review copy and gave it a write-up in Journal of Cheminformatics:
...This is a real practitioner's book. Janert, a former physicist and software engineer, is a consultant in data analysis and mathematical modelling. He has taken his hard-won knowledge and tried to get it all down on paper for the reader's benefit. For example, in a chapter with the provocative title of "What you really need to know about classical statistics" he explains why introductory statistics textbooks seem to cover methods and topics at odds with the problems data analysts deal with day-to-day; essentially classical methods were developed at a time of small and expensive datasets and no computational power, and hypothesis testing focused on determining whether an effect existed. Today we have ample computing power and may be dealing with very large datasets; also, we are usually more interested in the size of an effect (practical significance) rather than just whether it exists (statistical significance)...

To read the full review, head on over to J. Cheminf. 2011, 3:10.

Tuesday 12 April 2011

Playing GAMESS with Avogadro and wxMacMolPlt

I've put together a tutorial to show how to setup, run and analyse basic QM calculations using Avogadro, GAMESS and wxMacMolPlt (respectively). It is aimed at complete beginners to QM calculations (although with a basic knowledge of the theory).

You can check it out here.

The topics covered are:
  • Install required software
  • Looking at GAMESS output
  • Molecular orbitals of water
  • Vibrational frequencies of water
  • Effect of basis set
  • Conformations of a cyclohexane
Contributions to additional tutorials or suggestions for improvement are most welcome.

Monday 4 April 2011

PyRx - AutoDocking made simple

I recently presented an AutoDock tutorial at the EBI based around PyRx 0.8, an impressive GUI for AutoDock and Vina by Sargis Dallakyan. It worked out very well, and a big thanks to James Watson from the EBI who helped install all the software. While PyRx still has a few rough edges, it is an order of magnitude easier to use than the existing AutoDock GUI AutoDockTools (although the latter allows more fine-grained control).

We followed the 2010 PyRx tutorial (PyRx2010_rvsnALP_7122010.pdf) available from http://pyrx.scripps.edu/SI/2010/. You will also need the 3D.sdf from that location. You may also want to download sample.tar.gz.

The following notes describe how to get everything set up on Windows:
(1) Download AutoDock 4.2. When installing, install to "C:\Program Files (x86)\AutoDock" not C:\Windows\system32 as suggested.
(2) Download and install PyRx 0.8. This installs to "C:\Program Files (x86)\PyRx".
(3) Replace the appropriate file in "C:\Program Files (x86)\PyRx\Lib\site-packages\PyRx" with importWizard.py, dbPlot.py and autodockNavigator.py.
(4) Have everyone start PyRx (there should be a shortcut on the desktop, else run PyRx.bat) and under Edit/Preferences set the location of AutoDock to "C:\Program Files (x86)\AutoDock\autodock.exe" (they can just browse to the folder and file), and similarly for AutoGrid. If they did this properly, the "Local" radiobutton in the bottom of the AutoDock Wizard tab should be available. They should choose this during the docking.

It should then be possible to work through the tutorial without problems. The tutorial involves docking a single molecule with AutoDock, then running a virtual screen with Vina (I recommend only choosing 5 molecules unless you have lots of time on your hands).

Note that pdbqt files, configuration files and such are saved into C:\Users\MyName\.mgltools\PyRx, if you want to have a look. You can delete this folder to reset PyRx. And all of this software should work equally well on Mac and Linux, although I haven't tested this.