Monday, 14 May 2012

Biopython tip

Installing Biopython on CentOS is easy. You need the following:


If haven't already done so install this (rather large) package. It loosely corresponds to what I was used to in Ubuntu as "build-essential":

yum groupinstall 'Development Tools'

You  also need this package, or it won't compile (it's not included in "Development Tools):


yum install python-devel

# Now the fun stuff:
wget http://biopython.org/DIST/biopython-1.59.tar.gz
tar xf biopython-1.59.tar.gz
cd biopython-1.59
python setup.py build
python setup.py test
python setup.py install


Happy biopython'ing!

1 comment:

  1. Thanks mate. Helped me years on in an environment where I'm forced to use CentOS 6.

    ReplyDelete