5.1.1.1.3. etfba.core.reaction¶
Difine the Reaction class.
5.1.1.1.3.1. Attributes¶
5.1.1.1.3.2. Classes¶
dict() -> new empty dictionary |
|
5.1.1.1.3.3. Module Contents¶
- class etfba.core.reaction.ReactantDict(*args, **kwargs)[source]¶
Bases:
etfba.io.results.PrettyDictdict() -> new empty dictionary dict(mapping) -> new dictionary initialized from a mapping object’s
(key, value) pairs
- dict(iterable) -> new dictionary initialized as if via:
d = {} for k, v in iterable:
d[k] = v
- dict(**kwargs) -> new dictionary initialized with the name=value pairs
in the keyword argument list. For example: dict(one=1, two=2)
- class etfba.core.reaction.Reaction(rxnid, enzyme_name=None, category=None, *, forward_kcat=None, backward_kcat=None, molecular_weight=None, standard_gibbs_energy=None, standard_gibbs_energy_error=None, reversible=True, is_biomass_formation=False, is_exch_reaction=False, is_h_transport=False, is_h2o_transport=False)[source]¶
- substrates[source]¶
Key is the metabolite ID, value is the Metabolite instances as substrates.
- Type:
- forward_kcat/fkcat
Catalytic rate constant in the forward direction.
- Type:
- backward_kcat/bkcat
Catalytic rate constant in the backward direction .
- Type:
- molecular_weight/mw
Molecular weight of the catalytic enzyme.
- Type:
- standard_gibbs_energy/dgpm
Standard Gibbs energy of the reaction.
- Type:
- standard_gibbs_energy_error/dgpm_error
Standard error of the standard reaction Gibbs energy.
- Type:
- reversible/rev
Reaction reversibility.
- Type:
- add_substrates(coes, kms=None)[source]¶
- Parameters:
coes (dict) – Dictionary mapping substrates to their corresponding stoichiometric coefficients (positive values). All substrates should have a provided stoichiometric coefficient.
kms (dict) – Dictionary mapping substrates to their corresponding Km values. Km values should only be provided as a subset of substrates present in the ‘coes’ dictionary. An empty dict is acceptable if no Km values are available.
- add_products(coes, kms=None)[source]¶
- Parameters:
coes (dict) – Dictionary mapping products to their corresponding stoichiometric coefficients (positive values). All products should have a provided stoichiometric coefficient.
kms (dict) – Dictionary mapping products to their corresponding Km values. Km values should only be provided as a subset of products present in the ‘coes’ dictionary. An empty dict is acceptable if no Km values are available.
- remove_substrates(substrates)[source]¶
- Parameters:
substrates (list of Metabolite) – List of substrates to be removed from the current reaction.