Coder Social home page Coder Social logo

tommakesthings / gillespie-mrna-simulator Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 16.15 MB

An mRNA reaction scheme simulator using the Doob-Gillespie algorithm in R

Home Page: https://tommakesthings.github.io/Gillespie-mRNA-Simulator/

R 1.40% HTML 98.60%
bioinformatics gillespie-algorithm molecular-simulation systems-biology dual-reporter

gillespie-mrna-simulator's Introduction

Gillespie mRNA Simulator

Dual Reporter Method

The following reaction scheme models a situation in which a modified gene produces two mRNAs which stochastically transcribe different reporter proteins, such as GFP and CFP, independently of one another forming the basis of a dual reporter method. The system features feedback from the mRNA given by its production rate being a function $f(x_{1})$.

$\text{Transcription: } \text{ } x_{1} \xrightarrow[]{f(x_{1})} x_{1} + 1$

$\text{Translation of } x_{2} \text{: } \text{ } x_{2} \xrightarrow[]{\lambda_{2} x_{1}} x_{2} + 1$

$\text{Translation of } x_{3} \text{: } x_{3} \xrightarrow[]{\lambda_{2} x_{1}} x_{3} + 1$

$\text{mRNA degradation: } \text{ } x_{1} \xrightarrow[]{\beta_{1} x_{1}} x_{1} - 1$

$\text{Degradation of } x_{2} \text{: } x_{2} \xrightarrow[]{\beta_{2} x_{2}} x_{2} - 1$

$\text{Degradation of } x_{3} \text{: } x_{3} \xrightarrow[]{\beta_{2} x_{3}} x_{3} - 1$

Gillespie Algorithm

The Gillespie algorithm was implemented in R and run to simulate two situations with the following functions:

  1. $f(x_{1}) = \lambda_{1}$
    • Whereby mRNA is transcribed at a constant rate
  2. $f(x_{1}) = \lambda_{1} \frac{K}{K + x_{1}}$
    • Whereby mRNA self-repressive as its transcription is inversly proportional to its own concentration $(x_{1})$ and a rate constant $K$

For both functions, rate constants were set with $\beta_{1} = \lambda_{2} = 1$ and $\beta_{2} = 0.1$. To ensure that $\left\langle x_{2} \right\rangle \simeq 20$, $\lambda_{1}$ and $K$ were determined below for functions (a) and (b). These were calculated using the principal that at stationarity, $\left\langle R^{+} \right\rangle = \left\langle R^{-} \right\rangle$.

gillespie-mrna-simulator's People

Contributors

tommakesthings avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.