5.1.1.1.1. etfba.core.metabolite¶
Difine the Metabolite class.
5.1.1.1.1.1. Classes¶
Make a singleton metaclass. |
|
Metabolite instances created with identical IDs, names, and all other attributes |
5.1.1.1.1.2. Module Contents¶
- class etfba.core.metabolite.Singleton(name, bases, attrs)[source]¶
Bases:
typeMake a singleton metaclass.
- class etfba.core.metabolite.Metabolite(metabid, name=None, compartment=None, *, is_h=False, is_h2o=False)[source]¶
Metabolite instances created with identical IDs, names, and all other attributes are treated as a singular instance.
- kms[source]¶
Key is the reaction ID where the metabolite is involved, value is the corresponding Km value.
- Type:
- coes[source]¶
Key is the reaction ID where the metabolite is involved, value is the corresponding stoichiometric coefficient in the reaction. Negative for substrates and positive for products.
- Type:
- coe[source]¶
Stoichiometric coefficient of the metabolite in the host reaction.
- Type:
positive float