Finding the way (loading the page)

This is taking a while. Your connection may be slow; the page is still on its way.

Dry Lab

Model: Following One Cell to Its Material

A model we can question, test and change.

Keep scrolling
On this page
  1. What Our Model Found
  2. The Parts of Our Modelling
  3. What Modeling Taught Us
  4. The Model Map
  5. The Question and the Goal
  6. What the Model Shows
  7. What It Means for the Design
  8. The Model at a Glance
  9. The Mathematics
  10. Parameters and Assumptions
  11. Controls and What We Count
  12. Checking the Numerics
  13. What Can Be Told Apart
  14. Literature and Public Data
  15. Reproducing This Page
  16. Why Do Cells Gather?
  17. The Simulator and Friskoli-CAD
  18. From Microscopy to Interpretable Motion
  19. Research Questions and Measurement Objectives
  20. Data Sources and Validation Design
  21. Synthetic Microscopy
  22. Instance Segmentation
  23. Identity Across Frames
  24. Source Classification
  25. Collective Apparent Motion
  26. Known Ground Truth
  27. Real Video
  28. Controlled Mechanisms
  29. Engineering Significance and Next Validation
  30. Method Records and Reproducibility
  31. References
  32. Structural Analysis of the INPNC–Cel9K Hybrid Linker
  33. Research Questions and Engineering Objectives
  34. Encoded Construct and Sequence Verification
  35. Linker Design: Separation, Freedom and Sequence Order
  36. Structural Metrics and Methods
  37. Parameters, Starting States and Assumptions
  38. Predictions: Structural Effects of Linker Composition and Order
  39. Functional Regions and Site Analysis
  40. Short-Time Dynamics Across the Designs
  41. Method Checks and Validation Scope
  42. From Structural Results to Construct Design
  43. Data and Computational Environment
  44. Early OmpC Linker Design and Dynamics
  45. References and Public Data
  46. GROMACS Molecular Dynamics: From Contact to Design
  47. GROMACS: Molecular Dynamics and Reproducible Commands
  48. Bringing the Engineering Question to Molecular Scale
  49. Defining the Protein Constructs
  50. From Geometric Candidates to Testable Starts
  51. What the Vacuum Route Taught Us
  52. Returning the Interface to Water
  53. Connecting Molecular Information to Ratio Design
  54. Establishing Sugar-Binding Reference Systems
  55. How Far Production Sampling Progressed
  56. Conformation and Contact Across 100 ns
  57. What the Energy Decomposition Can Explain
  58. How These Results Inform the Next Design Step
  59. References

What Our Model Found

Picture a piece of material and a crowd of swimming cells. Some pass by, some stay a moment, some turn away.

Friskoli asks whether the sugar released at the material can steer the cells back to it. We put 64 cells around a sugar-releasing cube for 60 s and ran the scene twice, with the sugar signal steering their swimming and with that link cut.

Sugar signal on, and cut: the same cells, the same scene

PTS feedbackFixed-bias control

Cells that ever touched (fraction) ×1.1

0.1450.133

Contact entries per cell ×1.1

0.1860.168

Dwell per visit (s) ×2.5

6.432.62

Contact time per cell (s) ×3.4

1.320.39

Conversion per cell (eq) ×3.4

34,33310,154
Means over eight matched seed pairs, start ring 33–36 µm from a 16 µm cube, Friskoli-CAD 1.0.1. Dwell was higher in 8 of 8 pairs, contact time and conversion in 7 of 8, each with a bootstrap 95% interval clear of zero. The full table, the closer 30 s study and the figures are in What the Model Shows.

In our model, chemotaxis helps cells stay: each visit lasts about 2.5 times longer, and the extra conversion follows.

Why they stay

  1. Sugar risesAs a cell swims toward the material, its uptake grows.
  2. The signal dropsEI is dephosphorylated, CheA activity and the clockwise bias fall.
  3. Fewer tumblesAt the surface the bias is close to zero, and adaptation needs more than 10 s to bring tumbles back.
  4. A longer visitA cell leaves the material only by tumbling, so it stays, and its enzymes keep working.

How we framed the question

We cannot look inside a bioreactor in orbit, so we turned its key steps into modules we can simplify, change and test, reasoning backwards from what we want:

  1. What we wantMore efficient degradation of the substrate.
  2. One step backMore effective encounters between cells and substrate.
  3. The open questionCan chemotaxis increase those encounters?
  4. The model’s jobMeasure how chemotaxis and effective contact are related, so modelling and measurement work on the same quantity.

The Parts of Our Modelling

This page is laid out like a spreadsheet: one tab (or a few, for the PTS model) for each part. Choose a tab above, or start here.

The PTS chemotaxis model

Our own model of how sugar uptake becomes swimming behaviour, how we checked it, and what it shows. Most of the page is this part. Open the PTS model tabs: results, equations, and checks and sources.

The simulator test

A test bench built from our chemotaxis simulator: what makes cells gather around a source, and which change in the engineered strain helps. It runs on the simulator’s own rules, with a set-up anyone can repeat. Open the Simulator test tab.

The AI vision model

Image-analysis models that read microscope video of E. coli and turn it into masks, tracks and apparent motion, so that measurement and model can speak the same language. They are tested on public datasets and on synthetic data with known answers; our own chip comes next. Open the AI vision model tab. The synthetic dataset workbench that makes training images is described under Software.

Linker prediction

AlphaFold models and short restrained simulations of five linkers of the same length, with composition and order as the controls, and what they can and cannot tell us about the construct. Open the Linker prediction tab.

GROMACS

Enzyme–cellulose systems prepared in explicit solvent, and three sugar-binding proteins, one of them with a complete 100 ns trajectory. Open the GROMACS tab.

The model is also what grew into our software. Software tells that story: how the code became modules anyone can reconfigure.

What Modeling Taught Us

Our modelling began with a simple question: can bacteria find a substrate more effectively through chemotaxis? The question grew sharper as we went. A chemotactic response, a visible crowd, effective contact and conversion each turned out to be its own step, and each simulation result is shaped by the parameters, the boundaries and the numerics.

These problems were hard. They cost us late nights, setbacks and rebuilt models, and our interest in chemotaxis only grew. They gave us clearer aims. We now check each link on its own, keep the controls matched, ask whether the molecular model has a biological footing, and try to tie the simulations to what a real experiment can measure.

A model is worth more than a prediction. It shows us where we are uncertain, where the design is weak, and which experiment is worth doing first.

SoftwareHuman PracticesDescription

Every simulation raises a question. Every experiment brings us closer to an answer.

The Friskoli model keeps changing, and we will keep telling you how.

The Model Map

Every chapter below ends with a link back to this map.

Friskoli · Model

The model in one loop

Follow one cell round the loop. Select a step to read how it is built.

  1. Step 1Cells and contactShape, gap and contact range
  2. Step 2Contact-controlled releaseEnzyme copies × rate, limited by the stock
  3. Step 3Sugar fieldDiffusion, shared fluid, boundary loss
  4. Step 4PTS capacity and uptakeCapacity, stock and accepted flux
  5. Step 5EI stateThe accepted flux drives the signalling chain
  6. Step 6CheA activity and adaptationEI state e and methylation m set the activity a
  7. Step 7CheY-P and motor biasA Hill relation maps CheY-P to the bias b
  8. Step 8Swimming and tumblingEach step uses the bias of the step before

Where the cell swims decides its next contacts and the sugar it samples, so the loop starts again.

The rest of the pageThe question and the goalParametersControls and measuresWhat can be told apartChecking the numericsWhat the model showsWhat it means for the designLiteratureReproducing this page

The Question and the Goal

Why we model

Our engineering idea starts from a simple link: if cells reach the target material more often, its surface enzymes get more chances to work.

A schematic in two panels. On Earth, sugar sinks and spreads under gravity around a fibre; in orbit, it stays as a halo around the fibre and cells drift around it.
On Earth, convection stirs the liquid. In orbit, sugar mostly diffuses and stays close to the material. (Schematic)

The soluble sugars released when the material is converted could also tell cells where the material is. One local contact might then change the next arrival. Follow that thread and several questions that seemed to be one come apart.

  1. A signal that staysSugar released near the material does not guarantee a lasting difference in concentration. Diffusion carries it away, and uptake and boundary loss reshape it. Whether it stays, and how far it reaches, depends on all of these together.
  2. A cell that senses itA cell crossing a sugary region must link it to its inner motion control. In our model the link starts at actual uptake. How much sugar is nearby, how much the cell could take, and how much it really gets are three different numbers.
  3. A movement that changesOnce movement changes, a cell may simply pass by or may get a longer chance to touch. Geometry and random turning both shape which.
  4. A material that convertsEven with more contact, how much material is converted depends on the effective enzyme amount, the catalytic rate and the stock that remains.

So each step from signal to conversion needs its own explanation and its own quantity we can observe. We put the material source, the diffusing sugar, the actual uptake, the inner signal and the movement into one calculation. A cell’s position decides where it touches the material and where it samples and takes up sugar. The chemical surroundings change its inner signal, and the updated signal changes where it goes next.

What each layer is asked

LayerThe questionWhere this page answers it
Material and fieldHow does released sugar enter the field and get shared?The finite stock, diffusion, shared uptake and boundary loss (Chapter 5)
SignalHow does accepted uptake change the inner state and later movement?The PTS-to-motor equations and the signal studies (Chapter 5 and Chapter 2)
NumericsCould a difference come from the way we compute?Conservation audits and time-step and grid checks (Chapter 8)
ParametersWhich parameters can one observation tell apart?The identifiability analysis (Chapter 9)
EncounterDoes feedback change how often, and how long, cells touch the material?Matched-seed encounter studies (Chapter 2)

For the short windows we study, the model keeps cell number and shape fixed, treats the material as an abstract finite stock, and counts sugar in one generic unit, the sugar equivalent (eq). The software also carries growth and division modules, so longer questions can be asked later (Chapter 2).

How the question took shape

  1. Receptor engineering firstOur first plan was to engineer MCP receptors so that bacteria could recognise signals linked to cellulose degradation. That needed protein engineering beyond our wet lab’s reach, so we kept the chemotaxis simulations built for it, and they became the base of what followed. Section 5.6 writes the MCP equations out next to the PTS ones.
  2. A turn to PTSIn April 2026 we turned to sugar uptake and the phosphotransferase system (PTS), which links uptake to the chemotaxis network. With no existing model of PTS-driven chemotaxis to start from, we wrote our own.
  3. Short, testable windowsOur first long-term models were rich but hard to read, and we moved to short windows where a cause can be traced. Chapters 7 and 2 tell that story.

↑ Back to the model map

What the Model Shows

The signal first, then arrival and contact, then conversion

We read the model in the order of the questions in Chapter 7: does the signal behave as the biology says, do cells arrive and touch more, and does the contact turn into conversion?

The signal: does it behave as the biology says?

We start with the signal chain alone, with one representative cell in a reservoir that holds the sugar at a fixed concentration. There is no space and no competition for sugar, so the accepted flux equals the requested one. This isolates the signalling.

A steady state at every concentration

We solved the steady state at 81 concentrations from 10−4 to 104 μM, then advanced the software one step from each to check the result; the largest normalised residual was 5.6×10−16. With adaptation on, the motor bias returns to the same baseline at every concentration, while the EI state still changes with the sugar. In plain words: the cell reports a change in sugar.

Six panels showing uptake, EI state, CheA activity, CheY-P, motor bias and the steady-state derivative of the bias, as functions of sugar concentration, with adaptation on and off.
Figure 2.1 · Steady state at maintained concentrations. Uptake, EI state, CheA activity, CheY-P, motor bias, and the separately computed derivative of bias with respect to ln C, with adaptation on and off. With adaptation off, the methylation is held at the same reference state. Parameters are constructed; the motor Hill coefficient is from the literature. One representative cell, no motility seeds, no parameter sampling.

A step up and a step down

Next we let the cell settle at 0.1 µM, raised the sugar to 1 µM at 5 s, and brought it back at 35 s, for 65 s in 0.05 s steps. The two arms share the input and the starting state; only the adaptation rate differs. Drag the time cursor to read all six quantities at one moment.

Figure 2.2 · A concentration step, with adaptation on and offInteractive

A. Concentration input0.51.00204060Time (s)Sugar (µM)B. EI proxy0.40.60204060Time (s)EI proxyC. Adaptation coordinate m1.01.52.02.50204060Time (s)Adaptation mD. CheA activity0.00.20.40.60204060Time (s)CheA activityE. CheY-P02460204060Time (s)CheY-P (µM)F. Motor bias0.00.30.50.80204060Time (s)Motor bias
Saved step-response series: 0.1 to 1 µM at 5 s, back to 0.1 µM at 35 s, observed to 65 s in 0.05 s steps. One representative cell, no spatial movement. Both arms share the input and the initial state; only the adaptation rate is zeroed in the off arm. The values are model responses to constructed parameters, not measurements of the Friskoli construct.
AdaptationStepPeak change of the biasHalf-peak response (s)Back within 5% of the peak deviation after (s)
Onup, at 5 s−0.3330.1518.2
Ondown, at 35 s+0.5400.3016.85
Offup, at 5 s−0.3330.10not within the window
Offdown, at 35 s+0.3331.6not within the window

With adaptation on, the bias falls to zero within a second of the step up, then recovers in about 18 s, and overshoots when the sugar is taken away. With adaptation off, the bias stays pinned at zero for as long as the sugar stays high. Halving the time step left every measure of this study inside its allowance.

How wide is the window in which cells can sense a change?

To see where sensing works, we gave each adapted background a 10% rise and recorded the biggest fall of the bias within 20 s. We repeated this for 64 parameter sets, drawn evenly (a log-uniform Latin hypercube, seed 20261016) over the ranges below, at 31 backgrounds from 0.001 to 1000 µM.

ParameterRange
Adaptation time τm2–8 s
EI relaxation time0.5–2 s
CheY-P time scale0.05–0.2 s
Half-saturation K0.3–3 µM
EI coupling factor0.5–2
Two panels: peak bias decrease, and transient gain, against background sugar concentration, each showing the parameter median and the 5 to 95 percent band.
Figure 2.3 · Small relative steps across assumed parameter ranges. A 10% rise on each adapted background, response measured within 20 s. The line is the median over 64 parameter sets and the band the 5–95% range of those sets. The band shows how the response depends on assumed parameters; it is not a confidence interval.

The median transient gain, Δb/Δln⁡C, peaks at about 0.42 (band 0.23–0.56) at a background near 0.16 μM. By 10 μM it has dropped to about 0.04, and above 100 μM it is close to zero. Sensing of relative changes works in a window of roughly 0.01–10 μM in this model. Where the real window of the engineered cell lies is for measurement to say (D06 to D08 in Chapter 9).

Encounter, dwell and conversion

Does feedback change how often, and for how long, cells touch the material? We need a scene that lasts longer than the signal’s own time scales. In a 2 s scene the cells start about one swimming run from the material, so the first contact is settled by the starting heading before the PTS has time to respond. We keep such short scenes for screening (see the parameter screens).

The encounter study uses a 16 µm cube of material whose surface is held near 1 µM by an exchange layer, a stand-in for the continuing release of cells that are already there. The domain is 160 × 160 × 96 µm on a 4 µm grid. Sixty-four cells start on a ring around the cube, adapted to the sugar they would meet there, and we run 60 s with a 0.05 s step. We did this twice: with the ring 33–36 µm from the cube for 60 s, and 13–16 µm from it for 30 s. Each study has eight matched seeds and a fixed-bias control.

Feedback / controlStart 33–36 µm, 60 sStart 13–16 µm, 30 s
Cells that ever touched the material0.145 / 0.1330.227 / 0.207
Contact entries per cell0.186 / 0.1680.277 / 0.285
Median time to first contact (s)19.5 / 18.73.29 / 3.57
Mean dwell per contact episode (s)6.43 / 2.62 (8 of 8 pairs higher)4.62 / 2.56 (7 of 8)
Contact time per cell (s)1.32 / 0.39 (7 of 8)1.40 / 0.81 (8 of 8)
Conversion per cell (eq)34,333 / 10,154 (7 of 8)36,461 / 21,084 (8 of 8)
Mean distance to the surface at the end (µm)62.1 / 64.4 (6 of 8 closer)59.1 / 63.2 (7 of 8 closer)
Fraction within 10 µm at the end0.018 / 0.0100.047 / 0.018 (7 of 8)

The pairs in brackets count how many of the eight seed pairs favoured the feedback arm. In the bold rows the paired differences have bootstrap 95% intervals that exclude zero. The intervals of the first-contact and entry measures include zero.

In our model, chemotaxis helps cells stay: each visit lasts about 2.5 times longer, and the extra conversion follows.

The number of cells that touched, the number of entries, and the time to first contact moved little and in both directions. What grew was the length of each visit: about 2.5 times longer in the 60 s study and 1.8 times in the 30 s study. Contact time per cell grew by 3.4 times and by 73%, and conversion followed it, because release is fixed by enzymes and contact (Chapter 7). The picture of a crowd gathering is weak by comparison: cells ended only 2 to 4 µm closer to the surface.

Six panels over 60 seconds comparing PTS feedback with a fixed baseline bias: the fraction of cells that ever touched, contact entries per cell, contact time per cell, mean distance to the surface, fraction within 10 micrometres, and the mean motor bias.
Figure 2.4 · The encounter study, 60 s. Maintained surface gradient, start ring 33–36 µm, mean ± SD over 8 seeds × 64 cells. The feedback arm and its fixed-bias control share the source, geometry, boundaries and starting cells; only the link from signal to movement differs. Cells in a run are not independent repeats.
The shorter, closer study (13–16 µm, 30 s)
The same six panels for a 30 second study with cells starting 13 to 16 micrometres from the material.
Figure 2.5 · The encounter study, 30 s. Same layout and controls, start ring 13–16 µm. Contact entries do not increase (0.277 against 0.285); dwell and contact time do.

Why they stay

As a cell swims toward the material, its uptake rises, EI is dephosphorylated more, CheA activity and the clockwise bias fall, and tumbles become rarer. At the surface the bias is close to zero, and the cell needs more than 10 s of adaptation to bring its tumbles back and leave. In the model a cell can leave a surface only by tumbling, because of the collision rule in 5.7: it stops where it meets the material, with its heading unchanged, until its next tumble.

Expression, a dark start and parameter screens

Is more PTS better?

We scanned the requested expression multiplier G under both capacity rules, and computed the transient gain of the signal chain (equations 8 to 10) on every background. The answer depends on where the cell is.

Three panels: functional transporter copies against requested gain for rules A and B; a heat map of transient gain against background sugar and requested gain; and sensing gain at 0.15 micromolar against requested gain, with the earlier convention shown as flat dotted lines.
Figure 2.6 · The expression scan. Left: capacity rules A and B cap the functional copies. Middle: transient gain by adapted background and requested gain (rule A). Right: sensing gain at 0.15 µM, the sugar level at the encounter study’s start ring, with the model’s present coupling (solid) and the earlier per-cell re-derivation (dotted), which gives the same 0.33 at any G.
  • At 0.15 µM the gain rises from about 0.46 at the presets’ G ≈ 2 to 0.545 at G ≈ 4.1, which is the best. After that EI saturates, and under rule A the gain falls to 0.47 where the copies cap. Rule B is held at 0.526 by its lower cap.
  • At 1 µM, the sugar level at the material surface, the best is at G ≈ 1.3 (0.311). More expression lowers the sensitivity: 0.12 at rule A’s cap and 0.255 at rule B’s.
  • So thin surroundings reward moderate over-expression, and near the sugar-rich surface over-expression saturates the sensor. The best expression depends on the concentration the cell lives in.
  • At the presets’ G = 2, neither capacity binds, so A and B give identical output. We do not count them as two independent results.

Can the cells’ own release start the signal?

From zero dissolved sugar, with the cells’ contact as the only source, we ran 10 s with four seeds at release factors from ×0.5 to ×16 (×1 is the default).

Release factorSugar near the surface (µM)Contact per cell, feedback (s)Control (s)Pairs favouring feedback
×0.50.0072.551.983 of 4
×1 (default)0.0142.591.983 of 4
×20.0333.001.983 of 4
×40.0723.191.984 of 4
×80.1593.531.984 of 4
×160.2973.331.984 of 4

The sugar measured 2–8 µm from the surface enters the PTS response range (about 0.05 µM and up) from a release factor of ×4. At the default release, the feedback arm already has about 30% more contact within 10 s, a promising hint from four seeds that more seeds can firm up. The control’s contact does not change with release because its movement never reads the sugar.

Three panels: self-generated sugar near the surface over ten seconds for six release factors, with the PTS response band shaded; time meeting the gradient criterion; and contact time per cell for feedback and fixed bias.
Figure 2.7 · A dark start. Zero dissolved sugar at the start, 10 s, four seeds. Left: the sugar made by the cells in the probe region (2–8 µm from the surface), with the PTS response band shaded. Middle: time the probe region met the gradient criterion (C ≥ 0.01 µM and relative gradient ≥ 0.02 µm⁻¹ in at least 10% of probe voxels). Right: contact time per cell.

Parameter screens

We also screened which parameters move a short-window output. These runs last 2 s, with eight cells and four seeds. The window is shorter than the EI and adaptation time scales, so they mainly show how the source and uptake act. We treat them as screens; the main evidence is the encounter study.

ParameterChange in conversion per cell for −20% / +20% (normalised)Morris μ∗ (eq per cell)Morris σ
Release (enzymes × rate)1.01 / 1.027,7451,922
Uptake0.12 / 0.04851961
EI coupling0.12 / 0.04507451
Diffusion0.013 / −0.013323229
Adaptation rate0 / −0.027126139

Release dominates, as it should while the source is the only supply. The Morris screen uses four levels, eight parameter trajectories and four shared seeds on log-scaled factors of 0.5 to 2. Its μ∗ and σ describe this window and this range, and they are not a variance decomposition. A two-factor plane of adaptation rate against EI coupling (0.5, 1 and 2 times each) gave mean conversions between 5,135 and 6,061 eq per cell, a spread of about 15%.

Horizontal bars of the normalised effect on conversion of changing each of five parameters by minus and plus twenty percent.
Figure 2.8 · One-at-a-time screen. Each of five factors changed by ±20%; 4 matched seeds, 8 cells, 2 s. Negative and asymmetric responses are kept. A local screen of this scene, not a general ranking of parameters.
A three by three heat map of mean conversion per cell for adaptation rate against EI coupling factor, each at 0.5, 1 and 2 times.
Figure 2.9 · Adaptation rate against EI coupling. Mean conversion per initial cell for 3 × 3 factor combinations; 4 seeds, 8 cells, 2 s. The factors are scenario settings, not experimental confidence intervals.
A scatter plot of Morris mu-star against sigma for five parameters, with release far to the right of the others.
Figure 2.10 · Morris screen. Four levels, 8 parameter trajectories, 4 shared seeds, log-scaled factors of 0.5 to 2; output is conversion per initial cell. μ* and σ describe this window and range; this is not a variance decomposition.
More figures from the 2 s runs, and the software check

These runs last 2 s, with 8 cells per run. The window is shorter than the EI and adaptation time scales, so we read them as screens of the scene and as checks of the software. The main evidence is the encounter study above.

Six panels over two seconds comparing PTS feedback with a fixed-bias control: relative gradient, CheY-P, arrival, contact, conversion and region occupancy.
Figure 2.11 · Layered evaluation, 2 s. Gradient, CheY-P, arrival, contact, conversion and region occupancy for feedback and fixed-bias control; 8 seeds, 8 cells. Lines and shading are run means and sample SD. Source, geometry, boundaries and starting cells are identical, and only the motor feedback is switched.
Two panels: regional enrichment relative to a uniform fluid, and observed contact entries per cell, for PTS A feedback and its fixed-bias control over two seconds.
Figure 2.12 · Enrichment and contact entries, 2 s. PTS A. Enrichment over a uniform fluid and observed contact entries, shown separately, as means and sample SD over 8 seeds.
Top view of cell trajectories for seed 1: feedback and fixed-bias control, around a central square of material.
Figure 2.13 · Matched trajectories. XY projection of one preselected seed over 2 s. Feedback and fixed-bias control share source, geometry, boundaries and starting cells; the square is the material. One seed, no interval.
Four panels of mean squared displacement, finite-window MSD over 6T, axial velocity and radial index against swimming speed for three tumble-rate factors.
Figure 2.14 · Speed and tumble-rate scan at fixed bias. Means and sample SD over 4 seeds. MSD/(6T) describes this finite window; the radial index is progress toward the material divided by path length.
Three horizontal slices of sugar concentration at release factors 0, 0.5 and 2, on a common colour scale.
Figure 2.15 · Concentration slices. XY sections at 2 s for release factors 0, 0.5 and 2, seed 1, zero initial sugar, common colour scale. Source, geometry, boundaries and cells are shared.
Line profiles of sugar concentration across the section for the three release factors.
Figure 2.16 · Concentration profiles. Concentration along one line of the section in Figure 2.15, same settings.
Three heat maps of the time the gradient criterion was met, for release by diffusion factors at three uptake factors.
Figure 2.17 · How long a gradient lasts. Release × diffusion × uptake scan from zero sugar, 2 s, 4 seeds. Colour is the mean time that C ≥ 0.01 µM and |∇C|/C ≥ 0.02 µm⁻¹ held in at least 10% of probe voxels, 2–8 µm from the surface.
Two panels over two seconds: cohort contact time and converted equivalents for PTS A and B, with and without feedback; the four curves nearly coincide.
Figure 2.18 · A contact-assay software check, 2 s. Run means and sample SD for 4 seeds, 8 cells each; PTS A and B coincide at G = 2. Feedback gave 3.84 ± 1.23 cell·s against 4.01 ± 2.87 for the control; one seed was negative. With so few runs we use it to check the software wiring, and not as a result.
Bars of endpoint contact and conversion for a reference run and for halved time step, halved grid and changed release factor.
Figure 2.19 · Setting checks for that assay. Single-seed endpoint checks with halved time step, halved grid and a changed release factor. One seed, so no error bars.

From long runs to short windows

