-
Notifications
You must be signed in to change notification settings - Fork 217
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
improvement to summary with fva #240
Comments
This one shouldn't be hard, we'll just move the
Also easy, and currently only relevant to FVA solutions. I'll pass kwargs from the summary call through to the FVA call.
So yeah, this one we'd need to think about. They summary methods are designed to print out nicely to a terminal window, so I'll usually call them quickly in series to follow material flow through the network after solving w/ pFBA. Triggering a new optimization at each stage would slow this down, but I agree that as shown in #238 using the existing solution can occasionally lead to unexpected behavior. |
I think the third point could be mitigated by redesigning the output format. For instance if the summary output for the FVA case would be something like that: PRODUCING REACTIONS -- Pyruvate
-------------------------------
% FLUX RANGE RXN ID REACTION
40.0% 4 2-8 PYK adp_c + h_c + pep_c --> atp_c + pyr_c
... Here the percentage and shown flux value will come from the presolved solution and FVA just adds a range. When run without FVA the RANGE column would be missing. This would solve #238 and would be clear since the presented flux values are "real" (not the mean of the range) and the percentages can be calculated from them. |
Address points raised in opencobra#240, including adding solver options to summary methods and allowing solvers to be passed explicitly to fva calls.
This all appears fixed with 20d3de8 - recalculating the optimal flux for every call to summary appears heavy and indeed mitigated by new summary output. |
The following improvements would be useful:
The text was updated successfully, but these errors were encountered: