eggnog-mapper icon indicating copy to clipboard operation
eggnog-mapper copied to clipboard

Visualization of eggnog outputs?

Open JSSaini opened this issue 3 years ago • 1 comments

Thank you for the tool. Is there a simple way to visualize eggnog outputs? Any already prepared script? Thanks.

JSSaini avatar Sep 16 '21 13:09 JSSaini

Hi @JSSaini ,

thank you for your kind words.

We really want to include some visualization options in future versions of eggnog-mapper (standalone and web). Unfortunately, we don't have any prepared script for this yet. Depending on which annotation (KEGG, GO, PFAM) or type of experiment (one sample, several samples, genome, metagenome) you may wish to rely on different tools for this purpose (KEGG mapper for instance).

I hope this makes sense and sorry for the inconveniences.

Best, Carlos

Cantalapiedra avatar Sep 16 '21 15:09 Cantalapiedra

Hi, I'm using the last version of eggnog-mapper. It's a very nice tool! I'm trying to load into R the annotation table that I got as output, but It cannot be read properly as columns are separated by several and not fixed number of spaces. For instance 1 get one row with 23 columns and a different one with 26 (see the attached screenshot as example of the warning message). Is there a way in the eggnog-mapper command line to specify the format of the output as .csv, .txt or similar? The annotation file is very large (1G) so I cannot easily open it on my laptop to manipulate it.

I'm using eggnog to annotate ORFs from metagenomic samples that i previously predicted with PRODIGAL. This is my command line: emapper.py --cpu 32 -i ORF_prodigal.fasta --itype CDS --translate --output genecatalog --output_dir temp_data Screen Shot 2022-10-17 at 10 47 02 AM

AnaMariaCabello avatar Oct 17 '22 08:10 AnaMariaCabello

Hi @AnaMariaCabello ,

Thank you for your kind words.

If I am not mistaken, the ".emapper.annotations" file from emapper.py should have columns separated strictly by TAB, no by single whitespaces. What code are you using to load the table into R?

Best, Carlos

Cantalapiedra avatar Oct 17 '22 13:10 Cantalapiedra

Hi Carlos,

You are right, the files are TAB separated and I was using the wrong function to load the table in R. Thanks a lot for your quick reply!

Ana

On Oct 17, 2022, at 3:42 PM, Carlos P Cantalapiedra @.***> wrote:

Hi @AnaMariaCabello https://github.com/AnaMariaCabello ,

Thank you for your kind words.

If I am not mistaken, the ".emapper.annotations" file from emapper.py should have columns separated strictly by TAB, no by single whitespaces. What code are you using to load the table into R?

Best, Carlos

— Reply to this email directly, view it on GitHub https://github.com/eggnogdb/eggnog-mapper/issues/337#issuecomment-1280881718, or unsubscribe https://github.com/notifications/unsubscribe-auth/APMXFJEEBMJTUH4W5M2CRYLWDVJTJANCNFSM5EEWRQHA. You are receiving this because you were mentioned.

AnaMariaCabello avatar Oct 17 '22 15:10 AnaMariaCabello

Glad to be of help!

Cantalapiedra avatar Oct 17 '22 17:10 Cantalapiedra

Hi, did any of you manged to visualize eggNOGG results including in R?

JSSaini avatar Nov 18 '22 07:11 JSSaini

Hi, did any of you manged to visualize eggNOGG results including in R?

JSSaini avatar Nov 18 '22 07:11 JSSaini