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 :



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:// --recv 0C49F3730359A14518585931BC711F9BA15703C6
echo "deb [ arch=amd64,arm64 ] 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
cd biomaj-watcher
python develop

You are ready to start, go to Tutorial.