genes-db

DB

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

🔙 To the main page of anvi’o programs and artifacts.

Provided by

anvi-gen-gene-level-stats-databases

Required by

There are no anvi’o tools that require this artifact directly, which means it is most likely an end-product for the user.

Can be used by

anvi-db-info anvi-interactive anvi-migrate anvi-search-sequence-motifs

Description

An anvi’o genes database is a profile-db-like database that contains statistics, such their coverage and detection across samples, rather than contigs in a given contigs-db.

A gene database for a given bin stored in a collection will be automatically generated when anvi-interactive is run in ‘gene mode’. For details, see the relevant section in anvi-interactive

Alternatively, genes databases can be explicitly generated using the program anvi-gen-gene-level-stats-databases. By default, this program will generate a gene database for each bin for a given collection.

In addition to gene-level coverage stats (i.e., mean coverage, detection, and non-outlier mean coverage and standard deviation of each gene in each sample), a genes database by default also stores five normalizations of non-outlier mean coverage values in a table called gene_level_normalized_coverages: log1p, cov_per_million (mean coverage depth per million mapped reads), and per-gene z-scores across samples for raw, log1p, and cov_per_million values (zscore_raw, zscore_log1p, and zscore_cov_per_million). These become additional views in gene mode. See anvi-gen-gene-level-stats-databases for details, including how to skip computing them, and why that is required for profile databases with a single sample.

Genes databases generated with earlier versions of anvi’o can be upgraded with anvi-migrate. Their normalized coverages will be computed the next time they are used by anvi-interactive in gene mode, or by anvi-gen-gene-level-stats-databases.

Due to the structural similarities between a genes-db and a profile-db, many of the anvi’o programs that operate on profile databases will also run on genes databases. These programs include those that import/export states and import/export misc additional data.

Edit this file to update this information.