# Vivarium-chemotaxis
[Vivarium-chemotaxis](https://github.com/vivarium-collective/vivarium-chemotaxis) is a library for the
multi-scale model of chemotaxis described in: [Agmon, E.; Spangler, R.K. A Multi-Scale Approach to
Modeling E. coli Chemotaxis. Entropy 2020, 22, 1101.](https://www.mdpi.com/1099-4300/22/10/1101)
Supplementary materials can be found [here](doc/AgmonSpangler2020_supplementary.pdf).
Visit [the Vivarium Core documentation](https://vivarium-core.readthedocs.io/) to learn how to use the
core Vivarium engine to create multi-scale computational biology models.
![vivarium-chemotaxis](doc/_static/ecoli_master.png)
The [**Chemotaxis Master Composite**](chemotaxis/composites/chemotaxis_master.py), with processes for metabolism (MTB),
transport (TXP), transcription (TSC), translation (TRL), complexation (CXN), degradation (DEG), proton motive
force (PMF), flagella activity (FLG), and chemoreceptor activity (CHE).
This repository includes the processes for CHE, FLG, and PMF; the other processes are imported from
[vivarium-cell](https://github.com/vivarium-collective/vivarium-cell).
## Setup
Please refer to the Vivarium Core documentation for more complete instructions.
Make a python environment with Python 3 (pyenv is recommended) and install dependencies.
First install numpy:
```
$ pip install numpy
```
Then the remaining requirements:
```
$ pip install -r requirements.txt
```
## Run individual processes and composites
Each process file under `chemotaxis/processes` can run on its own. Some of these have their own command line options.
For example, call the `chemoreptor_cluster` process with:
```
$ python chemotaxis/processes/chemoreptor_cluster.py
```
Composites with multiple integrated processes can also be executed on their own:
```
$ python chemotaxis/composites/chemotaxis_flagella.py
```
## Experiments
All experiments from the paper are available in the file `chemotaxis/experiments/paper_experiments.py`. Run them from
the command line by specifying the corresponding figure number.
```
$ python chemotaxis/experiments/paper_experiments.py 7b
```
## Tests
Tests are performed with pytest. Simply call the following to ensure everything is working properly:
```
$ pytest
```
To run only the fast tests:
```
$ pytest -m 'not slow'
```
## Logging
To print out logging information, run a simulation with:
```
$ LOGLEVEL=INFO python chemotaxis/..
```
没有合适的资源?快使用搜索试试~ 我知道了~
温馨提示
资源分类:Python库 所属语言:Python 资源全名:vivarium-chemotaxis-0.0.2.tar.gz 资源来源:官方 安装方法:https://lanzao.blog.csdn.net/article/details/101784059
资源推荐
资源详情
资源评论
收起资源包目录
vivarium-chemotaxis-0.0.2.tar.gz (25个子文件)
vivarium-chemotaxis-0.0.2
PKG-INFO 3KB
chemotaxis
processes
membrane_potential.py 6KB
coarse_motor.py 8KB
chemoreceptor_cluster.py 11KB
__init__.py 0B
flagella_motor.py 13KB
__init__.py 457B
experiments
control.py 4KB
paper_experiments.py 28KB
__init__.py 0B
composites
transport_metabolism.py 12KB
__init__.py 0B
chemotaxis_minimal.py 3KB
chemotaxis_flagella.py 11KB
flagella_expression.py 18KB
chemotaxis_master.py 10KB
setup.cfg 38B
setup.py 824B
README.md 2KB
vivarium_chemotaxis.egg-info
PKG-INFO 3KB
requires.txt 44B
SOURCES.txt 869B
entry_points.txt 20B
top_level.txt 11B
dependency_links.txt 1B
共 25 条
- 1
资源评论
挣扎的蓝藻
- 粉丝: 14w+
- 资源: 15万+
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功