-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdefineHumanMediaDMEM.m
More file actions
65 lines (63 loc) · 1.48 KB
/
defineHumanMediaDMEM.m
File metadata and controls
65 lines (63 loc) · 1.48 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
function[model] = defineHumanMediaDMEM(model,flag)
amino_idxes = [
% Amino acids
165 % L-Arginine
1089 % L-Cystine
1372 % L-Glutamine
2510 % Glycine
3719 % L-Histidine
2655 % L-Isoleucine
889 % L-Leucine
2721 % L-Lysine
2978 % L-Methionine
997 % L-Phenylalanine
1422 % L-Serine
2363 % L-Threonine
1993 % L-Tryptophan
3206 % L-Tyrosine
2763 % L-Valine
]';
vitamin_idxes = [
% Vitamins
1156 % Biotin
662 % Choline
3471 % Pantothenate
2228 % Folate
110 % myo-Inositol
1457 % Nicotinamide
1676 % Pyridoxal
3385 % Riboflavin
420 % Thiamine
% B12 (not in model)
]';
mineral_idxes = [
% Minerals
3165 % Calcium
2039 % Iron
% Magnesium (not in model)
1210 % Potassium
3670 % Sodium
163 % Chloride
1943 % Phosphate
% Sulfate
%zinc
]';
glc_idx = 968; % Glucose
o2_idx = 3446; % Oxygen
gln_idx = 1372; % Glutamine
pyr_idx = 3125; %Pyruvate
if flag
ex_rxns = strmatch('EX_',model.rxns);
model.lb(ex_rxns) = 0;
model.lb(amino_idxes) = -0.05;
model.lb(vitamin_idxes) = -0.005;
model.lb(mineral_idxes) = -5;
model.lb(glc_idx) = -5;
model.lb(gln_idx) = -5;
model.lb(o2_idx) = -100;
model.lb(pyr_idx) = -0.5;
end
model.rowlb = zeros(length(model.mets),1);
model.rowub = zeros(length(model.mets),1);
model.int_vars = zeros(length(model.rxns),1);
model.c(3745) = 1;