Python implementation of the twin transcriptional-loop model using a Gillespie algorithm
The code has been tested using Python 3.7
.
The most basic usage consists in running:
bin/twin.py {results_directory}
This will run a simulation with default parameters (lasting {results_directory}
:
- param_var.txt: parameters and variables (and their value) of the simulation
-
mean_properties.txt: values of various quantities of interest (written out every a fixed number of transcripts as specified by
-Net
optional argument):- transcripts_nb: number of transcripts
-
time: real time (
$s$ ) -
prod_rate: production rate (= transcripts_nb/time) (
$s^{-1}$ ) -
mean_prod_time: average time separating two successive productions of a transcript (should be equal to 1/prod_rate) (
$s$ ) -
mean_bind_time: average time separating two successive binding events (
$s$ ) -
mean_ocf_time: average time to form the open complex once the RNAP is bound at the promoter (
$s$ ) -
mean_esc_time: average time to escape the promoter once the open complex is formed (
$s$ ) -
mean_init_time: average time between two successive initiations of elongation (
$s$ ) -
mean_elong_time: average elongation time (
$s$ )
To specificy parameters such as those associated with the promoter (
bin/twin.py -h
To follow the topological properties at the promoter, use the option -promfollow