2.1.2.11. enkie.reaction

Basic description of a reaction which is part of a metabolic model.

2.1.2.11.1. Module Contents

class enkie.reaction.Reaction(rid: str, miriam_id: str, metabolites: List[enkie.metabolite.Metabolite], stoichiometry: numpy.ndarray)[source]

Bases: enkie.miriam_reaction.MiriamReaction

A reaction in a metabolic model.

Parameters:
  • rid (str) – Unique identifier of the reaction as defined in the model.

  • 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 id: str[source]

The unique identifier of the reaction.

property metabolite_ids: List[str][source]

The identifiers of the metabolites participating to the reaction.