A program that computes functional enrichment across groups of genomes..
🔙 To the main page of anvi’o programs and artifacts.
groups-txt genomes-storage-db external-genomes internal-genomes functions
This program computes functional enrichment across groups of genomes and returns a functional-enrichment-txt file.
For its sister programs, see anvi-compute-functional-enrichment-in-pan and anvi-compute-metabolic-enrichment.
Please also see anvi-display-functions which can both calculate functional enrichment, AND give you an interactive interface to display the distribution of functions.
You can use this program by combining genomes described through external-genomes, internal-genomes, and/or stored in a genomes-storage-db. In addition to sources for your genomes, you will need to provide a groups-txt file to declare which genome belongs to which group for enrichment analysis to consider.
Aggregate functions from all sources. Gene calls in each genome are tallied according to their functional annotations from the given annotation source.
Quantify the distribution of functions in each group of genomes. This information is then used by
anvi-script-enrichment-stats to fit a GLM to determine (1) the level that a particular functional annotation is unique to a single group and (2) the percent of genomes it appears in in each group. This produces a functional-enrichment-txt file.
anvi-script-enrichment-stats was implemented by Amy Willis, and described first in this paper.
You can use it with a single source of genomes:
anvi-compute-functional-enrichment-across-genomes -i internal-genomes \ -o functional-enrichment-txt \ --annotation-source FUNCTION_SOURCE
anvi-compute-functional-enrichment-across-genomes -i internal-genomes\ -e external-genomes \ -g genomes-storage-db \ -o functional-enrichment-txt \ --annotation-source FUNCTION_SOURCE
You can get a tab-delimited matrix describing the occurrence (counts) of each function within each genome using the
anvi-compute-functional-enrichment-across-genomes -i internal-genomes \ -o functional-enrichment-txt \ --annotation-source FUNCTION_SOURCE --functional-occurrence-table-output FUNC_OCCURRENCE.TXT
Edit this file to update this information.
Are you aware of resources that may help users better understand the utility of this program? Please feel free to edit this file on GitHub. If you are not sure how to do that, find the
__resources__ tag in this file to see an example.