-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathriboalloc_example.m
More file actions
executable file
·28 lines (25 loc) · 1.34 KB
/
riboalloc_example.m
File metadata and controls
executable file
·28 lines (25 loc) · 1.34 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
%--------------------------------------------------------------------------
% Author: Thomas E. Gorochowski
% Updated: 19th August 2015
% License: GNU GPLv3 license
%--------------------------------------------------------------------------
% Model parameters
R_pool = 26300.0; % http://bionumbers.hms.harvard.edu/bionumber.aspx?&id=102015&ver=9&trm=ribosomes%20e.%20coli
a_e = 0.5/R_pool; % ~0.5 inits/sec (5 to 58 init a min) based on R_pool
a_h = 0.5/R_pool; % ~0.5 inits/sec (5 to 58 init a min) based on R_pool
N_e = 1380.0*3; % http://bionumbers.hms.harvard.edu/bionumber.aspx?&id=100064&ver=9&trm=number%20of%20transcripts%20e.%20coli
% ~3 genes per operon http://gbe.oxfordjournals.org/content/5/11/2242.full
N_h = 100.0; % Steady-state mRNA count (this is varied)
t_e = 17.0; % Average 340aa gene ~ 20 aa/sec
t_h = 17.0; % Average 340aa gene ~ 20 aa/sec
s_h = 340/9; % Average 340 codons, ribosome ~9 codons footprint
t_end = 10*60; % Time to run simulation (must make sure sufficent to reach steady-state)
% Run the model
sol = riboalloc(R_pool, a_e, a_h, N_e, 100.0, t_e, t_h, s_h, t_end);
% Plot the solution
figure;
plot(sol.x,sol.y);
title('RiboAlloc DDE Model');
xlabel('time t');
ylabel('solution y');
legend('R_{e}','R_{h}','Location', 'NorthWest');