Skip to main content

Tools for phenotypic characterization of cell behavior

Project description

Official repository moved

Now the official repository for PhenoCellPy is https://github.com/OpenVT/PhenoCellPy

PhenoCellPy

See publication for more information

PhenoCellPy is an open-source python package that defines methods for modeling changes of cell behaviors. It also has pre-defined sequences of behaviors.

Modeling of biological systems requires a degree of model complexity that can be daunting to new and experienced modelers alike. Defining cellular behaviors or states and how one cellular state leads to the next is not trivial. To make the development of new biological models we have created PhenoCellPy. PhenoCellPy defines methods and Python classes that make the definition of sequence of cell behaviors easier. The main class is the Phenotype, which is the container of cell behaviors. Phenotype here can mean the cell cycle, the stages of necrosis, the fact that the cell is alive, the fact that it is dead, etc. The Phenotype is made of one or more Phases, each Phase defines the target volume for the cell and the volume change rates it displays. It also defines which is the next Phase of the Phenotype, what conditions trigger Phase change, if cell division occurs when exiting the Phase, what behaviors occur immediately on Phase entry and just before Phase exit (e.g., changing the target volume). The cell volume dynamics are handled by the Cell Volume class. The cell volume is subdivided among the solid and fluid cytoplasm, solid and fluid nucleus, and a calcified fraction.

By default, the Phase transition can be either stochastic (with a set Phase transition rate) or deterministic (with a set Phase period). The user can also define a custom transition function. One of our pre-built Phenotypes, the Necrotic Standard Model, uses a custom transition function for its first Phase (which represents the osmotic swelling of a necrotic cell). The custom transition function monitors the cell volume and changes from the swelling Phase to the ruptured cell Phase when the cell reaches its rupturing volume. The Phase class can, optionally, check if a cell should exit the Phenotype and enter senescence.

As mentioned, a Phenotype can be any sequence of Phases. For instance, the cell cycle is a Phenotype. The modeler using PhenoCellPy must call the division methods of the modeling framework being used to divide the cell.

PhenoCellPy is intended to be used with other python-based modeling framework, e.g., CompuCell3D, Tissue Forge, as an embedded model. PhenoCellPy is inspired by the phenotype definitions of PhysiCell [1].

[1] A Ghaffarizadeh, R Heiland, SH Friedman, SM Mumenthaler, and P Macklin, PhysiCell: an Open Source Physics-Based Cell Simulator for Multicellular Systems, PLoS Comput. Biol. 14(2): e1005991, 2018. DOI: 10.1371/journal.pcbi.1005991

Requirements

PhenoCellPy only requirements are

  • Python 3 support
  • NumPy
  • SciPy

Installation

PhenoCellPy's v0.0.9-alpha and above are packaged through pip. You can install it using

pip install phenocellpy

The project can be found in PyPi

Conda distribution coming soon

Importing PhenoCellPy

Once the PhenoCellPy package has been installed, PhenoCellPy can be included in your project using the 'import' statement:

import phenocellpy as pcp

How to cite:

Gianlupi, J. F., Sego, T. J., Sluka, J. P., & Glazier, J. A. (2023). PhenoCellPy: A Python package for biological cell behavior modeling. bioRxiv, 2023-04.

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

phenocellpy-0.1.0.tar.gz (45.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

phenocellpy-0.1.0-py3-none-any.whl (35.2 kB view details)

Uploaded Python 3

File details

Details for the file phenocellpy-0.1.0.tar.gz.

File metadata

  • Download URL: phenocellpy-0.1.0.tar.gz
  • Upload date:
  • Size: 45.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.2

File hashes

Hashes for phenocellpy-0.1.0.tar.gz
Algorithm Hash digest
SHA256 f408a60552322674838e1a2332ff97fb5d59f962fdba0c44034d8a37403c1679
MD5 a49fcaf2255943355a7e613e549f277a
BLAKE2b-256 6a605547e55e8a4ddcb829dbb7e46a61b7ef9a4a2ee6656399643a07e29addb4

See more details on using hashes here.

File details

Details for the file phenocellpy-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: phenocellpy-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 35.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.2

File hashes

Hashes for phenocellpy-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 463b897d58bdc04465863cc9cc08ca1b38adfa4dc6d295da74211503eb07d6c1
MD5 4b34b6f84dfb93b8ef79854065931927
BLAKE2b-256 dd4d426b4e4ac2049a6ab68f9d51daa52f8990690bdcfd4af2f5e724055d137a

See more details on using hashes here.

Supported by

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