Installing MiModD - Examples¶
The simple case - all required software pre-installed¶
# system-wide installation
# requiring admin rights
sudo python3 -m pip install MiModD
Installation for just the current user¶
# no admin rights required
python3 -m pip install MiModD --user
Installation from scratch on a VERY naive Ubuntu system¶
sudo apt-get install zlib1g-dev
sudo apt-get install g++ python3-dev make
wget https://bootstrap.pypa.io/get-pip.py
sudo python3 get-pip.py
sudo python3 -m pip install MiModD
Installation on a fresh Fedora 23 system¶
sudo dnf install zlib-devel
sudo dnf install python3-devel
sudo dnf install gcc
sudo dnf install gcc-c++
sudo dnf install redhat-rpm-config
python3 -m pip install MiModD --user
Installation into virtual environment¶
Requirement
Python 3.4+
# create virtualenv
# assuming there is no pip installed with system python3
python3 -m venv wgs --without-pip
# activate the virtualenv
# will need to do this at the beginning of every new session
. wgs/bin/activate
# get pip into virtualenv and install MiModD
wget https://bootstrap.pypa.io/get-pip.py
python3 get-pip.py
python3 -m pip install MiModD
# remove link to python if you are using MiModD from Galaxy
rm wgs/bin/python
# end the virtualenv session
deactivate