The Atavism

Friday, June 19, 2009

Install the Emboss versions of Phylip programs on Ubuntu

One day I will use this space to write something that might actually be of general interest. Today is not that day. I've spend really too much time this week compiling and recompiling the Emboss version of Phylip - Joe Felsenstein's suite of phylogenetic programs to run in Ubuntu. Born as I was into the age of precompiled packages rolling my own programs has always scared me a little bit, but in this case I found qo many pitfalls I thought the karmic thing to do would be adding the answer to the hive-mind:

  1. You need the EMBOSS sources to compile the phylip programs so download the latest EMBOSS release (6.0.1) (ftp server)
  2. unzip and unpack the files somewhere
  3. If you want to use distance matrices you need a patch, 1.12, from here
  4. from your emboss folder unpack the patch and apply it:
    ~/EMBOSS-6.0.1$ gunzip -c /..someplace../patch-1-12.gz | patch -p1
  5. In order to compile emboss we need the source for libplplot which is avaliable as a package:
    $sudo apt-get install libplplot-dev
  6. Now you can compile emboss as per the INSTALL file, (usually make, make install)
  7. Next the Phylip tools, download them here
  8. Make a new directory within your emboss folder called 'embassy' - unpack/untar the files into it
  9. Move into the the unpacked phylip folder, and follow the instructions in INSTALL (they suggest using autoconf which I did)

And that should be it, all the Phylip packages are now duplicated (with the nice emboss interface) with the emboss versions having a leading 'f' - so dnadist becomes fdnadist.

Posted by David Winter 11:59 AM


I would like to read more about this interesting topic.
To my mind everyone may read it.

Post a Comment