Orthologous Groups (NOG/COG)

Content of this page:

Clusters of Orthologs

The growth of the annotation databases, has opened the path for multiple bioinformatic algorithms to search for homologies between sequences. Similarity information has multiple uses, such as sequence annotation or evolutionary inference.

A Cluster of Orthologous Group (COG) corresponds to a group of proteins that share a high level of sequence similarity. Sequence similarity, in the vast majority of the cases, can be associated to evolutionary convergence. All sequences contained in an COG presumably derive from the same ancestor sequence, which has diverged into the different members of the orthologous group via speciation (orthologous) and duplication (paralogous) events.

Orthologous Group Annotation Tool

With this tool, we intend to provide a method to annotate the orthologous group of a sequence within the Blast2GO annotation pipeline. Since the sequences from an orthologous group share many distinctive features (e.g. functional annotation, phylogenetics), the orthologous group annotation can be used to infer properties that can improve the Blast2GO sequence characterization.

To this extent, we made use of the EggNOG database (Evolutionary genealogy of genes: Nonsupervised Orthologous Groups) to annotate any sequence present in the database with its corresponding orthologous group.

The Orthologous Group Annotation Tool can be found in Toolbox > Blast2GO > Orthologous Groups > Obtain COG Ortholog Groups. Blast and GO Mapping steps are needed to be completed beforehand in order to perform the Orthologous Group assignment. The Orthologous Group Annotation will have a better performance if the Blast is executed against the UniProtKb database.

In case the Blast is performed against the nr database, the result of the Orthologous Group Annotation will be satisfactory, but the quality will still be lower than if UniProtKb was used as the Blast database.


EggNOG (Evolutionary genealogy of genes: Non-supervised Orthologous Groups) is a “graphbased unsupervised clustering algorithm extending the COG methodology”. It provides an orthology classification method, based on sequence similarity. The EggNOG database is built collecting genomes from public datasets, and performing an all-against-all pairwise similarity matrix. Such matrix is stored in a relational database, in which the high-similarity sequences are grouped together.

The clusters classification takes its basis in the Clusters of Orthologous Groups (COG), those clusters that have been described in this manually-curated orthology classification will be correspondingly annotated. On the other hand, the clusters that have not been described in COG, are defined de novo, and functionally annotated using GO, KEGG pathways and SMART/PFAM protein domains.

Orthologous Group Annotation: Wizard

The parameters used in the Orthologous Group Annotation Wizard are based on the Blast results. As it was mentioned above, Blast and GO Mapping are required to perform this analysis.

  • e-Value: Select an e-Value limit to which the sequence will be included in the analysis. The e-Value is assigned in the Blast step. Select one of the multiple options available in this widget (Default: 1E-3). 
  • Filter by Similarity (%): Specify a minimum similarity percentage from which the input sequences are filtered out. The similarity is gathered from the Blast result, it is obtained dividing the positive matches of the alignment and the Hsp length (Default: 50%). 
  • Hsp/Hit coverage filter: Establish a Hsp/Hit coverage to filter those results that cover less hit length than the minimum specified. The coverage is a percentage, therefore it must be a number between 0-100, 0 is selected to disable this filter option (Default: 0).

Orthologous Group Annotation: Algorithm

Blast and GO Mapping results are required to execute the Orthologous Group Annotation. When this feature is launched, all the Blast2GO-project selected sequences are iterated. Those sequences that do not have Blast/Mapping Annotation will be skipped, while the mapping results of the annotated sequences are extracted. The program iterates over the mapping results, if the Blast parameters pass the filters set in the Orthologous Group Annotation Wizard (previous section), the method identifies the Orthologous Group annotation of each mapping result (if it has been described).

Orthologous Groups are assigned to the project using the EggNOG database. Since EggNOG does not provide an API to assign the annotation directly from their REST service, we use UniProt RESTful service API, which contains the information of the Orthologous Group via EggNOG. The information regarding the Orthologous Group Description, Category, or Gene Ontology is gathered from the EggNOG RESTful API. Such information is stored in the b2gFiles folder locally, and loaded to a Blast2GO Object, which is visualized in a Table Viewer.

