-
Notifications
You must be signed in to change notification settings - Fork 30
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Mass balance not calculated, charge balance not calculated, annotations not detected #612
Comments
So there are a couple of things at play. AnnotationThis is an issue with cobrapy. Both metabolite and reaction annotations turn up empty. This is a problem with the parser.
BalancesIf you look at charges, the glucose charge of
The metabolite formulae are parsed correctly but the reactions are actually mass unbalanced:
Again this is a problem of the parser that wrongly parses the reactions. I think the problem here is that cobrapy is not yet compatible with SBML level 3 version 2. |
So it is my own issue somehow. We have to fix the SBML parser in cobrapy. This will most likely also fix this issue.
Same for other reaction, where hydron, water and hydrogenphosphate are dropped from reaction equation. |
What tool are you using to generate the model? Directly via libsbml? |
Yes, model is directly written with libsbml.
Model is completely valid, no errors or warnings. I could imagine that the
current cobrapy SBML parser is dropping constant boundarySpecies from the
reaction equations.
…On Thu, Feb 14, 2019 at 9:30 AM Moritz E. Beber ***@***.***> wrote:
What tool are you using to generate the model? Directly via libsbml?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#612 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AA29ugs3WtYPqKtVdaHRsyyIoaHBnrfyks5vNR6LgaJpZM4a550h>
.
--
Matthias König, PhD.
Junior Group Leader LiSyM - Systems Medicine of the Liver
Humboldt Universität zu Berlin, Institute of Biology, Institute for
Theoretical Biology
https://livermetabolism.com
konigmatt@googlemail.com
https://twitter.com/konigmatt
https://github.com/matthiaskoenig
Tel: +49 30 2093 98435
|
Actually, that has always been the case yes. I didn't pay attention to that. |
I'll close this issue in favor of the one on cobrapy. Let's find a solution for this soon 😉 |
Just for anybody running in the same issues. This is solved in |
Problem description
With the minimal example attached the model report gives very incorrect results. All species are annotated to
chebi
andkegg.compound
; reactions are annotated to Uniprot. Everything has SBO terms. Nothing of this is detected in the report.In addition mass and charge balance should exist for all reactions but are not reported.
Please explain:
memote report snapshot tiny_example_8.xml
Code Sample
Model and results are attached
results.zip
Context
Please run the following code and paste the output inside the details
block.
System Information
OS Linux
OS-release 4.15.0-45-generic
Python 3.5.2
Package Versions
Jinja2 2.10
click 6.7
click-configfile 0.2.3
click-log 0.3.2
cobra 0.14.2
cookiecutter 1.6.0
depinfo 1.5.0
equilibrator-api 0.1.26
future 0.17.1
gitpython 2.1.11
goodtables 1.0.0
importlib-resources 1.0.2
lxml 4.3.1
memote 0.9.3
numpydoc 0.8.0
pandas 0.23.4
pip 19.0.2
pygithub 1.43.5
pylru 1.1.0
pytest 4.2.1
python-libsbml 5.17.0
requests 2.21.0
ruamel.yaml 0.15.88
setuptools 40.8.0
six 1.12.0
sqlalchemy 1.2.17
sympy 1.3
travis-encrypt 1.1.2
travispy 0.3.5
wheel 0.33.0
The text was updated successfully, but these errors were encountered: