json cobra specification

35 views
Skip to first unread message

ronan.mt...@gmail.com

unread,
Oct 20, 2022, 12:39:58 PM10/20/22
to cobra pie
Hi All,
I'd like to export metabolic networks in json format to explore connecting escher with the cobra toolbox. Do any of yee know of a document that gives a specification of a metabolic network in json format, ideally with examples?
Regards,
Ronan

Moritz Beber

unread,
Oct 20, 2022, 4:27:42 PM10/20/22
to cobr...@googlegroups.com
Hi Ronan,

There is a JSON schema that details the structure of a metabolic model. No claim to perfection but you can find the current version here https://github.com/opencobra/cobrapy/blob/devel/src/cobra/io/schema_v1.json

As for examples, you can load any model of your choosing in cobrapy and store it using save_json_model https://cobrapy.readthedocs.io/en/latest/autoapi/cobra/io/json/index.html#cobra.io.json.save_json_model

Best,
Moritz
--
You received this message because you are subscribed to the Google Groups "cobra pie" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cobra-pie+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/cobra-pie/a37c7415-9d54-4644-9ba9-65f7976b822en%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages