rbatools.reaction_block
module
Classes
class ReactionBlock (ancestors: InformationBlock)
-
Class holding information on the reactions in the model.
Attributes
Elements
:dict
- Each model-enzyme is represented by a key. The values, holding information on each enzyme, are dicts with predefined keys: 'ID' : reaction ID in model (type str) 'Compartment_Machinery' : Localisation of enzyme-subunit, catalysing this reaction. (type list) 'Name' : name according to BiGG (type str) 'OtherIDs' : Other reaction names (eg. BiGG, KEGG) (type list) 'Formula' : Reaction formula as string (type str) 'Reactants' : Which metabolites does this reaction consume of and many (type dict) 'Products' : Which metabolites does this reaction produce of and many (type dict) 'Reversible' : Wheter reaction is reversible (type bool) 'Type' : Type of reaction ('normal' or 'transport') (type str) 'Compartment_Species' : Location of the metabolites involved with this reaction (type list) 'Enzyme' : Enzyme catalysing this reaction (type str) 'Twins' : Isoreactions of this reactions (catalysed by iso-enzymes) (type list) 'AssociatedTarget' : Wheter reaction has a flux target.
Methods
def from_files(self, model, Info, ReactionAnnotations, sbml, metaboliteBlock)
-
Derive reaction-info from RBA-model.
Input
RBA-model Dataframe, holding BiGG-reaction information.
Returns
Dictionary with reaction-info.
def overview(self)
-
Derive statistics on reactions.
Returns
Dictionary with general numbers on reactions.