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: dict
direction: str
enzymes: List
gene_reaction_rule: str
id: str
layout: ReactionLayoutDict
lower_bound: float
name: str
products: Dict
rhea_id: str
substrates: Dict
upper_bound: float
Initialize self. See help(type(self)) for accurate signature.
ReactionDict
Set data
str
dict
Adds a product to the reaction
Compound
float
Union
bool
- False
Adds a substrate to the reaction
Compound
float
Union
bool
- False
Compute the mass and charge balance of a reaction
dict
Deep copy
Reaction
Set data
str
Any
ReactionPathwayDict
Dict
has products
has substrates
Returns True, if it is the biomass reaction; False otherwise
is empty
Remove a product to the reaction
Compound
Removes a substrate to the reaction
Compound
Set data
dict
Returns a string representation of the reaction
bool
- False
str
Compound
Union
float
- -1000.0
float
- 1000.0
Reaction
Create a biota reaction from a Rhea id or an EC number.
Any
Any
Any
Any
str
- bottom_up
List