KGML pathway download
1
0
Entering edit mode
8.4 years ago
guillaume.rbt ★ 1.0k

Hi all,

I would like to download the KGML files from all pathway of Arabidopsis Thaliana. It may be achieved using KEGG API (http://www.kegg.jp/kegg/rest/keggapi.html), but if it is I haven’t figured out how.

If anyone have an idea...

Thanks,

gene • 4.8k views
ADD COMMENT
0
Entering edit mode

Thank you very much Pierre, it works perfectly !

ADD REPLY
4
Entering edit mode
8.4 years ago

something like:

$ curl -s  "http://rest.kegg.jp/list/organism" | grep "Arabidopsis thaliana"
T00041  ath Arabidopsis thaliana (thale cress)  Eukaryotes;Plants;Eudicots;Mustard family


$ curl "http://rest.kegg.jp/list/pathway/T00041" | cut -f 1 | while read A; do  curl -o "${A}.xml" "http://rest.kegg.jp/get/${A}/kgml" ; done
ADD COMMENT
0
Entering edit mode

please what language is this?

ADD REPLY
0
Entering edit mode
ADD REPLY

Login before adding your answer.

Traffic: 2574 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