This is a test version of Biostars. For the public version, visit https://www.biostars.org.
How can I get all pathways for a given EC number in KEGG?

Hi, I am a student of bioinformatics and I'm trying to get all the pathways available for a given EC Number in KEGG by KEGG API and build a URL to automate my work (I am developing a sort of visualization tool). It's is possible? I read the documentation and tried for a while but without success.

Example: For EC: 6.3.4.2 (http://www.genome.jp/dbget-bin/www_bget?ec:6.3.4.2) I have 2 pathways (ec00240, ec01100).

So, I wish to build these URLs, but I need first the pathways IDs

http://www.genome.jp/kegg-bin/show_pathway?ec00240+6.3.4.2

http://www.genome.jp/kegg-bin/show_pathway?ec01100+6.3.4.2

I am sorry for my naivety, but this is possible? There's a way to get the pathways for a given EC number?

Thanks for your time :)

analysis ec pathways kegg api

1 answer

curl "http://rest.kegg.jp/link/pathway/ec" > ec_pathway.map

and then use awk or grep or equivalent..

Log in to answer this question.