-
Notifications
You must be signed in to change notification settings - Fork 9
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
inconsistent parsing of subsystems #803
Comments
Hi, good point, this is a problem. Unfortunately I don't see how to fix this for the SBML models (SBML doesn't specify subsystems, maybe there would be a way to parse them from MIRIAM-style annotations or so?). But the .mat format indeed contains the subsystems directly in field Extra TODO: mirror the resulting patch to here: https://github.com/COBREXA/MATFBCModels.jl (we're slowly flipping&reorganizing everything over to the separate github org) Thanks for the report! |
@stelmo btw should we add subsystems to AbstractFBC interface? I recall we talked about that and it might be the case that I killed the idea with some argument that I don't recall anymore 😅 likely about the subsystems not being proper annotations and reactions not being able to have multiple subsystems or so.... 😅 💦 EDIT: my emojis don't seem to work, weird. |
While the subsystem concept does not have the same type of encoding as the compartment, it seems it iss captured in the SBML file via |
A bit of a random idea, have you considered introducing tests to see if models from trusted sourced imported in different formats yield the same StandardModel? |
Ah nice, is there a known model with this? (I don't see it in the ec core).
Well, yes, and it unfortunately failed quite hard. Maybe we should retry now with the AbstractFBC interface in place which defines a much less opinionated (and thus more realizable) standard... |
I actually found the SBO term by looking for |
Uuuh good I see it in YeastGEM now. That sounds very vital, thanks! For the SBML import/export, can we assume that
|
tracking: |
Yes, this is the SBO term for subsystem https://identifiers.org/SBO:0000633
Yeast-GEM has shifted from one-many to one-one when it comes to the reaction-subsystem annotation SysBioChalmers/yeast-GEM#307 |
Minimal code example to reproduce the problem
It looks like for some file formats the subsystem field might not be parsed. I've spotted this from two different models in SBML format, so I checked with the core E.coli.
Expected result
I would expect the same number of subsystems present in the model:
Actual behavior
Only the JSON format returns 95 entries, for the others it's 0:
The text was updated successfully, but these errors were encountered: