Skip to main content

eggnog

Tags: functional annotation orthology eggnog protein-domains sample-scope

Functional annotation through orthology assignment.

This subworkflow performs genome-wide functional annotation using eggNOG-mapper, which provides fast functional annotation through orthology assignment. It can optionally download the eggNOG database if not provided. The pipeline predicts orthologs, functional categories, and various annotation formats including GFF, Excel, and detailed reports.

Take

proteins: Channel<Record>
FieldDescription
metaGroovy Record containing sample information
proteinsProtein sequences in FASTA format for functional annotation
database: Path?
download_eggnog: Boolean
save_as_tarball: Boolean
NameTypeDescription
databasePath?Path to pre-downloaded eggNOG database (optional)
download_eggnogBooleanBoolean flag to trigger database download if not provided
save_as_tarballBooleanBoolean flag to save downloaded database as tarball

Emit

Published

The sample_outputs and run_outputs emissions are aggregates of output files that will be published in the entry workflow.

sample_outputs

OutputDescription
hitsRaw search hits (Diamond/MMseqs2) against the eggNOG database
seed_orthologsList of identified seed orthologs used for annotation transfer
annotationsMain tab-delimited annotation file (COGs, KEGG, GO, etc.)
xlsxExcel format of the annotations file
orthologsList of fine-grained orthologs (optional)
genepredPredicted gene sequences (optional)
gffAnnotations in GFF format (optional)
no_annoFASTA file of sequences that failed to be annotated (optional)
pfamRaw PFAM domain hits (optional)

run_outputs

No run-scope outputs.

Module Composition

This subworkflow calls the following modules:

  • eggnog_download - Download the eggNOG database for functional annotation.
  • eggnog_mapper - Functional annotation of proteins using eggNOG orthology data.

Used By

This subworkflow is used by the following workflows:

  • eggnog - Functional annotation of proteins using orthologous groups and phylogenies.

Citations

If you use this in your analysis, please cite the following.

Source

View source on GitHub