gempipe.interface.medium
Module Contents
Functions
|
Set all the EX_change reactions to (0, 1000). |
|
Set uptake of nutrients. |
|
Set secretion of metabolites. |
|
Define which melecules require a free exchange (-1000, 1000). |
- gempipe.interface.medium.reset_growth_env(model)[source]
Set all the EX_change reactions to (0, 1000).
- Parameters:
model (cobra.Model) – target model.
- gempipe.interface.medium.set_bounded_uptakes(model, uptakes)[source]
Set uptake of nutrients.
Can be expressed as either concentrations [mmol/L] or fluxes [mmol/(h*gDW)], depending on your aims.
- Parameters:
model (cobra.Model) – target model.
secretions (dict) – dictionary keyed by EX_change reaction ID. Expressing values as tuples, the user can provide the standard deviation.
- gempipe.interface.medium.set_bounded_secretions(model, secretions)[source]
Set secretion of metabolites.
Can be expressed as either concentrations [mmol/L] or fluxes [mmol/(h*gDW)], depending on your aims.
- Parameters:
model (cobra.Model) – target model.
secretions (dict) – dictionary keyed by EX_change reaction ID. Expressing values as tuples, the user can provide the standard deviation.