MiGA API

API stands for Application Program Interface. This is the inner-most layer in the MiGA system, allowing direct interaction with the Ruby infrastructure of MiGA.

Installation

If you use Rubygems simply type:

gem install miga-base

Or to build from source:

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

cd miga

gem build miga-base.gemspec

gem install miga-base-*.gem

Usage

Now that you have the gem, you can use the CLI, but you can also interact directly with the API. The actions folder contains the CLI implementations, so you can take them as examples on how to use the API. You can also use irb. For example: