How to install biomaj?

Create your BioMAJ directories:

mkdir biomaj
mkdir biomaj/conf
mkdir biomaj/lock
mkdir biomaj/db
mkdir biomaj/process
mkdir biomaj/cache
mkdir biomaj/log

Create a Python virtual environment to install BioMAJ and every associated package:

virtualenv envtest310

Every time you will want to use BioMAJ you will have to activate the Python virtual environment:

source envtest310/bin/activate

Getting out of the virtual environment :

deactivate

 

Pip and requests installation:

pip install --upgrade pip
easy_install pip
pip uninstall requests
easy_install requests

Installation of all required packages for BioMAJ:

cd biomaj
pip install -r requirements.txt
apt-get install libssl-dev libcurl4-openssl-dev python-dev
easy_install pycurl
cd ..

Mongodb installation for ubuntu, short version(more information):

sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 0C49F3730359A14518585931BC711F9BA15703C6
echo "deb [ arch=amd64,arm64 ] http://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.4 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-3.4.list
sudo apt-get update
sudo apt-get install -y mongodb-org
sudo service mongod start

 

Installation of the BioMAJ packages:

pip install biomaj-cli
pip install biomaj-daemon
pip install biomaj-user
pip install biomaj-download
pip install biomaj-process
pip install biomaj-cron
pip install biomaj-ftp

For biomaj-watcher :

git clone https://github.com/genouest/biomaj-watcher
cd biomaj-watcher
python setup.py develop

You are ready to start, go to Tutorial.