please what language is this?
• 0 views
•
link
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,
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
Log in to answer this question.
Thank you very much Pierre, it works perfectly !