Installing tax2tree¶
Required Software¶
tax2tree is built using the PyCogent package. You must have PyCogent >= 1.5 installed, details can be found at the PyCogent install page.
Installation Steps¶
Download PyCogent (src) and its dependencies, Python 2.6 or 2.7 and NumPy >= 1.3.0. Install according to the PyCogent installation instructions.
From your command line terminal on OS X or Linux, change to the directory where you wish to install tax2tree and download tax2tree. The latest version of tax2tree can be downloaded from here.
Unpack the downloaded tarball. This will create a directory named tax2tree-<version> where <version> is populated by the version of tax2tree. For consistency, all instructions below refer to this directory as tax2tree.
- Run setup.py. If you are installing system-wide, you will need to become root. To install:
cd tax2tree python setup.py install
Or, if installing in your $HOME directory:
cd tax2tree python setup.py install --prefix=$HOME
- Run the test suite
cd tests python test_consensus.py python test_nlevel.py python test_util.py
- If all tests pass, you can get usage information for tax2tree from:
cd t2t_workflow -h