Our first models aimed at a whole bioreactor. Cells could stick to the material, grow and divide, so that positive feedback could pile up over time. They were rich, and hard to read. More cells near the material could be arrival, or growth in place. Staying could be chemotaxis, or adhesion. Each mechanism we added brought parameters still waiting for data. Adding adhesion would also have made prettier clusters, even from random walkers that merely stick.

So we chose short windows, where a cause can be traced. We kept the growth and morphology module in the software, and the ability to run long simulations, with adhesion switched off by default and the growth module kept for later questions.

Short-window modelLong-run model
Main questionHow chemotaxis changes arrival and contactHow a population changes over time
CellsFixed in numberMay grow and divide
At the surfaceCollide, slide, leaveMay also adhere and detach
Main outputsFirst contact, dwell, contact time, conversionPopulation size, local density, total conversion
Parameters neededFewerMany more physiological ones
Telling chemotaxis from the restEasier, with matched controlsNeeds ablations of growth and adhesion

Neither is better in itself. We put the current question first: whether chemotaxis changes the meeting of cells and material in a way we can test. Telling it apart from growth and adhesion in a long run calls for ablation runs that switch each mechanism on and off, a clear next study.

The best model is the one that makes the research question testable.

↑ Back to the model map

What It Means for the Design

Turn conditional findings into decisions, and say where they stop

A model is useful when it tells us what to build and what to measure next.

What the model showsWhat it means for the designIt holds under
Feedback lengthens each visitMeasure the dwell and the contact time. Counts and clumps alone can miss the effectThe collision rule in 5.7, and a sustained gradient
Short-window conversion follows Ekcat and contactMeasure the effective enzyme and the catalytic rate first (D01 to D03)Material not used up, fixed enzymes
The best PTS expression depends on the sugar level around the cellChoose expression for the concentration window, and check whether capacity binds (Figure 9.1)The reference-strain coupling of 3.5
The cells’ own release enters the PTS range from a release of ×4Measure how much sugar the cells really make near the surfaceFour seeds, a 10 s window
Sensing works over about 0.01–10 µMCompare this window with real EI and CheY readouts (D06 to D08)Constructed parameters
Conversion tracks contact time by constructionReport both, as one piece of evidenceFixed enzymes, material not used up

A shared language with the experiments

For the model and the microfluidic experiments to speak to each other, they have to count the same things. Material conversion needs matching contact conditions and product units. Uptake needs the real sugar, its concentration, the flux per cell and the number of working transporters. Movement imaging needs positions, headings, the field of view and a definition of contact. If an experiment sees only part of the field, the model should be sampled in the same way. And because the sugar that was there at the start and the sugar that was just released share one pool, total uptake cannot yet be called the recovery of a product.

Where the story stands

The model gives us todayCalibration with our own data will add
A mechanism we can state clearlyA real degradation efficiency
A testable result: longer visits, with similar numbers of visitsAn optimal expression level for the engineered strain
A list of measurements to make (D01 to D08)How large the chemotaxis benefit is in general

Published FRET data help us read the mechanism and the readout scales; our own wet-lab raw data, in our units, are what will calibrate the model. Health and growth states in the earlier long-run models were model states, to be compared with survival counts once we measure them.

↑ Back to the model map

The Model at a Glance

Follow one cell

Follow one cell through the model and the feedback becomes clear.

A schematic chain inside a cell: cellobiose uptake, EI, receptor activity, CheY, motor, tumble.
The chain in one picture: more uptake, fewer tumbles, longer runs toward the sugar. (Schematic)

The cell starts with a position, a heading and an inner signalling state. As it nears material that still has stock, the model checks the surface gap between cell and material. Inside the contact range a source switches on. Contact here is a computing condition: a distance within which release switches on.

While in contact, the cell’s surface enzymes and their catalytic rate set how fast material is released, and the remaining stock limits the total. The released sugar enters the fluid beside the cell and spreads. Some is taken up, and some drifts into the boundary layers and leaves. Neighbouring cells compete for the same sugar. One contact therefore changes the chemical surroundings the cell finds itself in.

Now look inside the cell. What goes to the signalling module is the flux of sugar actually accepted, not the amount the cell asked for. The model tracks three things: an EI state that stands in for the PTS, an adaptation coordinate, and CheY-P. A Hill relation turns CheY-P into the motor’s clockwise bias. The link from PTS input to chemotaxis is inspired by Somavanshi et al., 2016 and Neumann et al., 2012. The exact reduced functions and values are our own choices, ready to be matched to measurements in the engineered strain.

That bias steers the next movement. Position and heading change, and the next contact, release and uptake happen under new conditions. Following “contact, release, diffusion and uptake, signal, later movement” is how each module gets its job.

Part of the modelTakes inGives out
Geometry and contactCapsule positions and headings, the shape of the materialValid paths, contact intervals, when the material is used up
Material sourceContact, enzyme copies, catalytic rate, remaining stockThe amount actually released, taken from the stock
Sugar fieldRelease, diffusion, uptake, boundary exchangeConcentration in every voxel, and the sugar inventory
UptakeLocal sugar, transporter capacity, half-saturationThe sugar each cell actually accepts, as a flux
SignalAccepted flux, and the earlier states e, m and CheY-PThe updated states and the motor bias
MotionThe bias from the previous step, the tumble clock, a random streamOne proposed movement, checked against the geometry
Observation and ledgersThe committed paths, inventories and transfersConversion, accepted uptake, contact time, and the balance of every account

Timing is part of the model

In the software, the signal reads the sugar accepted in the current step, and motion reads the motor bias committed in the previous step. That one-step delay is declared on purpose, so a signal never moves a cell within the same instant, and every committed step updates the signal exactly once. Chapter 5.9 says how this is enforced.

↑ Back to the model map

The Mathematics

Contact, material flow and movement, joined

The local sugar concentration is not set by release alone. Diffusion carries product away, neighbouring cells compete for the same sugar, and sugar keeps leaving through the boundary. If the signalling used what a cell wants to take up, it could send a strong stimulus to the motors even when little sugar is there. So we compute the source, the field and the accepted uptake separately, and drive the signal only with what has actually been settled.

The equations below describe the model as it runs in Friskoli-CAD 1.0.1: fixed-shape cells, a finite material source and a diffusing sugar pool. The unit eq is the model’s generic sugar equivalent. We have not converted it into a mass of cellulose or into the yield of a particular product. The equations explain the mechanism inside the model; a quantitative biological prediction would need matched calibration.

5.1 Cells and material in space

A cell is a three-dimensional capsule with total length L (end caps included) and diameter d, so its radius is r=d/2 and its straight section is L−d long. Its surface area and volume are

Scell=πdL,Vcell=πr2(L−d)+43πr3.(1)

With L=2 μm and d=0.8 μm these are about 5.03 μm2 and 0.871 μm3. The material is a block with a finite stock. Let gij be the signed distance from the surface of cell i to the active material j. A cell counts as being in contact when

Iij(t)=𝟏[gij(t)≤ρ],ρ=0.5 μm.(2)

Contact says that the cell is close enough for its enzymes to act; the model has no adhesion. Movement is checked as a continuous path, so a cell cannot pass through the material, and the model has no hydrodynamic or contact-force term.

5.2 How contact becomes a finite source

Each cell carries Ei effective surface enzymes. While the cell is in contact, material is released at a rate set by the enzymes and their catalytic rate kcat, and the release is taken from the stock Mj. A cell that touches several pieces (ni of them) shares its enzymes among them:

rj(t)=kcat∑iEiIij(t)ni(t),ni=∑jIij,dMjdt=−rj(t),Mj≥0.(3)

We use Ei=200 and kcat=130 s−1, so one cell in contact releases up to 26,000 eq/s while stock remains. Only the product Ekcat sets the release rate, and both are constructed settings (Chapter 6). When the stock reaches zero the material is used up. Small transfers too small for the floating-point field stay safely in the stock.

5.3 Diffusion, the sugar field and boundary loss

The sugar field has concentration Cv in each voxel v (in μM). A voxel holds Nv=γΔxΔyΔzCv molecules, with γ=602.214076 molecules per μM per μm3. Between fluid voxels the field spreads by diffusion, with no flux through solid faces. Release adds sugar, cells take some up, and boundary layers let sugar leave:

dNvdt=D∑w∼vNw−NvΔvw2+Sv−Uv−κv(Nv−Nvtarget).(4)

The sum runs over the neighbouring fluid voxels w; Sv is release, Uv is the sugar accepted by cells in the voxel, and κv is the exchange rate of a boundary layer.

We use D=10 μm2/s, which is a scenario value; we have not measured the diffusion of our own product in our own medium. In the encounter scenes, 4 µm layers at the edge of the domain exchange with a target of 0 at κ=5 s−1, so sugar leaves gradually; a field is never simply pinned to zero at a wall. Over one step the exchange has the closed form Cnew=Ctarget+(C−Ctarget)e−κΔt, and every change it makes is booked as external outflow.

5.4 PTS capacity and accepted uptake

A requested expression multiplier G asks for GNref transporter copies per cell. A capacity rule then caps what is functional:

Neff=min⁡(GNref,Ncap).(5)

We keep two capacity rules, A and B, so that the effect of the assumption can be seen:

Ncap,A=Scell(1−finner)fPTSasite,Ncap,B=ScellSrefNrefGcap.(6)

Rule A limits the copies by membrane area that is free for transporters; rule B scales a reference capacity with cell surface area. Values are in Chapter 6.

For our capsule the two caps are about 1005.3 and 301.6 copies. At the presets’ G=2 both rules ask for only 200 copies, so neither binds and A and B give the same result. Differences appear only at higher expression (Chapter 9 lets you drag G and see it). At the concentration C that a cell sees, it requests (the software’s declaration writes the turnover as kcat and the half-saturation as KM; we use ν and K here, so that they are not mistaken for the enzyme’s kcat or the motor’s KM):

Jireq=Neff,iνCK+C,ν=2 s−1,K=1 μM.(7)

Cells in the same voxel draw on the same inventory, so together they cannot accept more than the voxel holds. The request is settled against that inventory before anything reaches the signal. The flux that goes to the signal is the accepted one, J‾i=Ui/Δt, the sugar actually accepted in a step divided by the step length. Because (7) is not linear, putting an average concentration into it would not give the same answer.

5.5 From accepted uptake to the motor bias

The signalling chain is deliberately small. It carries three states and one readout, and it is solved in a fixed order each step. The PTS link to chemotaxis and the role of adaptation are supported by the literature; the specific forms below are our reduction.

EI state driven by uptake

Let e be the fraction of EI that is dephosphorylated, a stand-in for the PTS state. Uptake pushes it up and a relaxation pulls it back:

dedt=kdJ‾(1−e)−kre,kr=1 s−1,kd=0.01 per molecule.(8)

The software solves this exactly over a step in which the flux is held fixed.

The constant kd is a property of the relay, and does not depend on how many transporters a cell carries. We fix it at a reference strain with G=1 (100 copies at 2 s−1, i.e. 200 eq/s at saturation): EI is half dephosphorylated where that strain’s uptake is half saturated, which gives kd=2kr/200=0.01. A strain that expresses more transporters therefore drives EI harder at the same concentration, and its response moves to lower concentrations until a capacity rule caps the copies. Before 2026-10-17 our presets re-derived kd from each cell’s own copy number. That quietly cancelled expression out of the response, so “more transporters” could not change what a cell sensed. We found it by review, fixed it, and reran every study on this page afterwards.

CheA activity and adaptation

The activity a of CheA falls when EI is driven up. Adaptation, through a methylation-like coordinate m, pushes it back:

a=clip(a0−e+gm(m−mmin⁡),0,1),gm=1Δ,dmdt=km(a0−a),Δ=mmax⁡−mmin⁡.(9)

With a0=1/3, mmin⁡=0, mmax⁡=4 and km=1 s−1, the adaptation time scale is τm=Δ/km=4 s.

Uptake raises e and briefly lowers CheA activity; then m rises and works against that change. A link between the PTS and the chemotaxis receptor complex, and the use of sugar flux as an input, are supported by the literature. The first-order EI, the linear coupling in (9) and the adaptation law are our simplifications. PEP, HPr, EII, CheR, CheB and the full phosphotransfer network are folded into these few states.

CheY-P and the motor bias

A=ATa,dYdt=kyA(YT−Y)−kzY,b(Y)=YhKMh+Yh.(10)

AT=1 μM, YT=10 μM, ky=15 μM−1s−1, kz=5 s−1, h=10.3 and KM=5.348 μM.

The motor’s clockwise bias b is a dimensionless readout, which the motion step turns into tumbles (5.7). The Hill coefficient h=10.3 comes from single-motor measurements (Cluzel et al., 2000); carrying it over to a whole cell is an extra assumption. KM is constructed so that b(5 μM)=1/3.

For a constant accepted flux J‾, and when adaptation can reach balance, the steady state is

e∗=kdJ‾kr+kdJ‾,a∗=a0,Y∗=kyATa0YTkyATa0+kz=5 μM,b∗=13,(11)

and the three time scales close to that balance are

τe=1kr+kdJ‾,τm=Δkm=4 s,τY=1kpATa0+kz=0.1 s.(12)

Recovering to baseline is a property of the equations; whether the engineered bacteria adapt the same way is for experiment to show. These are local time scales, and each transient has its own recovery time.

5.6 Built from MCP: the two systems side by side

Our PTS signal chain was not drawn from nothing. It was built from the MCP receptor system that we had written for the first chemotaxis simulations, and that still runs in the software as our measurement benchmark. The two share a chassis and differ in their front end. Below, every step of the chain is written out for both. The left column is the software’s signal.mcp_adaptation module, and the right column is signal.pts_methylation. Each row says whether the step is the same, adapted, replaced or new.

MCP systemsignal.mcp_adaptation: the receptor binds the ligandPTS systemsignal.pts_methylation: uptake flux drives the relay
Input to the sensorReplaced
MCP system
L=Ci(M1)

The ligand concentration at the cell, read from the field at its position.

PTS system
J‾i=UiΔt(P1)

The sugar the cell actually took in during the step, after sharing with its neighbours and within the stock of its voxel. A flux, and it depends on how many transporters the cell has.

Relay stateNew in PTS
MCP system

Not used

PTS system
e˙=kdJ‾(1−e)−kre(P2)

One extra state: the fraction of EI that is dephosphorylated. The PTS does not bind the receptors; it acts through this state.

Activity of the receptor complexReplaced
MCP system
a=11+eE,E=N[α(mref−m)+FL]
FL=ln⁡1+L/Ki1+L/Ka(M2)

A cooperative two-state cluster of N receptors (Monod–Wyman–Changeux). The ligand binds the inactive state more tightly (Ki<Ka), so more ligand lowers the activity, and the cooperativity amplifies the change.

PTS system
a=clip⁡(a0−e+gm(m−mmin⁡),0,1)
gm=1Δ(P3)

Linear in both inputs. The two slopes are fixed by the ranges of e (0 to 1) and of m (Δ), so there is no free gain and no cooperative amplification. More dephosphorylated EI lowers the activity.

Methylation feedbackSame idea, adapted
MCP system
m˙=k(a0−a)(M3)

Methylation m is an unbounded reduced coordinate, and it acts through the free energy E.

PTS system
m˙=km(a0−a)
mmin⁡≤m≤mmax⁡(P4)

The same feedback law, in a bounded coordinate. Its rate is km=Δ/τm, so the adaptation time is τm=4 s.

Where adaptation settlesReplaced
MCP system
m∗=mref+1α[FL−1Nln⁡1−a0a0](M4)

The methylation at which the activity returns to a0, for a ligand level L.

PTS system
m∗=mmin⁡+Δe∗
e∗=kdJ‾kr+kdJ‾(P5)

For any e∗ between 0 and 1 this lies inside the allowed range, so adaptation is complete at every flux.

CheY cycleThe same in both
MCP system and PTS system
A=ATa,Y˙=kyA(YT−Y)−kzY(S1)
MotorThe same in both
MCP system and PTS system
b=YhKMh+Yh(S2)
TumblingThe same in both
MCP system and PTS system
λ=λmin⁡+(λmax⁡−λmin⁡)b(S3)

Both systems then drive the same run-and-tumble movement and the same collision rule.

Equations P2 to P4, S1 and S2 are equations (8) to (10) above. Reading down the sheet, the five upper rows are where the two systems part. From the CheY cycle on, the form is common to both.

How the PTS equations were built from the MCP ones

  1. Keep the chassis. The methylation feedback, the CheY cycle, the motor and the tumbling had been written, tested and used in the MCP chip benchmark. We kept their form.
  2. Change what the input is. The PTS does not bind the receptors, so there is no ligand concentration at the receptor to read. What reaches the pathway is sugar being taken in. The input therefore became the accepted uptake flux: a rate that the cell itself shapes, where before it was a concentration that the cell only sampled.
  3. Add a relay. Inside the cell, uptake is turned into a signal by the phosphorylation state of EI. We gave it one state e between 0 and 1, which builds up in proportion to the flux and relaxes back by a first-order process.
  4. Couple it linearly, with no free gain. Dephosphorylated EI inhibits CheA in the receptor complex, and methylation acts the other way. The literature supports an approximately linear propagation of the PTS response, with no extra amplification. So each input is allowed to span the whole activity range from 0 to 1, which fixes the two slopes at 1 and 1/Δ. The only amplification left in the chain is the motor.
  5. Bound the methylation, so that adaptation is complete. Because e cannot exceed 1, the methylation needed to cancel any PTS drive, mmin⁡+Δe, always lies inside [mmin⁡,mmax⁡]. Adaptation is therefore complete at every flux, and the steady-state bias returns to its baseline.
  6. Fix the working point. We anchored kd at the reference strain (5.5), started each cell in its adapted state, chose the motor half-point so that the baseline bias equals the baseline activity, and derived the rates km=Δ/τm and kz=1/(2τY) from the time scales we declared.

The two systems with their numbers

PartMCP system (chip benchmark)PTS system (our presets)
SensorN=6, Ki=18 µM, Ka=3000 µM, α=1, mref=0kd=0.01 per molecule, kr=1 s⁻¹
Baseline activity a01/31/3
Adaptationk=0.3 s⁻¹, m unboundedkm=1 s⁻¹, m from 0 to 4 (Δ=4, τm=4 s)
CheY cycleAT=1, YT=10 µM, ky=1, kz=1 s⁻¹AT=1, YT=10 µM, ky=15, kz=5 s⁻¹
Motorh=10.3, KM=3.5 µMh=10.3, KM=5.348 µM
Where the values come fromExploratory; no verified primary source for Ki and KaConstructed; the couplings are derived from ranges; h is from the literature

The form of the downstream half is the same, but the numbers are not: each system has its own CheY rates and motor half-point, chosen so that its own baseline is consistent. All of them are constructed, ready for measurement.

  • No upstream amplification. The MCP cluster amplifies by cooperativity (N=6). The PTS chain does not. Whatever sharpness the PTS response has comes from the motor and from the transport itself.
  • A different input: consumed flux. It falls where sugar is scarce or shared, and it depends on how many transporters the cell carries. That is why expression (G) is a design knob in the PTS system (Figure 2.6) and has no counterpart in the MCP system.
  • The same downstream, so the same tools. The matched controls, the encounter studies and the software modules work for both. In the software the MCP and PTS presets differ in one node, the signal module.
  • MCP stays as our measurement benchmark. The chip benchmark uses a native receptor with MeAsp. It is a reference for the measurement method, and not the engineered route.

5.7 From signal to movement

A free cell swims at speed v=20 μm/s. Its tumbling rate follows the bias linearly, between a floor and a ceiling:

λ=λmin⁡+(λmax⁡−λmin⁡)b,λmin⁡=0.1 s−1,λmax⁡=3 s−1.(13)

The software keeps an exponential clock of remaining “hazard”. When the clock runs out, the cell turns instantly to a new random heading, with every direction equally likely. Every random draw comes from a stream attached to the cell, so a run can be repeated exactly. The tumble duration of 0.1 s stored in the settings is unused in this instant mode.

Each step uses the motor bias that was committed in the previous step. This is the explicit one-step delay from Chapter 4. In the matched controls, the bias is replaced by a fixed baseline value, while the sugar field, uptake and signalling are still computed. What is switched off is the link from signal to movement, and nothing else.

5.8 Where every sugar equivalent goes

Every accepted amount becomes part of a cell’s reserve, which pays for a small constant maintenance. With M the material stock, F the sugar in the fluid, Ri the reserve of cell i, H the maintenance spent so far and Lout the sugar that has left through the boundaries,

∑jMj+F+∑iRi+H+Lout=constant.(14)

Release and uptake move sugar between these accounts, conserving every molecule equivalent. The software checks the balance at every step, and a step that fails any check is rolled back whole. Chapter 8 reports what those checks found. Conservation shows that nothing was lost; accuracy has its own tests in Chapter 8.

5.9 How the equations are computed

One step of the software runs in a fixed order: prepare, field, shared settlement and diffusion, physiology, geometry, lifecycle, identities, observation, and then an atomic commit.

PartHow it is advanced
DiffusionFinite volume, with paired fluxes, no flux through solid faces and stable sub-steps
Boundary exchangeThe closed form Cnew=Ctarget+(C−Ctarget)e−κΔt
EI, equation (8)Exact relaxation for a flux that is fixed over the step
Adaptation, equation (9)Bounded backward Euler
CheY-P, equation (10)An exponential advance with the CheA activity at the end of the step held fixed
The three togetherIn sequence, EI then adaptation then CheY-P (first-order splitting); each committed step updates the signal exactly once
MovementEvent-time tumble hazard, with a continuous collision check on the capsule path

The step is committed as a whole, together with concentrations, signalling states, random streams, ledgers and identities. If any check fails, they all roll back. Saving fewer frames never changes the science.

↑ Back to the model map

Parameters and Assumptions

Every number has an identity

A number in a model can be a measurement, a value borrowed from a paper, a setting we chose for a scenario, or a rule of the calculation. We say which.

We separate four kinds: a mechanism supported by the literature, a scenario value that we constructed, a value derived from another one, and a purely numerical setting. This shows which numbers can already support a conditional argument, and which ones await measurement.

Space, material and the chemical field

ParameterValueUnitWhat it is
Cell length L and diameter d2 and 0.8µmA fixed capsule; not calibrated to our strain
Domain (encounter scene)160 × 160 × 96µmConstructed; grid 4 µm
Material block16 µm cubeµmConstructed; stock 108 eq
Contact range ρ0.5µmA surface-gap threshold; it is not an adhesion rate
Effective surface enzymes E200copies per cellChosen for plausibility as a display level, not for its effect
Catalytic rate kcat130s⁻¹A soluble-substrate turnover; a cellulase working on solid cellulose is slower (0.01–1 s⁻¹)
Diffusivity D10µm²/sA scenario value; not measured for our product
Boundary layers4 µm, κ=5 s⁻¹, target 0Constructed open boundary
Initial reserve R0 and maintenance106 and 10eq and eq/sAn abstract account, not an ATP measurement

The enzyme and the material are the most uncertain pair. Only the product of E and kcat sets the release rate, and neither is tied to a particular enzyme, anchoring method or material that we have characterised.

Capacity and transport

ParameterValueUnitWhat it is
Requested multiplier G2 (presets)1Not calibrated against an expression measurement
Reference copies Nref100copies per cellAn assumption
Rule A: inner fraction, free fraction, site area0.5, 0.4, 0.0011, 1, µm² per copyAssumptions about the membrane
Rule B: Gcap and Sref3 and 51 and µm²A reference-area scaling
Turnover ν2s⁻¹Uncalibrated
Half-saturation K1µMUncalibrated

The caps are about 1005.3 copies (A) and 301.6 copies (B). A membrane-area parameter is generic about which transporter protein is involved, and enzyme copies and transporter copies are separate quantities even when both are set to 200.

Signal and movement

ParameterValueUnitBasis and limit
EI drive kd0.01per moleculeDerived: fixed at the reference strain (see 5.5)
EI relaxation kr1s⁻¹An assumed time scale
Adaptation range, mmin⁡ and mmax⁡0 and 41A reduced coordinate, not a measured site occupancy
Adaptation rate km1s⁻¹Together with the range it gives τm=4 s
Baseline activity a01/31Constructed
Atot, Ytot1 and 10µMConcentration scales we assumed
ky, kz15 and 5µM⁻¹s⁻¹, s⁻¹Constructed to give the CheY balance and time scale; no explicit CheZ state
Hill coefficient h10.31From single-motor measurements; a whole-cell link is assumed
KM5.348µMConstructed so that b(5 μM)=1/3; not a literature half-point
Swimming speed20µm/sAssumed fixed
Tumble rate, floor and ceiling0.1 and 3s⁻¹A mapping from bias to a whole-cell rate; an assumption
Tumble kernelinstant, isotropicZero duration; every direction equally likely

Several values are tied together by construction. For example kd=2kr/Vref, km=Δ/τm, kz=1/(2τY) and KM=Y0[(1−b0)/b0]1/h with Y0=5 μM and b0=1/3. They show how a number follows from an assumed anchor, so they count as one choice each.

Where cells start

Cells in the encounter scene start on a ring, adapted to the sugar concentration they would meet there, so that every response we see comes from the scene itself. This is a mathematical initial state, chosen for a clean start.

Numerical settings

SettingValueMeaning
Time step0.05 s (presets)The recommended step for the shipped scenes; checked by halving (Chapter 8)
Grid4 µm (encounter scene)A 1 µm grid is used in the small test scenes
Seeds8 per studyAn independent run is the unit of replication; the cells in one run are not independent

What we simplify, and why

We confine the question to one chain: a finite source, the sugar field, accepted uptake, signalling, movement and the next contact. For that chain we assume:

One generic sugar pool stands for the real mix of products, with sugar type, material mass and ATP yield left for later mapping. Enzyme number, cell number and cell shape stay fixed for the short windows. The source depends only on effective enzymes, contact and remaining stock. EI, adaptation and CheY give direction and time scale in a compact form. Movement uses a fixed speed and random turns, with no flow, microgravity or hydrodynamic interaction.

These assumptions let us analyse how the mechanism works and what to measure. A real degradation efficiency, an optimal expression level and long-term productivity come after calibration. Every study is rerun for the settings it reports, so each number on this page matches its parameter table.

↑ Back to the model map

