# default format is compatible with metabat2
metabat2 -i contigs1.fa -a coverage1.tsv ...
metabat2 -i contigs2.fa -a coverage2.tsv ...
# maxbin2 (requires different options; see below)
maxbin2 ...
# SemiBin2 (requires different options; see below)
SemiBin2 single_easy_bin -i contigs1.fa -a cov_aemb_1.tsv cov_aemb_2.tsv ...
Output
MetaBAT2 format (default)
The default output is compatible with the jgi_summarize_bam_contig_depths script from MetaBAT2 (the column names are different, however).
[!TIP]
Fairy usage for SemiBin2 is different than other tools: SemiBin2 requires separate coverage files for each read sample – other tools require a single coverage matrix.
MaxBin2 format
Alternatively, --maxbin-format works directly with MaxBin2 and is also available. This removes the variance columns as well as the contigLen and totalAvgDepth columns.
Citing fairy
Jim Shaw, Yun William Yu. Fairy: fast approximate coverage for multi-sample metagenomic binning (2024). Microbiome.
fairy - fast approximate contig coverage for metagenomic binning
Fairy computes multi-sample contig coverage for metagenome-assembled genome (MAG) binning.
Fairy is used after metagenomic assembly and before binning. It can
Caveats:
Install (current version v0.5.7)
Option 1: conda install
Option 2: Build from source
Requirements:
Building takes a few minutes (depending on # of cores).
Option 3: Pre-built x86-64 linux statically compiled executable
If you’re on an x86-64 Linux system, you can download the binary and use it without any installation.
Note: the binary is compiled with a different set of libraries (musl instead of glibc), probably impacting performance.
Quick start
Step 1: Index reads
Step 2: Calculate coverage
Step 3: Bin
Output
MetaBAT2 format (default)
The default output is compatible with the
jgi_summarize_bam_contig_depthsscript from MetaBAT2 (the column names are different, however).mean coverageandcoverage variancefor each sample.The above output can be fed directly into MetaBAT2 with default parameters.
SemiBin2 format (–aemb-format option)
Since fairy v0.5.5 and SemiBin v2.1, you can use SemiBin as follows
MaxBin2 format
Alternatively,
--maxbin-formatworks directly with MaxBin2 and is also available. This removes the variance columns as well as thecontigLenandtotalAvgDepthcolumns.Citing fairy
Jim Shaw, Yun William Yu. Fairy: fast approximate coverage for multi-sample metagenomic binning (2024). Microbiome.