Skip to main content
. 2018 Jan 4;8(1):3. doi: 10.3390/metabo8010003
Algorithm 3 New Limit Flux to Core algorithm.
  • 1:

    Function LimitFluxToCore(genomeScaleModel, coreReactionSet, currencyMetaboliteSet):

  • 2:

     boundaryReactionSet = CoreBoundary(genomeScaleModel, coreReactionSet, currencyMetaboliteSet)

  • 3:

     genomeScaleModel.FBAobjective = rboundaryReactionSet 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