Skip to main content

eggnog

Tags: functional-annotation orthology proteins eggnog bactopia-tool

Functional annotation of proteins using orthologous groups and phylogenies.

This Bactopia Tool uses eggNOG-mapper to assign functional annotation to protein sequences. eggNOG-mapper uses orthologous groups and phylogenies from the eggNOG database to more precisely functionally annotate than traditional homology methods.

Usage

Bactopia CLI:

bactopia --wf eggnog \
--bactopia /path/to/your/bactopia/results

Nextflow:

nextflow run bactopia/bactopia/workflows/bactopia-tools/eggnog/main.nf \
--bactopia /path/to/your/bactopia/results

Outputs

Expected Output Files

<BACTOPIA_DIR>
├── <SAMPLE_NAME>
│ └── tools
│ └── eggnog-<TIMESTAMP>
│ ├── <SAMPLE_NAME>.emapper.annotations
│ ├── <SAMPLE_NAME>.emapper.hits
│ ├── <SAMPLE_NAME>.emapper.seed_orthologs
│ └── logs
│ ├── nf.command.{begin,err,log,out,run,sh,trace}
│ └── versions.yml
└── bactopia-runs
└── eggnog-<TIMESTAMP>
└── nf-reports
├── eggnog-dag.dot
├── eggnog-report.html
└── eggnog-timeline.html

Annotation

FileDescription
*.emapper.annotationsResults from the annotation phase
*.emapper.hitsResults from the search phase (HMMER, Diamond or MMseqs2)
*.emapper.seed_orthologsResults from parsing the hits
*.emapper.annotations.xlsxAnnotations in Excel format
*.emapper.orthologsList of orthologs found for each query
*.emapper.genepred.fastaSequences of predicted CDS
*.emapper.gffGFF of predicted CDS
*.emapper.no_annotations.fastaSequences without annotation
*.emapper.pfamPositions of PFAM domains identified

Audit Trail

Below are files that can assist you in understanding which parameters and program versions were used.

Logs

Each process that is executed will have a folder named logs. In this folder are helpful files for you to review if the need ever arises.

ExtensionDescription
.beginAn empty file used to designate the process started
.errContains STDERR outputs from the process
.logContains both STDERR and STDOUT outputs from the process
.outContains STDOUT outputs from the process
.runThe script Nextflow uses to stage/unstage files and queue processes based on given profile
.shThe script executed by bash for the process
.traceThe Nextflow trace report for the process
versions.ymlA YAML formatted file with program versions

Nextflow Reports

These Nextflow reports provide great a great summary of your run. These can be used to optimize resource usage and estimate expected costs if using cloud platforms.

FilenameDescription
eggnog-dag.dotThe Nextflow DAG visualization
eggnog-report.htmlThe Nextflow Execution Report
eggnog-timeline.htmlThe Nextflow Timeline Report
eggnog-trace.txtThe Nextflow Trace report

Parameters

Required Parameters

Define where the pipeline should find input data and save output data.

ParameterTypeDefaultDescription
--bactopiastringThe path to bactopia results to use as inputs

eggNOG Downloader Parameters

ParameterTypeDefaultDescription
--eggnog_dbstringTarball or path to eggNOG databases
--download_eggnogbooleanfalseRequired if downloading latest eggNOG database, will overwrite existing databases.
--eggnog_save_as_tarballstringSave the eggNOG database as a single tarball
--eggnog_skip_diamondbooleanfalseDo not install the diamond database
--eggnog_install_mmseqbooleanfalseInstall the MMseqs2 database
--eggnog_install_pfambooleanfalseInstall the Pfam database, required for de novo annotation or realignment
--eggnog_install_hmmbooleanfalseInstall the HMMER database specified with --hmmer_taxid
--eggnog_hmmer_taxidinteger2Tax ID of eggNOG HMM database to download

eggNOG Mapper Parameters

ParameterTypeDefaultDescription
--eggnog_genepredstringsearchMethod to use for gene prediction (choices: search, prodigal)
--eggnog_modestringdiamondMethod to search against eggNOG sequences (choices: diamond, hmmer, mmseqs, cache, no_search)
Filtering Parameters

Use these parameters to specify which samples to include or exclude.

ParameterTypeDefaultDescription
--includestringA text file containing sample names (one per line) to include from the analysis
--excludestringA text file containing sample names (one per line) to exclude from the analysis
Optional Parameters

These optional parameters can be useful in certain settings.

ParameterTypeDefaultDescription
--outdirstringbactopiaBase directory to write results to
Nextflow Profile Parameters

Parameters to fine-tune your Nextflow setup.

ParameterTypeDefaultDescription
--datasets_cachestring<HOME>/.bactopia/datasetsDirectory where downloaded datasets should be stored.
Helpful Parameters

Uncommonly used parameters that might be useful.

ParameterTypeDefaultDescription
--wfstringbactopiaSpecify which workflow or Bactopia Tool to execute
--list_wfsbooleanList the available workflows and Bactopia Tools to use with '--wf'
--help_allbooleanAn alias for --help --show_hidden_params
--versionbooleanDisplay version text.

Composition

This workflow uses the following subworkflows:

  • eggnog - Functional annotation through orthology assignment.

Citations

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

Source

View source on GitHub