You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to create a cobra model using sample SBML files downloaded from KEGG converter. The io method read_sbml_model is able to generate models from these files, but does not retain the reversibility attribute of reactions, instead setting all reactions as reversible because (I assume) upper and lower flux bounds are missing from the reaction declaration (SBML files not in FBC format). Is there an easy way to get around this? I could perhaps use the exporter to write back to SBML then edit reversibility and bounds information using the original SBMLs as reference, but would like to keep this rather messy solution as a last resort.
As an example, the XML header of an SBML from KEGG converter looks like:
Also not sure whether this is a general problem for SBML files not in FBC format, but can not find any mention within the issues list. I am by no means an SBML wizard, so please forgive me if I have missed something obvious! Thanks
The text was updated successfully, but these errors were encountered:
@davidtourigny This is indeed an issue. Yes, we are only relying on bound information for now. I wanted to do a round of SBML bugfixes in the next days and will fix this issue in the process.
Basically, there should be minimal information loss in a round trip. Losing reversibility information is not an option. Thanks for the report.
Hi @matthiaskoenig by no means an effort to push you, but I was wondering whether it has been possible to make any progress on this issue or if it appears more complicated than anticipated? Please let me know if I can do anything to help out. Thanks!
Hello
I am trying to create a cobra model using sample SBML files downloaded from KEGG converter. The
io
methodread_sbml_model
is able to generate models from these files, but does not retain thereversibility
attribute of reactions, instead setting all reactions as reversible because (I assume) upper and lower flux bounds are missing from the reaction declaration (SBML files not in FBC format). Is there an easy way to get around this? I could perhaps use the exporter to write back to SBML then edit reversibility and bounds information using the original SBMLs as reference, but would like to keep this rather messy solution as a last resort.As an example, the XML header of an SBML from KEGG converter looks like:
and a reaction is defined as follows:
Also not sure whether this is a general problem for SBML files not in FBC format, but can not find any mention within the issues list. I am by no means an SBML wizard, so please forgive me if I have missed something obvious! Thanks
The text was updated successfully, but these errors were encountered: