-
Notifications
You must be signed in to change notification settings - Fork 228
Closed
Labels
Description
I'd like to start a discussion on how to implement management of growth media. I can think of two approaches:
- Add a new method to cobra.Model that takes either a dictionary or a json file with the exchange reaction IDs and lower bound for the reaction. The method updates the exchange reactions in the model as specified in the input.
- Add a new cobra.Media object with methods to add and remove metabolites and set bound for metabolite. Add a new method to cobra.Model that takes a cobra.Media object that updates or adds exchange reactions in the model.
In either approach exchange reactions that are not in the input would have the bounds set to 0.
I also think there should be a way to save media to a file so they can be shared with others.
Thoughts? Other ideas?