One-Site Association and Dissociation with Mass Transport Limitation
This notebook simulates one-site binding traces under mass transport limitation and plots association+dissociation traces together.
The model assumes the thin layer next to the surface settles instantly (Svitel et al. 2007, Eq. 8, https://doi.org/10.1529/biophysj.106.094615):
dS/dt = (kon·c0·(Smax − S) − koff·S) / (1 + kon·(Smax − S)/ktr)
with c0 = 0 during dissociation.
[1]:
import numpy as np
import plotly.graph_objects as go
from pykingenie.utils.signal_surface import (
one_site_association_analytical,
one_site_dissociation_analytical,
solve_ode_one_site_mass_transport_association,
solve_ode_one_site_mass_transport_dissociation,
)
from pykingenie.utils.plotting import plot_traces
from pykingenie.utils.palettes import VIRIDIS
from notebook_helpers import show_plotly_static
Parameters
Kd: equilibrium dissociation constant (μM)koff: dissociation rate constant (1/s)ktr: lumped mass transport coefficient (response per μM per second). It combines the transport rate with the response per bound analyte, so it scales with the response units.smax: maximum response
Ligand concentrations are log-spaced and traces use a Viridis palette.
[2]:
Kd = 0.125
koff = 0.005
ktr = 0.02
smax = 5.0
concentrations = np.logspace(-2, 1, 6)
t_assoc = np.linspace(0, 300, 400)
t_disso = np.linspace(0, 300, 400)
colors = [VIRIDIS[int(i)] for i in np.linspace(0, len(VIRIDIS) - 1, len(concentrations))]
[3]:
combined_xs, combined_ys, legends = [], [], []
for conc in concentrations:
assoc = solve_ode_one_site_mass_transport_association(
t=t_assoc - t_assoc[0],
s1_0=0.0,
analyte_conc=conc,
K_d=Kd,
k_off=koff,
k_tr=ktr,
s_max=smax,
)
disso = solve_ode_one_site_mass_transport_dissociation(
t=t_disso,
s1_0=assoc[-1],
K_d=Kd,
k_off=koff,
k_tr=ktr,
s_max=smax,
)
combined_xs.append([t_assoc, t_disso + t_assoc[-1]])
combined_ys.append([assoc, disso])
legends.append(f"{conc:.3g} μM")
show = [True] * len(concentrations)
[4]:
fig = plot_traces(
xs=combined_xs,
ys=combined_ys,
legends=legends,
colors=colors,
show=show,
marker_size=1,
line_width=2,
)
fig.update_layout(
title={"text": "One-Site Mass-Transport Limited Association + Dissociation", "font": {"size": 32}},
xaxis_title="Time (s)",
yaxis_title="Response",
font={"size": 20},
legend={"font": {"size": 18}},
)
fig.update_xaxes(title_font={"size": 24}, tickfont={"size": 18})
fig.update_yaxes(title_font={"size": 24}, tickfont={"size": 18})
show_plotly_static(fig)
No transport limitation
When transport is much faster than binding (ktr ≫ kon·Smax), the analyte next to the surface stays at the bulk concentration and the model reduces to one-to-one binding.
Here kon·Smax = (koff/Kd)·Smax = 0.2 response/(μM·s), so ktr = 1000 response/(μM·s) makes transport irrelevant. Solid lines: mass-transport model. Dashed lines: analytical one-to-one model.
[5]:
ktr_fast = 1000.0
kon = koff / Kd
print(f"kon * Smax / ktr = {kon * smax / ktr_fast:.1e}")
fast_xs, fast_ys, one_to_one_ys = [], [], []
for conc in concentrations:
assoc = solve_ode_one_site_mass_transport_association(
t=t_assoc - t_assoc[0], s1_0=0.0, analyte_conc=conc,
K_d=Kd, k_off=koff, k_tr=ktr_fast, s_max=smax,
)
disso = solve_ode_one_site_mass_transport_dissociation(
t=t_disso, s1_0=assoc[-1], K_d=Kd, k_off=koff, k_tr=ktr_fast, s_max=smax,
)
assoc_1to1 = one_site_association_analytical(t_assoc - t_assoc[0], 0.0, smax, koff, Kd, conc)
disso_1to1 = one_site_dissociation_analytical(t_disso, assoc_1to1[-1], koff)
fast_xs.append([t_assoc, t_disso + t_assoc[-1]])
fast_ys.append([assoc, disso])
one_to_one_ys.append([assoc_1to1, disso_1to1])
max_diff = max(np.max(np.abs(np.concatenate(a) - np.concatenate(b))) for a, b in zip(fast_ys, one_to_one_ys))
print(f"Largest difference from one-to-one: {max_diff:.1e} ({max_diff / smax:.1e} of Smax)")
kon * Smax / ktr = 2.0e-04
Largest difference from one-to-one: 2.5e-04 (4.9e-05 of Smax)
[6]:
fig = plot_traces(
xs=fast_xs,
ys=fast_ys,
legends=legends,
colors=colors,
show=show,
marker_size=1,
line_width=4,
)
for x, y, color in zip(fast_xs, one_to_one_ys, colors):
fig.add_trace(go.Scatter(
x=np.concatenate(x), y=np.concatenate(y), mode="lines",
line={"color": "black", "dash": "dash", "width": 2}, showlegend=False,
))
fig.update_layout(
title={"text": f"Mass transport with ktr = {ktr_fast:g} vs one-to-one", "font": {"size": 32}},
xaxis_title="Time (s)",
yaxis_title="Response",
font={"size": 20},
legend={"font": {"size": 18}},
)
fig.update_xaxes(title_font={"size": 24}, tickfont={"size": 18})
fig.update_yaxes(title_font={"size": 24}, tickfont={"size": 18})
show_plotly_static(fig)