Transrate is avaiable for Mac OSX and Linux. Download the binaries below:

You can get older versions from BinTray.

To install, download the package for your operating system, unpack it, and add the unpacked directory to your PATH.

We do our best to make transrate 'just work'. If it doesn't work for you, please let us know on the mailing list, our issue tracker, or the live chat.

Notes:

  1. Because Transrate comes packaged with its binary dependencies, you must keep the directory structure of the package intact.
  2. Transrate does not include BLAST+. If you want to use the reference-based metrics, you'll need to install BLAST+.

Advanced installation

Transrate is also available as a Ruby gem. This has some advantages, such as easy checking for updates, and the ability to use Transrate as a Ruby library. However, the setup is more complex - if you just want to run Transrate, you should use the binary install above.

If you've got Ruby v2.0.0 or later, install Transrate with the command:

$ gem install transrate

If your Ruby installation is system-wide you may need to add a sudo command for the install to work:

$ sudo gem install transrate

Before you can run Transrate, you will need to make sure you have all the dependencies installed.

Installing Ruby

If you don't have at least v2 Ruby installed, you should install the latest version, then install Transrate as above.

We recommend using the Ruby Version Manager to install and manage Ruby: RVM.io - there are instructions for setting up RVM for single users and on multi-user environments such as clusters and HPC setups.

Installing dependencies

Transrate depends on several external pieces of software. The full list of dependencies for transrate v1.0.0 is:

Transrate can install any missing dependencies for you. This is done by running the command:

$ transrate --install-deps <type>

For example:

# install read-based mode dependencies
$ transrate --install-deps read
# install reference-based mode dependencies
$ transrate --install-deps ref
# install all dependencies
$ transrate --install-deps all

The types of dependencies that can be installed are shown with transrate --help. If you install transrate as a Ruby gem you can use read, ref or all to install the read-based, reference-based or all the dependencies. If you install the binary version of transrate, it comes with the read-based dependencies already packaged, so you'll only have the option of ref.

The --install-deps command will make all the dependent binaries available in your system PATH by placing them in the Ruby gem binary directory, or if it doesn't have the permissions to do that, in ~/.local.

If you prefer, you can install the dependencies yourself, or ask your system administrator to install them for you. Just make sure all the binaries end up in the system PATH. You can see the list of required binaries for each dependency in the transrate code on Github.