Skip to content

Commit 4b7c129

Browse files
committed
fix: change total protein content according to standard human biomass pseudorection
1 parent f43ab02 commit 4b7c129

File tree

2 files changed

+9
-11
lines changed

2 files changed

+9
-11
lines changed

ComplementaryScripts/ExchFluxesComparison_NCI60.m

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -54,11 +54,10 @@
5454
load model.mat
5555
model.b = zeros(length(model.mets),1);
5656
cd ../../../ComplementaryScripts
57-
ecModel_batch = substituteBiomassRxns(ecModel_batch);
58-
model_modified = substituteBiomassRxns(model);
57+
model_modified = model;
5958
%Allow any level of average enzyme saturaion (0 - 100%)
60-
P_index = find(strcmpi(ecModel_batch.rxnNames,'prot_pool_exchange'));
61-
ecModel_batch.ub(P_index) = 0.609*0.5;
59+
P_index = strcmpi(ecModel_batch.rxnNames,'prot_pool_exchange');
60+
ecModel_batch.ub(P_index) = 0.593*0.5;
6261
%Save models
6362
cd ([modelsFolder, '/', folders{i}])
6463
save ('ecModel_batch.mat', 'ecModel_batch')
@@ -80,7 +79,7 @@
8079
[EX_IDs,exc_Indexes] = getExchangeRxns(model_modified);
8180
exchangeMets = {};
8281
for j=1:length(expIDs)-1
83-
metJ = find(strcmpi(model_modified.rxns,expIDs(j)));
82+
metJ = strcmpi(model_modified.rxns,expIDs(j));
8483
exchangeMets = [exchangeMets;...
8584
model_modified.metNames(find(model_modified.S(:,metJ),1))];
8685
end
@@ -95,7 +94,6 @@
9594
exc_ecModel =[];
9695
%Map each exchange rxn to ecModel_batch
9796
for j=1:length(exc_Indexes)
98-
indexes = [];
9997
indexes = rxnMapping(EX_IDs{j},ecModel_batch,true);
10098
if length(indexes)>1
10199
exc_ecModel = [exc_ecModel; ecMsol.x(indexes(1))-ecMsol.x(indexes(2))];
@@ -254,7 +252,7 @@ function plotDataPoints(Xvalues,Yvalues,color,direction)
254252
%model = setBounds(model,GrowthIndx,value,ecFlag,true);
255253
if ecFlag
256254
Prot_biomass = fluxes(end); %Total protein content in biomass [g prot/g DW]
257-
Prot_pool = fluxes(end)*0.5*0.75; %Amount of enzymes available for biochemical reactions
255+
Prot_pool = fluxes(end)*0.5*0.5; %Amount of enzymes available for biochemical reactions
258256
model = rescaleBiomassProtein(model,Prot_pool,ecFlag);
259257
end
260258
%Glucose exchange bound
@@ -324,10 +322,10 @@ function plotDataPoints(Xvalues,Yvalues,color,direction)
324322
%--------------------------------------------------------------------------
325323
function model = rescaleBiomassProtein(model,Ptot,constrainPool)
326324
if nargin <3
327-
gIndex = find(strcmpi(model.rxns,'HumanGrowth'));
328-
protIndex = find(strcmpi(model.metNames,'proteinPool'));
325+
gIndex = find(strcmpi(model.rxns,'biomass_human'));
326+
protIndex = find(strcmpi(model.metNames,'protein_pool_biomass'));
329327
coeff = model.S(protIndex,gIndex); %Extract coeff corresponding to 0.609 g Prot / g Biomass
330-
newCoeff = coeff*Ptot/0.609;
328+
newCoeff = coeff*Ptot/0.593;
331329
%Rescale stoichiometric coefficient of proteinPool in biomass equation
332330
model.S(protIndex,gIndex) = newCoeff;
333331
else

ComplementaryScripts/enhanceGEM_cellLine.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
save(['../../../../models/' cellName '/ecModel.mat'],'ecModel')
4848
cd ../limit_proteins
4949
% Constrain total protein pool
50-
Ptotal = 0.609; %HepG2 total protein content [g prot/gDw]
50+
Ptotal = 0.593; %HepG2 total protein content [g prot/gDw]
5151
protCoverage = 0.5;
5252
sigma = 0.5;
5353
[ecModel_batch,~,~] = constrainEnzymes(ecModel,Ptotal,sigma,protCoverage);

0 commit comments

Comments
 (0)