Skip to content
MetaCarvel: A scaffolder for metagenomes
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.
MetagenomeScope @ 2c54543
cmdline command line added Apr 7, 2016
orientcontigs.cpp first commit of the new version Feb 23, 2017

MetaCarvel - Scaffolder for metagenomes

MetaCarvel is an updated version of previous metagenome scaffolder Bambus 2. To run MetaCarvel, you will need Python 2.7.x, Samtools, Bedtools, Networkx(Version < 1.11), NumPy,and OGDF.

You can install Networkx as described here. Briefly, you need to run following:

pip install networkx==1.10

If this doesn't work, you can download the source from here and install from source.

The detailed documentation and tutorial to install and run MetaCarvel can be found on Wiki.

To run MetaCarvel, run the following;

python -h
usage: [-h] -a ASSEMBLY -m MAPPING -d DIR [-r REPEATS] [-k KEEP]
              [-l LENGTH] [-b BSIZE] [-v VISUALIZATION]

MetaCarvel: A scaffolding tool for metagenomic assemblies

optional arguments:
  -h, --help            show this help message and exit
  -a ASSEMBLY, --assembly ASSEMBLY
                        assembled contigs
  -m MAPPING, --mapping MAPPING
                        mapping of read to contigs in bam format
  -d DIR, --dir DIR     output directory for results
  -r REPEATS, --repeats REPEATS
                        To turn repeat detection on
  -k KEEP, --keep KEEP  Set this to keep temporary files in output directory
  -l LENGTH, --length LENGTH
                        Minimum length of contigs to consider for scaffolding
                        in base pairs (bp)
  -b BSIZE, --bsize BSIZE
                        Minimum mate pair support between contigs to consider
                        for scaffolding
                        To generate .db file for AsmViz visualization program

This will generate a bunch of files in the output directory. If you are interested in output of each step of the scaffolding process, these files can be useful. The final output files are scaffolds.fasta - which contains sequences of scaffolds and scaffolds.agp is an agp style information for assignment of contigs to scaffolds.

NOTE: This tool is still under active development and may produce errors while running. Please report these as github issues so that we can fix them as we develop the software. For any questions, please email

You can’t perform that action at this time.