|
Algorithm 1 Identify core boundary reactions. |
-
1:
Function CoreBoundary(genomeScaleModel, coreReactionSet, currencyMetaboliteSet):
-
2:
boundaryReactionSet = emptySet()
-
3:
For reaction in coreReactionSet:
-
4:
For reactant in reaction.reactants and not in currencyMetaboliteSet: # reactants includes products if reversible
-
5:
For otherReaction in genomeScaleModel.reactions and not in coreReactionSet:
-
6:
If reactant in otherReaction.products: # products includes reactants if reversible
-
7:
boundaryReactionSet.add(otherReaction)
-
8:
return boundaryReactionSet
|