anvi-run-ncbi-cogs [program]

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.


A. Murat Eren (Meren)

Can consume

contigs-db cogs-data

Can provide



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

Before you run this program, you’ll have to set up the COGs database on your computer with the program anvi-setup-ncbi-cogs.

To run, you’ll need to provide a contigs-db. If you stored the cogs-data that you got from running anvi-setup-ncbi-cogs in a custom location, you’ll need to provide that path as well. The output is a functions artifact.

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.

By default, this program uses DIAMOND in the “fast” setting for database searching. To instead run in “sensitive” mode, just call:

anvi-run-ncbi-cogs -c contigs-db \ --sensitive

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.