rbatools.metabolite_block
module
Classes
class MetaboliteBlock (ancestors: InformationBlock)
-
Class holding information on the metabolites in the model.
Attributes
Elements
:dict
- Each model-meatbolite is represented by a key. The values, holding information on each metabolite, are dicts with predefined keys: 'ID' : meatbolite ID in model (type str) 'OtherIDs' : identifiers of this metabolite in other namespaces (BiGG, KEGG …) (type dict) 'Name' : Name according to BiGG (type str) 'ReactionsInvolvedWith' : Reactions which produce or consume this metabolite (type list) 'boundary' : Boundary metabolite (type boolean) 'Type' : Type of metabolite (internal exernal or biomass-precursor) (type str) 'Compartment' : Location of meatbolite (type str) 'AssociatedTarget' : Wheter metabolite represents a target 'MassBalance_Constraint' : Id of associated mass-balance constraint.
Methods
def from_files(self, model, Info, MetaboliteAnnotations, sbml)
-
Derive reaction-info from RBA-model.
Input
RBA-model Dataframe, holding BiGG-metabolite information.
Returns
Dictionary with metabolite-info.
def overview(self)
-
Derive statistics on metabolites.
Returns
Dictionary with general numbers on metabolites.