HomeMolecular BiologyLambda Phage Toggle Switch: CI/Cro Phase Portrait

Lambda Phage Toggle Switch: CI/Cro Phase Portrait

2D phase-portrait simulation of the lambda phage CI/Cro genetic toggle switch: watch a population of infected cells race across the real nullclines and vector field of a bistable mutual-repression circuit, deciding between lysogeny and lysis.

Molecular Biology2DAdvanced60 FPS📱 Mobile-adapted⇄ 3D version
2d-bacteriophage-lysis-lysogeny-decision ↗ Open standalone

When bacteriophage lambda infects an E. coli cell, a bistable mutual-repression circuit between the CI repressor and the Cro anti-repressor decides whether the cell goes lysogenic or lytic. This 2D companion to the 3D cell-rendering simulation draws that decision the way a systems biologist actually studies it: as a phase portrait. The two population densities are plotted directly as (Cro, CI) coordinates, the real nullclines and vector field are computed from the governing ODEs and drawn on the plane, and a shaded background shows the true basin of attraction for each fate — obtained by numerically integrating the noiseless dynamics from a grid of starting concentrations, not guessed. A population of infected cells races across this plane in real time (RK4-integrated with molecular noise), straddling the unstable saddle point until noise tips each one into the lysogeny or lysis basin, exactly reproducing the coin-flip logic of the real circuit. Multiplicity of infection and nutrient stress visibly shift the nullcline crossing and the basin boundary, and the SOS button drives an established lysogen's cell back across the saddle for real prophage induction.

⚙ Under the hood

Watch a population of lambda-phage-infected cells race across the real CI/Cro nullclines and vector field of a bistable mutual-repression circuit, RK4-integrated live, with a numerically computed basin-of-attraction map showing exactly why the decision between lysogeny and lysis is a genuine coin flip.

bacteriophagemolecular biologygene regulationbistable switchphase portraitdynamical systemssystems biology

2D · HTML5 Canvas 2D · 60 FPS target · runs fully client-side, no install

What did you find?

Add reproduction steps (optional)