Import excel files in COBRApy

24 views
Skip to first unread message

lingrui

unread,
Apr 1, 2024, 12:39:00 AMApr 1
to cobra pie
Hello.
I would like to know if it is possible to import the model file directly in excel format in cobrapy, and if so, how to do it.
If not, what format should I convert this file to?

Thank you very much.

Moritz Beber

unread,
Apr 6, 2024, 9:21:07 AMApr 6
to cobr...@googlegroups.com
Since there is no standard format for models in Excel, we do not offer this function. Are you able to export your model to SBML?

Otherwise, you can write your own model builder code for your specific Excel file format. I would start with pandas, which makes it convenient to work with spreadsheets.

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/14720566-d1cb-4378-9b09-d64d77fc9e37n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages