To get a table of COGs (Clusters of Orthologous Groups) with their category code and name, a one liner sed command can do the job:


> wget ftp://ftp.ncbi.nih.gov/pub/COG/COG/whog
> sed -n 's/\[\(.*\)\] \(COG[0-9]*\) \(.*\)/\1\t\2\t\3/p' whog > cog.tab

Download the table: cog.tab

Advertisements