Clone wiki


Setting up OOMMPPAA on MacOSX 10.8.5

You will require a functioning version of XCode 5.+

install homebrew

ruby -e "$(curl -fsSL"

install pip

sudo easy_install pip

then use pip and homebrew to do the rest

First install matplotlib

brew install freetype
brew install libpng
brew install ffmpeg
# Add more brew formulae so we can install our py libs with brew
brew tap samueljohn/python
brew tap homebrew/science
brew install numpy
brew install scipy
brew install matplotlib

Then install python modules

sudo pip install nose pyparsing ipython Django==1.5.0 tornado psycopg2 pillow gunicorn django-jfu matplotlib

Now lets make the RDKit

mkdir ~/RDKit
cd ~/RDKit
git clone
cd rdkit

Now we want to build on this release of the RDKit.

git checkout dad1e1db5b0045e11972d931a8701c52ea90bb43

Then go into bashrc file

vim ~/.bashrc

and add:

export RDBASE=~/RDKit/rdkit

Now open a new shell and make the RDKit:

source ~/.bashrc
mkdir build
cd build
cmake ..
make install

This should have worked. If it hasn't then many helpful suggestions can be found here.

You will also need INCHI support, which is compiled seperately.

cd $RDBASE/build
make install

Again this should complete without error.

Install pkg-config

brew install pkg-config

install openbabel

brew install open-babel

should be found in /usr/local/bin/babel. If it's not, sym-link it too that file so OOMMPPAA can find it.

Now lets get the OOMMPPAA code:

cd ~/
git clone CHOC

Finally pull down the current database

wget ~/CHOC/src/WebApp/data/OOMMPPAA_db.db

At this point you can use Tornado as a server. Simply type:

cd ~/CHOC/src/WebApp/
python --port 9001 --address

Open a browser and load up and you have a working version of OOMMPPAA.