Controls
Presets
Parameters
Quality
Camera
Model checks
The science
What a riboswitch is. A riboswitch is a stretch of mRNA that folds into a binding pocket for a small molecule (the ligand) and, depending on that binding, hides or exposes the ribosome binding site. Here it is an OFF switch: the open conformation O lets ribosomes start translation (ON); the closed hairpin C buries the site; the ligand binds only the closed form and holds it shut (state B).
Three-state Markov chain. Each molecule jumps O ⇄ C with rates koc, kco and C ⇄ B with rates koffx and koff, where x = [L]/Kd. The folding equilibrium constant follows from the free energy, K = koc/kco = exp(-ΔG/RT) (RT = 0.616 kcal/mol at 37 °C). At equilibrium πO = 1/(1 + K(1 + x)), πC = KπO, πB = KxπO; the ON fraction falls to half its apo value at x = 1 + 1/K. A hairpin that is only marginally stable (small K) needs much more ligand to shut: the switch is leaky and its EC50 is far above Kd.
Stochastic and deterministic views. The simulation draws exponential waiting times (Gillespie) for every molecule. The master equation dp/dt = Qp, integrated by RK4, gives the ensemble average. A ligand pulse shows the switching dynamics: the response is limited by the folding speed, not by diffusion of the ligand.
Simplifications. Three states only (real aptamers have kinetic traps, co-transcriptional folding and Mg2+ dependence), a single ligand-binding step, ligand held at a fixed concentration, and protein output as a low-pass filter of the ON fraction. Checks: closed form against the null space of the rate matrix; the EC50 identity; a Gillespie ensemble against the equilibrium; relaxation after a ligand step against the master equation; mean dwell time against 1/koc.