..
This is the documentation for rnaseq-pipeline. Please keep lines under
80 characters if you can and start each sentence on a new line as it
decreases maintenance and makes diffs more readable.
.. title:: Installation of uap
..
This document aims to describe how to install **uap**.
.. _installation-of-uap:
#######################
Installation of **uap**
#######################
*************
Prerequisites
*************
The installation requires |virtual_env_link|, |git_link| and
|graphviz_link|.
So, please install it if its not already installed.::
$ sudo apt-get install python-virtualenv git graphviz
**uap** does **NOT** include any tools necessary for the data analysis.
It is expected that the required tools are **already installed**.
************************
Downloading the Software
************************
Download the software from |github_uap_link| like this::
$ git clone https://github.com/yigbt/uap.git
*****************************
Setting Up Python Environment
*****************************
After cloning the repository, change into the created directory and run the
bootstrapping script ``bootstrap.sh``::
$ cd uap
$ ./bootstrap.sh
The script creates the required Python environment (which will be located in
``./python_env/``).
Afterwards it installs |py_yaml_link|, |num_py_link|, |bio_python_link| and
|psutil_link| into the freshly created environment.
There is no harm in accidentally running this script multiple times.
*********************************
Making **uap** Globally Available
*********************************
**uap** can be used globally.
On Unix-type operating systems it is advised to add the installation path to
your ``$PATH`` variable.
Therefore change into the **uap** directory and execute::
$ echo ""PATH=$PATH:$(pwd)" >> ~/.bashrc
$ source ~/.bashrc
OR
$ echo ""PATH=$PATH:$(pwd)" >> ~/.bash_profile
$ source ~/.bash_profile
.. |github_uap_link| raw:: html
uap's github repository
.. |virtual_env_link| raw:: html
virtualenv
.. |git_link| raw:: html
git
.. |graphviz_link| raw:: html
graphviz
.. |py_yaml_link| raw:: html
PyYAML
.. |num_py_link| raw:: html
NumPy
.. |bio_python_link| raw:: html
biopython
.. |psutil_link| raw:: html
psutil