-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
25 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
# # Enzyme constrained models | ||
|
||
using COBREXA | ||
|
||
# Here we will construct an enzyme constrained variant of the *E. coli* "core" | ||
# model. We will need the model, which we can download if it is not already present. | ||
|
||
import Downloads: download | ||
|
||
!isfile("e_coli_core.json") && | ||
download("http://bigg.ucsd.edu/static/models/e_coli_core.json", "e_coli_core.json") | ||
|
||
# Additionally to COBREXA and the model format package, we will need a solver | ||
# -- let's use Tulip here: | ||
|
||
import JSONFBCModels | ||
import Tulip | ||
|
||
model = load_model("e_coli_core.json") | ||
|
||
# Enzyme constrained models require parameters that are usually not used by | ||
# conventional constraint based models. These include reaction specific turnover | ||
# numbers, molar masses of enzymes, and capacity bounds. | ||
|
||
import AbstractFBCModels as A |