2.1.2.8. enkie.miriam_reaction

Basic description of a reaction.

2.1.2.8.1. Module Contents

class enkie.miriam_reaction.MiriamReaction(miriam_id: str, metabolites: List[enkie.miriam_metabolite.MiriamMetabolite], stoichiometry: numpy.ndarray)[source]

Bases: object

Describes identity and stoichiometry of a reaction.

Parameters:
  • miriam_id (str) – Identifier of the reaction as defined on identifiers.org. Such ID has the format “<prefix>:<id>”, such as “bigg.reaction:PGI” or “kegg.reaction:R00004”. Ideally, only identifiers supported by MetaNetX should be used. Other identifiers will be treated as fictional.

  • metabolites (List[MiriamMetabolite]) – The metabolites participating to the reaction.

  • stoichiometry (np.ndarray) – The stoichiometry of the participating metabolites.

property miriam_id: str[source]

The MIRIAM identifier of the reaction.

property metabolites: List[enkie.miriam_metabolite.MiriamMetabolite][source]

The metabolites involved in the reaction.

property S: numpy.ndarray[source]

The stoichiometric vector of the reaction, defined over the metabolites of the rate law.

property substrates: List[enkie.miriam_metabolite.MiriamMetabolite][source]

The reaction substrates.

property products: List[enkie.miriam_metabolite.MiriamMetabolite][source]

The reaction products.

property num_metabolites: int[source]

The number of metabolites (substrates and products) in this reaction.