Patient-Specific Modeling in Python
Project description
Pasmopy – Patient-Specific Modeling in Python
Pasmopy is a scalable toolkit to identify prognostic factors for cancers based on intracellular signaling dynamics generated from personalized kinetic models. It is compatible with biomass and offers the following features:
- Construction of mechanistic models from text
- Personalization of the model using transcriptome data
- Prediction of patient outcome based on in silico signaling dynamics
- Sensitivity analysis for prediction of potential drug targets
Installation
The latest stable release (and required dependencies) can be installed from PyPI:
$ pip install pasmopy
Pasmopy requires Python 3.7+ to run.
Example
Building mathematical models of biochemical systems from text
This example shows you how to build a simple Michaelis-Menten two-step enzyme catalysis model with Pasmopy.
E + S ⇄ ES → E + P
An enzyme, E, binding to a substrate, S, to form a complex, ES, which in turn releases a product, P, regenerating the original enzyme.
-
Prepare a text file describing the biochemical reactions (e.g.,
michaelis_menten.txt
)E + S ⇄ ES | kf=0.003, kr=0.001 | E=100, S=50 ES → E + P | kf=0.002 @obs Substrate: u[S] @obs E_free: u[E] @obs E_total: u[E] + u[ES] @obs Product: u[P] @obs Complex: u[ES] @sim tspan: [0, 100]
-
Convert the text into an executable model
$ python
>>> from pasmopy import Text2Model >>> description = Text2Model("michaelis_menten.txt") >>> description.convert()
-
Run simulation
>>> from pasmopy import Model, run_simulation >>> import michaelis_menten >>> model = Model(michaelis_menten.__package__).create() >>> run_simulation(model)
For more examples, please refer to the Documentation.
Personalized signaling models for cancer patient stratification
Using Pasmopy, we built a mechanistic model of ErbB receptor signaling network, trained with protein quantification data obtained from cultured cell lines, and performed in silico simulation of the pathway activities on 377 breast cancer patients using The Cancer Genome Atlas (TCGA) transcriptome datasets. All code for model construction, patient-specific simulations, and model-based stratification can be found here: https://github.com/pasmopy/breast_cancer.
Reference
- Imoto, H., Yamashiro, S. & Okada, M. A text-based computational framework for patient -specific modeling for classification of cancers. iScience 25, 103944 (2022). https://doi.org/10.1016/j.isci.2022.103944
Author
License
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file pasmopy-0.2.2.tar.gz
.
File metadata
- Download URL: pasmopy-0.2.2.tar.gz
- Upload date:
- Size: 39.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.0 CPython/3.10.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3063b286005978e284f4c4078d113ae926cce187cc079edc5151c553f325fbf4 |
|
MD5 | b74d1e05e9d32ab31c9d5eb2dccf0fad |
|
BLAKE2b-256 | 6ca8b9016ed68503490901b94342cad9aa35e75548e4c008d899ebb437012199 |
File details
Details for the file pasmopy-0.2.2-py3-none-any.whl
.
File metadata
- Download URL: pasmopy-0.2.2-py3-none-any.whl
- Upload date:
- Size: 43.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.0 CPython/3.10.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | cb4b0f7c19ffb06ac14cb2cd4e5444452d4bcbc1d7bb93bcf7daf41466170f93 |
|
MD5 | d9de40cb1592afb4f8634970cc8b472c |
|
BLAKE2b-256 | 27d3e6ae1b7412b5a20b927b4c017e8a5a530fed8575b455f7385e231e5a7c9a |