rbatools.macromolecule_block
module
Classes
class MacromoleculeBlock (ancestors: InformationBlock)
-
Class holding information on the macromolecules, other than proteins in the model.
Attributes
Elements
:dict
- Each model-macromolecule is represented by a key. The values, holding information on each macromolecule, are dicts with predefined keys: 'ID' : macromolecule ID in model (type str). 'ProtoID' : location independent macromolecule ID in model (type str). Equals ID without compartment-specific ending. 'Type' : DNA or RNA (type str) 'Compartment' : Location of the macromolecule (type str) 'Composition' : Which building-blocs the macromolecule is composed of and what is the stoichiometry (type dict) 'ProcessRequirements' : Which processes the macromolecule requires for synthesis and maintenance and how much (type dict) 'SupportsProcess' : Process-machineries, this macromolecule is a subunit of (type list) 'AssociatedTarget' : Target associated with macromolecule (type str)
Methods
def from_files(self, model)
-
Derive reaction-info from RBA-model.
Input
RBA-model Dataframe, holding uniprot-file information. Dataframe, holding ID-map information.
Returns
Dictionary with macromolecule-info.
def overview(self)
-
Derive statistics on macromolecules.
Returns
Dictionary with general numbers on macromolecules.