rbatools.compartment_block
module
Classes
class CompartmentBlock (ancestors: InformationBlock)
-
Class holding information on the compartments in the model.
Attributes
Elements
:dict
- Each model-compartment is represented by a key. The values, holding information on each compartment, are dicts with predefined keys: 'ID' : compartment ID in model (type str) 'associatedProteins' : proteins localised to compartment (type list) 'associatedEnzymes' : enzyme located in compartment (type list) 'associatedReactions' : metabolic reactions located in compartment (type list) 'associatedMacromolecules' : other macromolecules than proteins (DNA,RNA), located in compartment (type list) 'Capacity_Constraint' : id of corresponding density constraint.
Methods
def from_files(self, model, Info)
def overview(self)
-
Derive statistics on compartments.
Returns
Dictionary with general numbers on compartments.