wholecell.utils.enzymeKinetics
EnzymeKinetics
Takes in enzyme kinetics data on initialization, and returns dicts of rate estimates when passed metabolite and enzyme concentrations at runtime.
- class wholecell.utils.enzymeKinetics.EnzymeKinetics(reactionRateInfo, kcatsOnly=False, useCustoms=True, moreThanKcat=False)[source]
Bases:
object
Returns rate estimates from kinetic equation information stored in reactionRateInfo.
- allReactionsDict(metaboliteConcentrationsDict, enzymeConcentrationsDict)[source]
Create a dict of dicts from reactionID to constraintIDs for that reaction, to rates for each constraintID.
- checkKnownSubstratesAndEnzymes(metaboliteSMatrixNamesNoCompartment, metaboliteNamesWithConcentrations, enzymeNames, removeUnknowns=False)[source]
- ratesView(reactionIDs, reactionsToConstraintsDict, metaboliteConcentrationsDict, enzymeConcentrationsDict, raiseIfNotFound=False)[source]
- Returns an array of rates with units.
Order taken from reactionIDs, rates to estimate come from reactionsToConstraintsDict. When a rate is not found, raises exception if raiseIfNotFound, else returns default rate. A reaction must be in reactionsToConstraintsDict, or it will get the default value.
- ratesViewConstraints(constraintIDs, metaboliteConcentrationsDict, enzymeConcentrationsDict, raiseIfNotFound=False)[source]
Returns an array of rates with units, in the same order as the constraintIDs iterable.
- ratesViewHighest(reactionIDs, metaboliteConcentrationsDict, enzymeConcentrationsDict, raiseIfNotFound=False)[source]
Returns an array of rates with units, in the same order as the reactionIDs, chosing the minimum estimate when a reactionID has multiple constraintIDs.
- ratesViewLowest(reactionIDs, metaboliteConcentrationsDict, enzymeConcentrationsDict, raiseIfNotFound=False)[source]
Returns an array of rates with units, in the same order as the reactionIDs, chosing the minimum estimate when a reactionID has multiple constraintIDs.