Controls and What We Count

Say what each cell has been through, then say what you measure

Before we compare cells, we say what each cell has been through. Before we compare numbers, we say what they count.

A matched control for every study

Each study has a feedback arm and a matched control. In the control, the link from signal to movement is cut: the motor bias is replaced by a fixed baseline, the same one the cells in the feedback arm are adapted to. Everything else still runs. The sugar field, uptake and signalling are all computed.

Seed by seed, the two arms share the source strength, geometry, boundaries, starting cells, initial dissolved sugar and measurement definitions. The software checks this with a hash of the complete input. The only thing that changes is the link from signal to movement.

From clumps to encounters

At first we looked for what is easy to see: cells gathering around the substrate. It is an intuitive test. If cells sense the sugar and move toward it, the density near the target should rise.

But chemotaxis is a random process in which a bias changes the statistics of movement. A model, or an experiment, can show real chemotaxis without any visible clump, and a clump without chemotaxis:

  • Cells keep arriving at the target and keep leaving it, so the local density may not rise.
  • Sliding or staying at the surface after a collision can build a clear clump with no chemotaxis at all.
  • Weak production, fast diffusion or strong uptake can leave too little gradient for any gathering.
  • Cells may touch the target more often over a short time without forming a lasting cluster.

Clumps and chemotaxis can each appear without the other, and a clump alone says little about transport. What we actually want to know is whether cells and material meet more effectively. That turned our questions into three, each checked on its own:

  1. Does chemotaxis increase arrival?Do more cells reach the target region, or reach it sooner?
  2. Does arrival lead to contact?Do more arrivals turn into more touching, or longer touching?
  3. Does contact improve conversion?Does the change in contact lead to more material converted?
What we countWhat it tells us
Fraction of cells that ever touched, and the time to first contactArrival: do cells find the material more often, or sooner?
Contact entries per cellHow often cells touch the material
Dwell per contact episodeHow long each visit lasts
Contact time per cellThe total time spent touching
Conversion per cellWhat the contact buys: material released
Mean distance to the surface, and the fraction within 10 µmWhere cells are. A picture of the distribution, and a secondary measure

Conversion and contact are linked by construction. While material remains and the enzymes are fixed, the amount released is Ekcat times the contact time (equation 15 in Chapter 9). So conversion and contact time are two views of one chain, and not two independent pieces of evidence. We report both, to see where the material comes from and to check that the software follows its own rules.

Counting independent evidence

The independent unit is the run, meaning one random seed. The 64 cells in a run share one environment, so they are not 64 repeats, and neither are the time points of a run. For each seed we take the difference between the feedback arm and its control, then report the mean difference, a bootstrap 95% interval, and how many pairs came out positive, zero and negative. We keep null and negative results.

↑ Back to the model map

Checking the Numerics

Is the computation sound?

Release, diffusion and uptake happen on different scales. Before we trust a comparison we ask three things. Does every account balance? Does the calculation agree with a known answer where there is one? And how far do results move when the time step or the grid changes?

How we report differences

Two runs that differ only in their time step or grid give a difference. Neither is the truth, so we treat the difference as a measure of sensitivity and compare each difference with an allowance that is fixed before we look: 5% of the reference mean, or a small absolute allowance set for each measure, whichever is larger.

Over several seeds, a paired difference with a bootstrap interval counts as within the allowance when the whole interval lies inside it. If the interval runs across the allowance, we say the difference is unresolved at this number of seeds, and more seeds will settle it.

Where an exact answer exists, we use it. A closed box, filled with one cosine mode of sugar and left to diffuse, has a known solution. We compare the software against it:

Grid spacingTime stepRelative L2 errorChange in total sugar
4 µm0.02 s4.6×10−50
4 µm0.01 s4.7×10−5−5.5×10−10 molecules
2 µm0.02 s8.6×10−60
2 µm0.01 s1.0×10−50

Halving the grid spacing from 4 µm to 2 µm made the error about five times smaller. Halving the time step did not help, because the error is dominated by space here. The test uses D=10 μm2/s over 2 s. It checks the diffusion step, and nothing else in the model.

The signal chain against its own equations

The equations on this page are meant to be the ones the software runs, and we checked that directly. We integrated equations (8) to (10) on their own, with a fourth-order Runge–Kutta scheme and a step of 0.001 s, through the 65 s step protocol of Figure 2.2. We then compared the result with the software’s own step function for the PTS signal module, at four step sizes. The relay state e agrees to 10−13, because the software solves it exactly. The other quantities come closer to the independent solution in proportion to the step, as a first-order splitting should:

Step (s)largest |Deltam|largest |DeltaY| (µM)largest |Deltaa|largest |Deltab|
0.05 (the presets)6.7imes10−31.5imes10−11.7imes10−33.8imes10−2
0.0253.4imes10−37.6imes10−28.5imes10−42.1imes10−2
0.01251.7imes10−33.9imes10−24.3imes10−41.1imes10−2
0.0056.9imes10−41.6imes10−21.7imes10−44.4imes10−3

The largest differences come at the sharpest moments, just after a step in the sugar, where the steep Hill readout magnifies a small error in Y. The steady state (11), the time scales (12) and the two anchors, kd at the reference strain and KM from the baseline bias, reproduce the software’s values exactly. For the MCP system of 5.6, equations M2 and M4 agree with the software’s receptor-activity and adapted-methylation functions to 10−15 at 200 random points, and the feedback M3 converges in the same way (largest difference 9imes10−4 at a step of 0.05 s and 2imes10−4 at 0.01 s).

Conservation and audits

Every step is audited. The software checks the balance of the sugar field, the accepted uptake against what was consumed, and the cells’ reserves. It also counts how often the signal was advanced, which has to equal the number of committed steps, so that no step is missed or doubled.

In the spatial study group we ran 535 frozen configurations, and every one passed. The largest error in the sugar-field balance was about 3.5×10−9 molecule equivalents, and the largest mismatch between uptake and consumption was about 9×10−13. Conservation shows that nothing is lost on the way; accuracy is checked separately, by the tests above.

Time step and grid

We halved the time step and halved the grid spacing and compared several measures over eight matched seeds. That made 48 paired checks.

Within the allowance
36 of 48
Outside the allowance
4 of 48
Unresolved at 8 seeds
8 of 48

The four checks outside the allowance are all relative-gradient measures after the grid was halved. The probe voxels that can be used for a central difference change with the grid, so the gradient difference mixes the concentration solution with the way we observe it. We keep that in mind when we read gradient numbers. The step-response study, with its time step halved, was within its allowance for every measure.

How far the checks reach

These checks show that the equations as written are solved consistently, that every account balances, and that moderate changes of the time step change the results little. Matching a real reactor is the job of calibration with wet-lab and microfluidic data, which comes next.

Seed counts are small (four to eight), so some effects cannot be resolved at that number. And we have assumed low convection. Whether a real device meets that assumption is a measurement, not a calculation. With D=10 μm2/s, a Péclet number of at most 0.1 needs a fluid speed of at most 0.0625 μm/s for a material of 16 µm, and at most 0.0156 μm/s for one of 64 µm. These are conditional estimates, and the swimming speed of the cells plays no part in them.

↑ Back to the model map

What Can Be Told Apart

Before data exist, the equations still know something

One output curve can come from many parameter combinations. Before measurements exist, the equations can still tell us which observations carry information and which designs are, in practice, the same.

Everything in this chapter is a conditional analysis of the equations. It involves no new simulation, no fit and no confidence interval.

Enzyme copies and catalytic rate: conversion pins down their product

With a fixed trajectory, the same enzyme amount in every cell and material that is not used up, the release over a time Tcontact spent in contact is

P=qTcontact,q=Ekcat.(15)

If the contact time is known, a measured conversion pins down q. But for any positive number c, replacing (E,kcat) by (cE,kcat/c) leaves the whole release history unchanged. Several conversion measurements at different contact times do not help either: the two columns of the sensitivity matrix are proportional.

Effective enzymes ECatalytic rate kcat (s⁻¹)Product q (eq per cell per s)
200 (our setting)13026,000
10026026,000
4006526,000
2,0001326,000

The lesson for design is concrete. First get an independent measure of the effective, active enzyme on the surface, or of the catalytic rate under matching conditions. Then use the conversion to pin down the other. Repeating the same endpoint keeps the tie, so the independent measure comes first, and it should count active enzyme on the surface rather than the nominal expression level.

Capacity rules A and B

Both capacity rules share Neff=min⁡(GNref,Ncap) and Vmax⁡=Neffν. For our capsule the caps are about 1005.3 copies (rule A) and 301.6 copies (rule B), and they bind at G≈10.05 and G≈3.02. At the presets’ G=2 both rules ask for only 200 copies, so both give 200 effective copies and Vmax⁡=400 eq/s. Try it:

Figure 9.1 · Transporter capacity rules and the current baselineInteractive

  • Capacity rule A
  • Capacity rule B
  • G = 2, the presets’ value
  • where a rule reaches its cap
A. Effective transporter capacity02505007501000024681012Requested expression multiplier GEffective copies per cellB. Maximum uptake capacity0500100015002000010203040Requested expression multiplier GMax uptake (eq/s per cell)
Drag G. Effective transporter copies (left, G from 0 to 12) and maximum uptake capacity (right, G from 0 to 40) under capacity rules A and B, for one capsule cell (L=2 μm, d=0.8 μm) with Nref=100 and turnover 2 s−1. The grey dashed line marks G=2, the presets’ value; dotted lines mark where each rule reaches its cap. The slider snaps to saved values of G. G is a requested expression multiplier with no expression calibration. Capacity is neither realised uptake nor a predicted benefit.
GA: copiesB: copiesA: Vmax⁡ (eq/s)B: Vmax⁡ (eq/s)
2200200400400
4400301.6800603.2
401005.3301.62010.6603.2

Below its cap, Neff rises by 100 copies per unit of G, and its elasticity with respect to G is 1. Above the cap both drop to 0. So before comparing two designs, check whether the requested amount reaches the capacity at all. Our model has no expression burden and no life cycle, which means the capacity plateau is not an optimal expression level.

EI: the steady state and the transient say different things

For a constant, known and actually accepted flux J‾, equations (11) and (12) give e∗=kdJ‾/(kr+kdJ‾) and τe=1/(kr+kdJ‾). The steady state alone fixes only the ratio kd/kr. If we also observe a clean EI relaxation, with the input and the readout scale known, the two can be separated:

kr=1−e∗τe,kd=e∗J‾τe.(16)

So the right data can separate them. It needs a positive, known input, an EI state we can observe, and a transient that is actually excited. If the start is already at steady state there is no relaxation to read, and with no input nothing constrains kd. If only the movement is observed, the inner states and the actual input stay hidden, so identifying the whole chain parameter by parameter needs those inner readouts too.

Accepted flux J‾ (eq/s)Steady state e∗Relaxation time τe (s)
001
1001/21/2
2002/31/3
4004/51/5

Two different pairs can share the steady state and differ in speed. Take (kd,kr)=(0.01,1) and (0.02,2) at J‾=200 eq/s. Both give e∗=2/3, but τe is 1/3 s for the first pair and 1/6 s for the second. Downstream, adaptation takes τm=Δ/km=4 s, which is not 1/km=1 s. Once adaptation is complete, a∗=1/3, Y∗=5 μM and b∗=1/3 follow from the structure of the equations and do not depend on the upstream rates. The transient still carries information about them.

How sensitive is each output to each parameter?

εy,θ=θy∂y∂θ.(17)

The conditional elasticity: the relative change in an output y for a relative change in a parameter θ, with everything else fixed. It is used only where y is not zero and the stated conditions hold.

Output, and what is held fixedParameterElasticityWhat it means for measuring
Conversion P, material not used up, contact knownE or kcat1Both act equally, so conversion alone cannot split them
Maximum uptake Vmax⁡, below / above the capG1 / 0Check first whether we are on the capacity plateau
Local uptake rate, unlimited supply, C=KC, K, Vmax⁡0.5, −0.5, 1The concentration range sets how much a measurement says about K
e∗ at J‾=200 eq/skd, kr, J‾1/3, −1/3, 1/3The input scale and the inner rates are tied together
Local adaptation timekm, Δ−1, 1Separate the span of the coordinate from the adaptation rate
Y∗ after full adaptationkd, kr, km0The steady downstream readout cannot replace the upstream transient

These are partial derivatives at a fixed input or trajectory: local sensitivities, which tell us where to look. Ranking the parameters of the whole feedback model, its total effect on movement and conversion, and real precision all need more: an error model, a sampling rate and independent repeats. Confidence intervals, a global ranking and an “optimal” parameter set are for that later step.

The measurements we would need

From the analysis above we list the observations that would let us calibrate the model. The table is a shopping list of what to measure: eleven data sets that would calibrate the model.

What would have to be observedWhat it settles
D01Conversion over time at a known contactThe product Ekcat
D02Active surface enzyme per cell, and the fraction that is activeEffective E against a nominal expression level
D03Catalytic rate and products on a matching substratekcat and the stoichiometry
D04Known sugar, actual uptake and the number of active transportersVmax⁡, K, turnover and Neff
D05An expression change, with effective copies and cell geometryHow G relates to the capacity plateau
D06A known accepted flux over time, with a calibrated EI readoutThe steady ratio against the absolute rates
D07EI, activity or adaptation recovering over timekm, the span, and the readout gain
D08CheY-P, motor readout and actual turning over timeSignal, single motor and whole-cell turning rate, apart
D09Concentration in space, with source and boundary exchangeDiffusion, uptake and boundary loss, apart
D10Held-out conversion, movement, uptake and fieldAn independent test; it cannot also be used for fitting
D11Expression cost, growth, death, division and energy budgetOnly for later, long-term questions

Each measurement also needs its units, its conditions, whether it is for calibration or for holding out, and a time resolution. As design targets, a tenth of each time scale in our equations gives about 0.02 s for EI (about 0.2 s at 400 eq/s), 0.4 s for adaptation (4 s) and 0.01 s for CheY-P (0.1 s). They are targets, not a capability we have shown, and a real instrument, its noise and the identity of the construct would have to be considered again. D11 lies outside the present fixed-cell model.

  • A single concentration gives one constraint, J=Vmax⁡C/(K+C), so Vmax⁡ and K cannot be separated. Two different positive concentrations can in principle do it, and separating copies from turnover needs an independent count of working transporters.
  • Changing G only below the cap leaves the cap hidden. Changing it only above the cap no longer changes the capacity.
  • Watching EI decay from a non-zero state under zero input pins down kr and says nothing about kd.
  • Watching only a normalised adaptation coordinate, with its range unknown, mainly constrains km divided by the range.

This analysis asks whether an observation can tell parameters apart. The screens in Chapter 2 ask a different question: what changes a finite-window output when a parameter is moved? A parameter can have a large response and still be hard to estimate from a single endpoint, and the reverse, so we read the two analyses side by side.

↑ Back to the model map

Literature and Public Data

What the sources give us, and what they do not

In Friskoli we want the sugar a cell can get to be linked to how it then moves.

The environment sets what a cell may take up, but what it actually gets also depends on the sugar available locally and on competition. That is why the model drives the signal with accepted uptake, and not with the amount a cell requests.

This choice has support in the literature. Somavanshi et al. used FRET to study how the PTS of Escherichia coli responds to sugar influx, and Neumann et al. studied how PTS components connect with the chemotaxis receptor complex and its adaptation. Together they support the link from uptake to the chemotaxis pathway. The state equations, the clipping and the values in our model are simplified descriptions that we built for our own question.

Part of the modelWhat the literature givesOur simplification, and its limit
Accepted uptake → PTS-like statePTS reports sugar influx; the response propagates to the chemotaxis pathway roughly linearly (Somavanshi et al., 2016)One state e for the whole phosphotransfer network. No experiment yet ties e to a real phosphorylation level
PTS-like state → activity and adaptationPTS input and receptor input share the downstream methylation adaptation (Neumann et al., 2012)A linear activity and a scalar adaptation law. Both are our assumptions, including their time scales
CheY-P → motor biasA steep single-motor response (Cluzel et al., 2000)A Hill form for simplicity. KM and the mapping to a turning rate are not values from that paper
Engineered cellobiose sensingNo source supports the combination of values or the coupling strength in our strainConstructed values and sampled ranges; not yet validated

Cluzel et al. report an apparent Hill slope of about 10.3, fitted to a clockwise bias between 0.1 and 0.9, and they note that one Hill function does not fit the whole concentration range. We keep the steepness and do not claim that the model’s full motor curve, or its turning-rate range of 0.1 to 3 per second, is a calibrated law of cell movement. A single motor’s bias is not population chemotaxis either.

What public experimental data can add

The supplementary data of Somavanshi et al. (2016) hold 16 sheets. Our analysis used the 63 dose-response summary points of their Figures 3A and 3B, changing only the unit to µM and keeping the authors’ means, standard errors and response directions. The figure shows 36 of them: the EIIA^Glc–MglA and CheY–CheZ FRET responses to glucose and GlcNAc. These are the authors’ experiments, not ours.

Four panels of published normalised FRET responses against sugar concentration: EIIA-Glc to MglA for glucose and for GlcNAc, rising; and CheY to CheZ for glucose and for GlcNAc, falling.
Figure 10.1 · Published PTS and chemotaxis FRET dose responses. From Somavanshi et al. (2016), Figures 3A and 3B. Points are the authors’ means and error bars their standard errors for n = 3 independent experiments; lines only join the published means. The vertical axis is the authors’ own normalisation, with their direction of response. It is not our model’s EI state or CheY-P concentration.

The FRET signals are normalised readouts of a reporter system. They do not give our eq/s uptake, our e, or CheY-P in µM, and they do not test our source function or our spatial movement. Used with care, they say why uptake and chemotaxis are linked in the model, and which input and readout we should measure in our own experiments.

Enzyme activity and diffusion are conditional settings

The release is set by effective enzyme, catalytic turnover, contact and the remaining stock. Our present source has no product inhibition. The literature on it, for example Kuusk et al. (2015) and Teugjas and Väljamäe (2013), shows that inhibition depends strongly on the substrate and the conditions, and a similar number cannot show that our surface-displayed system has the same constant.

Diffusion has to be told apart from effective transport in the model’s own surroundings. Taddeo et al. (2025) measured diffusion in sugar solutions of different temperature and composition, which is a reminder to match the conditions. We have no measurement for our own product and medium, so D=10 μm2/s stays a scenario value. The unit itself is exact: by the SI definition of Avogadro’s constant, 1 µM in 1 µm³ is 602.214076 entities (BIPM). Calling an entity “one eq” needs one more convention, and the SI does not decide whether the real product is glucose, cellobiose or something else.

References

  1. Somavanshi, R., Ghosh, B., & Sourjik, V. (2016). Sugar influx sensing by the phosphotransferase system of Escherichia coli. PLoS Biology, 14(8), e2000074. Supplementary data: S1 Data.
  2. Neumann, S., Grosse, K., & Sourjik, V. (2012). Chemotactic signaling via carbohydrate phosphotransferase systems in Escherichia coli. PNAS, 109(30), 12159–12164.
  3. Cluzel, P., Surette, M., & Leibler, S. (2000). An ultrasensitive bacterial motor revealed by monitoring signaling proteins in single cells. Science, 287(5458), 1652–1655.
  4. Kuusk, S., Sørlie, M., & Väljamäe, P. (2015). The predominant molecular state of bound enzyme determines the strength and type of product inhibition in the hydrolysis of recalcitrant polysaccharides by processive enzymes. Journal of Biological Chemistry, 290(18), 11678–11691.
  5. Teugjas, H., & Väljamäe, P. (2013). Product inhibition of cellulases studied with 14C-labeled cellulose substrates. Biotechnology for Biofuels, 6, 104.
  6. Taddeo, F., Ortona, O., Ciccarelli, D., Tesser, R., Grénman, H., Di Serio, M., Russo, V., & Paduano, L. (2025). The importance of measuring diffusion coefficients in reactor design and simulation. RSC Advances, 15(20), 15701–15711.
  7. Lemelle, L., Cajgfinger, T., Nguyen, C. C., Dominjon, A., Place, C., Chatre, E., Barbier, R., Palierne, J.-F., & Vaillant, C. (2020). Tumble kinematics of Escherichia coli near a solid surface. Biophysical Journal, May 2020.
  8. Molaei, M., Barry, M., Stocker, R., & Sheng, J. (2014). Failed escape: Solid surfaces prevent tumbling of Escherichia coli. Physical Review Letters, 113, 068103.
  9. Bureau International des Poids et Mesures. SI defining constants. The International System of Units (SI).

↑ Back to the model map

Reproducing This Page

Software, scripts and where each figure comes from

Every result on this page can be run again from the software we release.

Results come from the Friskoli-CAD source that became version 1.0.1, run on 2026-10-17 on Python 3.13 (Linux), after the EI correction in 5.5. Version 1.0.1 only adds one input check and removes unused code, so it changes no numbers. For each study we keep the frozen project, the time series, the contact events and the per-step audits, together with a hash of the source code, the parameters and the environment. The same configuration, run twice, gave the same numbers bit for bit.

Some studies have also been run a second time, independently. The step and parameter-band studies were repeated and gave the same half-peak response (0.15 s), adaptation time (18.2 s) and median gain (about 0.42). The 60 s encounter study was repeated on Windows, and its paired statistics matched the original table entry by entry, apart from the last digits of floating-point numbers. The 30 s encounter study, the expression scan and the dark start have not yet had a second independent run.

Figure or tableStudy scriptTime on two cores
2.1 to 2.3 (signal)research/wiki_signal.pya few minutes
2 s spatial screens (Figures 2.8 to 2.19)research/wiki_spatial.py, wiki_report.pyabout 50 minutes
2.4, 2.5 (encounter)research/encounter_study.pyabout 25 minutes each
2.6 (expression scan)research/g_scan.pya few minutes
2.7 (dark start)research/dark_start.pya few minutes
python -m pip install -e ".[dev,research]"
python tools/build_presets.py --check
python research/wiki_signal.py --out runs/wiki-signals
python research/wiki_spatial.py --out runs/wiki-spatial
python research/encounter_study.py --out runs/encounter-60s
python research/encounter_study.py --out runs/encounter-gap16-30s --start-gap 16 --duration 30
python research/g_scan.py --out runs/g-scan
python research/dark_start.py --out runs/dark-start

The software, its documentation and how to install it are described on the Software page. Figures 2.2 and 9.1 on this page are drawn in your browser from the saved tables, and the tables behind them come from the same study outputs. The model’s own wording of its limits is in the software’s model reference.

↑ Back to the model map

Source Code

The code is on GitLab and GitHub, with prebuilt packages under its Releases. Friskoli-CAD is released under the MIT licence; third-party software and fonts are credited in the repository. The Software page shows how to install and start it.

git clone https://gitlab.igem.org/2026/software/szu-siat-china/friskoli-cad.git

Why Do Cells Gather?

A test bench built from our chemotaxis simulator

The chemotaxis simulator is the part of our project that people play with. We also used its engine as a test bench, to ask what makes cells gather around a source.

A schematic of run and tumble: a cell path of straight runs broken by tumbles, heading toward a glowing sugar source.
Run and tumble: heading toward more sugar, a cell tumbles less. (Schematic)
How the test was run
  • One large source releases sugar for 120 s in the simulator’s microgravity setting. Then the field is frozen: nothing is eaten, and no cell grows, divides or dies. Beyond about 25 grid cells from the source the sugar is too faint to change a cell’s activity (0.49 at 30 cells, against 0.50 at rest).
  • 600 cells start evenly spread over the 320 × 200 arena and move with the simulator’s own code. Between runs only the way the cells sense the sugar changes.
  • We count the cells within 10, 20 and 40 grid cells of the source and divide by the number an even spread would put there (0.5 % of the cells for 10 cells). A ratio of 1 means no gathering.
  • Every condition has 12 independent runs of 600 s. We report the mean of the last 30 s, with a 95 % interval over the 12 runs. The script and the saved results are in the experiments folder of the simulator’s source, so anyone can repeat the test.

Memory is what gathers the cells

We kept the sugar field fixed and changed only how the cells sense it. The bars show how many more cells sit within 10 grid cells of the source than an even spread would put there.

Test A · Gathering needs a memory of the signal

  • an even spread (1.0)
  • 95 % interval over 12 runs

Wild-type cells, with the sensing changed

  1. No transportersthe cell cannot sense the sugar1.0± 0.2
  2. Signal, no memoryadaptation switched off0.8± 0.2
  3. Memory 4 times slower1.5± 0.2
  4. Memory as in the appthe wild-type cell2.4± 0.3
  5. Memory 4 times faster3.2± 0.6
  6. Memory 16 times faster2.0± 0.4
Cells within 10 grid cells of the source, relative to an even spread. Mean of the last 30 s of 600 s, 600 cells in each of 12 runs. Grey: controls. These are the simulator’s rules, not measurements.

A cell with no transporters stays at 1.0, which is what an even spread gives, so the measure behaves as it should. A cell that senses the sugar but cannot adapt gathers nothing either: it ends at 0.8, a little below an even spread. Cells gather only when they compare the signal with a memory of it. With the app’s own adaptation rate the count at the source is 2.4 times an even spread. Adapting four times more slowly gives 1.5. Adapting four or sixteen times faster gives 3.2 and 2.0, which these 12 runs cannot tell apart from the app’s rate.

In absolute terms, 1.2 % of the cells are within 10 grid cells of the source at the end, where an even spread gives 0.5 %. The gathering is real but modest. Most cells start where the sugar cannot be sensed, and have to wander into the gradient first. The count rises during the first minutes and then levels off (2.8 ± 0.5 at 300 s, 2.4 ± 0.3 at 600 s).

The engineered strain: which change helps?

The simulator’s engineered strain differs from the wild type in three ways: four times as many transporters, a tighter affinity for the sugar, and faster and straighter swimming. The third was set so that the two strains look different on screen. To see what each change does, we swapped them one at a time.

Test B · Sensing helps, swimming speed costs

  • an even spread (1.0)
  • 95 % interval over 12 runs

