Installation of uap¶
Prerequisites¶
The installation requires virtualenv, git and graphviz. 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 uap's github repository 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 PyYAML, NumPy, biopython and
psutil 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