|
Algorithm 3 New Limit Flux to Core algorithm. |
-
1:
Function LimitFluxToCore(genomeScaleModel, coreReactionSet, currencyMetaboliteSet):
-
2:
boundaryReactionSet = CoreBoundary(genomeScaleModel, coreReactionSet, currencyMetaboliteSet)
-
3:
genomeScaleModel.FBAobjective = r.FluxLimitTowardsCore # FluxLimitTowardsCore is the unidirectional flux components with a product in core metabolism, this step is equivalent to the sum in Equation (1)
-
4:
fluxes = FBAminimization(genomeScaleModel)
-
5:
fluxLimitsTowardsCoreResults = emptySet()
-
6:
for flux in fluxes:
-
7:
if flux.reaction in boundaryReactionSet:
-
8:
fluxLimitsTowardsCoreResults = fluxLimitsTowardsCoreResults.add(flux.reaction: flux.FluxTowardsCore)
-
9:
return fluxLimitsTowardsCoreResults
|