Wild-type and engineered strains, one change at a time

  1. Wild-typethe app’s reference cell2.4± 0.3
  2. Four times the transportersN = 200 instead of 504.8± 0.4
  3. Tighter affinityK_m = 0.04 instead of 0.123.4± 0.6
  4. Both PTS changesin the wild-type body5.1± 0.3
  5. Faster, straighter swimming onlywith the wild-type PTS1.9± 0.2
  6. Engineered, as in the appall three changes together3.2± 0.2
Same measure as Test A. Orange: the engineered body (faster, straighter swimming). N is the number of transporters and K_m the affinity, in the simulator’s units.

More transporters and a tighter affinity each raise the count, and together they take the wild-type cell from 2.4 to 5.1. The faster, straighter swimming works the other way. With the engineered PTS, the engineered body ends at 3.2, against 5.1 in the wild-type body. With the wild-type PTS it gives 1.9 against 2.4, a difference in the same direction that these runs cannot separate.

The engineered strain as it appears in the app ends above the wild type at all three distances: 3.2 ± 0.2 against 2.4 ± 0.3 within 10 cells, and 1.9 ± 0.1 against 1.4 ± 0.1 within 40. In this simulator the gain of the engineered strain comes from sensing, and the faster swimming gives some of it back. The faster swimming of the engineered cell is a setting of the app, taken as given here.

All the numbers
Cells near the source relative to an even spread, at 600 s
ConditionWithin 10 cellsWithin 20 cellsWithin 40 cells
Blind (no transporters)1.0 ± 0.21.0 ± 0.11.0 ± 0.1
Position only (no memory)0.8 ± 0.20.9 ± 0.20.9 ± 0.1
Memory x0.251.5 ± 0.21.5 ± 0.21.3 ± 0.1
Memory as in the app (wild-type)2.4 ± 0.32.1 ± 0.21.4 ± 0.1
Memory x43.2 ± 0.62.2 ± 0.31.3 ± 0.1
Memory x162.0 ± 0.41.7 ± 0.21.2 ± 0.1
Engineered, position only0.8 ± 0.10.9 ± 0.11.0 ± 0.1
Engineered, as in the app3.2 ± 0.23.0 ± 0.21.9 ± 0.1
Wild-type with the engineered transporter number (N = 200)4.8 ± 0.43.7 ± 0.41.8 ± 0.1
Wild-type with the engineered affinity (K_m = 0.04)3.4 ± 0.62.8 ± 0.31.7 ± 0.1
Wild-type body, engineered PTS (N and K_m)5.1 ± 0.34.2 ± 0.22.1 ± 0.1
Engineered body (faster, straighter), wild-type PTS1.9 ± 0.21.7 ± 0.21.3 ± 0.1
Within 10 cells over time (mean of the 30 s up to each time)
Condition50 s100 s200 s300 s600 s
Position only (no memory)1.2 ± 0.21.0 ± 0.20.9 ± 0.10.8 ± 0.10.8 ± 0.2
Memory as in the app (wild-type)1.9 ± 0.42.1 ± 0.22.4 ± 0.32.8 ± 0.52.4 ± 0.3
Engineered, as in the app1.8 ± 0.22.5 ± 0.12.7 ± 0.33.2 ± 0.33.2 ± 0.2

What this test does not show

  • The sugar is not eaten, and the cells do not grow, divide or die. In the app they do, and that changes the field the cells follow.
  • There is one source, of one size, in the microgravity setting. A different source gives a different gradient, and a different result.
  • The values are the app’s, chosen for the pace of a game. In particular the adaptation rate is slower than in Friskoli-CAD, and Test A shows that it shapes the result. Nothing was fitted to measurements.
  • The intervals describe the spread between 12 runs of the same set-up. They do not describe our uncertainty about the parameters, and we looked at many pairs without correcting for that, so read them as a guide.
  • No wet-lab measurement is involved. The test checks that the simulator does what a chemotaxis model should, and it does not support a claim about how well engineered cells will find a substrate.

The Simulator and Friskoli-CAD

The same chain, the same tests, and a thin layer

The simulator and Friskoli-CAD run the same signal chain, and they write some of its links differently.

Sugar enters through the PTS and sets the phosphorylation of enzyme I (EI). That lowers the activity of the receptor kinase (CheA). Methylation feeds back and brings the activity to its baseline. The activity sets how often the cell tumbles. The table says where the two differ.

Link in the chainChemotaxis simulatorFriskoli-CAD (signal.pts_methylation, project preset)
Sugar fluxComputed inside the cell from its transporters and the local sugar.Arrives as accepted_flux from the transport module, after neighbouring cells share the sugar.
EI stateFollows the flux at once (quasi-steady).An equation with its own relaxation time, 1 s in the preset.
Receptor activityLog-odds form: the PTS term divides the odds of the active state.Linear form, clipped to the range 0 to 1.
AdaptationRate 0.08 per second, chosen so that the response lasts about 12 s on screen. Baseline activity 0.5.Methylation time 4 s. Baseline activity 1/3.
To the motorThe tumble rate is a Hill function (n = 8) of the activity.A CheY-P cycle (0.1 s), then a Hill function (n = 10.3) for the motor bias.

We wrote the simulator’s activity law as a module for CAD, szu_siat.pts_odds_methylation, with presets of its own, and then put it through the tests that PTS A and PTS B went through. It has not been reviewed by the CAD maintainers, and it ships with CAD 1.0.2 as an example, not as a built-in module. The Software page says what has been checked. You can try the simulator itself in your browser.

The simulator’s law through the PTS A and PTS B tests

Our two PTS designs were put through one fixed set of studies in Friskoli-CAD: the response of the signal chain to steps and to a range of backgrounds, a scan of the expression level, a 2 s contact assay, matched spatial controls with their audits, a start in a field without sugar, and a maintained-gradient encounter with 8 seeds. The two designs differ in their capacity rule. We ran the same set for the simulator’s law, with the same seeds, durations and cases, beside CAD’s own law. Only the law for the receptor activity differs between the two columns below. All 36 jobs ran to the end, 164 minutes of computing in all, spread over seven worker processes.

One choice of ours matters for everything below. The log-odds law has a gain, and we set it to 4.5 so that the two laws respond alike for a cell with no sugar. As the sugar dephosphorylates more of the cell’s EI, the log-odds response gets weaker than CAD’s, by a factor 1 / (1 + 4.5 e) at the adapted state, where e is the dephosphorylated fraction of EI. When all of the EI is dephosphorylated that factor is 0.18, about a fifth. A test in CAD checks the formula. Matching the gain at another point would change the size of the response, and we did not try that.

Effects of the link from signal to movement (link on minus cut), mean [95 % interval over seeds]; the first two rows are signal-level gains. Intervals: bootstrap for the CAD studies, Student’s t for the thin layer. Uncalibrated.
MeasureCAD’s built-in lawThe simulator’s log-odds law
Signal level: median peak gain of the response, over 64 parameter sets (per ln C)0.420.17
Signal level: peak gain at the best PTS A expression level0.590.21
Spatial study, 2 s, 8 seeds: extra contact time per cell with the link on+0.046 [0.009, 0.091]+0.022 [0.004, 0.047]
Spatial study, 2 s, 8 seeds: extra converted molecules per cell+1 200 [228, 2 360]+561 [97.5, 1 230]
Encounter, 60 s, PTS A, 8 seeds: extra contact time per cell (s)+0.93 [0.55, 1.27]+0.32 [0.16, 0.48]
Encounter, 60 s, PTS A: extra converted molecules per cell+24 200 [14 300, 33 100]+8 250 [4 230, 12 400]
Thin layer, 60 s, 8 seeds: extra share of cells within 24 µm of the centre+0.137 ± 0.062+0.066 ± 0.037

Where CAD’s law shows an effect of the link from signal to movement, the log-odds law shows the same effect in the same direction, at 34 to 49 % of the size in the five measures that give an effect in the table. The rest of the picture is alike too.

  • Both laws adapt exactly: with adaptation on, the motor bias is the same at every background to within 5.6 × 10⁻¹⁶. CAD’s law is clipped to zero at the highest background when adaptation is off; the log-odds law is not (0.020 against 0). The response is weaker at the matched gain, as the formula says: the median peak gain is 0.17 against 0.42. The best expression level in the scan is the same for both laws (requested G of 10.8 for rule A and 3.4 for rule B).
  • The 2 s contact assay finds no effect of the link with either law: the paired difference in contact time is −0.09 ± 0.91 cell · s with CAD’s law and −0.29 ± 0.76 with the log-odds law. PTS A and PTS B give identical numbers, because neither capacity rule binds at G = 2.
  • In the spatial studies all 32 audited cases pass for both laws, and the signal is updated once per step. The release rate dominates the parameter screen for both. The order of the other four changes: the adaptation rate moves from last to second place, and uptake from second to last. We have not looked into why.
  • In the dark start the link adds contact time at every release factor with both laws. The log-odds law’s gain is between 0.5 and 1.2 times CAD’s, depending on the factor.
  • In the encounter, four outcomes are within noise for both laws: the share of cells that ever touch the source, the time to first contact, the number of contacts and the share within 10 µm at the end. Two sit on the edge and differ: the length of a complete contact is resolved with CAD’s law (+3.8 [2.7, 5.0] s) and not with the log-odds law (+1.6 [−0.1, 3.0] s), and the final mean distance to the source is the other way round (−2.3 [−4.4, 0.1] µm against −1.9 [−3.0, −1.1] µm). The point estimates of the distance are close, so we do not read it as a difference between the laws.

Read together: in these constructed settings the choice of activity law changes how large the modelled benefit of the link is more than whether the model shows one. How much it changes it depends on the point at which we matched the gain. It says nothing about real cells.

All the numbers
Signal-level studies: A static response, B step response, C 64 parameter sets, and the expression scan
Signal levelBuilt-in lawLog-odds law
Adaptation on: motor bias, spread over all backgrounds05.6 × 10⁻¹⁶
Adaptation off: motor bias at the lowest background0.8690.797
Adaptation off: motor bias at the highest background (10 000 µM)00.020
Adaptation off: background at which the bias halves (µM)0.08390.0792
Adaptation off: steepest slope of the bias, per ln C0.5880.279
Step up, adaptation on: peak change of the bias−0.333−0.268
Step up: time to recover to within 5 % (s)18.215.7
Step down, adaptation on: peak change of the bias0.5400.287
Step down: time to recover to within 5 % (s)16.916.2
64 parameter sets: median peak gain (per ln C)0.4190.171
64 parameter sets: 5th to 95th percentile at that background0.229 to 0.5600.118 to 0.220
64 parameter sets: background at the peak (µM)0.160.1
Expression scan: best requested G, rule A / rule B10.8 / 3.410.8 / 3.4
Expression scan: peak gain at the best G, rule A / rule B0.595 / 0.5290.211 / 0.200
PTS A and PTS B give identical numbers (8 seeds each)
Contact assay, 2 sBuilt-in lawLog-odds law
Contact time (cell · s): link on minus cut, mean ± 95 % interval−0.085 ± 0.915−0.285 ± 0.757
Contact time: seeds with a positive / zero / negative difference5 / 1 / 24 / 2 / 2
Degradation (molecules): link on minus cut, mean−2 210−7 410
Degradation: seeds with a positive / zero / negative difference5 / 1 / 24 / 2 / 2
Matched spatial controls with 8 seeds, mean [95 % interval], and the credibility checks of the same studies
Spatial studies, 2 sBuilt-in lawLog-odds law
Cases audited / passed32 / 3232 / 32
Largest error in the sugar balance of the field2.3 × 10⁻⁹1.9 × 10⁻⁹
Link on minus cut: contact time per cell (s)+0.046 [0.009, 0.091]+0.022 [0.004, 0.047]
Link on minus cut: converted molecules per cell+1 200 [228, 2 360]+561 [97.5, 1 230]
Link on minus cut: mean CheY-P (µM)−0.121 [−0.216, −0.034]−0.023 [−0.044, −0.004]
Link on minus cut: relative gradient (per µm)1.5 × 10⁻⁴ [−6.9 × 10⁻⁵, 5.1 × 10⁻⁴]1.3 × 10⁻⁴ [6.6 × 10⁻⁷, 3.8 × 10⁻⁴]
Resolution checks within the allowance36 of 4832 of 48
Population-size checks within the allowance6 of 246 of 24
Seed-precision rows within the allowance8 of 248 of 24
Release, diffusion and uptake conditions that keep a gradient14 of 2714 of 27
Mean absolute effect (μ*) of each parameter on the converted molecules per cell
Parameter (Morris screen)Built-in lawLog-odds law
Diffusion323442
Uptake851290
Release rate7 7505 450
Adaptation rate126603
EI coupling507498
Contact time per cell (s), link on minus cut, 10 s, 4 seeds (seeds with a positive / zero / negative difference)
Release factor (dark start)Built-in lawLog-odds law
0.5+0.57 (3 / 0 / 1)+0.35 (3 / 0 / 1)
1+0.60 (3 / 0 / 1)+0.74 (3 / 0 / 1)
2+1.01 (3 / 0 / 1)+0.50 (3 / 0 / 1)
4+1.20 (4 / 0 / 0)+0.87 (4 / 0 / 0)
8+1.54 (4 / 0 / 0)+0.85 (4 / 0 / 0)
16+1.35 (4 / 0 / 0)+1.03 (4 / 0 / 0)
Link on minus cut, mean [95 % bootstrap interval over 8 seeds], 60 s
Encounter, PTS A, 8 seedsBuilt-in lawLog-odds law
Share of cells that ever touched the source+0.012 [−0.012, 0.043]−0.008 [−0.041, 0.029]
Median time to first contact (s)+0.8 [−10.1, 12.2]−0.5 [−4.9, 4.5]
Contact entries per cell+0.018 [−0.029, 0.070]−0.012 [−0.061, 0.035]
Mean length of a complete contact (s)+3.81 [2.69, 4.96]+1.61 [−0.10, 2.97]
Contact time per cell (s)+0.93 [0.55, 1.27]+0.32 [0.16, 0.48]
Converted molecules per cell+24 200 [14 300, 33 100]+8 250 [4 230, 12 400]
Mean distance to the source surface at the end (µm)−2.3 [−4.4, 0.1]−1.9 [−3.0, −1.1]
Share of cells within 10 µm of the source at the end+0.008 [−0.004, 0.020]+0.006 [−0.002, 0.012]
Link on / cut, means over 2 seeds. 2 seeds are too few for an interval, so none is given
Encounter, PTS B, 2 seedsBuilt-in lawLog-odds law
Median time to first contact (s)20.9 / 11.612.8 / 11.6
Mean length of a complete contact (s)6.79 / 1.814.43 / 1.81
Contact time per cell (s)1.84 / 0.391.02 / 0.39
Converted molecules per cell47 900 / 10 00026 500 / 10 000

A second look in Friskoli-CAD: a thin layer

Friskoli-CAD’s encounter preset puts 64 cells in a volume round a pillar of material. We built a variant in which the cells swim in a single 4 µm layer instead (160 µm square, with sinks on the four sides). We ran both with the link from signal to movement on, and with it cut as a matched control, with CAD’s own law, for 8 seeds and 60 s each. We then ran the same seeds with the link on and the simulator’s log-odds law, and set them against the same cut controls: with the link cut the motor is held at a constant bias, so the signal law cannot change those runs. The table gives the share of cells within 24 µm of the centre at the end, and their mean distance from it.

After 60 s, mean ± 95 % interval over 8 runs
Set-upSignal to movementWithin 24 µm of the centreMean distance (µm)
Thin layeron, built-in law0.22 ± 0.0856.5 ± 6.6
Thin layeron, log-odds law0.15 ± 0.0466.3 ± 5.1
Thin layercut (control)0.08 ± 0.0373.1 ± 3.7
Volumeon, built-in law0.08 ± 0.0365.3 ± 2.1
Volumeon, log-odds law0.07 ± 0.0366.4 ± 1.7
Volumecut (control)0.05 ± 0.0368.5 ± 2.5

In the thin layer the link raises the share near the centre by 0.14 ± 0.06, counting each seed’s pair of runs, and it does so in all 8 pairs. The cells also end 16.6 ± 5.0 µm closer to the centre. With the log-odds law the share rises by 0.07 ± 0.04, in 7 of 8 pairs, and the cells end 6.8 ± 5.1 µm closer. In the volume the difference is 0.03 ± 0.04 with CAD’s law and 0.02 ± 0.04 with the log-odds law, which 8 runs cannot tell apart from zero. One reason to expect a difference: in a plane the steady field of a source falls off logarithmically, not as 1/r, so the gradient reaches farther.

Software

From Microscopy to Interpretable Motion

V.02 · What our AI does, in 10 seconds

Real E. coli growth time-lapse: every cell outlined, numbered with a Track ID and marked E, J or NC, with a list of track votes beside the image.

Real E. coli under the microscope. The model outlines every cell, follows it from frame to frame with a Track ID, and labels where it comes from (E = E_coli, J = JE2_source, NC = not classified). The rest of this tab shows how we built and tested each step.Real growth time-lapse · 20 frames about 60 s apart · slowed to 10 s, no frames added

Under the microscope, a dark patch shifts left between two frames. A swimming bacterium? Several cells overlapping? The whole field drifting with the fluid or the camera? To turn what we see into engineering evidence, we first make sure we know exactly what each measurement captures.

Friskoli needs to watch cells meet, approach and leave a material. So we built image analysis at two observation scales, and tested each against ground truth that fits its output:

RouteWhen we use itWhat it givesToolsSee it
IndividualCell boundaries can be resolvedA mask per cell, identities across frames, a source label, trajectoriesYOLO26n-seg, ByteTrack, SmallSourceCNNReal cells, tracked and labelled
CollectiveCells too small or crowded to separateLocal apparent motion of the image texturePIV, Farneback optical flowMotion arrows on a real video
Mask AP50–95 on real validation, best recipe (R)
0.537
IDF1 on synthetic video, best recipe (RVM)
0.476
Real objects found and correctly classified, end to end
77%
Endpoint error in clear local motion (px/frame)
≈0.02

F.01 · Friskoli / Modeling

From Microscopy to Measurement at Two Scales

Two routes read the same images: one follows single cells, the other follows how the texture moves. Select a box to read its section.

Independent analysis and validationSegmentationIdentitiesSource labelsKnown motion

Results and design implicationsThe real videoArtificial bias and passive advectionModel applicabilityLimitations and next experimentsReferences

Reference labels never repair predictions; valid-window counts are not bacterial counts.

A schematic of the project’s implemented modules. The upper route connects single-class segmentation to tracking and independent source classification; the lower route estimates image motion directly. Synthetic ground truth supports training or offline evaluation and is never used to repair actual inference outputs. Each route is scored against its own ground truth, so their results are reported side by side.
ChapterTopicHeadline
01Research questions and measurement objectivesFive layers, from region to mechanism
02Data sources and validation design47 real training images, split by source
03Synthetic microscopy37 positive tiles kept from 192 candidates
04Instance segmentation and four training recipesReal Mask AP50–95 0.537 (R)
05Identity across frames and motion statisticsSynthetic IDF1 0.476 (RVM)
06Source classification and end-to-end coverage100% on valid pairs, 77% end to end
07Apparent displacement: PIV and Optical FlowForward–backward check at 1 px
08Known-motion error and quality controlEPE ≈ 0.02 px/frame, clear local motion
09Sampling across the real videoLeftward early, rightward late
10Chemotaxis-like bias and passive advectionBoth give the same rightward signal
11Contributions, scope and next validationSeven measurements to come
12Method records and references18 references

Research Questions and Measurement Objectives

1.1 First Ask What an Image Can Answer

Watching behaviour in a video breaks into connected questions, and each gets its own model layer. Instance segmentation finds each target’s image region. ByteTrack proposes identities across frames from detection boxes and temporal continuity. An independent classifier names the audited data source a crop most resembles. Motion statistics turn continuous records into paths, displacements and geometric turning angles; a geometric turn is reported as a turn, and calling it a biological tumble takes further evidence.

For dense video where single bacteria cannot be told apart, we keep a second readout: how local texture moves between frames. PIV and Optical Flow estimate it without identifying every bacterium. A window’s vector describes its texture, whose motion may come from swimming, fluid flow or the camera.

LayerQuestionEvidence required
RegionHas the model located and separated targets?Images and instance-level segmentation ground truth
IdentityHow long can the same target remain associated?Stable identities across frames and framewise matching
SourceCan the independent classifier process instance crops?Source groups, valid crops, and the full-object denominator
Image motionIs texture displacement measurable and stable under quality changes?Known displacement fields, valid regions, and rejection records
MechanismDoes directed motion arise from chemotaxis?Gradients, no-gradient controls, flow and drift references, and experimental replication

The current work implements and validates the first four layers within their data scopes. The fifth, mechanism, is the experiment ahead, with conditions that tell the explanations apart. So we speak of “a computable image quantity” and “an established biological mechanism” as two separate steps.

1.2 Why Combine Deep Learning with Classical Image-Motion Methods?

Hand-written image rules (intensity thresholds, edges, shapes) break when contrast, background or bacterial appearance changes. Deep learning learns task-specific representations from labelled examples through stacked trainable layers, updated by backpropagation12; convolutional neural networks share local filters across the image3. What a network learns depends on its training data and may include morphology, background or imaging style, so we test every learned output against labels.

ToolLearns from labels?Checked against
YOLO26n-seg segmentationYesInstance masks
SmallSourceCNN classifierYesAudited source labels
ByteTrackNo: links existing detectionsIdentity ground truth
PIV and FarnebackNo: fixed parameters, no new motion networkKnown displacement fields and texture-correspondence checks

↑ Back to the model map

Data Sources and Validation Design

Establish Source Relationships Before Counting Images

Crops from one parent image, neighbouring frames of one sequence and views of one synthetic world share a lot of information. Spread across training and validation, they would let a model score well just by recognising familiar backgrounds. So we define source groups first, and assign images second.

CollectionTrainingValidationHistorical hold-out
E. coli, by acquisition positionpos0, pos1, pos4pos8pos2, pos5, pos7
JE2, by parent image001, 003, 005, 006002, 004—

The real data are the audited DeepBacs E. coli and Mixed collections4; files, integer instance annotations and partitions follow our local manifests. The 34 duplicate E. coli images in Mixed are counted once, generic files of unverified origin stay isolated, and JE2 crops, shared annotations and imaging versions of one parent image stay together. The split separates positions and parent images; independent acquisition batches are the next step. JE2_source is kept as a source label.

Data scopeImages or framesInstances / object observationsSource groupsUse on this page
Real training: E. coli151,2123 positionsBase real training pool
Real training: JE2321,1664 parent imagesBase real training pool
Shared real validation201,1001 E. coli position + 2 JE2 parent imagesCheckpoint selection and pooled evaluation
Historical E. coli hold-out141,0243 positionsPreviously exposed supplementary evaluation
VNext synthetic validation3609,5896 sequencesSynthetic-domain segmentation and identity association
Measurement synthetic validation6662 worldsEvaluation under limited synthetic morphology and imaging conditions

Counting units matter. An instance is one annotated object; an object observation is one identity in one frame, so an object seen in 60 frames is one object seen 60 times. The real validation set helped choose checkpoints, and the 14-image historical hold-out was seen during development, so we report it as a supplementary evaluation. All four recipes share the same validation and hold-out sets, so every change in score comes from the model.

↑ Back to the model map

Synthetic Microscopy

Recording Shape, Motion, and Imaging Separately

3.1 Two Generators, Different Roles

Real microscopy brings real appearance; synthetic data bring complete, controllable ground truth for morphology, position and motion, and keep the generation process for checking training recipes and evaluation. Real physiology stays with real microscopy, and the two play different roles.

VNextMeasurement
Built forContinuous-motion scenesSeparate worlds, geometric objects, empirical imaging and annotation audits
ContentSix microscopy styles with orientation changes, curved drift, tumble-associated slowing and noise; identities kept across framesRotated capsules or ellipses, each with its own geometric region
Images640×512 at 20 simulated frames per second (time step and pixel scale are generation assumptions)1024×768 sources and 640×512 native-pixel crops, rendered at native resolution rather than upsampled
MasksMutually exclusive visible-instance ID maps: later objects occlude earlier ones; fragments and tiny regions handledIndependent masks that may overlap, kept as they are so the geometric ground truth is preserved

3.2 From Local Shape to Image Coordinates

In Measurement, bacteria can be represented as rotated capsules or ellipses. Let total length be L, width be W, and local coordinates be (x′,y′). The capsule region satisfies

[x′−clip⁡(x′,−L−W2,L−W2)]2+y′2≤(W2)2,0<W≤L.(1)

The ellipse region is

(x′L/2)2+(y′W/2)2≤1.(2)

Geometry is defined in world coordinates before projection. World y points up, image v points down. With pixel scale s and origin (ox,oy),

u=x−oxs,v=oy−ys.(3)

This mapping ties the axes, non-square sizes and scale together. A higher resolution can mean a wider field of view or denser sampling of the same field, two different experiments; and because 640×512 and 1024×768 have different aspect ratios, one isotropic pixel scale cannot keep exactly the same physical field on both axes.

3.3 Geometric Ground Truth and the Optical Boundary

Rendering adds Gaussian blur, defocus, exposure sampling and background and camera noise. Each geometric mask records the in-view object region at the frame-centre time: a geometric truth, kept apart from the visible optical edge (the support mask used for optical support has its own role). We audit the geometric mask, the polygon and the training loader’s rasterisation separately, because a reconstruction IoU of 1 can still differ pixel by pixel after integer filling and downsampling. If a required instance cannot be represented reliably, its whole tile is set aside, so no instance is ever silently relabelled as background.

192 candidate tiles from 24 synthetic worlds, after audit

  • 61 of 192 rejected
  • 37 of 192 positive tiles kept
  • 94 of 192 empty-background tiles kept

The 24 worlds and 24 independent synthetic backgrounds were split 16/4/4 into training, validation and test, giving 48 native source images. Positive tiles came to 23, 6 and 8, with 226, 66 and 110 instance labels from 9, 2 and 3 worlds. Dense scenes were the hard part: of 8 high-density worlds, 2 contributed positives (4 tiles). We kept the visibility, ignore and topology rules strict instead of relaxing them to meet a quota, so the pool leans toward sparser scenes, and dense-scene coverage is the next thing to improve.

