Skip to content

Download and Install

Wanding Zhou edited this page Feb 2, 2016 · 9 revisions

Dependency

The only requirement for building TransVar are Python 2.7 and a reasonably modern C compiler such as gcc.

Download the program

Latest release is available here

For all previous versions, see here.

Other old stable releases

Install

System-wise install (need root)

sudo python setup.py install

Local install

python setup.py install --prefix [folder]

The installation will create two subfolders of [folder]: [folder]/lib (which would contain libraries) and [folder]/bin (which would contain transvar executable). When you run transvar, make sure [folder]/lib/python2.7/site-packages is in your PYTHONPATH. In some occasions, you need to mkdir -p [folder]/lib/python2.7/site-packages to make sure it exists before you could run setup.py. You can add it by putting export PYTHONPATH=$PYTHONPATH:[folder]/lib/python-2.7/site-packages/ to your .bashrc (or .profile depending on your OS).

The installed executable is [folder]/bin/transvar.