Reaction
Class that represents a reaction of a network.
Networks' reactions are proxy of biota reaction (i.e. Rhea compounds). They a used to build reconstructed digital twins.
:property id: The id of the reaction
:type id: str
:property name: The name of the reaction
:type name: str
:property direction: The direction of the reaction. Bidirectional (B), Left direction (L), Righ direction (R)
:type direction: str
:property lower_bound: The lower bound of the reaction flux (metabolic flux)
:type lower_bound: float
:property upper_bound: The upper bound of the reaction flux (metabolic flux)
:type upper_bound: float
:property rhea_id: The corresponding Rhea of the reaction
:type rhea_id: str
:property enzymes: The details on the enzymes that regulates the reaction
:type enzymes: list[dict]
:type gene_reaction_rule: 'str'
:property gene_reaction_rule: The gene reaction rule of the reaction
data: dictdirection: strenzymes: Listgene_reaction_rule: strid: strlayout: ReactionLayoutDictlower_bound: floatname: strproducts: Dictrhea_id: strsubstrates: Dictupper_bound: floatInitialize self. See help(type(self)) for accurate signature.
ReactionDictSet data
strdictAdds a product to the reaction
CompoundfloatUnionbool - FalseAdds a substrate to the reaction
CompoundfloatUnionbool - FalseCompute the mass and charge balance of a reaction
dictDeep copy
ReactionSet data
strAnyReactionPathwayDictDicthas products
has substrates
Returns True, if it is the biomass reaction; False otherwise
is empty
Remove a product to the reaction
CompoundRemoves a substrate to the reaction
CompoundSet data
dictReturns a string representation of the reaction
bool - FalsestrCompoundUnionfloat - -1000.0float - 1000.0ReactionCreate a biota reaction from a Rhea id or an EC number.
AnyAnyAnyAnystr - bottom_upList