Convert KEGG KGML file to JSON format
1
0
Entering edit mode
7.2 years ago
mia ▴ 70

Hi,

I am wondering is anyone knows of a tool that will convert KEGG KGML pathway file to JSON format? Any help would be greatly appreciated.

Thanks

KGML KEGG • 2.8k views
ADD COMMENT
1
Entering edit mode
7.2 years ago

1) use togows

http://togows.org/entry/kegg-pathway/eco00020.json

2 ) use a XSLT transformation.

I'm lazy, I don't have processed all the element/nodes. Futhermore, A text should be escaped if if contains a double quote. .e.g: https://stackoverflow.com/questions/14217025

ADD COMMENT
0
Entering edit mode

Pierre, I really appreciate your help. Apologies, I should have been more specific. I would like to convert a KGML file, example provided in the link (https://drive.google.com/file/d/0B4c_nAf77KoUZVhQcEFBdUNDN1E/view?usp=sharing) to JSON format similar to this file (https://drive.google.com/file/d/0B4c_nAf77KoUdk5yeHRWcnItU2M/view?usp=sharing). Essentially, I would like to put the converted JSON file into Escher.

ADD REPLY
0
Entering edit mode

so the solution XML->JSON is xslt.

ADD REPLY

Login before adding your answer.

Traffic: 2521 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6