Replies: 2 comments 9 replies
-
Hi @gcxxx ! I understand that you want to use COBRApy to handle and/or make simulations with your model, but I didn't get in which format your model is right now: could you provide more details? Maybe the tool(s) you used to reconstruct it? COBRApy can read models in several pseudo-standard formats as described in the documentation. SBML should be your go-to format to store/exchange/publish models, but it is not designed to be manually edited (you can do it, but it's easy to make mistakes). Most of the tools you can use to build a metabolic model have a built-in SBML export. Personally, I like MetExplore to design new models from scratch and make some basic simulations, but other tools exist. COBRApy can also be used to build a model from a non-standard format (and eventually export it to SBML). This would require some Python knowledge to extract data from the non-standard format and instantiate the right objects as described in the documentation. If you go this way, you may be interested in Reaction.build_reaction_from_string that reads a string such as Let me note here that designing from scratch a metabolic model is not so common as most often you would either propagate reaction assignation from genomic and homology data (see MetaNetX, ModelSEED, and apps from KBase among others), or build onto a pre-existing published model close to your organism of interest (here again, several model repositories exist, but BiGG is maybe the most specialized). Does that answers your question? |
Beta Was this translation helpful? Give feedback.
-
@bdelepine First, thank you again for your answer! Besides,not all metabolites in my model are balanced, some of them are either formed or consumed.(ie NAD,FAD,ATP,GTP etc),how to handle them? They should not be one of the metabolites in the metabolite-reaction matrix, is that right? |
Beta Was this translation helpful? Give feedback.
-
Hi everyone:
I have designed a middle size model of my own(about 100 reactions and 70 metabolites) and I have written all chemical reaction with stoichiometric formula.My question is how to translate the model into the format python can recognize? (I know something about sbml,but I am not familiar with that)
Beta Was this translation helpful? Give feedback.
All reactions