R + PR -> RPo % RNAP promoter binding and opening R + PR <- RPo % RNAP promoter closing and unbinding RPo -> 10P + R + PR % translation of protein and freeing of R and PR P + P -> D % dimerization P + P <- D % dedimerization P -> % protein degradation PR + D -> I % D binds PR and so R can not read I -> PR + D % D unbinds PR
x = [R PR RPo P D I]
Your first task is to write down the associated 6 ordinary differential equations (in the order they are listed in x above). I will give you the first one,
d[R]/dt = -c(1)[R][PR] + c(2)[RPo] + c(3)[RPo]
x0 = [10 1 0 0 0 0] and propensities c = [2 1 4 2 0.5 0.05 .01 .005]
This result is promising, in that the dimer predictions appear to coincide. It would be nice to dig a little deeper and ask how the other reactants are fairing. At the stochastic level we know that each reactant may only take integer jumps and that R, PR, RPo and I in fact jump back and forth between 0 and 1. As taking ensemble means introduces intermediate values we instead compare our ode solution to single runss of Gillespie. The figure below was obtained with the same initial values and propemsities as above.
This figures cries out for explication. It shows early switching in R, PR and RPo, associated with stable early growth in D, despite the high volatility in P. And finally, once D achieves some critical level we see I switch on and stay on.
You will accomplish these two figures by modifying last week's gillrunner to behave like
function mca2way(tfin, tinc, nr, x0, c)
This function will call ode23 which will in turn call your subfunction
function dx = mcaode(t,x,c)
Your work will be graded as follows:
First draft
3 pts for restructuring gillrunner
3 pts for structure of mcaode
Final draft
6 pts for header CONTAINING detailed USAGE
header of mcaode should give full system in detail
6 pts for further comments in code
4 pts for indentation
12 pts for correct mca2way
12 pts for correct mcaode
10 pts for two jpeg plots similar to those above
4 pts for a typed, one paragraph contrast of the
stochastic and deterministic approaches to chemical
kinetics. Take it personally. Which method do
you prefer, and why?