Skip to main content

Clonal Variability Simulation

Project description

CloVarS: a clonal variability simulation of single cells

This repository contains the source code accompanying the article "CloVarS: a simulation of clonal variability in single cells" (in preparation).

CloVarS basic workflow

What is CloVarS

The Clonal Variability Simulation (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:

Simulation Family Tree

Installation

CloVarS requires Python version 3.8+ in order to run. You can install CloVarS in your Python environment with the command:

pip install clovars

This adds the clovars command to your Python environment, and also installs the necessary dependencies.

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. Settings files use the TOML syntax, which makes it easy to open and edit them in any text editor.

This folder 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 (coming soon!).

Run CloVarS

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

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

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

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 this folder for examples on how the experimental data should be formatted.

Dependencies

CloVarS depends on the following third-party Python packages:

License

CloVarS is distributed under the MIT license. Read the LICENSE.md file for details.

Cite us

If you use CloVarS, cite us:

Faccioni, JL; Oliveira, MM; Lenz, G. CloVarS: a simulation of clonal variability in single cells. (in preparation).

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

clovars-0.2.2.tar.gz (48.8 kB view hashes)

Uploaded Source

Built Distribution

clovars-0.2.2-py3-none-any.whl (65.3 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page