Vivarium-chemotaxis
Citation: A Multi-Scale Approach to Modeling E. coli Chemotaxis
The Chemotaxis Master Composite integrates metabolism, transport, transcription, translation, complexation, degradation, proton motive force, flagella activity, and chemoreceptor activity; this repository provides the CHE, FLG, and PMF processes while other processes are imported from vivarium-cell.
How this model is classified mathematically and dynamically.
- Formalism
- Determinism
- Stochastic
- Time dynamics
- Discrete
- Spatial
- Compartmental
- Multiscale
- Yes
Organisms, entities and processes this model represents.
- Organisms
- Infectious agents
- Not recorded
- Health conditions
- Not recorded
- Biological processes
- Molecular entities
- Proteins / genes
- Not recorded
The data this model consumes and produces when executed.
Parameters
| Name | Default | Unit | Meaning |
|---|---|---|---|
| initial_ligand | 5 | millimolar | ligand concentration |
| n_flagella | 4 | Not recorded | Number of flagella assigned to the cell. |
| time_step | 0.01 | second | Simulation update interval. |
| PMF | -140 | millivolt | Initial proton motive force. |
| initial_mass | 1339.0 fg | femtogram | Initial cell mass for the expression composite. |
Initial conditions
| Name | Value | Unit |
|---|---|---|
| receptor_internal_state | n_methyl=2.0; chemoreceptor_activity=1/3; CheR=0.00016 mM; CheB=0.00028 mM; CheB_P=0.0 | Not recorded |
| membrane_ions_and_temperature | internal K=300, Na=10, Cl=10, PROTON=0; external K=5, Na=145, Cl=110, PROTON=0, T=310.15 K | kelvin |
Data inputs
| Name | Format | Required | Purpose |
|---|---|---|---|
| transport_metabolism.csv | CSV | Optional | Reference timeseries used by the transport-metabolism test. |
| transport_metabolism_experiment.csv | CSV | Optional | Reference experiment data shipped with the repository. |
Outputs
| Name | Quantity | Unit | Format |
|---|---|---|---|
| emitted timeseries | concentration | Not recorded | Not recorded |
| simulation plots | spatial position | Not recorded | PNG |
| flat reference timeseries | Flattened timeseries written by the transport-metabolism test. | Not recorded | CSV |
Experiment protocol
Vivarium experiments construct a Process or composite, optionally provide an initial state and ligand timeline, and emit state at a configured step.
- Timestep
- 0.01 {'value': 'second', 'iri': None, 'ontology_label': None, 'ontology': 'uo', 'mapping_confidence': 'none'}
- Observables
- chemoreceptor_activityCheY_Pmotile_statePMFthrusttorque
Runtime environment, dependencies, and compute requirements.
- Language
- Python
- Environment
- pip
Vivarium advances fixed timesteps. Runnable modules were enumerated from __main__ blocks; imported vivarium-cell processes are not separate repository entry points.
Compute requirements
- GPU
- Not required
- Parallelism
- single
Dependencies
- runtime
- vivarium-cell ==0.0.23
- vivarium-core ==0.0.34
- pymunk ==5.6.0
- numpy
- scipy
- matplotlib
Containers
- · mismplatform/vivarium-chemotaxis:v0.0.2
Entry points
python chemotaxis/processes/chemoreceptor_cluster.pyRun the chemoreceptor cluster pulse and exponential-random analyses.
python chemotaxis/processes/coarse_motor.pyRun the coarse motor variable-receptor analysis.
python chemotaxis/processes/flagella_motor.pyRun the stochastic variable-flagella motor simulation.
python chemotaxis/processes/membrane_potential.pyRun the membrane-potential simulation.
python chemotaxis/composites/chemotaxis_flagella.pyRun the variable-flagella or expression chemotaxis composite.
- --variable
- Run the variable-flagella branch; mutually exclusive with --expression.
- --expression
- Run the expression branch; mutually exclusive with --variable.
- --flagella
- Number of flagella.
python chemotaxis/composites/chemotaxis_master.pyRun the Chemotaxis Master Composite or render its topology.
- --topology
- Render the compartment topology instead of running the simulation.
python chemotaxis/composites/chemotaxis_minimal.pyRun the minimal receptor-and-motor chemotaxis composite.
python chemotaxis/composites/flagella_expression.pyRun the flagella expression or expression-metabolism composite.
- --metabolism
- Run the expression-metabolism branch; mutually exclusive with --expression.
- --expression
- Run the expression branch.
python chemotaxis/composites/transport_metabolism.pyRun the transport-metabolism expression composite.
- --shift
- Use the shifted minimal-media condition.
python chemotaxis/experiments/paper_experiments.py <experiment_id>Run a registered chemotaxis paper experiment by figure identifier.
- experiment_id
- Experiment id corresponding to a figure number from the chemotaxis paper.
Tests
pytestpytest
Artifacts stored with this model.
Identifiers and integrity.
- Contacts
- Eran Agmon · maintainer eagmon@stanford.edu
- Ryan Spangler · maintainer ryan.spangler@gmail.com
- Related
- Is derived fromurl:https://www.mdpi.com/1099-4300/22/10/1101
- Is derived from
- External IDs
- url:https://github.com/vivarium-collective/vivarium-chemotaxis