Skip to content

Problem in installing and using m5nr-tools.pl & is there any other way to translate m5nr ids to KEGG (KO) ids? #216

@jialiu232

Description

@jialiu232

Hello,

I want to download the KEGG annotated functional files for some MG-RAST soil samples. I used some code like this: curl "https://api.mg-rast.org/annotation/similarity/mgm4857466.3?identity=40&type=function&source=KO" > BG-Y2TE-B1ET9C12_blast.out and got some blast output files as shown in the image below. However, the second column is not KEGG Ortholog ID as I expected but m5nr id instead.

mg-rast-func-KO

I tried to install MG-RAST-Tools and plan to use m5nr-tools.pl to translate the m5nr ids into KEGG ID. But this was the error I got after the installation:

Screen Shot 2021-11-12 at 6 15 47 PM

To solve the problem, I added the mglib path to PERL5LIB, PERL50PT, and PYTHONPATH as shown in the pic below. I also checked the version of requests as shown below (I saw this suggestion in a past issue, not sure if it's necessary in my case).

Screen Shot 2021-11-12 at 6 16 35 PM

Screen Shot 2021-11-13 at 11 50 55 AM

But the same error still shows up. Could you give me any suggestions on this? Or is there any other tools that can convert the m5nr ids to KEGG KO ids?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions