Installation

Prerequisites

If you simply want to access projects previously processed, you can skip this step. To install the prequisites follow system requirements.

Getting MiGA

To install MiGA itself, you'll just need:

gem install miga-base

If necessary, you can use sudo gem install miga-base or gem install --user miga-base instead.

Getting MiGA source

If you want to get MiGA working from source instead of using the gem, you can use:

# Get the source. Make sure you use --recursive, to clone submodules:

git clone --recursive https://github.com/bio-miga/miga.git

cd miga

​

# You can use bundle to make sure you have the required gems,

# or simply install them manually:

bundle

​

# And finally make MiGA available in the PATH.

# This is not mandatory but it saves time and effort:

echo"export PATH=\"$(pwd)/bin:\$PATH\"">> ~/.bashrc

source ~/.bashrc

Initializing MiGA

To initialize MiGA for data processing, simply execute and follow the instructions:

miga init

For additional initialization parameters, use miga init -h.

Pre-loading Software

If some of the prerequisites are not already available in your $PATH, you'll have to first tell MiGA how to find them. For that, create (or modify) a bash configuration file at ~/.miga_modules loading any necessary packages. For example, if you're in a cluster architecture using modules, this is where you should load them. Note that some contents may already be present in this file from previous steps. Do not remove or modify those lines if you're not sure what they do. Here's an example of a configuration file for a single computer: