clovars-0.2.3


توضیحات

Clonal Variability Simulation
ویژگی مقدار
سیستم عامل -
نام فایل clovars-0.2.3
نام clovars
نسخه کتابخانه 0.2.3
نگهدارنده []
ایمیل نگهدارنده []
نویسنده Juliano Faccioni
ایمیل نویسنده julianofaccioni@gmail.com
آدرس صفحه اصلی http://www.ufrgs.br/labsinal/clovars/
آدرس اینترنتی https://pypi.org/project/clovars/
مجوز MIT
# CloVarS: a simulation of single-cell clonal variability This repository contains the source code accompanying the article "CloVarS: a simulation of single-cell clonal variability" (in preparation). <p align="center" width="100%"> <img src="docs/_static/clovars_overview.png" alt="CloVarS basic workflow"> </p> ## What is CloVarS The **Clo**nal **Var**iability **S**imulation (CloVarS) is a cell culture simulation that generates synthetic single-cell lineage data, as normally obtained from time-lapse microscopy experiments. The example below depicts a single colony, starting from a single cell, which grows over 7 days: <p align="center" width="100%"> <img width="70%" src="docs/_static/family_tree_01.gif" alt="Simulation Family Tree"> </p> ## Quickstart - Confirm that you have Python 3.8 or newer installed in your computer - Open a terminal/CMD - Type the command `pip install clovars` to download and install CloVarS - Type `clovars run` to run CloVarS with the default settings - Simulation results are placed in the folder named `output` (placed in the folder where your terminal is at) ## Installation CloVarS requires **Python version 3.8+** in order to run. You can install CloVarS in your Python environment with the command: ```shell pip install clovars ``` **Note**: this is meant to be typed in your system terminal / CMD, **not** in the Python shell. Once installation is complete, the `clovars` command is added yo your system. All necessary [dependencies](#dependencies) are installed automatically. ## How to use CloVarS CloVarS can be executed in the following modes: - `run` - run a simulation with the given settings; - `view` - visualize the results of a previous simulation run (figures, images, videos); - `analyse` - run analytical tools on the result of a previous simulation run; - `fit` - fit experimental data to a variety of curves. You also need to provide the path to the necessary **settings files** as a command-line argument. If no arguments are provided, clovars will use the [default settings files](clovars/default_settings). These files are set up for demonstration purposes, so we encourage you to use your own when designing new simulations to run. ### Simulation Settings The settings files use the [TOML](https://toml.io/en/) syntax, which makes it easy to open and edit them in any text editor. [This folder](examples) has examples for the structure of the settings files. Be sure to pay attention: CloVarS will likely **run into errors** if the setting files have **incorrect or missing values!** For more information on the settings and their meaning, please [read the docs here](http://www.ufrgs.br/labsinal/clovars/docs) (coming soon!). ### Run CloVarS ```shell clovars run path_to/run_settings.toml path_to/colonies.toml ``` where: - `path_to/run_settings.toml` is the path for a TOML file with the run settings; - `path_to/colonies.toml` is the path for a TOML file describing the colonies to simulate. ### View CloVarS results ```shell clovars view path_to/view_settings.toml ``` where: - `path_to/view_settings.toml` is the path for a TOML file with the view settings. ### Analyse CloVarS results ```shell clovars analyse path_to/analysis_settings.toml ``` where: - `path_to/analysis_settings.toml` is the path for a TOML file with the analysis settings. ### Fit experimental data to treatments ```shell clovars fit path_to/fit_settings.toml ``` where: - `path_to/fit_settings.toml` is the path for a TOML file with the fit settings. Please refer to [the examples folder](examples) for examples on how the experimental data should be formatted. ## Troubleshooting / FAQ **When I use the command `pip install clovars`, I get the error message `ERROR: No matching distribution found for clovars`** - Please make sure that you're using Python version 3.8 or newer when trying to `pip install clovars`. You can check your Python version by writing the command `python --version` in the terminal/CMD. ## Dependencies CloVarS depends on the following third-party Python packages: - [ete3](http://etetoolkit.org/) - [matplotlib](https://matplotlib.org/) - [numpy](https://numpy.org/) - [pandas](https://pandas.pydata.org/) - [scipy](https://scipy.org/) - [seaborn](https://seaborn.pydata.org/) ## License CloVarS is distributed under the MIT license. Read the [`LICENSE.md`](LICENSE.md) file for details. ## Cite us If you use CloVarS, cite us: ```text Juliano L. Faccioni, Julieti H. Buss, Karine R. Begnini, Leonardo G. Brunnet, Manuel M. Oliveira and Guido Lenz. CloVarS: a simulation of single-cell clonal variability (in preparation). ```


نیازمندی

مقدار نام
>=3.1.2,<4.0.0 ete3
>=3.5.1,<4.0.0 matplotlib
>=1.22.2,<2.0.0 numpy
>=1.4.1,<2.0.0 pandas
>=0.10.2,<0.11.0 toml
>=1.8.0,<2.0.0 scipy
>=0.11.2,<0.12.0 seaborn


زبان مورد نیاز

مقدار نام
>=3.8,<4.0 Python


نحوه نصب


نصب پکیج whl clovars-0.2.3:

    pip install clovars-0.2.3.whl


نصب پکیج tar.gz clovars-0.2.3:

    pip install clovars-0.2.3.tar.gz