Installing RDP Tools
RDPTools must be run in Linux-like environment, e.g. a cluster at your own institution, Mac OS X, or Ubuntu. If you are using Windows, you may install Ubuntu inside Oracle Virtual Box or install Ubuntu as part of a dual boot system. When installing Ubuntu be sure to choose an LTS (Long Term Service) version. These are normally supported for three years, while other versions are supported for only a few months.
Processing large data sets with some RDPTools commands requires more memory than is available on notebook computers. Still, installing RDPTools on your own computer allows you to get familiar with the commands and to test scripts with smaller data sets before committing jobs to a cluster.
Required Programs
RDPTools and its dependencies are available at these URLs:
RDPTools (https://github.com/rdpstaff/RDPTools)
Python 2.7+ (https://www.python.org/)
Java 1.6+ JDK (https://www.oracle.com/downloads/index.html)
HMMER 3.1 (http://hmmer.janelia.org)
A patched version of HMMER 3.0 if building your own hidden Markov models for other genes of interest. See Patched HMMER 3.0 at the end of this section for instructions.
Python 2.7 is included in most Linux systems including Ubuntu 16.04 LTS, the latest LTS version as of July 2017. Test for it by typing "python" and Enter or Return in the terminal window. Exit python by entering Control D.
Preliminaries
Installation of RDPTools depends on the programs git and ant, so you may have to install them first. To test if git is already present, type "man -k git" followed by Enter in the terminal window. If "nothing appropriate" is returned, you will have to install git. Test for the presence of ant in the same way.
To install ant and git, enter the following in the terminal window:
Install Java
You may test for the installation of Java by entering:
which should return a list of instructions. If it does not, install Java by entering the following in the terminal window:
Install RDPTools
Begin installation of RDPTools by cloning them from the Git repository. The commands below will install RDPTools in the directory usr/local:
Then for a new installation of RDPTools, enter:
Alternatively, to update an existing installation of RDPTools:
Xander is one of the RDPTools. Test for the installation of Xander by entering:
which should return a list of Xander commands.
HMMER 3.1
Install HMMER 3.1 by entering the following in the terminal:
Check that HMMER is installed:
which should return a list of commands.
UCHIME
Download the Linux binary UCHIME. Move it to /usr/local/bin/, renaming it to uchime in the process. As of July 2017, the UCHIME version is UCHIME4.2.40_linuxi86. Assuming you downloaded it to ~/Downloads, the command to move and rename the file would be:
From the usr/local/bin/ directory, use the sudo command to change the file permissions so that it is executable:
Patched HMMER 3.0
Installation of a patched version of HMMER version 3.0 is necessary only if you intend to add capability for genes not already in the Xander installation yourself. If you are not comfortable doing so, skip this installation and get help from the RDP staff.
Download HMMER 3.0 from hmmer.org/download.html. It is the form of a compressed file named hmmer-3.0.tar.gz.
Place the compressed file in the directory /usr/.
Extract the file:
This will create a directory named hmmer-3.0. Rename the directory hmmer-3.0_xanderpatch.
Apply the patch:
Install the patched version following the instructions in the INSTALL file. You will likely need to use sudo.
The patched 3.0 version will be installed in /usr/local/bin/. If you followed the instructions above, the original 3.1 version is in /usr/bin/. This is important to remember when using HMMER because commands for the two versions have the same names. The directories must be specified.
Last updated
Was this helpful?