SBRG / cobrame

A COBRApy extension for genome-scale models of metabolism and expression (ME-models)
Other
34 stars 17 forks source link

[question] steps to add a new gene + product #16

Closed cdiener closed 7 years ago

cdiener commented 7 years ago

Hi Colton,

could you give me a short intro what would be required to add a new gene and its product to a cobrame model (for instance the E. coli ME model). Let's say I want to add a single gene with a known promoter (for instance an additional auxotrophy) and model the expression of its product (an ezyme) and maybe add a new reaction catalyzed by that product/enzyme. What steps would be required for that?

Thanks a lot!

coltonlloyd commented 7 years ago

Hi Christian,

I'm working right now on an update to the documentation (cobrame.readthedocs.io) that will be associated with a new version release as well (currently in the devel branch). This will more thoroughly walk through how to do the things described in your question and should be up by the end of the week.

Until then, I created a couple of gists that give an example of adding a new enzymatic function to the model. One of them adds a reaction the long way by creating each ProcessData and Reaction individually. The second gist adds the same reactions using a couple utility functions found in cobrame.util.building.py

Feel free to let me know if you have any other questions!

cdiener commented 7 years ago

Awesome, thanks!