↑ Back to the model map

Instance Segmentation

What Changes When Synthetic Data Are Added?

4.1 From the YOLO Detection Concept to the Version Used Here

Object detection answers where an object is and what it is. The original YOLO by Redmon and colleagues put both into one forward pass over the whole image5, a good fit for video, where each frame’s object records feed the next step. We use Ultralytics YOLO26n-seg (n: the lightweight scale; -seg: instance segmentation)67, chosen to run continuous video on local computing. How well it suits bacteria is what the evaluations below measure. The YOLO26 literature describes an end-to-end design; which inference branch a given backend call used is taken from that run’s own records (Chapter 12).

4.2 Why Instance Masks Rather Than Boxes Alone?

A box can include background and neighbouring bacteria. Instance segmentation separates objects of the same class, so each crop, area and identity record belongs to one target. YOLACT introduced shared mask prototypes combined with per-instance coefficients8, the representation behind equation 4; we borrow the principle, and our numbers come from our own data. Identity across frames is the job of Chapter 5.

4.3 Compare Training Sources with the Same Network

Four models share one network, YOLO26n-seg with the single class bacterium, and 200 training epochs. Only the training data differ:

RecipeReal imagesVNextMeasurementTotal imagesInstance labels
R4700472,378
RV47230703,066
RM47023702,604
RVM472323933,292

The 23 VNext images come from 18 training sequences and the 23 Measurement images from 9 training worlds. RV and RVM share exactly the same VNext selection; RM and RVM the same Measurement selection. No image is duplicated, and this study used 23 of the 1,800 existing VNext images.

F.02 · Training Composition Across Four Recipes

F.02 · Training Composition Across Four Recipes. A chart; the caption below describes it.
F.02 · Training Composition Across Four Recipes. Images, instances, and source groups are different counting units. Adjacent frames and crops are not independent acquisition replicates, and dataset size does not measure model performance. The base real-data pool is identical across all four recipes.
SettingValue
OptimizerAdamW9
Batch1
Input-size parameter640
Initial learning rate0.0003
Seed42
AMPOff
Mask downsampling ratio4
SupervisionIndependent instances

AdamW decouples weight decay from adaptive gradient updates; we used it as configured, without an optimizer comparison. Logs record the same initialisation path for every run (its SHA was not archived at every start). Image count times epochs gives 9,400, 14,000, 14,000 and 18,600 nominal image exposures, and gradient accumulation also shapes the updates, so this is a fixed-recipe study. A strict causal comparison is the next step, with several training seeds and equal update budgets.

Run it yourself: environment and training commands

We keep training in its own Conda environment (Anaconda), named pytorch, so its packages stay apart from other software. On a new computer, first rebuild it from our archived dependency records: the audited run used Python 3.8.20, PyTorch 2.2.0 and Ultralytics 8.4.175. Check what you have in Anaconda Prompt:

conda --version
conda env list
conda activate pytorch
python --version
python -c "import sys, torch, ultralytics; print('Python:', sys.version); print('PyTorch:', torch.__version__); print('Ultralytics:', ultralytics.__version__)"

Load the YOLO26n-seg starting weights (Ultralytics fetches them if they are missing) and note their SHA256, so you know exactly which file you started from. Our archived weights are the reference for a strict repeat.

python -c "from ultralytics import YOLO; YOLO('yolo26n-seg.pt')"
Get-FileHash .\yolo26n-seg.pt -Algorithm SHA256

Then train recipe R with the core settings above (Windows PowerShell; Ultralytics training guide). RV, RM and RVM use their own frozen dataset files and output folders. Each run’s archived args.yaml holds the full settings, augmentation and early stopping included.

