- Author:
- Shelley Fong <s.fong@auckland.ac.nz>
- Date:
- 2021-07-26 09:35:46+12:00
- Desc:
- Consolidating imports of units and constants
- Permanent Source URI:
- https://staging.physiomeproject.org/workspace/6cc/rawfile/d69eb72a2774da3c12d4426bf238cd8bb3296b82/MATLAB/kinetic_parameters.m
% PKA module
function [k_kinetic, N_cT, K_C] = kinetic_parameters(M, include_type2_reactions, num_cols)
% Set the kinetic rate constants.
% all reactions are reversible. no closed loops.
% cAMP binds to R subunit one at a time
% CONVERT TO fM
bigNum = 1e3;
fastKineticConstant = bigNum;
smallReverse = fastKineticConstant/(bigNum^2);
u_to_f = 1e9;
% [Ka, Kb, Kd, Kpki]
Km = u_to_f*[9.14, 1.64, 4.375, 2e-4];
N = length(Km);
kim = zeros(1,N);
kip = zeros(1,N);
for i=1:4
kim(i) = fastKineticConstant; % 1/s
kip(i) = kim(i) / (Km(i)*u_to_f);
end
% repeat exct reactions for type I and type II holoenzymes
% No closed loop, so no detailed balance
k_kinetic = [
kip, kip, kim, kim
]';
% CONSTRAINTS
N_cT = zeros(0,size(M,2));
% % Reaction BIND: equal portions of L + derivatives (L == LR) **SMALL_ERROR**
% N_cT(1,num_cols + 1) = -1;
% % N_cT(1,num_cols + 2) = -1; % this must be present, like Mg reaction in SERCA
% N_cT(1,num_cols + 4) = 1;
% Gibbs free energy of L + R binding **MED_ERROR**
if false
N_cT(3,num_cols + 4) = 1; % RL
N_cT(3,num_cols + 1) = -1; % L
N_cT(3,num_cols + 2) = -1; % R
G_0_bind = -45.1872; % kJ/mol
R = 8.314;
T = 310;
K_bind = exp(G_0_bind/(R*T))*10^6;
end
K_C = ones(1,length(N_cT));
return