stochastic simulation of gene expression with site-specific translation rates
Project description
pinetree
A flexible gene expression simulator with codon-specific translation rates.
Requirements
Pinetree requires Python, CMake, and a modern C++ compiler. Python 3 is recommended.
Installation
To install the latest stable version of pinetree from PyPI, run the following:
pip3 install cmake # CMake must be installed before installing pinetree
pip3 install pinetree
The latest development build may be installed from GitHub as follows:
pip3 install cmake
git clone https://github.com/benjaminjack/pinetree.git
cd pinetree
pip3 install .
Documentation
Full documentation is available here.
You may also build the documentation from the source code. Building the documentation requires sphinx.
pinetree/setup.py build_sphinx
Reproducing plots from manuscript
This repository contains scripts to reproduce the simulations and plots from the manuscript that describes Pinetree. R and the R packages cowplot
, readr
, dplyr
, and stringr
are required to generate plots. Run the following to reproduce the plots from the manuscript:
python3 ./examples/three_genes.py
python3 ./examples/three_genes_recoded.py
Rscript plots.R
To simulate a bacteriophage T7 infection, run the following script.
# WARNING: This simulation takes approximately 2-3 hours to complete
python3 ./examples/phage_model.py
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
File details
Details for the file pinetree-0.4.0.tar.gz
.
File metadata
- Download URL: pinetree-0.4.0.tar.gz
- Upload date:
- Size: 548.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.8.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5406c8464be5a6a93fdbec4cca8fd12ac5967efb40fe7bef52ec56b1668af6a4 |
|
MD5 | a6dda8521d649025256d125b813267cd |
|
BLAKE2b-256 | 6f4e9bcf96b34f67feef37f3afb8a5aafe824d37f2ec18c1eab9794f82264255 |