7.1.1.1.1.1.1. intro_to_wc_modeling.cell_modeling.simulation.multi_algorithm package¶
7.1.1.1.1.1.1.1. Submodules¶
7.1.1.1.1.1.1.2. intro_to_wc_modeling.cell_modeling.simulation.multi_algorithm.analysis module¶
Analysis utility functions
@author Jonathan Karr, karr@mssm.edu @date 3/26/2016
-
intro_to_wc_modeling.cell_modeling.simulation.multi_algorithm.analysis.
get_scale
(units, compartmentId, volume, extracellularVolume)[source]¶ Get the scale for a unit
- Parameters
units (
str
) – unitscompartmentId (
str
) – compartment idvolume (
float
) – volumeextracellularVolume (
float
) – extracellular volume
- Returns
scale
- Return type
float
7.1.1.1.1.1.1.3. intro_to_wc_modeling.cell_modeling.simulation.multi_algorithm.model module¶
Reads models specified in Excel into a Python object
@author Jonathan Karr, karr@mssm.edu @date 3/22/2016
-
class
intro_to_wc_modeling.cell_modeling.simulation.multi_algorithm.model.
Compartment
(id='', name='', initialVolume=None, comments='')[source]¶ Bases:
object
-
class
intro_to_wc_modeling.cell_modeling.simulation.multi_algorithm.model.
Concentration
(compartment='', value=None)[source]¶ Bases:
object
-
class
intro_to_wc_modeling.cell_modeling.simulation.multi_algorithm.model.
ExchangedSpecies
(id='', reactionIndex=None)[source]¶ Bases:
object
-
class
intro_to_wc_modeling.cell_modeling.simulation.multi_algorithm.model.
FbaSubmodel
(*args, **kwargs)[source]¶ Bases:
intro_to_wc_modeling.cell_modeling.simulation.multi_algorithm.model.Submodel
-
class
intro_to_wc_modeling.cell_modeling.simulation.multi_algorithm.model.
Identifier
(namespace='', id='')[source]¶ Bases:
object
-
class
intro_to_wc_modeling.cell_modeling.simulation.multi_algorithm.model.
Model
(submodels=None, compartments=None, species=None, reactions=None, parameters=None, references=None)[source]¶ Bases:
object
-
class
intro_to_wc_modeling.cell_modeling.simulation.multi_algorithm.model.
Parameter
(id='', name='', submodel='', value=None, units='', comments='')[source]¶ Bases:
object
-
class
intro_to_wc_modeling.cell_modeling.simulation.multi_algorithm.model.
RateLaw
(native='')[source]¶ Bases:
object
-
class
intro_to_wc_modeling.cell_modeling.simulation.multi_algorithm.model.
Reaction
(id='', name='', submodel='', reversible=None, participants=[], enzyme='', rateLaw='', vmax=None, km=None, crossRefs=[], comments='')[source]¶ Bases:
object
-
class
intro_to_wc_modeling.cell_modeling.simulation.multi_algorithm.model.
ReactionParticipant
(species='', compartment='', coefficient=None)[source]¶ Bases:
object
-
class
intro_to_wc_modeling.cell_modeling.simulation.multi_algorithm.model.
Reference
(id='', name='', crossRefs=[], comments='')[source]¶ Bases:
object
-
class
intro_to_wc_modeling.cell_modeling.simulation.multi_algorithm.model.
Species
(id='', name='', structure='', empiricalFormula='', molecularWeight=None, charge=None, type='', concentrations=[], crossRefs=[], comments='')[source]¶ Bases:
object
-
class
intro_to_wc_modeling.cell_modeling.simulation.multi_algorithm.model.
SpeciesCompartment
(index=None, species='', compartment='')[source]¶ Bases:
object
-
class
intro_to_wc_modeling.cell_modeling.simulation.multi_algorithm.model.
SsaSubmodel
(*args, **kwargs)[source]¶ Bases:
intro_to_wc_modeling.cell_modeling.simulation.multi_algorithm.model.Submodel
-
class
intro_to_wc_modeling.cell_modeling.simulation.multi_algorithm.model.
Submodel
(id='', name='', reactions=[], species=[])[source]¶ Bases:
object
7.1.1.1.1.1.1.4. intro_to_wc_modeling.cell_modeling.simulation.multi_algorithm.simulation module¶
Simulates metabolism submodel
@author Jonathan Karr, karr@mssm.edu @date 3/24/2016
-
intro_to_wc_modeling.cell_modeling.simulation.multi_algorithm.simulation.
analyzeResults
(mdl, time, volume, growth, speciesCounts, output_directory)[source]¶
-
intro_to_wc_modeling.cell_modeling.simulation.multi_algorithm.simulation.
main
(output_directory='/root/project/intro_to_wc_modeling/cell_modeling/simulation/multi_algorithm/../../../../docs/cell_modeling/simulation/multi_algorithm_simulation')[source]¶ Run simulation and plot results
- Parameters
output_directory (
str
, optional) – directory to save plots- Returns
model
numpy.ndarray
: timenumpy.ndarray
: predicted volume dynamicsnumpy.ndarray
: predicted growth rate dynamicsnumpy.ndarray
: predicted species counts dynamics- Return type
model.Model
7.1.1.1.1.1.1.5. intro_to_wc_modeling.cell_modeling.simulation.multi_algorithm.submodel_simulation module¶
Simulates metabolism submodel
@author Jonathan Karr, karr@mssm.edu @date 3/24/2016
-
intro_to_wc_modeling.cell_modeling.simulation.multi_algorithm.submodel_simulation.
analyzeResults
(mdl, time, volume, growth, speciesCounts, output_directory)[source]¶
-
intro_to_wc_modeling.cell_modeling.simulation.multi_algorithm.submodel_simulation.
main
(output_directory='/root/project/intro_to_wc_modeling/cell_modeling/simulation/multi_algorithm/../../../../docs/cell_modeling/simulation/multi_algorithm_submodel_simulation')[source]¶ Run simulation, plot results, and save plots
- Parameters
output_directory (
str
, optional) – directory to save plots- Returns
model
numpy.ndarray
: timenumpy.ndarray
: predicted volume dynamicsnumpy.ndarray
: predicted growth rate dynamicsnumpy.ndarray
: predicted species counts dynamics- Return type
model.Model
7.1.1.1.1.1.1.6. intro_to_wc_modeling.cell_modeling.simulation.multi_algorithm.util module¶
Utility functions
@author Jonathan Karr, karr@mssm.edu @date 3/22/2016