MEGAHIT (WSL)

MEGAHIT is a fast and memory-efficient assembler for metagenomic sequencing data. There are several ways to install MEGAHIT, but the easiest way is using conda.

On WSL systems, conda is often not installed by default, so you will need to install it first.

  1. Install conda

  1. Go to https://repo.anaconda.com/archive/ and download the appropriate installer for your system. - For example, for WSL: Anaconda3-2024.06-1-Linux-x86_64.sh

  2. Open your terminal and download using wget:

    wget https://repo.anaconda.com/archive/Anaconda3-2024.06-1-Linux-x86_64.sh
    
  3. Run the installation script:

    bash Anaconda3-2024.06-1-Linux-x86_64.sh
    
  4. Read the license agreement and follow the prompts to accept.

  5. Close WSL and open it again.

  6. Test that conda is installed:

    conda
    

  1. Install MEGAHIT using conda

conda install -c bioconda megahit
  • If prompted, select y to proceed.

  • Test the installation:

megahit --help

MEGAHIT (Mac)

  1. Install Miniconda

conda --version
  • If prompted, select y to proceed.

  1. Install MEGAHIT using conda

conda install bioconda::megahit