PAML & Treesub

...stands for Phylogenetic Analysis by ML. It has several uses, such as inferring ancestral sequences based on modern sequences.

Installation

This is actually quite easy. Get 2 versions: 1. The point-and-click interface, called PamlX. Download and install it as a normal bit of software. However, this really is only the interface - if you try to run it, it will ask where you've placed the executables. That's in step 2: 2. The executable file, which treesub requires. This isn't the download link at the top of the PAML site (that's the GUI), it's hidden somewhere in the middle. Ctrl-F "For the MAC, we have compiled a version for MAC OSX". Fortunately, the Mac OS version has already been compiled, so it's ready to go after downloading (Linux or Windows users will have to continue with all that Makefile gibberish).

Run

This is an extension which uses some PAML functions, stitched together with RAXML and FigTree. It's primarily useful for producing a tree which shows the amino acid substitutions along the branches.

Installation

The repo hasn't been updated in a while, so the installation instructions are slightly out of date. Unfortunately, the bits which are out of date are precisely those bits which are the hardest to install.

You'll need to get: 1. RAxML (Not easy. See the RAXML installation tutorial) 2. PAML executable 3. The latest Java SDK version, which is currently 8. Get it here 4. FigTree (easy) 5. The Eclipse IDE, which is not actually used by treesub; you need it to get a treesub.jar application (the thing that you'll eventually double-click on to launch the program).

Procedure 1. Download all the treesub files: download directly from Github, or git clone https://github.com/tamuri/treesub. 2. Open Eclipse, and open build.xml from inside the treesub folder. 3. Run the file, either from the taskbar at the top of the window (look for the button that has a "play" icon on it), or select Run > Run from the toolbar at the top. You should see some output being printed out like: