MiGA Manual
AboutCodebaseMiGA Online
Primary version
Primary version
  • Introduction
  • Part I: What is MiGA?
    • How can MiGA help me?
    • Who is using MiGA?
    • Who is behind MiGA?
    • Definitions
  • Part II: Getting started
    • Requirements
      • Using Homebrew
      • Using apt-get
      • Using Conda
      • Installing from source
      • MyTaxa Utils
    • Installation
    • MiGA types
    • Input data
    • Distances
    • Clustering
  • Part III: Interfaces
    • MiGA API
    • MiGA CLI
    • MiGA Web
  • Part IV: Deploying examples
    • RefSeq in MiGA
    • Build a clade collection
    • Launching daemons
    • Setting up MiGA in a cluster
  • Part V: Additional details
    • Advanced configuration
    • MiGA workflow
    • Metadata
    • External Software
  • Part VI: Workflows
    • Quality
    • Dereplicate
    • Classify
    • Preprocess
    • Index
    • Summaries
Powered by GitBook
On this page
  • Live notebook
  • Essentials
  • IDBA
  • SolexaQA++
  • FastANI
  • R packages
  • MyTaxa utils
  1. Part II: Getting started
  2. Requirements

Using apt-get

PreviousUsing HomebrewNextUsing Conda

Last updated 4 years ago

Live notebook

If you prefer to see code in action, the full installation process with apt-get is available as a .

Essentials

If you have apt-get, execute:

# General-purpose software
sudo apt-get update
sudo apt-get install ruby ruby-sqlite3 r-base sqlite3 python \
  libcurl4-openssl-dev openjdk-8-jdk
# Bioinformatics software
sudo apt-get install ncbi-blast+ hmmer bedtools idba \
  prodigal mcl barrnap scythe fastqc diamond-aligner
sudo ln -s $(which diamond-aligner) /usr/bin/diamond

IDBA

The index of some distros may still have an old version of IDBA that didn't build the IDBA-UD flavor (you'll need at least v1.1.3-2). Check first if you have it:

idba_ud

If you don't, you can get it by adding the Ubuntu Universe source to APT:

echo 'deb http://us.archive.ubuntu.com/ubuntu/ cosmic universe' \
  | sudo tee /etc/apt/sources.list.d/ubuntu-universe.list
sudo apt-get update
sudo apt-get install idba

Or install it directly from the DEB package:

wget http://ftp.br.debian.org/debian/pool/main/i/idba/idba_1.1.3-3_amd64.deb
sudo apt-get install ./idba_1.1.3-3_amd64.deb

SolexaQA++

Next, you'll need to install SolexaQA++. If you have a 64-bits Linux:

curl -L -o SolexaQA++_v3.1.7.1.zip \
  "https://downloads.sourceforge.net/project/solexaqa/src/SolexaQA%2B%2B_v3.1.7.1.zip"
unzip -p SolexaQA++_v3.1.7.1.zip Linux_x64/SolexaQA++ > SolexaQA++
sudo install SolexaQA++ /usr/bin/

If you have 32-bits Linux, you can build SolexaQA++ from source:

sudo apt-get install libboost-dev libboost-filesystem-dev \
      libboost-regex-dev libboost-iostreams-dev
curl -L -o SolexaQA++_v3.1.7.1.zip \
  "https://downloads.sourceforge.net/project/solexaqa/src/SolexaQA%2B%2B_v3.1.7.1.zip"
unzip SolexaQA++_v3.1.7.1.zip 'source/*'
cd source && make
sudo install source/SolexaQA++ /usr/bin/

FastANI

FastANI is optional, but it may be required to search certain databases. It can be used instead of BLAST ANI to speed up indexing. If you have a 64-bits Linux:

curl -L -o fastani-Linux64-v1.3.zip \
  "https://github.com/ParBLiSS/FastANI/releases/download/v1.3/fastani-Linux64-v1.3.zip"
unzip fastani-Linux64-v1.3.zip fastANI
sudo install fastANI /usr/bin/

R packages

The full list of R packages is automatically installed by MiGA. However, we will install one package here to make sure everything is properly initialized.

Rscript -e "install.packages('ape', repos = 'http://cran.rstudio.com/')"

MyTaxa utils

If you have a 32-bits Linux, you can build it from source following the .

If you want to activate the and steps, follow the instructions to install the .

Notebook in Google Collab
FastANI installation
MyTaxa
MyTaxa Scan
MyTaxa Utils