This program runs NCBI's COGs to associate genes in an anvi'o contigs database with functions. COGs database was been designed as an attempt to classify proteins from completely sequenced genomes on the basis of the orthology concept..

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


Can consume

contigs-db cogs-data

Can provide



This program annotates genes in your contigs-db with functions using NCBI’s Clusters of Orthologus Groups (COGs) database.

This program assumes that the user has successfully set up the COGs database on their computer using the anvi’o program anvi-setup-ncbi-cogs.

The only critical parameter to anvi-run-ncbi-cogs is a contigs-db. The program will store its output in the contigs-dbas a functions artifact.

If the cogs-data was stored at a specific path when anvi-setup-ncbi-cogs was run, then providing that path using the --cog-data-dir parameter is also necessary.

anvi-run-ncbi-cogs -c contigs-db \ --cog-data-dir path/to/cogs-data

Without the flag --cog-data-dir, anvi’o will just search in the default location.

You can also use blastp to search, by running:

anvi-run-ncbi-cogs -c contigs-db \ --search-with blastp

Edit this file to update this information.

Additional Resources

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.