-
Notifications
You must be signed in to change notification settings - Fork 44
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
Merge Pairs Of Irreversible Transport Reactions #625
Merge Pairs Of Irreversible Transport Reactions #625
Conversation
…ich I apparently forgot to do earlier
Nice! but it would be great if you can also merge the cross reference annotations and rxnNotes in the model yaml file and |
I will start working on that |
…pt reactions in model/reactions.tsv
FYI none of the removed reactions had any rxnNotes, but several had EC codes that the kept reactions didn't have, so I copied over both the references and the EC codes |
@Devlin-Moyer good work just a little concern about the merging: what if it turns out that some import and export reactions of the same metabolites are later associated with different transporters? |
At the moment, we have no particular reason to believe that's the case (as far as I know -- correct me if I'm wrong), and the presence of these paired irreversible opposite reactions creates a bunch of loops of unbounded fluxes in the model, so it seems reasonable to merge them all now and only separate them back out again when we have a specific reason to intentionally introduce a loop into the model |
could you please make a list of these cases |
Every single pair of reactions in #562 forms a loop that can sustain arbitrarily large flux, since, in each pair of reactions, both have identical metabolites, and one has exactly the opposite stoichiometry as the other. I first came across these reactions by getting representative samples of solutions to Human-GEM-derived models and looking for reactions that had average possible fluxes that were suspiciously large (>100 times larger than any bound I had set on an exchange reaction) |
Since there are only two reactions involved in each, they're very self-contained, but I've been spending a lot of time sampling from solution spaces of models, and each reaction with an unbounded flux is a dimension of the solution space that extends infinitely without ever hitting a bound, which makes the whole process slightly more annoying than it needs to be |
ture, there is no evidence
yes indeed
make sense to me, what do you think @feiranl? |
I am ok with the change. As for the unbounded flux, it may be solved by using pFBA @Devlin-Moyer |
look good! |
Main improvements in this PR:
For each pair of reactions mentioned in #562:
I hereby confirm that I have:
develop
as a target branch