The Blast2GO project sequence is annotated with the “Top-Hit” Orthologous Group, which corresponds to the mapping with a higher score in the Blast search that can be assigned an Orthologous Group via EggNOG. If such mapping can be assigned to more than one Orthologous Group, we assign all of them. ’COG’ groups have been manually-curated, ’KOG’ (euKaryotes Clusters of Orthologs) are manually-curated multi-domain proteins, and ’ENOG’ are computationally obtained in an all-vs-all homology search.

Normally, all the mapping results are annotated within the same Orthologous Groups.

Orthologous Group Annotation: Results

The information gathered from the previous section is retained in a Blast2GO object and visualized in a Blast2GO Table by Sequence. Figure 1 shows the default viewer for the Orthologous Group Blast2GO object.

Figure 1: Ortholog Group Annotation Main Table Results. Results are ordered by sequence

The Annotation Results are visualized in eight columns:

  • Tag: Describes if there is a NOG assigned, and if it has been manually-curated (COG/KOG) or unsupervised (ENOG).
  • SeqNames: Name of the sequence (as in the Blast2GO Project).
  • Nog IDs: Identifier for the Orthologous Groups assigned to the given sequence, they are comma-separated.
  • Nog Description: Description of the Orthologous Groups, separated by ’;’.
  • OG Categories: Categories to which the Orthologous Group corresponds to, they are comma-separated. There are a total of 23 categories, which are more general than the Orthologous Groups.
  • OG Categories Description: Description of the Orthologous Group Categories separated by ’;’.
  • GO IDs: Gene Ontology described for the annotated OG Categories, separated by ’;’.
  • GO Names: Gene Ontology IDs described for the annotated OG Categories, separated by ’;’. By default this column is not shown, it can be activated by right-clicking the column headers.

Reorder Results Table

The results can be visualized by Sequence ID, as it is shown in Figure 1, or can also be displayed reordering the Table by NOG ID or by OG Category. The Orthologous Group object can be opened in different formats form the table side panel.

Opening the Orthologous Group Table by NOG ID (Figure 2), allows the user to determine which sequences are present in each Orthologous Group. A new column, which shows the number of sequences present in each Orthologous Group, is added to the Table Viewer.

When the Orthologous Group Table is opened by Category (Figure 3), the NOG IDs are grouped in their Orthologous Group Categories. Also, sequences that correspond to the NOG IDs grouped, are combined to allow the recovery of sequences by Category. Here, we add two new columns: one corresponding to the number of sequences per Category, and another corresponding to the number of NOG IDs per category. The column corresponding to NOG Description is not present.

Figure 2: Ortholog Group Annotation Table results ordered by NOG ID

All the results can be exported by selecting clicking Export Table in the sidepanel. The Table will be exported in the format selected when the Export is requested.

Figure 3: Ortholog Group Annotation Table results ordered by OG Category

Merge GOs from COG

With the Merge GOs from COG feature, the GOs assigned to each sequence in the Orthologous Group Annotation can be merged to the Mapping GO annotation. Since the Blast2GO project only displays the most specific gene ontologies, this function only adds those GOs that are more specific than the ones being displayed in the project; it uses the Blast2GO DAG feature to achieve this.

Merge Orthologous Group GOs to Annotation: Results

When the GOs are merged into the Blas2GO project, the GO annotation is changed as more specific GOs are added into the project and less specific are removed. Figure 4 shows an statistical evaluation after the GO merge has been performed. It includes the following information:

  • GOs Before Merge: Number of GOs present in the Blast2GO project before it is merged with the Orthologous Group Annotation GOs.
  • GOs After Merge: Number of GOs present in the Blast2GO project after it is merged with the Orthologous Group Annotation GOs.
  • Confirmed GOs: Number of GOs that were present in the Blast2GO project before the merge has been performed, and are also present in the Orthologous Group Annotation GOs. These GOs do not add new information, apart from confirming the previous knowledge.
  • Too General GOs: Number of GOs that are more general than the Blast2GO project GO Annotation.
  • New GOs: Number of GOs from the Orthologous Groups Annotation that are more specific than the GOs present in the Blast2GO project.

Figure 4: Merge Orthologous Group GOs result. Shows the statistics of: number of GOs before and after the merge is performed, confirmed GOs, too general GOs and new GOs

We recommend to run this analysis once the annotation step has been performed.