File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed
src/reconstruction/metaboRePort Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change 45
45
DmR = DmR + 1 ;
46
46
elseif ~isempty(find(contains(model.rxns{i },' Sink_' ))) || ~isempty(find(contains(model.rxns{i },' sink_' )))
47
47
SinkR = SinkR + 1 ;
48
- elseif ~isempty(find(contains(model.rxns{i },' biomass' )))
48
+ elseif ~isempty(find(contains(lower( model.rxns{i }) ,' biomass' )))
49
49
% Biomass Reactions SBO:0000629 Presence
50
50
BioR = BioR + 1 ;
51
51
else
95
95
modelProp.Details.SinkRxns = [model .rxns(contains(model .rxns ,' Sink_' ));model .rxns(contains(model .rxns ,' sink_' ))];
96
96
% biomass reactions
97
97
modelProp.BiomassRxns = BioR ;
98
- modelProp.Details.BiomassRxns = model .rxns(contains(model .rxns ,' biomass' ));% exclude EX_biomass?
98
+ modelProp.Details.BiomassRxns = model .rxns(contains(lower( model .rxns ,' biomass' ) ));% exclude EX_biomass?
99
99
100
100
modelProp.MetabolicRxns = MetR ;
101
101
modelProp.Details.MetabolicRxns = MetRxns ' ;
102
102
modelProp.TransportRxns = TransR ;
103
103
modelProp.Details.TransportRxns = TransRxns ' ;
104
104
105
- % reactions without GPR - TODO should be only internal reactions
105
+ % internal reactions without GPR
106
106
RxnsWOGpr = model .rxns(find(cellfun(@isempty ,model .grRules )));
107
-
107
+ External = [modelProp .Details .ExchangeRxns ;modelProp .Details .DemandRxns ;modelProp .Details .SinkRxns ;modelProp .Details .BiomassRxns ];
108
+ RxnsWOGpr = setdiff(RxnsWOGpr ,External );
108
109
modelProp.RxnsWithoutGpr = length(RxnsWOGpr )*100 / modelProp .n ;
109
110
modelProp.Details.RxnsWithoutGpr = RxnsWOGpr ;
110
111
You can’t perform that action at this time.
0 commit comments