Skip to content
Ilia Popov edited this page Oct 20, 2024 · 6 revisions

KEGGaNOG Usage Guide

Installation

conda create -n kegganog python=3.6
conda activate kegganog
pip install kegganog

Usage Guide

As the demo data for this usage guide eggNOG-mapper output of Lpb. plantarum IS-10506 is used
It is a probiotic from I am better than I look: genome based safety assessment of the probiotic Lactiplantibacillus plantarum IS-10506 study

First, we download the data

Input

wget https://raw.githubusercontent.com/iliapopov17/KEGGaNOG/refs/heads/main/demo_data/out.emapper.annotations

First run

Then we run KEGGaNOG

Input

KEGGaNOG -i out.emapper.annotations -o output

By the key --i user must provide the input (eggNOG-mapper output file) By the key --o user must provide the path to output directory (it will be created if it does not exist)

The resulted figure:

Second run

We can adjust the dpi of the resulted heatmap by using --dpi key
300 dpi is used by default

Input

KEGGaNOG -i out.emapper.annotations -o output -dpi 600

The resulted figure:

Third run

We can adjust the sample name by using --n key
It supports regular expressions, so to make some words in italics (like this: Lpb. plantarum IS-10506) please use $\it{Lpb. plantarum}$ IS-10506
'SAMPLE' is the default sample name

Input

KEGGaNOG -i out.emapper.annotations -o output -dpi 600 -n '$\it{Lpb. plantarum}$ IS-10506'

The resulted figure:

Clone this wiki locally