bin [artifact]


A BIN-type anvi’o artifact. This artifact is typically generated, used, and/or exported by anvi’o (and not provided by the user)..

Back to the main page of anvi’o programs and artifacts.

Provided by

anvi-cluster-contigs anvi-display-pan anvi-interactive anvi-refine anvi-rename-bins anvi-script-add-default-collection

Required or used by

anvi-display-metabolism anvi-estimate-metabolism anvi-estimate-scg-taxonomy anvi-estimate-trna-taxonomy anvi-gen-fixation-index-matrix anvi-gen-gene-level-stats-databases anvi-gen-variability-profile anvi-get-short-reads-from-bam anvi-get-split-coverages anvi-inspect anvi-interactive anvi-merge-bins anvi-refine anvi-rename-bins anvi-script-gen-distribution-of-genes-in-a-bin


A bin is, in its simplest form, a group of contigs. (Think of a literal bin that you’re putting data into.)

In Anvi’o, you’ll most commonly work with bins both in this form and in the form of internal-genomes, espeically when you want to work with bins contained in more than one profile-db. A group of bins is called a collection.

What can you use bins for?

Bins are all over ‘omics

In general, you can also use bins and collections to limit what you are analyzing downstream. A ton of anvi’o programs are able to take in a bin or a collection (a group of bins) so that you don’t have to analyze your entire contigs-db when you just want to look at one section. This is true of many, many anvi’o analyses you can run, from anvi-estimate-metabolism to anvi-get-sequences-for-hmm-hits.

Below are some more specific examples of binning in action!

Metagenomic binning

A common use of binning is in metagenomics. See this tutorial for details, but essentially, the data you’re working with in metagenomics is a sample of all of the genetic material in an environmental sample. It’s like pulling a bunch of random DNA fragments out of a bucket of ocean water. If you want to try to rebuild the individual genomes from that mess, one common strategy is to piece together genomes de novo by trying to group the contigs together. This is called genome-resolved metagenomic binning.

Basically, in metagenomic binning, you’re trying to group together a bunch of contigs that all belong to the same genome using various metrics like tetranucleotide frequency, differential coverage, completion, etc. You can do this either using various algorithms (for instance, those used by anvi-cluster-contigs) or manually through the interactive interface (anvi-interactive). In this type of binning, a lot of your bins will be complete metagenome-assembled genomes, or MAGs; however, if you find an interesting group of contigs (for example, a prophage or a plasmid or even a particular domain), you can also put that into a bin. Then, you can group these bins in different ways using collections.

For more information, you might want to watch this lovely lecture on genome-resolved metagenomics.

Pangenomic Workflows

You can also use bins to group together gene clusters. This is useful if you want a specific group of contigs to remain together through your entire analysis. Just provide your internal-genomes file to anvi-gen-genomes-storage.

Wow, this binning thing seems BINcredible! (not sorry)

Edit this file to update this information.