yolo segment train `
  model=.\yolo26n-seg.pt `
  data=.\R\data_train.yaml `
  epochs=200 batch=1 imgsz=640 `
  optimizer=AdamW lr0=0.0003 lrf=0.1 `
  seed=42 nbs=64 amp=False `
  mask_ratio=4 overlap_mask=False `
  device=0 `
  project=.\reproduction_runs `
  name=R_200ep_v1 exist_ok=False

Validation picks best.pt (last.pt is simply the last saved state). We hash it again before every formal evaluation, so each result points to one model file.

Get-FileHash .\reproduction_runs\R_200ep_v1\weights\best.pt -Algorithm SHA256

4.4 Region Representation and Evaluation Definitions

The formal models take three-channel input with one class, have about 3.08 million parameters, and combine multiscale features with prototypes. For instance i, the mask logit is

Zi(u,v)=∑k=132aikPk(u,v),(4)

where Pk is a shared prototype and aik its instance coefficient; box cropping, coordinate mapping and post-processing follow. The installed source code documents this representation (Chapter 12 notes what the historical trace covers). Prediction and ground truth go onto the same raster, and mask overlap is

IoU⁡(M,Mˆ)=|M∩Mˆ||M∪Mˆ|(5)

Formal AP sweeps confidence and averages over ten IoU thresholds from 0.50 to 0.95. Missed-object analysis at a fixed confidence is a separate operating point, and original integer masks and exported polygons define different reference regions, so each result carries its own definition.

4.5 Results on the Real Collections

The real validation set has 20 images and 1,100 ground-truth instances, scored with one shared setting for all four models: input-size parameter 640, batch 1, conf 0.001, iou 0.7, max_det 300, FP32, mask_ratio 4, overlap_mask False. P and R are summary outputs of the AP procedure.

ModelReal Val Mask PReal Val Mask RReal Val Mask AP50Real Val Mask AP50–95Historical hold-out Mask AP50–95
R0.90420.86360.91950.53720.4877
RV0.84360.84730.88430.48580.3948
RM0.83750.84320.86250.47500.4409
RVM0.79920.77180.84140.42200.3532

All values are fractions on a 0–1 scale. R leads on both real collections. The historical hold-out (14 images, 1,024 objects) was seen during development and was not used to reselect models or thresholds; the validation set helped pick checkpoints.

F.03 · Segmentation on Real Validation and Historical Hold-Out Data. A chart; the caption below describes it.
F.03 · Segmentation on Real Validation and Historical Hold-Out Data. Existing evaluations of the four frozen formal best checkpoints are reused. The figure shows Mask AP50–95, separately from box metrics. R ranks highest on this metric in both current real collections; the ranking holds for these sources, and other devices and species are still to be tested.

4.6 Synthetic Data Help in Their Own Domain

On VNext validation, RVM reaches Mask AP50–95 0.2983, RV 0.2841 and R 0.2594: related synthetic training helps in its own domain. Rankings shift on Measurement validation, and on the full real validation set R stays ahead of RM and RVM.

F.04 · Source-Specific Segmentation Performance. A chart; the caption below describes it.
F.04 · Source-Specific Segmentation Performance. E. coli: 4 images / 322 instances / 1 position; JE2: 16 images / 778 instances / 2 parent images; VNext: 360 frames / 9,589 observations / 6 sequences; Measurement: 6 tiles / 66 instances / 2 worlds. The figure reuses existing cross-source evaluations. Averaging source-specific AP values does not produce pooled AP.

At a fixed operating point against original geometric masks on Measurement, RM and RVM each match all 66 objects, and R matches 22. Confidence sweeping, ground-truth representation, resolution and padding differ from the AP table, so the two views sit side by side: a clear gain at this synthetic operating point, and real AP that stays with R.

4.7 Learning from the Misses

After aspect-ratio-preserving mapping onto the 640×640 input canvas, the 8 real-validation objects smaller than 64 pixels are missed by every model. All 8 also touch crop boundaries, so size and truncation act together here. Area is mapped pixel area, and density is ground-truth count per 640² native-image pixels; density, contrast and imaging source move together, which group rankings alone cannot untangle.

F.05 · Segmentation Recall by Object Size and Image Density

F.05 · Segmentation Recall by Object Size and Image Density. A chart; the caption below describes it.
F.05 · Segmentation Recall by Object Size and Image Density. One-to-one matching at fixed conf=0.25 and Mask IoU≥0.5 is kept separate from AP evaluation. Group definitions and sample counts are retained. The 8 extremely small GT objects also touch boundaries; 0/8 cannot be generalized to all small bacteria.

On three predeclared frames of a very small, dense laboratory video, direct inference gave 3 candidates in total across the four models and three frames, and native-pixel tiling gave 18 after deduplication. These are prediction counts. With no manual ground truth for this video yet, segmenting its individual bacteria is still open, and that is exactly why we built the collective motion route of Chapter 7.

↑ Back to the model map

Identity Across Frames

How Long Does a Detection Remain Itself?

5.1 From Position Prediction to Two-Stage Association

Segmentation answers “which region is here?”; tracking asks “which region in the next frame is the same one?” We apply ByteTrack10, a tracking-by-detection method: it links high-score detections first, then uses low-score boxes to continue existing tracks, so a bacterium that dims for a moment is kept, while a low score alone never starts a new track. For look-alike bacteria this is a strategy worth testing, and we test it below.

The short-term position prior comes from a Kalman filter11: the installed tracker’s linear constant-velocity model, over box centre, aspect ratio, height and their velocities. It is a computational prior for position:

𝐦t−=F𝐦t−1,Pt−=FPt−1F𝖳+Q.(6)

Association cost is based mainly on box IoU. With score fusion enabled, the cost is

Cij=1−IoU⁡(Bi,Bj)sj.(7)

One-to-one linear assignment, the problem solved by Kuhn’s Hungarian method12, keeps each observation on one track.

SettingValueMeaning
High / low / new-track thresholds0.25 / 0.10 / 0.25Detection scores
match_thresh0.8A cost threshold
track_buffer30Tracker frames in the installed implementation

A detection with a mask can still have no valid ID: low confidence, an unconfirmed track, failed association or lifecycle removal can each be the reason. Every record keeps its original detection index, which binds the mask, box, class prediction and Track ID to one detection. IDs are valid within their own sequence.

5.2 Test Continuity Over the Full Identity Record

Six VNext validation sequences of 60 frames each give 360 frames, 9,589 ground-truth observations and 225 simulated identities (polygon row order is never used as a Track ID). The main evaluation matches at BBox IoU ≥ 0.5 in a local CLEAR-style protocol, with the original 8 px centre gate kept separately. IDF1 matches identities over the full sequence:

IDF1⁡=2IDTP⁡2IDTP⁡+IDFP⁡+IDFN⁡,MOTA⁡=1−FN+FP+IDSWNGT.(8)

MOTA, from the CLEAR MOT framework13, combines misses, false detections and identity switches; IDF114 scores correct association over each identity record. Both follow our declared protocol, so they compare our models with each other (public leaderboards use their own protocols; HOTA was not computed).

ModelIDF1MOTAID switchesFragmentations
R0.31120.2660313453
RV0.45300.4424374556
RM0.43100.3797301497
RVM0.47590.4570346554

F.06 · Identity Performance on Synthetic Motion Sequences

F.06 · Identity Performance on Synthetic Motion Sequences. A chart; the caption below describes it.
F.06 · Identity Performance on Synthetic Motion Sequences. Existing predictions are reused for the same six sequences and identical ByteTrack parameters, with identities isolated by sequence before aggregation. RVM has the highest IDF1 and MOTA in this synthetic domain, while R remains the recommendation for the current real segmentation collections.

V.01 · Four models track the same synthetic cells

Four panels (R, RV, RM, RVM) of the same synthetic microscopy sequence; coloured masks with Track IDs and short trails move from frame to frame.

Each coloured mask is a detected cell, its number a Track ID, its tail the last few positions. Watch for trails that hold, cells that never get an ID, and IDs that change. R, RV, RM and RVM use identical ByteTrack settings on VNext val_seq004; numbers are assigned per model, so ID 3 in two panels is two different cells. F.06 scores all six sequences.Synthetic · 60 frames, 2.95 simulated seconds · slowed to 10 s, no frames added

R’s lower switch count comes with more missed observations, which leaves fewer chances to switch. The gains with synthetic training come from detection recall, track confirmation and association together, with the ByteTrack algorithm itself unchanged.

F.07 · Duration of Correct Identity Association. A chart; the caption below describes it.
F.07 · Duration of Correct Identity Association. Correct continuous segments are compared for every GT identity, including short segments and unrecovered identities rather than only successful long tracks. Median longest correct segments are 4, 10, 9, and 11 frames. Of 107 GT identities visible throughout all 60 frames, only 0, 2, 1, and 3, respectively, are recovered correctly for the full interval.

V.04 · A hard case: faint cells in a noisy scene

Left, a faint, noisy synthetic microscopy scene; right, the same scene with the few cells the model tracks marked by coloured masks and IDs.

Left, the raw synthetic input (VNext val_seq000); right, what RVM with ByteTrack predicts. In this low-contrast scene many cells never hold an ID for long. We keep it in view as the condition the pipeline still has to master; F.07 gives the full numbers.Synthetic · 60 frames, 2.95 simulated seconds · slowed to 10 s, no frames added

This gives reproducible identity evaluation and trajectory export in the synthetic domain. Long, unbroken identities are the next challenge: of 107 identities visible in all 60 frames, the best model follows 3 from start to end. Tracking accuracy on real swimming will come from annotated real video.

5.3 Turn Trajectories into Motion Quantities

Statistics connect only consecutive valid observations with the same predicted ID in the same sequence. A missing frame splits a trajectory into tracklets, and gaps are never bridged without evidence. For continuous positions 𝐫j, cumulative path length and net displacement are

L=∑j=2n‖𝐫j−𝐫j−1‖,D=‖𝐫n−𝐫1‖.(9)

With a reliable time axis, instantaneous pixel speed is ‖Δ𝐫j‖/Δtj, and mean speed is path length over duration. Turning angles use heading differences from at least three consecutive, non-stationary observations. Speed needs acquisition timing and µm/s needs a calibrated pixel scale; playback frame rate is never used in their place, and a geometric turn is reported as a turn angle.

↑ Back to the model map

Source Classification

From Valid Crops Back to the Full Object Set

6.1 Separate Segmentation from Classification

YOLO class 0 means “bacterial candidate”. Classification runs as its own step on each predicted instance’s crop, ready to join Track IDs later, and leaves ByteTrack association untouched. The two labels, E_coli and JE2_source, come from audited image sources, split by position and parent image with no parent on both sides. Background and imaging mode travel with the source, so this is a two-source classification prototype: a first step toward species identification.

6.2 Fixed Crop Rules and a Lightweight Network

SmallSourceCNN applies the CNN idea to a narrower task: given a crop that segmentation has already located, pick one of two source labels. It is a compact, runnable baseline, chosen as an engineering starting point rather than by a large architecture search.

StepRule
CropThe mask’s bounding box plus 20% padding on each axis (rounded up, at least 3 px), keeping some real background context
RejectedArea below 9 px, short side below 3 px, or touching the original image boundary; every reason is kept
InputAspect ratio kept, resized and padded to 128×128, RGB, normalised to [−1, 1]
NetworkFour convolutional blocks, channels 3→16→32→48→64, GroupNorm, ReLU and pooling, two output logits; 47,506 parameters, random initialisation
Training2,158 crops from 7 source groups; seed 42, class-weighted cross-entropy, AdamW; 22 epochs, best checkpoint at epoch 15
Validation971 crops from 3 source groups

Group Normalization, from Wu and He, normalises within each sample, independently of batch statistics15; here it steadies the scale of intermediate features (no GroupNorm ablation was run). For outputs zk, the classification score is

pk=exp⁡(zk)∑jexp⁡(zj),yˆ=argmaxk⁡pk.(10)

The two classes form a closed choice, with unknown-class rejection still to add. Softmax scores and track-level majority-vote fractions are uncalibrated scores, read as rankings.

6.3 From 100% on Valid Crops to 77% End to End

On the original 971 retained validation crops, Accuracy and Macro F1 are both 1. For the full 20-image real validation set, we then reuse R’s fixed-operating-point predictions and pair each ground-truth crop with the predicted crop of the same object; predicted crops are used as they are.

All 1,100 ground-truth objects in real validation

  • 166 of 1100 unmatched by segmentation
  • 847 of 1100 matched, valid pair, correctly classified
  • 82 of 1100 excluded by the GT crop-admission rules
  • 5 of 1100 invalid predicted crops

Of 1,100 objects, 934 are matched and 847 form valid pairs; on these 847, both ground-truth and predicted crops give Accuracy and Macro F1 of 1. To keep every object in view, we define end-to-end coverage over the full denominator:

CE2E=Nmatched∩valid crop∩correct classificationNall GT.(11)
SourceFull GTCorrectly coveredEnd-to-end correct GT coverageUnmatched predictions
ALL110084777.00%89
E_coli32224877.02%52
JE2_source77859976.99%37

The 89 unmatched predictions are recorded separately and add no penalty here, so this is coverage, distinct from overall species-identification accuracy. The bottleneck today is segmentation matching and crop admission. Whether the network leans on background or imaging mode is the next test, with new devices, acquisition batches, background controls and unknown-class tests.

F.08 · Conditional Classification and End-to-End GT Coverage. A chart; the caption below describes it.
F.08 · Conditional Classification and End-to-End GT Coverage. Original GT crop baseline: n=971; valid same-object pairs: n=847 each for GT and predicted crops; full GT denominator: 1,100. Conditional 100% and full coverage of 77% coexist because they answer different questions. Labels retain their source meaning: JE2_source stays a source label.

V.02 · Real cells: found, followed and labelled

Real E. coli growth time-lapse: every cell outlined, numbered with a Track ID and marked E, J or NC, with a list of track votes beside the image.

A real growth time-lapse of E. coli from DeepBacs4. R draws each cell’s mask and Track ID, and SmallSourceCNN labels it: E = E_coli, J = JE2_source, NC = not classified. The scores come from our two-source prototype and are uncalibrated. These cells grow rather than swim, and these frames are separate from the samples behind F.08.Real · 20 frames about 60 s apart (1,140 s) · slowed to 10 s, no frames added

↑ Back to the model map

Collective Apparent Motion

When Individual Identities Cannot Be Established

7.1 A Different Observation from Local Texture

For the tiny, dense targets of the laboratory video, we measure motion another way. PIV and Farneback compare texture between adjacent frames directly: there is no need to locate every bacterium first, and the output carries no individual identities.

PIV (Particle Image Velocimetry) comes from experimental fluid measurement; Adrian’s review describes the particle-imaging techniques16. We borrow its local image correlation for bacterial video, where tracer, illumination and calibration differ from a fluid experiment, so we call its output apparent image displacement.

PIV divides an image into local interrogation windows and searches nearby in the next frame for similar texture. The current implementation uses single-pass normalized cross-correlation:

C(𝜹)=∑𝐱(T(𝐱)−T‾)(S𝜹(𝐱)−S‾𝜹)∑𝐱(T(𝐱)−T‾)2∑𝐱(S𝜹(𝐱)−S‾𝜹)2.(12)

The highest correlation peak gives an integer displacement, refined to subpixel by a parabola at eligible interior peaks. This is single-pass PIV, without window deformation, so a window holding two motions returns one vector with no single physical reading.

MethodFixed settings
PIV32, PIV4832- and 48-pixel windows, 50% overlap, ±6-pixel search, minimum texture standard deviation 2, peak threshold 0.35, peak-margin threshold 0.03
Farneback (OpenCV)Pyramid scale 0.5, 3 levels, window 21, 3 iterations, poly_n 5, poly_sigma 1.2

Optical Flow follows brightness texture between images. Horn and Schunck showed that one local brightness constraint leaves two-dimensional motion underdetermined, so extra spatial constraints are needed17; this also explains the ambiguity at illumination changes, weak texture and motion boundaries. (Their algorithm itself was not run here.)

Farneback represents image neighbourhoods by local quadratic polynomials and reads displacement from how their coefficients change under translation18. We call the OpenCV implementation; no optical-flow network was trained. It returns a dense field, finer than one vector per PIV window. Neighbouring outputs share their support, so every vector still passes quality control: texture, boundary and forward–backward consistency checks.

The forward–backward consistency check is

eFB(𝐱)=‖𝐝AB(𝐱)+𝐝BA(𝐱+𝐝AB(𝐱))‖2.(13)

The threshold is 1 pixel, with the reverse field sampled at the predicted destination. Rejected vectors stay rejected, with validity flags and reasons, and are never interpolated into an apparently complete field.

7.2 Displacement, Direction, and Time Units

In image coordinates, x points right and y points down. Displacement magnitude and direction are

|𝐝|=dx2+dy2,ϕ=atan2⁡(dy,dx).(14)

So +90° points down the image. Local directions may cancel, so we report both the mean local magnitude, mean⁡|𝐝|, and the magnitude of the mean vector, |mean⁡𝐝|. Near zero motion, or when directions are widely spread, direction is left blank instead of forced into a mean heading.

ModeWhat it does
RawThe original grayscale image
Fixed EnhancedSubtracts a smoothed background, applies CLAHE and smooths lightly: texture becomes more usable, native optical resolution stays the same

Without reliable acquisition timing, displacement is reported in px/frame. Converting to µm/s needs confirmed timing and spatial calibration; container and playback FPS are not used for this.

↑ Back to the model map

Known Ground Truth

How Much Area Is Covered When Error Is Low?

8.1 Define Motion Before Running the Algorithms

To separate algorithm error from the uncertainty of real video, we first prescribe motion in 320×256 engineering textures: nine configurations (stationary noise, global translation, local motion, local motion plus global translation, and separately varied contrast, noise, blur and texture density), three fixed seeds each and 16 frames, for 27 sequences. The seeds are engineering repeats.

Ground truth follows the sampling coordinates of the final rendered images; boundaries, occlusions and places without a unique correspondence get no displacement label. PIV and Optical Flow each have their own support and guard regions, so each has its own evaluation denominator.

F.09 · Known Displacement Fields and Their Estimates

F.09 · Known Displacement Fields and Their Estimates. A chart; the caption below describes it.
F.09 · Known Displacement Fields and Their Estimates. Predeclared seed 101 and frame pair 7 retain GT, method outputs, and rejected locations. Enlarged display arrows do not change numeric units. The textures support engineering error validation, not a complete simulation of bacterial physiology.

Within GT-valid regions, endpoint error and coverage are

EPE⁡=‖𝐝ˆ−𝐝GT‖2,coverage⁡=NQC valid∩GT eligibleNGT eligible.(15)

We always read error together with coverage: a method that drops its hardest regions would otherwise look better than it is.

8.2 Stationary Controls and Image-Quality Degradation

Engineering scenePIV32: EPE / coveragePIV48: EPE / coverageFarneback: EPE / coverage
Stationary + noise0.0604 / 100.00%0.0387 / 100.00%0.0865 / 100.00%
Global translation0.0464 / 100.00%0.0365 / 100.00%0.0171 / 99.35%
Clear local motion0.0247 / 100.00%0.0202 / 100.00%0.0200 / 99.32%
Global translation + local motion0.0474 / 100.00%0.0311 / 100.00%0.0229 / 99.36%
Contrast reduction only0.0579 / 100.00%0.0391 / 100.00%0.1612 / 68.10%
Noise increase only0.1900 / 98.86%0.1240 / 100.00%0.1732 / 100.00%

Values are mean EPE / coverage for Raw input, apparent motion, primary valid support, and all uniform-support regions, in px/frame. Valid errors from 15 frame pairs are pooled within each seed, then the three seeds are weighted equally. Coverage keeps every GT-eligible position in its denominator, and each method is scored on its own grid.

F.10 · Motion Error and Valid Support Across Image Conditions

F.10 · Motion Error and Valid Support Across Image Conditions. A chart; the caption below describes it.
F.10 · Motion Error and Valid Support Across Image Conditions. All nine configurations are retained, with three seeds per bar and 15 frame pairs per seed. Read conditional error above together with coverage below. B0 has zero true motion, so its EPE measures false-motion magnitude; direction error is not evaluated for zero motion.

In clear local motion, all three methods reach EPE around 0.02 pixels over uniform-support regions. Low contrast is the hard case for Farneback: EPE 0.1612 with 68.10% coverage on this denominator, and 0.5566 with 63.57% in the local-motion region alone; we report both definitions. These results hold for the tested textures. Accuracy on real microscopes needs real ground truth, and coverage gained by fixed enhancement is a quality change, separate from new ground-truth evidence.

8.3 Combining Global Translation and Local Motion

In the drift-plus-local-motion scene, global translation is 𝐠=(0.75,0.5) and local relative motion is 𝐫=(1.5,−0.75). The apparent ground truth for moving texture is

𝐝apparent=𝐠+𝐫=(2.25,−0.25)[px/frame].(16)

First we check whether the algorithm recovers this final visible displacement. If the generator’s known 𝐠 is then used for ideal correction, the reference must change to 𝐫 too. Over the same valid set,

‖𝐝ˆ−(𝐠+𝐫)‖=‖(𝐝ˆ−𝐠)−𝐫‖.(17)

Ideal correction changes the reference frame, so it need not lower the error. We label it ORACLE: the drift came from the generator, and detecting camera drift automatically in ordinary microscopy is a task of its own.

F.11 · Global Drift, Relative Motion and Correction References

F.11 · Global Drift, Relative Motion and Correction References. A chart; the caption below describes it.
F.11 · Global Drift, Relative Motion and Correction References. Apparent GT, an uncorrected estimate scored against relative GT, known-drift ORACLE correction, and correction estimated from synthetic stationary background are kept distinct. Stationary-reference estimation has its own error and coverage. Missing valid references remain missing instead of being filled using GT.

↑ Back to the model map

Real Video

Does the First Segment Represent the Whole File?

9.1 Fixed Windows Across the Video

Real video brings complex backgrounds, density and blur, and no motion ground truth. Ours is one ordinary E. coli microscopy video provided to us: 1,798 frames at 960×720, with 3 FPS in the container metadata. Its acquisition FPS, pixel calibration, chemical gradient and stationary or flow references are unknown, so it serves as a testbed for the methods.

Before computing, we fixed nine 16-frame windows starting at frames 0, 223, 446, 668, 899, 1114, 1337, 1618 and 1782: 144 distinct source frames and 135 adjacent frame pairs, about 8.01% of the file. Windows that match earlier runs reuse their frozen results; the rest use identical parameters.

F.12 · Fixed Sampling Windows Across the Real Video. A chart; the caption below describes it.
F.12 · Fixed Sampling Windows Across the Real Video. Sampling spans the beginning through the final frame and retains the predefined middle/end anchors. Position denotes file index or container time, not confirmed experimental time. The windows sample the video; they are not a continuous framewise analysis of the whole file.

V.03A–B · Motion arrows on the real video, two ways

Real E. coli microscopy with small yellow PIV32 arrows on a regular grid, changing from frame pair to frame pair.

V.03A PIV32

The same real microscopy window with yellow Farneback optical-flow arrows, changing from frame pair to frame pair.

V.03B Farneback optical flow

Both read how the image texture shifts between frames in the first window (W00, frames 0–15), each on its own grid. Arrows are px/frame, drawn 8× longer. They show apparent image motion: whether swimming, flow or the camera moves the texture is the question of Chapter 10. The frame rate and scale of this video are unknown.Real · 15 frame pairs · slowed to 10 s, no frames added

9.2 The Early Leftward Drift Turns Rightward

WindowPIV32 dxPIV48 dxFarneback dx
W00-0.2458-0.2284-0.2388
W04-0.0726-0.0679-0.0731
W06+0.3357+0.3226+0.3319
W07+0.0810+0.0786+0.0839
W08+0.2138+0.2015+0.2091

These are Raw, full-frame-ROI mean dx values over the valid vectors of each window, in px/frame. All three methods agree: negative in the first six windows, positive in the last three. So the opening segment is a poor stand-in for the whole file. The gaps between windows hide the exact turning point, and the change is a change in image motion whose cause is still open.

F.13 · Net Image Displacement Across the Sampled Windows

F.13 · Net Image Displacement Across the Sampled Windows. A chart; the caption below describes it.
F.13 · Net Image Displacement Across the Sampled Windows. Each method retains dx/dy, with x rightward and y downward. Results come from one real video without independent motion GT. Agreement in signs is a comparison between methods.

9.3 Coverage, Common Translation, and Local Differences

Farneback Raw keeps about 48.84–54.83% of its grid valid across the nine windows; fixed enhancement raises that to about 80.12–83.63%. More texture passes the same quality checks, and judging accuracy needs ground truth.

F.14 · Net Motion, Local Magnitude and Valid Coverage

F.14 · Net Motion, Local Magnitude and Valid Coverage. A chart; the caption below describes it.
F.14 · Net Motion, Local Magnitude and Valid Coverage. Magnitude and net mean are reported separately. Coverage denominators are each algorithm’s native window/pixel grid, not bacterial counts. Adjacent frames, macro-regions, and windows all come from the same video and are not independent biological replicates.

Window-mean dx tracks a whole-image common-translation proxy closely, with correlation coefficients of about 0.9619–0.9930. Camera, fluid flow or other global change could each produce it, so residuals after removing it are diagnostics. The video gives reproducible apparent displacement, coverage and method comparisons; individual identities, active swimming and chemotaxis wait for a video with references and ground truth.

↑ Back to the model map

Controlled Mechanisms

Can the Same Rightward Signal Have Different Causes?

10.1 Define Mechanism as an Input

Suppose an algorithm measures a population’s direction perfectly. Is direction enough to show chemotaxis? We test this with an independent two-dimensional teaching simulator, in which we set the mechanism ourselves and then read the algorithms’ outputs.

SceneMechanism
S0Unbiased random swimming
S1Artificial rightward gradient bias
S2Reversed bias
S3Rightward advection, with no gradient response

Each scene has three fixed seeds, 32 frames and 200 fixed IDs. All-ID population statistics, individuals seen in both frames and image vectors are reported separately. The simulator is a teaching tool, separate from the Measurement recipe and from a calibrated molecular model of E. coli chemotaxis.

F.15 · Prescribed Mechanisms in the In Silico Controls. A chart; the caption below describes it.
F.15 · Prescribed Mechanisms in the In Silico Controls. SIMULATED DATA — NOT EXPERIMENTAL RESULTS. Matching seeds preserve paired initial states, appearance, and random streams. Appearance orientation is fixed while motion heading advances separately: this is a translating-texture proxy, not complete mechanics of rod reorientation.

Artificial bias is prescribed through the tumble probability:

ptumble=clip⁡[p0(1−βcos⁡(θ−θg)),pmin⁡,pmax⁡].(18)

We use p0=0.30 and β=0 or 0.75, clipping probabilities to 0.03–0.80. Each step moves along the previous heading before deciding whether to tumble for the next step. Swimming and flow displacements are stored separately and added for the total. S3 has a rightward flow of about 0.6771 px per simulated frame, set in advance and independent of the PIV outputs.

10.2 Reversing the Bias Tests Direction Recovery

All-ID mean dx is +0.5798 for S1 and −0.5821 px per simulated frame for S2; PIV32 estimates +0.5803 and −0.6070. All three algorithms recover the direction in every seed of S1, S2 and S3: solid directional agreement in these engineering scenes.

F.16 · Direction Recovery Under Reversed Artificial Bias

F.16 · Direction Recovery Under Reversed Artificial Bias. A chart; the caption below describes it.
F.16 · Direction Recovery Under Reversed Artificial Bias. All three seeds are shown, retaining the different denominators of simulated GT and algorithm estimates. Unbiased S0 can still exhibit finite-sample net displacement, so one nonzero mean direction alone is not enough to establish chemotaxis.

10.3 Passive Advection Also Produces Directed Image Motion

In S3, with no gradient response, all-ID mean dx is +0.6865 and PIV32 estimates +0.6859 px per simulated frame. S1 and S3 give the same rightward image signal from two different mechanisms.

F.17 · Similar Image Direction from Different Prescribed Mechanisms

F.17 · Similar Image Direction from Different Prescribed Mechanisms. A chart; the caption below describes it.
F.17 · Similar Image Direction from Different Prescribed Mechanisms. S1 has artificial bias without flow; S3 has prescribed advection without gradient response. Swimming GT, flow GT, and PIV32 image estimates are shown separately for all three seeds. The mechanism is known because the generator defines it.

Directed image motion can have more than one cause. Telling chemotaxis apart takes a known gradient, a no-gradient control and a flow reference.

PIV32/48 windows can mix velocities without a unique whole-window material ground truth, so pixelwise EPE is reported for Farneback only, at eligible pixels with unique material correspondence. A real chemotaxis study also needs reliable time and space calibration and independent experimental replicates. This simulation tells us exactly which references to bring.

↑ Back to the model map

Engineering Significance and Next Validation

11.1 How the Models Guide the Measurement Route

Each model fits its own input domain: R for the current DeepBacs-like real segmentation collections, RVM for the related VNext synthetic identity task. Measurement brings auditable labels and gains at particular synthetic operating points; in this study, adding it left real-validation AP below R. Reporting each finding on its own lets every user choose for their input domain.

For distinguishable bacteria, segmentation, tracking, independent source classification and trajectory statistics are connected, with every output traceable to its frame, detection index and predicted ID. For the tiny, dense laboratory video, the individual route is the next to validate, and PIV and Optical Flow already give a quality-controlled observation at the collective scale.

GUI operation, short-video runs, chart display, file readback and external-player checks are done within a bounded workflow: an automated engineering acceptance of the dual-mode prototype. Team-member sign-off and microscope/RPM hardware validation come next. Good engineering makes the work reproducible; accuracy and biological ground truth come from the evaluations.

11.2 Where the Project Contributes

We build on existing methods (YOLO, ByteTrack, Farneback) and credit them as such. Our own contribution is the scaffolding around them: two controlled synthetic-data schemes, source management by position, parent image, sequence and world, independent instance classification, and layered evaluation from regions to identities to displacement.

We kept every result, the hard ones included: dense synthetic scenes rejected in audit, modest real-domain gains from synthetic training, short identity recovery, coverage loss under low contrast. The swimming, bias and advection comparison separates “recoverable image direction” from “identifiable motion mechanism” and points future experiments at the references they need.

11.3 What Data Are Needed Next?

Next evidenceWhere we standWhat it takes
Segmentation across devicesFew real sources; validation helped select the modelNew batches and devices, with previously unseen instance GT
Identity accuracy for real swimmingIdentity GT is synthetic so farClear continuous video and auditable identity annotations
General species recognitionTwo sources, entangled with imaging style; no unknown class yetIndependent species verification, crossed sources and unknown-class tests
Real physical motion speedAcquisition FPS and scale of the laboratory video are unknownOriginal acquisition timing and matched spatial calibration
Separating swimming, flow and camera motionCommon translation has several possible causesStationary objects, flow tracers or independent flow measurements
Real chemotaxis and RPM effectsMechanism controls are simulated so farReal gradients, no-gradient controls, chip conditions and replicates
Strict causal benefit of synthetic dataOne seed and unequal optimization exposuresMultiple seeds, equal update budgets, and imaging and background ablations

These are the measurements our chip work is designed to supply. The readouts here are ready for observing cell behaviour; the chemotactic benefit in an RPM chip, and how it connects to the material-conversion model, are what they will be used to test.

↑ Back to the model map

Method Records and Reproducibility

The four formal models are registered by best.pt and SHA256, separately from last.pt and earlier interrupted versions. Training recipes, source manifests, inference parameters and evaluation outputs are linked, and every table value comes from frozen evaluation records.

QuantityKept separate
Segmentation APExported polygons with the specified mask downsampling, and fixed-operating-point diagnostics against original masks
Identity metricsBBox IoU matching and centre gating
ClassificationConditional and full-GT denominators
Displacement errorEngineering GT, real video without GT, and artificial mechanisms
Missing valuesUncomputed quantities stay blank, never zero

The installed YOLO source documents the network representation and parts of the loss; the archive of every historical training and inference branch is partial. One correction is on record: the laboratory three-frame report’s prose said end2end True, which an audit traced to a hard-coded statement, while all 60 backend snapshots read False. The exact historical post-processing branch is still open; the correction changes no prediction count and no conclusion. A model name or a Boolean snapshot alone does not fix an NMS path.

Paper citations for public datasets and permission to redistribute their files are checked separately. Project figures keep their source files and hashes, and the licences for public data, third-party code, weights and assets are being confirmed one by one. Values and observation scopes follow the original studies, and adjacent frames, crops of one image, model seeds and biological replicates are each counted as what they are.

↑ Back to the model map

Source Code

The Friskoli AI repository holds the code, installation steps and model descriptions of the vision software. The audited runs used Python 3.8.20, PyTorch 2.2.0 and Ultralytics 8.4.175, and the commands of Chapter 4 rebuild that environment. The datasets, formal checkpoints and reproducibility records are on Zenodo. The Software page shows how to run it and lists its authors and licence notes.

git clone https://gitlab.igem.org/2026/software/szu-siat-china/friskoli-ai.git

References

These references support the algorithmic background, methods and metric definitions; project metrics and conclusions come from the evaluations in each chapter. YOLO26 is listed as an author preprint and the Ultralytics documentation as software material, separately from the classic peer-reviewed papers.

  1. LeCun, Y., Bengio, Y., & Hinton, G. (2015). Deep learning. Nature, 521, 436–444.
  2. Rumelhart, D. E., Hinton, G. E., & Williams, R. J. (1986). Learning representations by back-propagating errors. Nature, 323, 533–536.
  3. LeCun, Y., Bottou, L., Bengio, Y., & Haffner, P. (1998). Gradient-based learning applied to document recognition. Proceedings of the IEEE, 86(11), 2278–2324.
  4. Spahn, C., Gómez-de-Mariscal, E., Laine, R. F., et al. (2022). DeepBacs for multi-task bacterial image analysis using open-source deep learning approaches. Communications Biology, 5, 688.
  5. Redmon, J., Divvala, S., Girshick, R., & Farhadi, A. (2016). You Only Look Once: Unified, Real-Time Object Detection. CVPR, 779–788.
  6. Jocher, G., Qiu, J., Liu, M., Lyu, S., Akyon, F. C., & Kalfaoglu, M. E. (2026). Ultralytics YOLO26: Unified Real-Time End-to-End Vision Models. arXiv preprint arXiv:2606.03748v1.
  7. Ultralytics (n.d.). Instance Segmentation with Ultralytics YOLO. Official documentation; accessed 2026-10-19.
  8. Bolya, D., Zhou, C., Xiao, F., & Lee, Y. J. (2019). YOLACT: Real-Time Instance Segmentation. ICCV, 9157–9166.
  9. Loshchilov, I., & Hutter, F. (2019). Decoupled Weight Decay Regularization. ICLR 2019.
  10. Zhang, Y., Sun, P., Jiang, Y., et al. (2022). ByteTrack: Multi-Object Tracking by Associating Every Detection Box. ECCV, 1–21.
  11. Kalman, R. E. (1960). A New Approach to Linear Filtering and Prediction Problems. Journal of Basic Engineering, 82(1), 35–45.
  12. Kuhn, H. W. (1955). The Hungarian method for the assignment problem. Naval Research Logistics Quarterly, 2(1–2), 83–97.
  13. Bernardin, K., & Stiefelhagen, R. (2008). Evaluating Multiple Object Tracking Performance: The CLEAR MOT Metrics. EURASIP Journal on Image and Video Processing, 2008, 246309.
  14. Ristani, E., Solera, F., Zou, R. S., Cucchiara, R., & Tomasi, C. (2016). Performance Measures and a Data Set for Multi-Target, Multi-Camera Tracking. ECCV Workshops; arXiv:1609.01775.
  15. Wu, Y., & He, K. (2018). Group Normalization. ECCV, 3–19.
  16. Adrian, R. J. (1991). Particle-Imaging Techniques for Experimental Fluid Mechanics. Annual Review of Fluid Mechanics, 23, 261–304.
  17. Horn, B. K. P., & Schunck, B. G. (1981). Determining optical flow. Artificial Intelligence, 17(1–3), 185–203.
  18. Farnebäck, G. (2003). Two-Frame Motion Estimation Based on Polynomial Expansion. SCIA, LNCS 2749, 363–370.

Structural Analysis of the INPNC–Cel9K Hybrid Linker

The existing expression cassette connects the INPNC display scaffold to Cel9K through a hybrid linker. The linker conformation can affect the enzyme’s position relative to the scaffold and whether other fusion modules approach its functional regions.

We used this hybrid as the baseline for equal-length composition and order controls, examining local linker structure, intermodule geometry and site occlusion to inform construct comparisons.

The analysis starts with expression-cassette sequence verification, followed by structure prediction, domain analysis and short dynamics to examine dependence on starting conformations and computational settings.

Residues in the encoded precursor, TorA–INPNC–His6–linker–Cel9K
1186
Linkers of equal length (30 residues) compared
5
AlphaFold 3 models, five for each linker
25
Short restrained runs, each observed for 5 ps
20

F.01 · Friskoli / Modeling

Overview of Linker Structural Modelling

Five linkers of the same length go down two branches: structure prediction with domain and site analysis, and short restrained dynamics in water. Select a box to read its section.

ChecksReference framesActual temperatureGeometry and SASASampling scope

Design and recordsConstruct designModel limitationsData and reproducibilityEarly OmpC design and dynamicsReferences

Predicted models and saved frames are not independent experimental replicates.

The left branch covers structure prediction and domain/site analysis; the right branch covers restrained aqueous dynamics. Arrows inside a branch are inputs or calculations. The links below the branches lead to the checks and the records. Select a box to read its section.
ChapterTopic
01Research questions and engineering objectives
02Construct verification and workflow
03Linker principles and control design
04From structure to observables: metrics and equations
05Parameters, starting states and assumptions
06Predictions: local folds and relative placement
07Functional regions and site accessibility
08Short-time exploration under common conditions
09Numerical checks and method development
10Structural results and construct design
11Data and computational environment
12Early OmpC design and dynamics
ReferencesClassical methods and public records

Research Questions and Engineering Objectives

Module Separation and Conformational Freedom

Once an enzyme is attached to a display scaffold, substrate access still depends on folding, orientation and nearby obstacles. A linker must provide suitable separation while allowing conformational movement.

Flexible segments can permit more relative poses, whereas helix-forming segments can provide more defined local separation. Neither property alone guarantees improved substrate binding or catalysis. Earlier fusion-protein studies provide precedents for both designs. Huston et al., 1988; Arai et al., 2001.

We compared three groups of observables.

LevelQuestionObservables
Local structureHow does segment arrangement affect predicted linker structure?Linker Cα pLDDT and DSSP H assignments
Module relationshipsDo internal folding and relative placement convey the same information?Domain RMSD, intermodule PAE and an internal endpoint distance
Local contactsDo other fusion modules approach selected function-associated sites?Same-pose side-chain SASA and additional-module occlusion

Using the original hybrid as the reference, we examined linker structure, enzyme-domain conformation and contacts between the scaffold and function-associated sites to provide structural guidance for fusion-construct comparisons.

↑ Back to the model map

Encoded Construct and Sequence Verification

Expression-Cassette Open Reading Frame

Translation of the expression-cassette open reading frame gives an 1186-residue precursor: TorA–InaK-derived INPNC–His6–30-residue linker–Cel9K. The five designs differ only at the engineered linker.

Encoded segmentPrecursor positionsSequence reconciliation
Annotated TorA segment1–42Full designed N terminus retained; the reference signal cleavage boundary is after residue 39
Retained InaK fragments43–349Exact matches to reference positions 2–211 and 1052–1148; 307 residues in total
Gly/Ser-rich tail350–360GGGSGGAGGGS, at the end of the INPNC annotation
His6361–366Unchanged
Engineered linker367–396The only 30 positions changed in this comparison
Cel9K enzyme segment397–1186790 residues, exactly matching A3DCH1 positions 28–817

Sequence identities were checked against the InaK, TorA and CelK reference records. The enzyme segment contains CBM4 and the reference catalytic region but excludes the native terminal dockerin. The complete encoded precursor was retained because cleavage, membrane localisation and orientation have not been measured in this fusion. InaK AF013159.1; TorA P33225; CelK A3DCH1.

F.02 · Encoded Construct and Functional Regions

F.02 · Encoded Construct and Functional Regions. A chart; the caption below describes it.
F.02 · Encoded Construct and Functional Regions. Panel A uses precursor numbering. Panel B expands the enzyme segment and maps function-associated sites. Broad tracks retain UniProt annotations; thin tracks retain Pfam matches. This is a linear sequence map, not a spatial model, membrane plane or assignment of extracellular orientation.

Analysis Workflow

The five equal-length linkers were compared by structure prediction, domain analysis and site analysis. Restraint and temperature diagnostics were used to set the common conditions for the dynamic comparison.

The earlier OmpC–357-residue enzyme models differ from the current INPNC–790-residue Cel9K construct. Their candidate designs and trajectories are described in Chapter 12; the two datasets are analysed separately.

↑ Back to the model map

Linker Design: Separation, Freedom and Sequence Order

3.1 Design Rationale for GGGGS and EAAAK

Huston and colleagues connected two antibody variable domains to produce a single-chain Fv with binding activity, providing an early example of flexible-linker engineering. Huston et al., 1988.

Here F=GGGGS denotes a Gly/Ser-rich unit and R=EAAAK a helix-favouring unit. F and R distinguish the sequence designs; their elastic moduli were not measured in this study.

Steric interactions restrict backbone dihedral angles. Glycine’s hydrogen side chain imposes fewer restrictions than larger side chains, motivating its use in flexible linkers. Neighbouring modules can still constrain movement in the fusion. Ramachandran et al., 1963.

The α helix contains repeated i→i+4 backbone hydrogen bonds. Glu/Lys arrangement and charge interactions can also affect short-peptide helicity, as described in the structural work of Pauling and colleagues and the peptide experiments of Marqusee and Baldwin. These principles motivated the helix-favouring unit; salt-bridge energies and helix-formation free energies were not calculated. Pauling et al., 1951; Marqusee and Baldwin, 1987.

Arai and colleagues placed A(EAAAK)nA between fluorescent proteins and used circular dichroism and energy transfer to study its structure and spacing effect. The R unit follows this design rationale; its structure in INPNC–Cel9K was examined through prediction and dynamics. Arai et al., 2001.

3.2 Equal-Length Composition and Order Controls

To separate composition and order effects, the engineered linker was fixed at 30 residues while the other 1156 residues were held constant.

DesignUnit order30-residue sequencePurpose
Original RRFRFFR–R–F–R–F–FEAAAKEAAAKGGGGSEAAAKGGGGSGGGGSExisting design baseline
Flexible F6F–F–F–F–F–FGGGGSGGGGSGGGGSGGGGSGGGGSGGGGSEqual-length F-unit composition control
Rigid R6R–R–R–R–R–REAAAKEAAAKEAAAKEAAAKEAAAKEAAAKEqual-length R-unit composition control
Order control R3F3R–R–R–F–F–FEAAAKEAAAKEAAAKGGGGSGGGGSGGGGSComposition matched; R next to scaffold
Order control F3R3F–F–F–R–R–RGGGGSGGGGSGGGGSEAAAKEAAAKEAAAKComposition matched; F next to scaffold

The original hybrid, R3F3 and F3R3 each contain three R and three F units. They have the same length and amino-acid composition, with different arrangements. R3F3 and F3R3 also exchange which segment is adjacent to the scaffold or enzyme. These comparisons examine sequence order; F6 and R6 provide equal-length composition controls.

The comparison is limited to these five 30-residue sequences; it does not scan linker length or all possible arrangements. The original hybrid is the existing design, and the other sequences are computational controls.

↑ Back to the model map

Structural Metrics and Methods

4.1 Local Confidence and Relative Module Placement

AlphaFold 3 supplies predicted structures and estimates of prediction error. Its pLDDT is an atom-level local confidence estimate; we select each residue’s Cα and average within defined regions. PAE addresses uncertainty in relative placement, using residue tokens and local backbone frames for proteins. These scores answer different questions. Abramson et al., 2024; EMBL-EBI confidence guidance.

For regions A and B, we retain the two directional block means and their bidirectional summary:

PAEA↔B=12|A||B|∑i∈A∑j∈B(PAEij+PAEji).(1)

A and B are specified protein regions. This summary describes predicted placement uncertainty, not measured motion or binding free energy. A confidently folded enzyme can still have an uncertain position relative to the scaffold.

4.2 Alignment and RMSD

For N corresponding Cα atoms in a domain, we first find the rotation Q and translation b that minimise the coordinate difference:

RMSDD(t)=minQ∈SO(3),𝐛⁡1N∑i∈D‖Q𝐱i(t)+𝐛−𝐱iref‖2.(2)

Removing translation and rotation in this way isolates internal change in region D. Aligning the scaffold and then measuring enzyme displacement instead mixes relative movement with enzyme deformation. We report these separately and independently align the CBM, Ig-like and GH9 matched regions for their internal RMSDs.

Dynamic domain analysis uses each run’s exact post-warmup coordinates as its reference. Experimental CBM comparisons instead use 3P6B. The two analyses share units but have different references and purposes.

4.3 Endpoint Distance, Compactness and Helical Assignments

We define a local connection distance between the terminal His6 Cα and the first enzyme Cα:

dend(t)=‖𝐱397Cα(t)−𝐱366Cα(t)‖.(3)

This includes the local geometry next to both linker ends. It is neither contour length nor enzyme height above a membrane. Enzyme radius of gyration describes internal compactness of a mass or selected-atom distribution; it does not measure the external volume swept by that enzyme.

DSSP assigns secondary structure using hydrogen-bond and geometric features. Our whole-linker H fraction counts the 30 positions assigned to α-helical state H:

fH(t)=130∑i=367396𝟏[si(t)=H].(4)

We retain full DSSP states rather than pooling G/I with H. A separate EAAAK-only fraction, where reported, uses only those segments as its denominator and is inapplicable to F6. DSSP classifies coordinates; it does not directly measure mechanical stiffness. Kabsch and Sander, 1983.

4.4 Same-Pose SASA and Additional-Module Occlusion

Solvent-accessible surface area (SASA) treats atoms as spheres and tests whether a probe-accessible surface is obstructed by neighbouring atoms. The Shrake–Rupley approach estimates this area using surface points and supplies the geometric basis of our site analysis. Shrake and Rupley, 1973.

For the side-chain heavy atoms of site s, we define:

ΔAs=As,enzyme onlysame pose−As,fusion,focc,s=ΔAsAs,enzyme onlysame pose.(5)

Enzyme coordinates are identical in both cases; only the occluding-atom set changes. The implementation uses the same 960 surface points per target atom and a 1.4 Å probe, directly counting enzyme-accessible points blocked by additional fusion modules. This separates intrinsic burial from extra-module occlusion. Fractions are undefined when the denominator is near zero.

A water probe characterises local geometry, not the full approach of a cellulose chain or insoluble material. Zero additional occlusion can also occur when a side chain is already buried within the enzyme.

↑ Back to the model map

Parameters, Starting States and Assumptions

5.1 Prediction Inputs and Starting Structures

Each sequence was submitted to AlphaFold Server as one chain and one copy, with seed 20261019. Five outputs per sequence gave 25 structures for static analysis. Dynamic exploration used prespecified model indices 0 and 4, each with seeds 20261020 and 20261021: four runs per design.

Model indices are output labels within separate prediction jobs. Matching an index does not match starting coordinates across sequences. Identical seeds across different atom topologies do not guarantee identical atomwise thermal noise either. This is a comparison under common settings rather than a strict paired experiment with shared initial states.

5.2 Common Settings for Short-Time Dynamics

Dynamics used Amber14 protein parameters and OBC2 implicit solvent. The ff14SB parameter development and the OBC solvent approximation are described by Maier and colleagues and Onufriev and colleagues, respectively. Maier et al., 2015; Onufriev et al., 2004.

Parameter or settingValueInterpretation
Force-field filesamber14-all.xml, implicit/obc2.xmlProtein parameters and implicit-solvent model
Temperature and integrator310 K; LangevinMiddle; friction 1 ps⁻¹Dynamic settings, not experimental temperature measurements
Timestep and bond constraints2 fs; HBondsBonds involving hydrogen constrained
Nonbonded treatmentNoCutoffCurrent nonperiodic implicit-solvent setting
Warmup / observation per run5 ps / 5 psInitial response; equilibrium not established
Recording interval0.1 ps50 observation frames per run
Scaffold position restraintsShared 212 INPNC Cα; k=100 kJ mol⁻¹ nm⁻²A model reference, not proven membrane anchoring
Hydrogen preparationAdded at pH 7.0Preparation rule; individual pKa values not calibrated
ExecutionOpenMM / OpenCL, RTX 4060Platform and software recorded with each run

The restraint set contains INPNC positions whose Cα pLDDT is at least 70 in every one of the 25 predictions. Each selected atom is restrained harmonically:

Urest=k2∑i∈𝒜‖𝐱i−𝐱i0‖2.(6)

k is the per-atom force constant, with coordinates in nm. Changing the number of restrained atoms changes the total restraint contribution; a smaller total is not automatically greater stability. A common confident selection improves consistency but does not establish a rigid physiological anchor.

Each model underwent shared preparation and minimisation before branching into the two seeds. Prepared coordinates, velocities, temperature, energy and trajectories were retained. Total potential energy was monitored for numerical problems rather than used to rank different sequences.

5.3 Biological Context Outside the Current Model

The system omits a membrane, LPS, substrate and a complete native cofactor environment. It does not establish InaK assembly or orientation in this fusion, and TorA processing remains unmeasured. Restrained dynamics of an aqueous precursor is therefore an explicit modelling hypothesis. Internal distances and contacts cannot be converted directly into extracellular extension or material conversion.

↑ Back to the model map

Predictions: Structural Effects of Linker Composition and Order

6.1 Regional Prediction Confidence

Across the 25 predictions, mean enzyme Cα pLDDT is approximately 96.2–96.6, while the original hybrid linker is approximately 22–24. The five linkers show the following confidence and H-assignment ranges.

DesignLinker mean Cα pLDDTWhole-linker DSSP H fraction
Original RRFRFF21.9–23.70.00–0.00
Flexible F626.1–26.80.00–0.00
Rigid R667.3–69.41.00–1.00
Order control R3F324.1–27.80.00–0.13
Order control F3R336.7–49.10.47–0.57

Each range spans the minimum and maximum across five predicted models for one design. All R6 predictions assign H throughout the linker. F3R3 and R3F3 have different H assignments, illustrating that equal composition with different order can correspond to different predicted local structures.

F.03 · Linker Prediction Confidence and Connection Geometry

F.03 · Linker Prediction Confidence and Connection Geometry. A chart; the caption below describes it.
F.03 · Linker Prediction Confidence and Connection Geometry. Each design contains five AF3 models. A: regional mean Cα pLDDT. B: directional INPNC–Cel9K PAE. C: whole-linker DSSP H fraction. D: distance from the terminal His6 Cα to the first enzyme Cα.

None of the five original-hybrid predictions assigned an α-helical H state to the linker, and linker pLDDT was low. We therefore retained multiple starting conformations for geometry and contact analysis. The difference between R3F3 and F3R3 also identifies segment order as a variable to control when comparing constructs.

6.2 Internal Enzyme Folding and Relative Module Placement

Directional INPNC→Cel9K and reverse PAE block means together span 27.7–30.5 Å. Averaging the two directions for each model using Equation (1) gives 28.6–30.2 Å. The enzyme fold has relatively high local confidence, but its placement relative to the scaffold remains uncertain. Distances and site contacts were therefore recorded by model to retain differences between starting conformations.

↑ Back to the model map

Functional Regions and Site Analysis

7.1 Sequence and Domain Mapping

We retain the project label Cel9K; the reference record names CelK. The 790-residue segment exactly matches A3DCH1 positions 28–817. The earlier homologous record P0C2S1 is not identical across the complete segment, so full-site mapping uses A3DCH1. Native position n maps to precursor position p=n+369.

Region or comparisonNative A3DCH1 positionsPrecursor positionsUse
Experimental CBM4 comparison40–199409–568160 sequence-matched Cα atoms in 3P6B chain A
Pfam Ig-like match211–292580–661Separate internal-change analysis
Pfam GH9 match308–807677–1176Domain analysis distinct from the broad catalytic annotation
UniProt Catalytic annotation241–815610–1184Retained broad reference region, not relabelled as a pure GH9 core

These boundaries have different meanings; Pfam boundaries are sequence-model matches. The UniProt native linker annotation also overlaps part of the Ig-like match, so it does not establish that the whole interval is disordered. A3DCH1; InterPro/Pfam.

7.2 Comparison with the Experimental CBM4 Structure

Alahuhta and colleagues reported the CelK CBM4 crystal structure 3P6B. After sequence correspondence was established, we aligned the 160 shared Cα atoms in chain A. CBM RMSD across the 25 predictions was 0.36–0.44 Å. Alahuhta et al., 2011; 3P6B.

The CBM in each design resembles the reference fold. This supports examining scaffold–enzyme placement and the approach of other modules to function-associated CBM sites as additional aspects of the construct comparison.

7.3 Site Sources and Annotation Evidence

CBM positions W56, W94, Y111, Y136 and D192 were mapped from the original CelK mutagenesis study. The reported changes involve binding or folding, and D192 is calcium-associated. These five positions should not all be described as direct catalytic or substrate-contact residues. Kataeva et al., 2001.

D386, H737, D786 and E795 are A3DCH1 Active site annotations supported by sequence rules. The site-mapping table lists the numbering and evidence for all nine sites. A3DCH1 annotations; site-mapping table.

7.4 W94 Occlusion in F6 Model 4

Applying Equation (5), W94 in F6 model 4 has approximately 25.54 Ų of additional-module occlusion, or 25.1% of its enzyme-only side-chain SASA in the same pose. The closest extra-module residue is INPNC precursor position 102. No extra occlusion was detected at the selected initial sites in the other designs.

F.04 · Functional-Region Consistency and Local Occlusion

F.04 · Functional-Region Consistency and Local Occlusion. A chart; the caption below describes it.
F.04 · Functional-Region Consistency and Local Occlusion. A: 25-model comparison with 160 shared Cα atoms in 3P6B chain A. B: directional PAE between CBM and the broad Catalytic interval. C: same-pose additional occlusion for 25 models × 9 sites, displaying maxima over five models per design. Units are Å, Å and Ų respectively.

This contact identifies a specific construct-design question at the INPNC–CBM4 interface: can linker-dependent placement bring the scaffold close to a binding-associated site? Because the contact depends on the starting pose, we followed W94 in short dynamics as well as comparing initial endpoint distances.

↑ Back to the model map

Short-Time Dynamics Across the Designs

8.1 Warmup and Sampling-Start Temperature

The original-hybrid diagnostics compared two scaffold restraint selections and two force constants. After 0.5 ps warmup, observation began at approximately 227–233 K, below the 310 K target. These trajectories were retained as cold-start diagnostics and followed by separate warming continuations.

The five-design comparison used 5 ps warmup and 5 ps observation per run, giving 5 × 2 × 2 = 20 runs. Production-start temperatures were 306.1–314.6 K, all within the predeclared 310 K ± 5% interval. The common warmup, observation and recording settings provide a consistent basis for comparing short-time structural responses.

8.2 Endpoint Distance and Internal Domain RMSD

DesignEndpoint distance / ÅCBM internal RMSD / ÅPfam GH9 internal RMSD / Å
Original RRFRFF35.78–45.500.63–0.770.66–0.72
Flexible F649.08–58.870.64–0.930.66–0.74
Rigid R648.02–48.310.59–0.750.70–0.74
Order control R3F336.57–42.960.62–0.740.64–0.70
Order control F3R342.46–47.360.65–0.760.68–0.70

Each interval spans the four run-level time means. CBM and GH9 were aligned independently to each run’s post-warmup state. Distance follows Equation (3), not a membrane height; RMSD describes internal domain change during the short window.

F.05 · Short-Time Aqueous Dynamics Across the Designs

F.05 · Short-Time Aqueous Dynamics Across the Designs. A chart; the caption below describes it.
F.05 · Short-Time Aqueous Dynamics Across the Designs. Twenty runs, each with 5 ps observation. Every point is a run-level time mean. Circles and crosses distinguish seeds; small horizontal offsets distinguish models 0 and 4. Panels show endpoint distance, CBM internal RMSD, Pfam GH9 internal RMSD and engineered-linker DSSP H fraction.

Run-mean endpoint distances span 35.78–45.50 Å for the original hybrid, 49.08–58.87 Å for F6, and 48.02–48.31 Å for R6. These describe different short-time geometries under the chosen starting poses and restrained aqueous hypothesis. Because starting predictions differ across designs, the differences cannot be assigned wholly to linker mechanics.

GH9 matched-region run-mean internal RMSDs span 0.64–0.74 Å, with small internal changes during the sampled windows. Together with endpoint distance, this separates differences in connection geometry from changes within the enzyme domain.

8.3 Dynamic Site Occlusion and Starting-State Dependence

Nine sites were analysed at six fixed saved frames per run, giving 1080 dynamic site rows. Both seed branches of F6 model 4 retained additional W94 occlusion, whereas model 0 did not show that contact. The observation therefore remains associated with a particular initial conformation rather than a general property of the F6 sequence.

First- and second-half means and their differences describe changes within the observation window. The 20 separate production trajectories total 100 ps and 1000 saved frames; each run was summarised separately.

↑ Back to the model map

Method Checks and Validation Scope

9.1 Sequence, Geometry, Reference-Frame and Sampling Checks

Computational checks covered sequence mapping, rigid-body geometry, fitting selections, sampling temperature and SASA numerical consistency.

CheckMethodScope
Earlier OmpC models differ from the actual INPNC designFull ORF translation, residue mapping and separate datasetsResults remain attached to the encoded construct
Rigid movement can enter a nominal internal RMSDRigid-body invariance checks and domain self-alignmentInternal deformation is separated from module displacement
Scaffold alignment selection affects geometry25 models, four fitting selections and 200 sensitivity rowsGeometric values depend on the fitting selection
Target temperature does not establish sampling temperatureVelocity/degree-of-freedom checks, preserved cold starts and separate continuationsTemperature qualification is distinct from structural equilibrium
Separate approximate SASA calculations can differ numericallyShared surface points, monotonicity and area identitiesAdditional occlusion has a consistent geometric definition
One static model does not describe dynamicsTwo models × two seeds for every designCoverage of the selected starting models and seeds

9.2 Numerical Checks and Software Tests

The SASA implementation was checked against a free sphere and analytical intersecting-sphere caps, including the requirement that fusion SASA does not exceed enzyme-only SASA in the same pose. A 225-row comparison with the earlier static implementation found a maximum absolute side-chain-area difference of approximately 2.24 Ų and an extra-occlusion difference below 0.00001 Ų. The main site observation was unchanged. See the numerical cross-check.

All 32 software tests passed, covering sequence mapping, rigid-body geometry, observable definitions and numerical constraints; see the test record.

↑ Back to the model map

From Structural Results to Construct Design

10.1 Starting from the Existing Hybrid Construct

The wet-lab work used a hybrid linker. Taking the RRFRFF sequence in the expression-cassette design as the reference, we placed the cassette sequence, predicted structures and functional regions under the same precursor numbering, then added equal-length composition and order controls.

Sequence verification established the complete encoded INPNC–Cel9K construct and mapped its enzyme segment to reference domains and function-associated sites. This connects construct records to the engineered linker, CBM4 and GH9 boundaries, and precursor positions corresponding to sites such as W94.

10.2 Defining Variables for Construct Comparisons

The predictions show high local confidence in the enzyme segment, while linker helical assignments vary with composition and order. R6 provides a helix-favouring composition control; R3F3 and F3R3 show different predicted structures despite identical composition. Construct comparisons can therefore examine segment choice and segment order separately while keeping linker length fixed.

Construct comparisonComputational observationDesign implication
Original RRFRFF hybridExisting sequence included in all structural and dynamic analysesCommon baseline for the observables
F6 and R6Equal-length composition changes accompany different helical assignments and connection geometriesCompare Gly/Ser-rich and helix-favouring units
R3F3 and F3R3Identical composition with different order gives different predicted helical distributionsExamine order and which segment lies next to the scaffold or enzyme
Different F6 starting modelsW94 occlusion occurs in a particular pose and persists in the corresponding short branchesInclude local scaffold–CBM4 contact in the comparison

Short dynamics also record endpoint distance separately from internal domain RMSD. Tracking W94 shows why construct comparisons should examine the scaffold’s approach to binding-associated regions alongside the separation provided by the linker.

This work adds sequence and structural interpretation to the existing hybrid construct and defines a set of equal-length controls with explicit variables. The original hybrid can remain the wet-lab baseline, while F6, R6 and the two order controls each address a specific composition or arrangement question.

10.3 Model Scope

These design considerations come from predictions and short restrained aqueous dynamics. The model omits a membrane, substrate and a complete native cofactor environment. Processing, membrane orientation and activity of the current construct require separate measurements. Predicted models and saved frames are not independent experimental replicates; separate trajectories are not interpreted as one continuous trajectory, and equilibrium or convergence has not been established.

The 3P6B comparison checks only the local CBM fold, without excluding training or template information. High intermodule PAE means that contacts must be interpreted with their starting poses; zero additional occlusion does not establish cellulose access. These results guide construct comparisons rather than rank functional performance.

All five engineered linkers lack Cys/Met, so local sulfur SASA cannot distinguish radiation resistance. Connection distance alone also does not establish macroscopic transport effects under low mixing. Oxidative, radiation and application performance are outside the model’s validation scope.

↑ Back to the model map

Data and Computational Environment

Result Tables and Archived Records

Model inputs, sequence mappings and analysis results are provided below.

ContentData record
Actual fusion and linker sequencesDesign and sequence inventory
Static metrics for 25 modelsConfidence, structure and geometry
Enzyme and experimental CBM correspondence790-position mapping, 3P6B correspondence
Function-associated sitesNumbering and evidence, 225 static accessibility rows
Five-design short dynamicsRun summary, design summary
Dynamic site sampling1080 site rows
Early OmpC designs and trajectories16 candidate sequences, run records, 1 ns metrics
Numerical and software settingsSASA cross-check, existing tests, frozen protocol

The current INPNC comparison used Python 3.12.14, OpenMM 8.6.1 and MDTraj 1.11.2. Configuration files record the integrator, restraints, seeds, recording interval and observation length.

Raw coordinates, PAE and trajectories are archived by input and run identifier. Current INPNC data are stored separately from the earlier OmpC dataset.

↑ Back to the model map

Source Code

The Linker Tools repository provides Python utilities for sequence inspection, structural geometry and side-chain solvent accessibility. Plotting scripts regenerate Figures F.02–F.07 from the included result tables. The repository also contains installation instructions, usage examples and licence information.

git clone https://gitlab.igem.org/2026/software/szu-siat-china/linker-tools.git

Early OmpC Linker Design and Dynamics

12.1 From Length Gradients to Segment Order

The early designs combined a 367-residue OmpC scaffold with a 357-residue enzyme segment to examine linker length, composition and segment order. Among the 16 candidates, GGGGS (F) and EAAAK (R) each form a length series of 5, 10, 15 and 20 residues. Hybrid linkers combine these units at lengths of 20, 25 or 40 residues. Two further candidates use repeated PAS or PT sequences, with lengths of 21 and 20 residues, respectively.

The library contains two composition-matched order comparisons: L09/L10 are F2R2 and R2F2, while L13/L14 are R4F4 and F4R4. L11 and L12 are both 25 residues long but contain 3F+2R and 2F+3R, respectively, so they change composition as well as order. PAS and PT are listed by sequence composition; these sequence records alone do not establish rigidity, glycosylation or resistance to degradation.

F.06 · Sequence Design of the Early OmpC Candidates

F.06 · Sequence Design of the Early OmpC Candidates. A chart; the caption below describes it.
F.06 · Sequence Design of the Early OmpC Candidates. A: actual composition of the 16 linkers. The horizontal axis gives length in residues (aa), and coloured blocks preserve segment order. B: numbers of F and R units in the hybrid candidates; shared coordinates identify equal compositions. L01–L16 correspond to AF20260517_L01–L16. Complete sequences, prediction jobs and model identifiers are provided in the sequence records.

12.2 Aqueous Trajectories of the R4F4 Construct

The 40-residue R4F4 linker connects OmpC to the enzyme segment in a 764-residue fusion precursor. Two trajectories of this sequence start from different poses and contain 500 and 278 saved frames, both at 2 ps intervals. Trajectory I covers 2–1000 ps and trajectory II covers 2–556 ps. They are recorded separately and were not concatenated. Their sequence matches candidate L13, but sequence identity alone cannot assign either starting pose to one of L13’s prediction models.

Run recordStarting coordinatesSaved framesSaved time range (ps)
OmpC_R4F4_Imodel_0_H.pdb5002–1000
OmpC_R4F4_IIL11_Hybrid_H.pdb2782–556

The figure below shows three observables from trajectory I. Whole-fusion backbone RMSD is calculated after fitting 3056 N, Cα, C and O atoms to the starting PDB. It can reflect both internal changes and relative motion between modules. The enzyme radius of gyration is mass-weighted over precursor residues 408–764 and describes the compactness of that segment. The third observable is the minimum atom distance between OmpC (residues 1–367) and the enzyme segment, including hydrogen atoms.

F.07 · One-Nanosecond Trajectory of the Early OmpC–R4F4 Model

F.07 · One-Nanosecond Trajectory of the Early OmpC–R4F4 Model. A chart; the caption below describes it.
F.07 · One-Nanosecond Trajectory of the Early OmpC–R4F4 Model. A: whole-fusion backbone RMSD. B: mass-weighted enzyme radius of gyration. C: minimum atom distance between OmpC and the enzyme segment. All vertical axes are in Å and time is in ps. The figure uses the 500 saved frames from trajectory I. The reference is model_0_H.pdb, without substituting a post-warmup conformation.

Whole-fusion backbone RMSD rises from 1.03 Å in the first saved frame to 10.06 Å in the last, reaching a maximum of 10.56 Å. Enzyme radius of gyration spans 20.16–20.86 Å with a mean of 20.57 Å, while the minimum scaffold–enzyme atom distance spans 3.75–19.74 Å with a mean of 13.83 Å. A substantial change in whole-fusion alignment can therefore coexist with a narrow range of enzyme radius of gyration. These observables require separate interpretation; the RMSD increase alone cannot be assigned to enzyme unfolding. Minimum atom distance describes the approach of the two segments, rather than directly measuring steric clashes or substrate access.

The run script uses Amber14/OBC2 implicit solvent, a LangevinMiddle integrator, a 2 fs step, 1 ps⁻¹ friction and a 310 K target temperature, with constraints on covalent bonds involving hydrogen (HBonds) and NoCutoff for nonbonded interactions. No scaffold position restraints are specified. The saved records do not provide a temperature time series, a separate warmup interval or random seeds. The 1 ns record is therefore used to describe short-time changes from this starting pose, without establishing equilibrium or convergence.

12.3 Relevance to the Current Construct Comparison

The OmpC library identifies length, composition and order as distinct design variables. Its R4F4 trajectory also illustrates why whole-fusion motion, enzyme compactness and module approach need separate observables. The current INPNC study centres on the actual expression cassette, fixes linker length at 30 residues, and compares composition and order separately. Domain-specific fitting and site-occlusion analysis further distinguish these changes.

The two studies use different scaffolds, enzyme segments and run settings. Their numerical results are kept separate and do not support rankings across constructs.

↑ Back to the model map

References and Public Data

  1. Huston, J. S., et al. (1988). Protein engineering of antibody binding sites: recovery of specific activity in an anti-digoxin single-chain Fv analogue produced in Escherichia coli. Proceedings of the National Academy of Sciences, 85(16), 5879–5883.
  2. Arai, R., Ueda, H., Kitayama, A., Kamiya, N., & Nagamune, T. (2001). Design of the linkers which effectively separate domains of a bifunctional fusion protein. Protein Engineering, 14(8), 529–532.
  3. Ramachandran, G. N., Ramakrishnan, C., & Sasisekharan, V. (1963). Stereochemistry of polypeptide chain configurations. Journal of Molecular Biology, 7, 95–99.
  4. Pauling, L., Corey, R. B., & Branson, H. R. (1951). The structure of proteins: two hydrogen-bonded helical configurations of the polypeptide chain. Proceedings of the National Academy of Sciences, 37(4), 205–211.
  5. Marqusee, S., & Baldwin, R. L. (1987). Helix stabilization by Glu−···Lys+ salt bridges in short peptides of de novo design. Proceedings of the National Academy of Sciences, 84(24), 8898–8902.
  6. Kabsch, W., & Sander, C. (1983). Dictionary of protein secondary structure: pattern recognition of hydrogen-bonded and geometrical features. Biopolymers, 22(12), 2577–2637.
  7. Shrake, A., & Rupley, J. A. (1973). Environment and exposure to solvent of protein atoms. Lysozyme and insulin. Journal of Molecular Biology, 79(2), 351–371.
  8. Maier, J. A., Martinez, C., Kasavajhala, K., Wickstrom, L., Hauser, K. E., & Simmerling, C. (2015). ff14SB: Improving the Accuracy of Protein Side Chain and Backbone Parameters from ff99SB. Journal of Chemical Theory and Computation, 11(8), 3696–3713.
  9. Onufriev, A., Bashford, D., & Case, D. A. (2004). Exploring protein native states and large-scale conformational changes with a modified generalized Born model. Proteins, 55(2), 383–394.
  10. Abramson, J., et al. (2024). Accurate structure prediction of biomolecular interactions with AlphaFold 3. Nature, 630, 493–500.
  11. Alahuhta, M., Luo, Y., Ding, S.-Y., Himmel, M. E., & Lunin, V. V. (2011). Structure of CBM4 from Clostridium thermocellum cellulase K. Acta Crystallographica Section F, 67, 527–530. PDB 3P6B.
  12. Kataeva, I. A., Seidel, R. D. III, Li, X.-L., & Ljungdahl, L. G. (2001). Properties and Mutation Analysis of the CelK Cellulose-Binding Domain from the Clostridium thermocellum Cellulosome. Journal of Bacteriology, 183(5), 1552–1559.
  13. EMBL-EBI Training. How to assess the quality of AlphaFold 3 predictions. Official method guidance; accessed 20 October 2026.
  14. UniProt. A3DCH1 — CelK. Reference sequence for the encoded enzyme segment.
  15. NCBI GenBank. AF013159.1 / AAB66891.1 — InaK. Reference sequence for the retained InaK fragments.
  16. UniProt. P33225 — TorA. Reference signal annotation.
  17. InterPro/Pfam. A3DCH1 family matches. CBM, Ig-like, GH9 and dockerin sequence-model matches.

GROMACS Molecular Dynamics: From Contact to Design

GROMACS is the main computational tool in the sugar-binding study. We completed 100 ns of 2HPH production and retained approximately 25.66 ns of partial 2O7I records. The cellulase study used NAMD/CHARMM36 to screen initial interfaces and prepare explicit-solvent systems.

Imagine a cell-displayed enzyme approaching a piece of cellulose. A close encounter does not necessarily give the enzyme a useful interface: the substrate may face the wrong surface, or neighboring atoms may be pressed together. A sugar already bound to a recognition protein raises a related question. Can that contact persist while the protein changes conformation?

These questions led to two molecular modeling routes. The first used Cel5L, Cel9K and Cel48S to develop comparable enzyme–cellulose systems, with the longer-term aim of informing enzyme abundance and strain ratios. The second retained three sugar-binding protein systems as computational references for examining how pre-existing protein–sugar contacts evolve over time.

The routes reached different stages. The cellulase systems progressed through explicit solvation and restrained preparation. In the sugar-binding route, 2HPH completed 100 ns of production sampling, 2O7I retained approximately 25.66 ns of partial records, and 8BFY retained preparation and equilibration results. Funding, available equipment and time prevented completion of every planned trajectory and independent replicate. The results address system preparation and the conformational and contact changes observed in the 2HPH trajectory.

Production of 2HPH, completed with normal termination
100 ns
Partial production records of 2O7I
≈25.66 ns
Scored candidate poses of the three cellulases
3,240
Atoms in a solvated cellulase system
159k–188k

F.01 · Friskoli / Modeling

From Molecular Systems to Design Decisions

Two computational routes start from one engineering question: enzyme–cellulose systems, and proteins that already hold a sugar. Select a box to read its section.

Back to design, and where the results are readEvidence, unfinished work and validationRatio designCommandsEnergy analysisReferences

Cellulase equilibration has not supplied a completed ratio optimizer, and the sugar-binding results have not been directly connected to a cellular chemotaxis model.

Two computational routes for enzyme–cellulose and protein–sugar systems. Arrows inside a route are computational links; the links below the routes lead to where the results are read and evaluated. Select a box to read its section.

GROMACS: Molecular Dynamics and Reproducible Commands

GROMACS is a widely used molecular dynamics package for biomolecular research, supporting numerical integration, bond constraints, PME electrostatics, temperature and pressure coupling, and CPU/GPU parallel execution.111213 We used grompp to prepare run inputs, mdrun for sampling, and its analysis tools to calculate RMSD, interatomic distances and thermodynamic observables.141516

Sugar-binding production logs identify GROMACS 2024.1, while preparation includes 2026.0 conda-forge records. The explicit-solvent cellulase route used NAMD/CHARMM36.

Installation and version recording

The following GROMACS 2024.1 installation example matches the saved production release. Ubuntu/WSL, compilers and drivers must be compatible, and CUDA options should follow the release-specific official guide.12

Commands: install GROMACS 2024.1
# Ubuntu build dependencies; do not reinstall a working environment unnecessarily
sudo apt update
sudo apt install build-essential cmake wget
wget https://ftp.gromacs.org/gromacs/gromacs-2024.1.tar.gz
tar -xzf gromacs-2024.1.tar.gz
cmake -S gromacs-2024.1 -B gromacs-2024.1/build \
  -DGMX_BUILD_OWN_FFTW=ON \
  -DREGRESSIONTEST_DOWNLOAD=ON \
  -DCMAKE_INSTALL_PREFIX="$HOME/gromacs-2024.1-local"
cmake --build gromacs-2024.1/build -j 4
ctest --test-dir gromacs-2024.1/build --output-on-failure
cmake --install gromacs-2024.1/build
source "$HOME/gromacs-2024.1-local/bin/GMXRC"
gmx --version

This example builds for CPUs. With a compatible NVIDIA CUDA toolchain, add -DGMX_GPU=CUDA at configuration and record GPU, driver and compiler versions.

Trajectory checks and analysis

The filenames below refer to files within the matching system. Topology, atom order and selections must agree; a full-system TPR cannot be mixed with a dry trajectory containing a different atom count. Interactive selection is retained rather than hard-coding group numbers that may change.141516

Commands: trajectory checks, RMSD, distances and energies
gmx --version
gmx check -f md.xtc
gmx check -f for_mmpbsa.xtc

# Work on analysis copies; select the centering group and complete output group
gmx trjconv -s md.tpr -f md.xtc -o centered.xtc -pbc mol -center

# Select Backbone for fitting and Backbone for RMSD
gmx rms -s md.tpr -f centered.xtc -o rmsd.xvg -tu ns

# Preserve the original residue-group proxy, not a new complete domain annotation
gmx distance -s dry.tpr -f final_dry.xtc \
  -select 'com of resnr 1 to 150 plus com of resnr 200 to 300' \
  -oall domain_dist.xvg

# Select Protein and BGC to retain the original minimum-distance definition
gmx mindist -s dry.tpr -f final_dry.xtc -od ligand_dist.xvg
gmx energy -f nvt.edr -o temperature.xvg
gmx energy -f npt.edr -o density.xvg
gmx energy -f npt.edr -o pressure.xvg

A complete simulation normally applies the grompp → mdrun workflow to minimization, NVT, NPT and production. Production starts from the NPT coordinates and checkpoint:

Commands: start and resume production
gmx grompp -f md.mdp -c npt.gro -t npt.cpt \
  -p topol.top -n index.ndx -o md.tpr
gmx mdrun -deffnm md
# Resume only after checking checkpoint, atom order, settings and output compatibility
gmx mdrun -deffnm md -cpi md.cpt -append

The cellulase systems cannot simply be rebuilt by applying these protein–small-molecule commands. Their carbohydrate connectivity and CHARMM/NAMD inputs follow a separate preparation route.

Production settings and execution

The following fragment comes from the saved 2HPH production input: 2 fs multiplied by 50,000,000 steps gives 100 ns. Matching force field, topology and index files are still required. The GPU command is recorded in the existing log and depends on compatible hardware.

Settings and command: the 2HPH production run
integrator              = md               ; leap-frog integrator
dt                      = 0.002            ; 2 fs
nsteps                  = 50000000         ; 50,000,000 * 0.002 = 100,000 ps = 100 ns
coulombtype             = PME              ; Particle Mesh Ewald for long-range electrostatics
tcoupl                  = V-rescale        ; Modified Berendsen thermostat
tc-grps                 = Protein_Ligand Water_and_ions ; Groups defined in index.ndx
ref_t                   = 310      310     ; Reference temperature (K)
pcoupl                  = Parrinello-Rahman ; Extended-ensemble pressure coupling
ref_p                   = 1.0              ; Reference pressure (bar)
gen_vel                 = no               ; Continue velocities from NPT checkpoint
constraints             = h-bonds          ; Constrain bonds involving hydrogen (allows 2 fs dt)
continuation            = yes              ; Restarting after NPT (constraints are already solved)
gmx mdrun -v -deffnm md -nb gpu -pme gpu -update gpu -ntomp 12

↑ Back to the model map

Bringing the Engineering Question to Molecular Scale

Does an equal input give an equal contribution?

Multi-enzyme conversion depends on complementary activities and access to the substrate. Leis and colleagues used Cel48S, Cel9K and Cel5L as core components of a synthetic cellulosome. That work supports investigating this combination, while its scaffoldin-based system differs from separate strains displaying individual enzymes. Its performance cannot be transferred directly to our proposed configuration.1

Our starting question was consequently conditional: would equal cell numbers provide an appropriate balance of effective enzymes? Display efficiency, conformation, adsorption and catalytic contribution can all affect that mapping. High-speed AFM studies have observed traffic jams for particular cellulases moving on cellulose. This motivates examining surface encounters, but does not establish that our three proposed display strains necessarily experience the same behavior.2

Reliable molecular starts are needed before discussing ratios. Excessive initial overlap can make “more contact” a geometric artifact, and a minimized energy alone cannot show whether an interface persists in water. We therefore treated construct selection, pose screening, environmental preparation and dynamic observation as separate tasks.

The sugar-binding route examines a parallel question: how does an established protein–sugar contact evolve alongside conformational change? Such a calculation can inform discussion of recognition, but cannot establish transport, signal transmission or chemotaxis.

↑ Back to the model map

Defining the Protein Constructs

The full-length cellulases contain regions associated with targeting or assembly. We organized their sequences and domain annotations, then removed predicted signal peptides and C-terminal dockerins in the route-B constructs. Cel9K retained its N-terminal binding-related region and intervening domains rather than only its GH9 catalytic domain. The truncated constructs therefore differ from complete native cellulosomal proteins.

EnzymeNCBI accessionFull lengthRetained original positionsConstruct lengthMean Cα pLDDT
Cel5LADU74872.1526 aa32–459428 aa95.41
Cel9KADU74865.1895 aa28–827800 aa96.49
Cel48SADU75731.1744 aa31–675645 aa98.55

Each construct has a saved AlphaFold prediction. Recalculation from the Cα values of model 0 gives 20, 13 and 1 residues below pLDDT 70, respectively, and 5, 11 and 0 below 50. The profiles locate most low-confidence residues near termini. These predictions supply structural starting points. High local confidence does not validate interdomain orientation, carbohydrate binding or catalytic function.3

F.02 · Cellulase Constructs and Residue Confidence

F.02 · Cellulase Constructs and Residue Confidence. A chart; the caption below describes it.
F.02 · Cellulase Constructs and Residue Confidence. A: full sequences and retained route-B intervals, in amino acids. B: model-0 Cα pLDDT profiles; the dashed line marks 70. Construct indices start at 1; original positions are given in the table. There is one selected prediction per construct, and residues are not independent experimental replicates.

↑ Back to the model map

From Geometric Candidates to Testable Starts

Establishing plausible contact before testing its persistence

Both an eight-unit cellodextrin and a larger cellulose Iβ slab were prepared. The subsequent cellulase route used the Iβ model with a 4×4×8 construction specification to retain a larger surface environment. Candidate configurations were generated by directed placement near selected residues, followed by translations and rotations. This procedure creates initial geometries; it does not calculate binding free energies or simulate glycosidic bond cleavage.

For protein and cellulose heavy-atom coordinates, the minimum distance and pair count within a threshold are

dmin⁡=mina,b⁡‖𝐫a−𝐫b‖,Npair(rc)=∑a,b𝟏(‖𝐫a−𝐫b‖<rc).

The screening script recorded pairs below 1.5 Å and 2.0 Å, together with contacts, contacting residues and aromatic contacting residues within 4.5 Å. Pair counts and residue counts are different observables, and geometric proximity alone does not identify a hydrogen bond.

The formal rescreen retained 3,240 scored candidates: 1,512 for Cel5L and 864 each for Cel9K and Cel48S. The numbers without pairs below 2.0 Å were 625, 243 and 505. Adding the strict 3.0–4.5 Å minimum-distance interval and at least one contacting residue retained 315, 135 and 296 candidates. These counts describe the search, rather than relative binding performance.

EnzymeScored posesNo pairs <2.0 ÅFraction of all posesStrictly retainedFraction of all poses
Cel5L1,51262541.34%31520.83%
Cel9K86424328.12%13515.62%
Cel48S86450558.45%29634.26%

Strict filtering requires a minimum distance of 3.0–4.5 Å, no pairs below 2.0 Å and at least one contacting residue. Retention fractions describe geometric feasibility within each search grid, rather than binding probabilities or affinities.

F.03 · Directed Geometry Screening and Selected Starts

F.03 · Directed Geometry Screening and Selected Starts. A chart; the caption below describes it.
F.03 · Directed Geometry Screening and Selected Starts. A–C show all scored configurations of Cel5L, Cel9K and Cel48S. The horizontal axis is minimum heavy-atom distance in Å; the vertical axis counts residues contacting cellulose within 4.5 Å. Colored points have no pairs below 2 Å; open circles mark selected starts. The shaded band shows the original strict distance interval. Configurations are not independent MD replicates.
EnzymePlacement residue, construct numberingMinimum distance (Å)Contacting residuesAromatic contacting residues
Cel5LPHE3193.69773
Cel9KTRP1172.96331
Cel48STRP5142.96041

The selected Cel9K and Cel48S starts have minimum distances of 2.963 Å and 2.960 Å, slightly below the strict 3.0 Å lower bound. We retained these manually adjusted starts because they preserved the intended aromatic contacts without pairs below 2.0 Å; both still required gradual relaxation in water. Aromatic contact was a placement cue, not proof that the substrate occupied a productive catalytic pathway.

↑ Back to the model map

What the Vacuum Route Taught Us

Nine early enzyme–cellulose complexes completed 1,000 steps of vacuum minimization. This demonstrated that the program could read the topology, coordinates and parameters, but did not establish a physically suitable interface. Further examination found overly close contacts in some structures. After restrained vacuum minimization of three selected poses, minimum heavy-atom distances reached 1.126 Å for Cel5L, 1.364 Å for Cel9K and 1.462 Å for Cel48S.

F.04 · Interface Diagnostics from the Vacuum Route

F.04 · Interface Diagnostics from the Vacuum Route. A chart; the caption below describes it.
F.04 · Interface Diagnostics from the Vacuum Route. A: minimum distances before and after restrained vacuum minimization of the same three configurations. B: minimum distances in nine earlier vacuum-minimized poses. Distances are in Å; the 2 Å line is a geometric diagnostic reference. The two panels concern different historical steps, not a pooled statistical experiment. Shorter distances do not demonstrate stronger binding.

Short vacuum dynamics also produced records of excessive atomic velocity or instability. The excessive contacts and instability made these final structures unsuitable for subsequent sampling. We rescreened the initial configurations and introduced water and ions.

↑ Back to the model map

Returning the Interface to Water

Explicit water and ionic conditions

The revised route used VMD for solvation and ion placement, followed by NAMD with CHARMM36 protein and carbohydrate parameters. Published carbohydrate parameterization provides a basis for representing sugars and noncovalent carbohydrate–protein interactions; connectivity and parameter matching still need system-specific checks.45

Atom counts agreed between each starting complex PDB and PSF. After solvation and nominal 0.15 M NaCl addition, the Cel5L, Cel9K and Cel48S systems contained 175,775, 187,738 and 159,313 atoms, including 53,407, 55,512 and 46,859 water molecules. Their different sizes also mean that absolute total potential energies cannot rank binding strengths.

F.05 · Solvated Systems and Verified Stage Completion

F.05 · Solvated Systems and Verified Stage Completion. A chart; the caption below describes it.
F.05 · Solvated Systems and Verified Stage Completion. A: protein-plus-cellulose, water and ion atom counts. B: periodic box lengths, converted from Å to nm. C: stage completion supported by normal termination records. Cel9K accumulated 20 ps through two 10 ps segments separated by interruption. Missing 50 ps records for Cel5L and Cel9K are not zero-valued completed results.

Releasing restraints in stages

Protein and cellulose heavy atoms were restrained while the environment adapted. All three systems completed 1,000 minimization steps, 10 ps of restrained heating and 20 ps of cumulative restrained equilibration. The time step was 1 fs, the Langevin target was 300 K, and the configurations used periodic boundaries and PME. Strong- and weak-restraint files assigned B-column weights of 5.0 and 1.0, with a global scaling factor of 1. These are NAMD restraint weights rather than temperatures or confidence values.

F.06 · Temperature and Energy During NAMD Preparation

F.06 · Temperature and Energy During NAMD Preparation. A chart; the caption below describes it.
F.06 · Temperature and Energy During NAMD Preparation. A: 10 ps heating. B: 20 ps strong-restraint equilibration, joining the Cel9K restart segment after 10 ps. C: the completed 50 ps weak-restraint record available only for Cel48S. D: potential energy during 1,000 solvated minimization steps, using a symlog vertical axis with a 10⁵ kcal/mol linear threshold to retain both the high-energy start and negative-energy tail. Temperature is in K and potential energy in kcal/mol. Minimization uses steps, while the other panels use time within each stage. These records do not demonstrate statistical equilibration or binding stability.

Final recorded heating temperatures were approximately 301.04, 299.88 and 299.75 K, close to the control target. Only Cel48S has a completed 50 ps weak-restraint log; the other two retain configurations without completed outputs. The result therefore concerns preparation progress. Short persistence under positional restraints cannot replace unrestrained production sampling.

↑ Back to the model map

Connecting Molecular Information to Ratio Design

The cellulase route was intended to prepare information for subsequent design. Future comparisons should examine contact persistence, orientation, hydrogen bonding, interface area and agreement across independent initial configurations, then connect those observations to adsorption and activity measurements. No single structural metric determines an optimal ratio.

A simplified competitive-adsorption assumption illustrates the parameters required:

θi=KiCi1+∑jKjCj.

Here, Ci is the concentration of accessible effective enzyme, Ki is an adsorption coefficient with matching inverse concentration units, and θi is occupancy of assumed equivalent sites. This is a conceptual model awaiting calibration. Current trajectories do not supply the Ki, and the expression does not adequately represent unequal footprints, processivity, cell-scale obstruction or enzymatic synergy.

If each cell displays Pi effective enzyme copies and there are Ni cells, the mapping is

Ei=NiPi,Nitarget∝EitargetPi.

A target enzyme ratio therefore still requires display measurements before conversion into a strain ratio. We do not report a numerical formulation. The next test would complete matched production runs and multiple starting configurations, measure effective display and adsorption, and evaluate candidate ratios against an equal-ratio control. That test remains future work.

↑ Back to the model map

Establishing Sugar-Binding Reference Systems

Returning a bound sugar to a dynamic environment

Recognition is not represented completely by one static structure. Sugar contacts and protein conformation can evolve together. Three existing complexes were retained as computational references for that question. These sugar-binding proteins are analyzed separately from the cellulases.

PDBStructural identitySugar in the deposited structureAvailable calculation
2HPHE. coli glucose/galactose-binding proteinGlucosePreparation, 100 ns production and subsequent analysis
2O7IThermotoga maritima binding protein TM0031CellobiosePreparation and approximately 25.66 ns production records
8BFYStreptomyces scabiei CebECellotriosePreparation and equilibration; no production output found

Identities and deposited ligands agree with the structural database records.678 Species, proteins and ligands differ. Even complete trajectories would not make their individual energy or contact curves a direct affinity competition for the same sugar.

Protein topology used AMBER99SB-ILDN with SPC/E water, and ligand preparation involved an ACPYPE workflow. The archived topologies and ligand files were retained; carbohydrate connectivity, termini and charges remain priorities for further checking.910 Early 8BFY extraction included glycerol and citrate as well as sugar, followed by a sugar-only file. Available records do not justify describing all three systems as a completed matched-ligand comparison.

F.07 · Equilibration Records for Sugar-Binding Proteins

F.07 · Equilibration Records for Sugar-Binding Proteins. A chart; the caption below describes it.
F.07 · Equilibration Records for Sugar-Binding Proteins. A: NVT temperature in K. B: NPT density in kg/m³. C: NPT pressure in bar. Each system completed 100 ps NVT and 100 ps NPT at a 300 K preparation target. The original tables contain 51 points spaced by 2 ps. Initial warming and pressure fluctuations are retained; time points are not independent replicates.

↑ Back to the model map

How Far Production Sampling Progressed

Production used GROMACS 2024.1 with a 2 fs time step and a planned 50,000,000 steps, equivalent to 100 ns. Settings included PME, constraints on bonds involving hydrogen, V-rescale temperature coupling and Parrinello–Rahman pressure coupling. The production target was 310 K and 1 bar, differing from the 300 K preparation target. This temperature change remains part of the method and subsequent equilibration assessment. GROMACS parallelization and GPU acceleration made atomistic sampling feasible, but computational performance cannot establish adequate sampling.111213

F.08 · Recorded Production Durations and Temperatures

F.08 · Recorded Production Durations and Temperatures. A chart; the caption below describes it.
F.08 · Recorded Production Durations and Temperatures. A: 2HPH reached 100 ns with normal termination; the last saved 2O7I energy-log point is 25.66 ns without a completion marker; no 8BFY production output was found. B: 1 ns bin means of saved production temperatures. Binning aids reading and is not a convergence test or a mean across independent replicates.

The complete 2HPH trajectory supports observation over its full window. 2O7I is used only over the available interval, and 8BFY has no production results. Resource and time constraints prevented equal-length trajectories and independent repeats, so no statistical comparison between the three proteins is reported.

↑ Back to the model map

Conformation and Contact Across 100 ns

Overall adjustment can coexist with local contact

The saved 2HPH analysis contains three complementary observables. Backbone RMSD measures deviation after backbone alignment. A center-of-mass distance between the original two residue selections supplies a coarse conformational coordinate. Minimum protein–sugar distance records proximity of at least one atom pair.141516

RMSD(t)=1N∑a=1N‖𝐫a(t)−𝐫aref‖2.

The coordinates in this expression refer to the fitted selected atoms. For a multidomain protein, global RMSD can include relative domain motion; a low threshold alone cannot establish function.

F.09 · Structural and Distance Records Across 100 ns of 2HPH

F.09 · Structural and Distance Records Across 100 ns of 2HPH. A chart; the caption below describes it.
F.09 · Structural and Distance Records Across 100 ns of 2HPH. A: original backbone-fitted RMSD. B: COM distance between original residue selections 1–150 and 200–300, used as a conformational coordinate without complete domain annotation. C: minimum Protein–BGC atom distance. Time is in ns; all vertical axes are in nm. Thin lines are original 10 ps records and thicker lines are 1 ns bin means. Approximately 10,001 observations per metric belong to one trajectory.

Mean backbone RMSD across the trajectory was approximately 0.463 nm, with a range of 0.0005–0.778 nm. The mean was approximately 0.265 nm before 20 ns and 0.585 nm over 80–100 ns. The later interval remains substantially displaced from the initial structure, so the curve does not establish global conformational convergence. Domain-wise fitting, clustering and independent runs would help distinguish the origin of this adjustment.

In contrast, minimum protein–glucose distance remained approximately 0.157–0.316 nm, averaging 0.236 nm. The two original residue-group COMs were separated by approximately 1.141–1.604 nm. Overall conformational adjustment and local close contact coexist in this trajectory. Minimum distance cannot show that the same binding mode persisted, nor can it yield a dissociation rate or experimental binding constant.

Statistics over 20 ns windows

Consecutive 20 ns windows describe changes within the same trajectory. All distances below are in nm and reported as the within-window mean ± sample SD. SD describes dispersion among correlated time points, rather than uncertainty across independent runs.

Time (ns)ObservationsBackbone RMSDResidue-group COM distanceMinimum protein–glucose distance
0–202,0000.265 ± 0.0741.285 ± 0.0380.231 ± 0.028
20–402,0000.370 ± 0.0651.384 ± 0.0430.235 ± 0.027
40–602,0000.578 ± 0.0791.405 ± 0.0800.241 ± 0.020
60–802,0000.517 ± 0.0641.332 ± 0.0600.235 ± 0.026
80–1002,0010.585 ± 0.0491.350 ± 0.0670.235 ± 0.026

Windows include the left endpoint and exclude the right, except for the final window, which includes 100 ns. The 10,001 observations are counted once.

↑ Back to the model map

What the Energy Decomposition Can Explain

A contact description becomes an assumption-dependent estimate

We analyzed the 2HPH–glucose system using MM/GBSA with the generalized Born implicit-solvent model in gmx_MMPBSA. It used 201 frames from 80–100 ns at 100 ps intervals, igb=5 and a salt concentration of 0.15 M. No configurational entropy correction was included.17

ΔGest=ΔEMM+ΔGGB+ΔGSA.

The expression omits configurational entropy, −TΔS. Its total describes the included energy terms and cannot be converted directly into an experimental Kd.

F.10 · MM/GBSA Components for 2HPH–Glucose

F.10 · MM/GBSA Components for 2HPH–Glucose. A chart; the caption below describes it.
F.10 · MM/GBSA Components for 2HPH–Glucose. A: van der Waals, electrostatic, GB polar-solvation and surface-area nonpolar terms. B: gas-phase, solvation and total estimates. Units are kcal/mol. Error bars use the original sample SD across frames; correlated frames do not provide independent-replicate confidence intervals. The input contains 201 frames over 80–100 ns. The report lists a default temperature of 298.15 K, differing from the 310 K MD target; no entropy correction was performed.
ComponentMean (kcal/mol)Frame SD (kcal/mol)
ΔVDWAALS−17.921.83
ΔEEL−9.514.49
ΔEGB+22.504.25
ΔESURF−2.250.23
ΔGGAS−27.445.12
ΔGSOLV+20.254.10
ΔTOTAL−7.191.90

Within this estimate, favorable van der Waals and electrostatic terms are partly offset by polar solvation, yielding a reported total of −7.19 kcal/mol. This result describes energy contributions within the model. Binding mode and affinity require independent sampling and experimental tests, and no ranking of the three proteins is supported. Independent runs, parameter checks, entropy treatment and sampling uncertainty remain part of future validation.

Run conditions and thermodynamic records

F.11 · Potential Energy and Pressure During Production

F.11 · Potential Energy and Pressure During Production. A chart; the caption below describes it.
F.11 · Potential Energy and Pressure During Production. A and B: potential energies of 2HPH and partial 2O7I records, scaled by 10⁵ kJ/mol. C and D: corresponding pressures in bar. Thin curves show saved log values and thick curves show 1 ns bin means. Systems differ in composition and size, so absolute energies cannot rank affinities. Instantaneous simulated pressure is not a measurement of reactor pressure.

The 2O7I thermodynamic records end at 25.66 ns, before the planned 100 ns. Temperature, pressure and potential-energy curves describe the state over the recorded interval; they do not independently establish statistical equilibrium.

↑ Back to the model map

How These Results Inform the Next Design Step

For cellulase ratios, we first need a credible solvated interface that can be released from restraints before assessing persistent contact. For sugar recognition, we observed that global displacement does not necessarily remove every local contact. Overall motion, local contact and end-state energy estimates therefore need separate interpretation.

Resource limitations left cellulase production, equal-length sugar-binding comparisons and independent repeats incomplete. Accordingly, this page does not claim an optimal strain ratio, a cross-protein affinity ranking or a measured chemotaxis benefit. It also does not simulate microgravity fluid transport. A molecular protein model cannot replace cell-scale mass transfer, and the fixed-topology classical MD used here did not simulate catalytic cellulose bond cleavage.

Further work should check carbohydrate topology and initial configurations, complete matched sampling and independent repeats, and calibrate interpretation using display, adsorption, enzyme activity and sugar-binding measurements. Further sampling can start from the screened cellulase interfaces and the complete 2HPH trajectory. The former require unrestrained production; the latter requires independent runs to test whether the observed contacts and conformational changes recur.

↑ Back to the model map

Code and Data Availability

The plotting and descriptive-statistics scripts, numerical input tables, and reference figures supporting F.07–F.11 are available in our GROMACS analysis repository. The repository includes installation instructions, dependency versions, data provenance, and documented limitations. These materials support regeneration of the figures and summary tables from saved numerical records. Raw trajectories, molecular parameter files, and the separate cellulase datasets are not included. Project code is released under the MIT License, while team-owned data, figures, and documentation are licensed under CC BY 4.0; third-party materials retain their original terms.

git clone https://gitlab.igem.org/2026/software/szu-siat-china/gromacs-gitlab.git

References

The numbers in the text link to this list.

  1. Leis, B., et al. (2018). Optimizing the composition of a synthetic cellulosome complex for the hydrolysis of softwood pulp: identification of the enzymatic core functions and biochemical complex characterization. Biotechnology for Biofuels, 11, 220.
  2. Igarashi, K., et al. (2011). Traffic jams reduce hydrolytic efficiency of cellulase on cellulose surface. Science, 333, 1279–1282.
  3. Abramson, J., et al. (2024). Accurate structure prediction of biomolecular interactions with AlphaFold 3. Nature, 630, 493–500.
  4. Phillips, J. C., et al. (2020). Scalable molecular dynamics on CPU and GPU architectures with NAMD. Journal of Chemical Physics, 153, 044130.
  5. Guvench, O., et al. (2011). CHARMM additive all-atom force field for carbohydrate derivatives and its utility in polysaccharide and carbohydrate–protein modeling. Journal of Chemical Theory and Computation, 7, 3162–3180.
  6. RCSB PDB. 2HPH: E. coli glucose/galactose binding protein bound with glucose. DOI: 10.2210/pdb2HPH/pdb.
  7. Cuneo, M. J., Beese, L. S., & Hellinga, H. W. (2009). Structural analysis of semi-specific oligosaccharide recognition by a cellulose-binding protein of Thermotoga maritima. Journal of Biological Chemistry, 284, 33217–33223. PDB 2O7I.
  8. RCSB PDB. 8BFY: CebE from Streptomyces scabiei in complex with cellotriose. DOI: 10.2210/pdb8BFY/pdb.
  9. Lindorff-Larsen, K., et al. (2010). Improved side-chain torsion potentials for the Amber ff99SB protein force field. Proteins, 78, 1950–1958.
  10. Sousa da Silva, A. W., & Vranken, W. F. (2012). ACPYPE—AnteChamber PYthon Parser interfacE. BMC Research Notes, 5, 367.
  11. Abraham, M. J., et al. (2015). GROMACS: High performance molecular simulations through multi-level parallelism from laptops to supercomputers. SoftwareX, 1–2, 19–25.
  12. GROMACS development team. GROMACS 2024.1 installation guide.
  13. GROMACS development team. Molecular dynamics algorithms, GROMACS 2024.1.
  14. GROMACS development team. gmx rms and gmx trjconv, 2024.1.
  15. GROMACS development team. gmx distance and gmx mindist, 2024.1.
  16. GROMACS development team. gmx energy, 2024.1.
  17. Valdés-Tresanco, M. S., et al. (2021). gmx_MMPBSA: A new tool to perform end-state free energy calculations with GROMACS. Journal of Chemical Theory and Computation, 17, 6281–6291.