import logging
logging.basicConfig(level="INFO")
from cobra.io import load_model
from cobra.flux_analysis import flux_variability_analysis
model = load_model("iJO1366")
INFO:cobra.core.model:The current solver interface glpk doesn't support setting the optimality tolerance.
Scaling... A: min|aij| = 1.000e+00 max|aij| = 1.000e+00 ratio = 1.000e+00 Problem data seem to be well scaled
%time flux_variability_analysis(model, fraction_of_optimum=0.95, processes=1)
CPU times: user 7.15 s, sys: 119 ms, total: 7.27 s Wall time: 7.55 s
minimum | maximum | |
---|---|---|
DM_4crsol_c | 0.000208 | 0.000219 |
DM_5drib_c | 0.000210 | 0.112258 |
DM_aacald_c | 0.000000 | 0.000000 |
DM_amob_c | 0.000002 | 0.000002 |
DM_mththf_c | 0.000418 | 0.515309 |
... | ... | ... |
ZN2abcpp | 0.000000 | 11.842500 |
ZN2t3pp | 0.000000 | 47.370000 |
ZN2tpp | 0.000000 | 47.370318 |
ZNabcpp | 0.000000 | 9.474064 |
Zn2tex | 0.000318 | 0.000335 |
2583 rows × 2 columns
%time flux_variability_analysis(model, fraction_of_optimum=0.95, processes=4)
CPU times: user 106 ms, sys: 75.7 ms, total: 182 ms Wall time: 4.74 s
minimum | maximum | |
---|---|---|
DM_4crsol_c | 0.000208 | 0.000219 |
DM_5drib_c | 0.000210 | 0.112258 |
DM_aacald_c | 0.000000 | 0.000000 |
DM_amob_c | 0.000002 | 0.000002 |
DM_mththf_c | 0.000418 | 0.515309 |
... | ... | ... |
ZN2abcpp | 0.000000 | 11.842500 |
ZN2t3pp | 0.000000 | 47.370000 |
ZN2tpp | 0.000000 | 47.370318 |
ZNabcpp | 0.000000 | 9.474064 |
Zn2tex | 0.000318 | 0.000335 |
2583 rows × 2 columns