Skip to content
nlapier2 edited this page Jun 30, 2020 · 8 revisions

Download and Installation

Overview

There are two different ways to use Metalign: the Bioconda package, or the locally-installed repository. The Bioconda package is highly recommended because setting up the libraries in the repository can be tricky, especially if you do not have root privileges. Also please note that the locally-install Metalign repository has only been tested on Linux systems.

With that being said, for either method, you first have to install the repository and download the database:

git clone https://github.com/nlapier2/Metalign.git
cd Metalign
./setup_data.sh

The last step will take a few hours. The exact time will depend on your internet connection.

The instructions below are specific to whether you are using Bioconda or the local repo (you can do both if you want).

Docker version

Simply run:

conda install -c bioconda Metalign

Local repository version

Run the following from the repository directory:

./setup_libraries.sh

If you have issues with this, consider manually installing minimap2, KMC3, and CMash in the Metalign repository using instructions from their respective repositories:

Minimap2: https://github.com/lh3/minimap2/

KMC: https://github.com/refresh-bio/KMC

CMash: https://github.com/dkoslicki/CMash

*** Note: previously, we had a docker version of the package that was mentioned here. We no longer support the docker version, because the bioconda version is simpler to work with and due to docker's issues with running on clusters. However, the docker package is still available for legacy versions. ***

Clone this wiki locally