Loading the page

Model

Part 1

Inhibition model

Our inhibition strategy uses published single-stranded DNA aptamers that bind the acyl-homoserine lactone (AHL) signals of Pseudomonas aeruginosa. The model represents these aptamers as molecular sponges that reduce the free signal available to receptors.

We calibrated the model using ALS-5 and A16-2 swarming data, tested it against the held-out Cb-2 treatment — which inhibited more than our baseline dosing assumption predicted, in all three assays, and less than an equal-molar one would — and estimated a higher A16-2 dose for future testing.

Code: GitLab (MIT; results and report CC BY 4.0). Model outputs and re-analysis results are traceable to files in the repository's results/ directory, cited beneath the relevant tables and figures. The measurements themselves are the wet lab's, and are reported on the Results page.

1.1 The question

Three aptamers were tested, targeting the las and rhl AHL signals.[1] Their preparation differed, which matters when comparing the treatments.

Aptamer targets and preparations used in the assays.
AptamerLengthAHL targetPreparation tested
ALS-535 nt3-oxo-C12-HSL (las)Chemically synthesised reference oligonucleotide
A16-244 ntC4-HSL (rhl)Chemically synthesised reference oligonucleotide
Cb-293 ntBoth signalsTRIzol extract of the retron culture carrying our Cb-2 construct

Cb-2 was tested as a crude extract, not a purified oligonucleotide. Its aptamer concentration was not quantified, so its comparison with model predictions depends on dosing assumptions (1.4).

All three treatments reduced swarming and pyocyanin. A16-2 and Cb-2 also reduced biofilm; ALS-5's biofilm result was borderline (1.2). These measurements show partial inhibition, but do not establish the mechanism limiting the response. The model therefore addresses two questions:

  1. Prediction: Can the model predict the held-out Cb-2 treatment? See 1.4 →
  2. Next experiment: What higher A16-2 dose should be tested for 50 % swarming inhibition? See 1.5 →

We assess the held-out predictions first, then present the dose estimate with the limitations identified by that comparison. The estimate remains a hypothesis for experimental testing.

Plate photographs and the wet lab's original analysis are on the Results page. Section 1.2 explains this model's separate re-analysis of the same measurements.

1.2 What the data show

A16-2 has the largest estimated swarming inhibition; Cb-2 has the largest estimated pyocyanin and biofilm inhibition. These rankings describe the point estimates and do not establish significant differences between treatments. Only ALS-5 and A16-2 swarming data are used for calibration; Cb-2 is held out.

Estimated treatment-to-control ratios [95 % intervals], normalised to the same-plate control. A ratio of 1 means no change; lower ratios indicate greater inhibition. Bold marks the lowest point estimate in each assay.
AssayALS-5A16-2Cb-2
Swarming0.768 [0.669, 0.882]0.642 [0.562, 0.732]0.820 [0.697, 0.964]
Pyocyanin0.818 [0.736, 0.908]0.799 [0.712, 0.896]0.716 [0.641, 0.799]
Biofilm0.885 [0.779, 1.005]0.874 [0.785, 0.973]0.633 [0.563, 0.712]

Reading the table: A16-2's swarming ratio of 0.642 corresponds to 35.8 % inhibition: (1 − 0.642) × 100. ALS-5's biofilm interval includes 1, while the resampled interval in Figure 1.1 below excludes it. Its biofilm effect is therefore treated as borderline rather than a robust positive result.

Source: effect_sizes.csv. Estimates are reported on the geometric-mean ratio scale. Swarming and pyocyanin use mixed models with plate as a random intercept; biofilm uses each treatment's biological replicates as the analysis units.

Analysis units, in ALS-5 / A16-2 / Cb-2 order:

  • Swarming: 10 / 11 / 5 plates. Cb-2's ten readings come from five plates.
  • Pyocyanin: 4 / 3 / 3 plates.
  • Biofilm: 6 / 6 / 12 biological replicates, across three plates in total.

Unlike the Results page's arithmetic means and one-sample t tests, this analysis uses log ratios. The estimates therefore differ; ALS-5's biofilm result remains borderline in both analyses. The counts above are the readings and plates recorded for each treatment, and are not the same as the n given with each figure on that page.

Cb-2 biofilm uses 12 of 14 wells; two lacked traceable controls.

The cross-check also found that seven of the Cb-2 swarming percentages listed in the wet lab's spreadsheet were divided by the first plate's control rather than their own, with one further assignment ambiguous. This analysis recomputes every ratio from its own reading and its own plate's control, so the estimates above are unaffected; the cells are named in prism_crosscheck.csv.

A forest plot of three treatments in each of three assays, as a ratio to the control on the same plate, with a vertical no-effect line at 1. Swarming: ALS-5 23.4 percent, A16-2 36.1 percent and Cb-2 18.0 percent, each labelled n = 5. Pyocyanin: ALS-5 18.8 percent at n = 4, A16-2 19.9 percent at n = 3, Cb-2 27.7 percent at n = 4. Biofilm: ALS-5 11.5 percent, A16-2 12.6 percent and Cb-2 36.7 percent, each labelled n = 6. Every interval sits left of the no-effect line and all nine are starred.
Figure 1.1 · Inhibition across three assays. Points show geometric-mean ratios; bars show resampled 95 % intervals. The vertical line at 1 marks no effect; * marks intervals excluding 1. The n printed beside each row is the wet lab's grouping, the same count given with the figures on the Results page. The intervals themselves are resampled over the analysis units listed above: 10 / 11 / 5 swarming plates, 4 / 3 / 3 pyocyanin plates and 6 / 6 / 12 biofilm replicates. These are the plate-resampled estimates, so the swarming and pyocyanin percentages sit a few tenths of a point from the mixed-model estimates in the table above — A16-2 swarming is 36.1 % here and 35.8 % there. The biofilm figures agree exactly, because biofilm uses its replicates directly in either analysis. ALS-5 biofilm is borderline: its interval excludes 1 here but includes 1 in the table above. Source: effect_sizes_bootstrap.csv.
Assay-by-assay interpretation and supporting analyses

All three aptamers inhibit swarming and pyocyanin. All six of those intervals exclude no effect (p between 2.4×10−6 and 0.019), and the effects agree in direction, with overlapping magnitudes, across two independent phenotypes.

Biofilm resolves for Cb-2 and for A16-2, and not for ALS-5. Cb-2 removes 36.7 % of the biofilm [28.8, 43.7] on twelve replicates (p = 3×10−6) and A16-2 12.6 % [2.7, 21.5] on six (p = 0.023); ALS-5's 11.5 % does not clear the line (p = 0.057).

The ordering reverses between assays. A16-2 is the strongest in swarming, Cb-2 in pyocyanin and biofilm. The model is calibrated on the swarming measurements alone (1.3), and nothing on this page explains that reversal.

Growth effects have not been excluded. These phenotype measurements alone cannot distinguish AHL signalling inhibition from changes in growth or viability. Matched growth and viability measurements are needed alongside the phenotype assays (1.6).

The BL21 extract control showed no statistically significant difference from untreated controls in any of the three assays. It used E. coli BL21(DE3) without the retron plasmid, processed through the same culture, harvest and TRIzol extraction as Cb-2 (Results). This checks the extraction background, but does not establish equivalence or exclude growth effects specific to the Cb-2 sample. The control was not used for model calibration.

Supporting analyses: contrasts.csv, equivalence_tests.csv, plate_split.csv, power_requirements.csv and prism_crosscheck.csv; see also model_report.md, section 1.

1.3 The model

The model asks whether AHL sequestration can account for the observed swarming inhibition. It links aptamer binding, signal feedback and receptor occupancy to relative swarm radius. These links describe an assumed mechanism; the phenotype data alone do not prove it.

  1. 01 · BindingAptamer binds AHLRapid-equilibrium binding partitions each signal into free and bound pools.
  2. 02 · ReceptorsFree signal sets occupancyOnly free AHL enters the receptor-occupancy calculation.
  3. 03 · FeedbackSignal production respondsAutoinduction and an assumed las-to-rhl gate change signal synthesis.
  4. 04 · PredictionOccupancy maps to radiusRelative rhl occupancy gives a predicted swarm-radius ratio.
Binding and feedback are coupled: free signal affects synthesis as well as receptor occupancy.

From free signal to swarming

The model represents two signals: 3-oxo-C12-HSL (las, signal 1) and C4-HSL (rhl, signal 2). Its swarming output is:

R / Rcontrol = ( θ2 / θ2,control )β

R is swarm radius and θ2 is modelled rhl receptor occupancy. We fix β = 1, so a 50 % reduction in occupancy gives a 50 % reduction in predicted radius. This mapping is assumed, not independently measured; it does not describe bacterial survival or colony area.

Full equations and symbol definitions

Receptor occupancy depends on free signal concentration, with Ki the effective activation constant:

θi = Li,freeKi + Li,free

Signal production and removal, with autoinduction and an assumed las-to-rhl gate:

dL1/dt = v1 ( e1 + (1 − e1) θ1h ) − d1 L1
dL2/dt = v2 ( e2 + (1 − e2) θ2h ) · g(θ1) − d2 L2
g(θ1) = ( θlas + θ1 ) / ( 1 + θlas ) L1 is 3-oxo-C12-HSL and L2 is C4-HSL. ei is the leaky fraction made without activation, h the cooperativity of the loop, vi the maximum synthesis rate and di the removal rate. The dimensionless parameter θlas sets how far las occupancy can move rhl synthesis, and larger values make the gate less responsive: as θ1 falls to zero, g falls only to θlas / (1 + θlas). It is distinct from receptor occupancy θ1.

Binding is represented by rapid equilibrium with one competitive site per aptamer. Aj is the total concentration of aptamer type j; Kd,ji is its dissociation constant for signal i, and the subscript f denotes free signal:

Dj = 1 + L1f/Kd,j1 + L2f/Kd,j2
L1,total = L1f + Σj Aj ( L1f/Kd,j1 ) / Dj
L2,total = L2f + Σj Aj ( L2f/Kd,j2 ) / Dj The shared denominator makes the two signals compete for the same binding capacity. This is a model assumption for Cb-2, not a measured binding stoichiometry.

Why one site, and what two sites would change. Cb-2 is a bifunctional aptamer that engages both the las and rhl signals,[1] but we have no measurement of how many signal molecules one Cb-2 molecule holds at once — not in our extract, and not as a value we could assign from the literature, where even the two affinities are already assumptions. Faced with that gap the model takes the smaller of the two readings: a single site that the two ligands compete for.

Two independent sites would give the same molar amount of Cb-2 twice the binding capacity, so it would hold more signal and the predicted inhibition would be stronger, not weaker. The single-site choice is therefore the conservative one about Cb-2's own performance, and it is not what produces the held-out mismatch in 1.4: at equal molarity, dual specificity already predicts more inhibition than the A16-2 specialist, because binding 3-oxo-C12-HSL also closes the las-to-rhl gate. What pulls the equal-mass prediction back towards no effect is length — a 93 nt molecule supplies about 47 % as many molecules per unit mass as a 44 nt one. Relaxing the single-site assumption would move the prediction towards the measurement, through the same molar-budget argument rather than against it. It has not been run as a variant, and 1.6 lists the binding structure among the things to test.

What is fitted, and what is tested?

Two parameters are fitted to two swarming targets: the las-to-rhl gating parameter to ALS-5, and the effective A16-2 affinity to A16-2. Cb-2 is excluded from calibration and used for the held-out comparison in 1.4. Matching the two calibration targets is therefore not an independent validation.

Fitted parameters and key fixed inputs, with what each one does across the 296 successful joint draws. For the two fitted parameters the range is the 5th to 95th percentile of their refitted values, and both point values sit in the upper part of that range: the draw medians are 1.9 for the gate and 1117 nM for the A16-2 affinity. For the two inputs below the range is the bounds they were sampled over. Neither is a confidence interval for a measured biochemical constant.
ParameterRolePoint valueRange in the 296 joint draws
θlas, las-to-rhl gateFitted to ALS-5 swarming14.80.22–15.4
Kd, A16-2 / C4-HSLFitted effective affinity5571 nM48–10 500 nM
Kd, ALS-5 / 3-oxo-C12-HSLFixed for calibration; literature-informed assumption[2]27.5 nMSwept 20–35 nM
β, occupancy-to-radius exponentFixed for calibration; assumed mapping1Swept 0.5–2.0

Calibration uses plate-resampled ratios of 0.766 (ALS-5) and 0.639 (A16-2), rather than the mixed-model estimates of 0.768 and 0.642 in 1.2. The targets follow the same resampling procedure used to propagate uncertainty. Sources: model_calibration.csv and uncertainty_summary.csv.

Assumptions that affect the predictions

  • One well-mixed compartment. The baseline model does not resolve spatial gradients across a plate. Section 1.4 compares alternative spatial structure.
  • Rapid, competitive binding. Binding is treated as faster than signal synthesis, with one competitive binding site per aptamer. For the bifunctional Cb-2 the number of sites is unmeasured; one site is the conservative reading, and Full equations and symbol definitions above sets out why and which way two sites would move the prediction.
  • Assumed Cb-2 affinities. Each Cb-2 affinity is set equal to the corresponding specialist's affinity. This is not a measurement of Cb-2 in our extract.
  • A nominal dose shared across treatments. Equal mass concentration is the baseline convention; the concentrations actually applied to the plates were not recorded.

Only swarming is used for calibration. Pyocyanin and biofilm comparisons in 1.4 are additional checks under the stated output assumptions, not separately calibrated mechanistic models of those phenotypes.

Dose convention, other inputs and literature limitations

The nominal mass concentration is 7.797 ng/µL, from a Nanodrop reading of TRIzol-extracted retron material (2026-07-31). The model treats this as ssDNA mass concentration and applies it to all three treatments. It is not a recorded plate dose or a sequence-specific measurement of Cb-2; ALS-5 and A16-2 were chemically synthesised reference oligonucleotides.

Using design lengths of 35, 44 and 93 nt gives nominal concentrations of 675, 537 and 254 nM for ALS-5, A16-2 and Cb-2, respectively. These conversions assume the assigned DNA mass is entirely the intended aptamer. The joint uncertainty sweep varies the mass concentration over 1–30 ng/µL, but does not resolve the unknown Cb-2 fraction or actual plate dilution.

Other nominal inputs; complete ranges and provenance are recorded in params/parameters.csv.
InputNominal valueTreatment in the model
LasR / RhlR activation constants50 / 1000 nMAssigned effective inputs, varied in the sweep. These are modelling assumptions, not directly measured receptor constants.
Uninhibited signal levels1000 nM eachAssigned baseline levels; sweep ranges are 60–2600 and 56–5000 nM. These are modelling bounds, not verified literature intervals. Growth-dependent AHL measurements provide context.[3]
Autoinduction exponent h2Assumed cooperativity exponent; earlier models provide mechanistic context.[4]
AHL removal rates0.014 / 0.087 h−1Assigned first-order rates. Literature supports condition-dependent lactonolysis, not these exact plate-specific values. Rates cancel at steady state when synthesis is calibrated to the uninhibited levels.[5]

The ALS-5 affinity is a literature-informed assumption. Zhao et al.'s abstract reports a 20–35 nM range for 3-oxo-C12-HSL-binding aptamers.[2] The model fixes 27.5 nM within that range; it is not a directly verified ALS-5 measurement under the assay conditions. The joint sweep varies it across that whole 20–35 nM range, where it moves no reported output appreciably (|PRCC| ≤ 0.03). A16-2's fitted value is likewise an effective model parameter, not a biochemical measurement.

Model records: params/parameters.csv and model_calibration.csv. Reference [3] is a verified quantitative AHL study used here for context; it does not establish the exact concentration bounds used in the existing sweep. Those bounds remain assumptions (see 1.7).

How uncertainty reaches the predictions

Each of 400 joint draws combines a plate-level bootstrap resample with uncertain model inputs and refits the two parameters. 296 draws calibrate successfully; 104 do not. Of the failed draws, 102 cannot reproduce the ALS-5 target under their sampled inputs and two give multiple solver roots.

All reported draw-based medians and ranges are conditional on the 296 successful draws and exclude incompatible or ambiguous ones. The sweep varies the occupancy-to-radius exponent β over 0.5–2.0 and the ALS-5 affinity over 20–35 nM along with the other inputs; β is the strongest single influence on the dose required for 90 % inhibition (PRCC −0.54), and it remains assumed rather than measured. What the sweep does not cover is the one-site competitive binding, the assumption that Cb-2 matches each specialist's affinity, and the single well-mixed compartment. The fitted-parameter medians are 1.9 for the gate and 1117 nM for A16-2 affinity, illustrating their dependence on the input assumptions.

Use the model to propose experiments. The fitted parameters are effective values, not measured biochemical constants. 1.4 checks them first, against the held-out Cb-2 treatment.

Sources: uncertainty_summary.csv for the draw counts and quantiles, model_report.md for how the 104 failures split, and calibration_draws.csv for the resampled targets.

1.4 Cb-2: where the predictions miss

Cb-2 was excluded from calibration. Under the baseline equal-mass dosing and affinity assumptions, the model predicts less inhibition than measured in all three assays. This comparison concerns one held-out treatment across three phenotypes, not three independent validation experiments.

Baseline predictions versus measurements

Cb-2 treatment-to-control ratios. Lower ratios mean greater inhibition; brackets show measured 95 % intervals.
PhenotypeBaseline predictionMeasured ratio [95 % interval]Comparison
Swarming0.9920.820 [0.697, 0.964]Above measured interval
Pyocyanin0.9960.716 [0.641, 0.799]Above measured interval
Biofilm0.9970.633 [0.563, 0.712]Above measured interval

The baseline predicts less than 1 % inhibition in each assay, compared with measured point estimates of 18.0 % swarming, 28.4 % pyocyanin and 36.7 % biofilm inhibition. Swarming tests the output relation introduced in 1.3; the other two comparisons additionally depend on assumed phenotype-output mappings.

Sources: model_predictions.csv and cross_phenotype.csv. These comparisons place point predictions against measured intervals; they are not model prediction intervals or a formal joint validation test.

Three rows, each with a coloured band for the measured 95 percent interval. For the two fitted treatments, ALS-5 and A16-2, the model markers sit exactly on the measurement. For held-out Cb-2 the two markers sit far apart, a square at 0.49 and a diamond at 0.99, with the measured band sitting between them and touching neither.
Figure 1.2 · Calibration and held-out comparison. ALS-5 and A16-2 were fitted to swarming data. For Cb-2, equal-mass (0.992) and equal-molar (0.490) predictions lie on opposite sides of the measured interval, outside it in both cases. Source: model_predictions.csv.

How the dosing convention changes the prediction

At equal mass concentration, the 93 nt Cb-2 construct supplies about 47 % as many molecules as the 44 nt A16-2 construct, using the model's length-based conversion. The decomposition below separates the effect of dual specificity from this change in molecular concentration.

A bar chart of predicted swarming inhibition in three steps. A16-2 as a 44-nucleotide specialist gives 36 percent. Giving it dual specificity at the same molar amount raises it to 51 percent, an arrow marked plus 15 points. Supplying the same mass instead, as 93-nucleotide molecules, drops it to 1 percent, an arrow marked minus 50 points. A horizontal red line across the chart marks the measured Cb-2 inhibition of 18 percent, which sits above the 1 percent bar and below the other two.
Figure 1.3 · Specificity and molecular dose. In this model scenario, dual specificity increases predicted swarming inhibition at equal molarity; imposing equal mass reduces it to about 1 %. These are model comparisons, not additional experiments. Source: budget_decomposition.csv.

This explains the baseline prediction's sensitivity to dosing, but does not establish the dose used in the experiment or the biological value of either construct. Neither the applied plate concentration nor the Cb-2 fraction of the crude extract was quantified. Future comparisons should report both mass and molar dose for quantified aptamer preparations (1.6).

What spatial smoothing can explain

The one-compartment model has a sharp switching region: its swarming ratio changes from 0.991 at 8.69 ng/µL to 0.658 at 8.70 ng/µL, skipping the measured point estimate of 0.820. An alternative model averages patches with different local doses to test sensitivity to this abrupt response.

Source: model_report.md, section 2.6.

Across the tested log-dose spreads of 0.2–0.7, the smoothed swarming prediction falls inside the measured interval. Pyocyanin and biofilm predictions remain outside their intervals. Spatial heterogeneity is therefore a possible explanation for the swarming mismatch, not an experimentally established cause. Local dose variation was not measured, and this comparison does not validate the other phenotype-output mappings.

Spatial sensitivity: numerical comparisons and limits
  • Remaining phenotype gaps: at the widest tested spread, pyocyanin reaches 0.857 (measured interval 0.641–0.799) and biofilm 0.908 (0.563–0.712).
  • Calibration sensitivity: the gating parameter changes from 14.8 to 13.6 and the A16-2 effective affinity changes by less than 1.5 % in the reported comparison.
  • Dose-estimate sensitivity: the point-fit A16-2 dose multiplier for 50 % swarming inhibition changes from 1.55× in one compartment to 1.65× at a log-dose spread of 0.5. This is a structural sensitivity comparison, not a new estimate of the full uncertainty range.

The spread was varied as an assumption, not estimated from measured plate heterogeneity. Agreement over the tested range shows that this model variant can accommodate the swarming observation; it does not identify the true spatial structure. Unless explicitly labelled as spatial comparisons, the results in this part use the baseline one-compartment model.

Source: structure_comparison.csv.

Can changing only the dose reconcile all three assays?

A diagnostic refit adjusts one Cb-2 dose multiplier against all three phenotype estimates, keeping the other baseline assumptions. The reported best fit is 1.11× the nominal dose:

Joint dose refit under the baseline structure. Because Cb-2 data enter this refit, these outputs are diagnostic fits, not held-out predictions.
PhenotypeRefitted ratioMeasured 95 % intervalComparison
Swarming0.6620.697–0.964Below interval: too much inhibition
Pyocyanin0.7840.641–0.799Inside interval
Biofilm0.8640.563–0.712Above interval: too little inhibition

This refit does not reproduce all three assays within their measured intervals. It shows that this single-dose adjustment is insufficient under the baseline structure and output mappings. It does not establish that the experimental dose was correct, or rule out dose uncertainty combined with other model errors.

Source: cross_phenotype_dose.csv.

What remains unresolved

  • Affinity and binding assumptions. Cb-2's effective affinities and binding behaviour were not measured in the tested extract. Changing these inputs can change predictions.
  • Plate differences. Cb-2 swarming was measured on five plates not shared with ALS-5 or A16-2, limiting the separation of treatment effects from plate differences.
  • Extract composition and growth. Cb-2 was applied as a crude extract. The BL21 extract control checks a shared processing background, but does not identify the active component or exclude treatment-specific growth effects (1.2).
Why an inverse affinity estimate is not a measurement

One inverse calculation gives a Cb-2 / C4-HSL effective Kd of about 158 nM, roughly 35 times tighter than the fitted A16-2 value of 5571 nM. This is a conditional model solution, not an independently measured affinity or evidence that stronger binding caused the observed inhibition.

The in-vitro binding assays reported by Wu et al. [1] provide a separate biochemical comparison. Neither their absolute values nor affinity ratios can be assumed to transfer unchanged to this crude-extract plate assay. Dose, sample composition, plate effects and model structure remain unresolved here; the inverse estimate cannot distinguish their contributions.

Source: cb2_inversion.csv.

The baseline does not reproduce the held-out Cb-2 results. The sensitivity analyses identify assumptions to test, but do not establish why Cb-2 differs from the baseline prediction. Quantified preparations, shared plates and matched growth measurements are needed to distinguish the alternatives (1.6).

1.5 A higher dose to test

The A16-2 dose sweep estimates 50 % swarming inhibition near 1.6× the nominal dose, with a 90 % draw range of 1.0–2.6×. This is a hypothesis for a dose-response experiment, not an experimentally demonstrated concentration requirement.

Here, 50 % inhibition means a swarm radius half that of the untreated control. The estimate extrapolates beyond the single-dose calibration described in 1.3. The Cb-2 mismatch in 1.4 does not directly test this A16-2 dose response, but it limits confidence in the model's broader predictive performance.

A16-2 dose estimates

Model-estimated A16-2 requirements relative to the nominal dosing convention. Point-fit values and draw medians are different summaries.
Swarming inhibition targetPoint-fit concentrationPoint-fit multiplierMedian multiplier90 % draw range
50 %12.1 ng/µL1.55×1.6×1.0–2.6×
90 %201 ng/µL25.8×11×1.0–49×

Sources: dose_requirements.csv and uncertainty_summary.csv. Point-fit concentrations use the nominal reference of 7.797 ng/µL. This reference was assigned in the model; it was not a measured A16-2 concentration on the assay plate or a demonstrated A16-2 production yield.

The 50 % target gives similar point-fit and median multipliers (1.55× and 1.6×), supporting its use as a starting hypothesis. For 90 % inhibition, the point fit and median differ by more than twofold and the draw range is much wider. The 90 % target is too uncertain to serve as a specific dose recommendation.

Predicted dose-response shapes

Modelled swarm-radius ratios versus aptamer concentration on a logarithmic axis. A16-2 decreases smoothly across the whole range. ALS-5 steps down once at a low concentration and then flattens, staying well above half. Cb-2 holds near one, drops sharply around the nominal concentration, and then falls smoothly. The nominal concentration of 7.797 nanograms per microlitre and the measured swarming ratios are marked; a shaded band indicates the A16-2 dose range considered for half inhibition.
Figure 1.4 · Modelled dose responses. A16-2 declines smoothly. ALS-5 steps down once and then flattens, well above half, for the reason given below. Cb-2 switches sharply near the nominal dose, which is what 1.4 examines. These curves extrapolate the model; none of them is a measured dose series. The shaded band is where 90 % of the calibrated draws reach 50 % inhibition, the 1.0–2.6× range above; like every draw-based range on this page it is conditional on the 296 draws that calibrated and does not cover every source of uncertainty. Source: dose_requirements.csv.

In the model's dose analysis, ALS-5 does not reach 50 % swarming inhibition in 269 of the 296 successful draws (91 %). Its effect reaches swarming only through the assumed las-to-rhl gate, and at the fitted θlas = 14.8 that gate is almost fully open, so it barely transmits changes in las occupancy: removing las occupancy altogether changes rhl synthesis by about 6 %, and the predicted ALS-5 curve flattens. This is a property of the assumed gate, not evidence of a biological inhibition ceiling. A single-dose measurement cannot distinguish a saturating response from lower potency; testing that distinction needs a separate ALS-5 dose series.

What the range does and does not cover

The median and 90 % range summarise the 296 successful calibrations out of 400 joint draws. They are conditional on the sampled inputs and on calibration success, rather than a guaranteed range for a future experiment. Failed or ambiguous calibrations are excluded, as described in 1.3.

The sweep varies the nominal dose, the occupancy-to-radius exponent β and the ALS-5 affinity along with the other uncertain inputs. For the 50 % dose quoted here the uninhibited C4-HSL level leads the ranking (PRCC −0.35), ahead of β (−0.16), which ranks fourth here; β leads only for the 90 % dose. What the sweep keeps fixed is the one-site competitive binding, the assumed Cb-2 affinities and the single compartment. The point-fit A16-2 multiplier also changes from 1.55× to 1.65× in the spatial comparison in 1.4. That comparison tests one structural assumption; it does not establish robustness to all model choices.

Test a dose series around the proposed range. Quantify the A16-2 preparation and record the concentration actually applied, in both mass and molar units. Measure swarm radius with matched controls, growth and viability measurements; rhamnolipid measurements would also help assess the assumed link to swarming (1.6). The 1.6× estimate should guide that experiment, not be reported as a validated effective dose or a required production yield.

1.6 From model gaps to next experiments

The model identifies measurements needed to test the proposed mechanism and the A16-2 dose hypothesis. The work below is proposed follow-up, not completed validation.

Proposed measurements linked to the unresolved model assumptions.
QuestionProposed measurementWhat it would clarify
Could growth explain the phenotype reductions?Measure growth and viability under matched treatment conditions and sampling times.Whether growth or survival changes accompany the reduced phenotypes; unchanged growth alone would not prove AHL sequestration.
Was Cb-2 compared at a known molecular dose?Quantify the intended aptamer, compare purified preparations with appropriate extract controls, and record applied mass and molar concentrations.The contributions of aptamer dose and sample composition to the mismatch in 1.4.
Do treatment differences persist within shared plates?Include treatments and matched controls together on multiple independent plates for swarming and biofilm.Treatment contrasts with less confounding by plate differences; repeated wells still need the correct analysis unit.
Does A16-2 reach half-radius inhibition near the predicted dose?Run a quantified dose series around the proposed 1.0–2.6× range, with untreated controls and a recorded reference concentration.Whether the unvalidated 1.6× hypothesis in 1.5 describes the experimental dose response.

The multiplier must be tied to a quantified experimental reference; 7.797 ng/µL is the model's nominal convention, not a measured A16-2 plate dose. The dose series should estimate the response around the proposed target rather than treat 1.6× as a known effective dose.

Tests of the model's mechanism

  • Assess the signalling-to-radius link. Pair swarm radius with rhamnolipid and, where feasible, AHL or receptor-activity measurements. Rhamnolipid is a supporting readout; measuring it alongside radius does not by itself identify the occupancy-to-radius exponent β.
  • Test the ALS-5 plateau separately. An ALS-5 dose series is needed to distinguish saturation from lower potency. The single-dose comparison with A16-2 cannot establish a biological ceiling.
  • Check the binding inputs. Measure aptamer affinities under relevant conditions and rerun the model with alternative literature values. Treat the assumed Cb-2 affinities and competitive binding structure as hypotheses to test.

1.7 Limits

Five limitations define how the model's predictions should be interpreted.

  1. The inhibition mechanism is not confirmed

    Evidence gap
    Matched growth and viability measurements are missing. The BL21 extract control does not identify the active component in Cb-2.
    Implication
    Reduced swarming, pyocyanin or biofilm cannot be attributed specifically to AHL sequestration (1.2).
  2. Applied dose and sample composition are uncertain

    Evidence gap
    Plate concentrations were not recorded. Cb-2 was a crude extract, and its aptamer concentration was not quantified.
    Implication
    Comparisons depend on the nominal dosing convention. The 1.6× estimate is not a verified plate concentration or production requirement (1.3, 1.5).
  3. Biofilm Cb-2 rests on two plates that disagree

    Evidence gap
    Ten of the twelve Cb-2 biofilm replicates are on one plate, which gives 40.6 % inhibition; the other two are on a second plate, which gives 13.3 %. After each well is divided by the control on its own plate, that difference is significant (p = 0.002, plate_split.csv).
    Implication
    The reported 36.7 % [28.8, 43.7] treats the twelve wells as independent experiments. Read as two plates the effect is 28.2 % with no usable interval, and the plate-level standard error is 3.5× wider than the one quoted. The replicate reading is the one the wet lab supports, but the 36.7 % should be read as what the larger plate says (1.2).
  4. Calibration does not validate predictions

    Evidence gap
    Two parameters fit two single-dose swarming targets. The occupancy-to-radius exponent β, Cb-2 affinities and spatial structure remain assumptions.
    Implication
    Fitted values are effective model parameters. The baseline Cb-2 predictions miss the measured intervals; sensitivity analyses do not establish the cause (1.3, 1.4).
  5. The uncertainty range is incomplete

    Analysis scope
    Summaries use 296 successful calibrations out of 400 draws. Some parameters remain fixed, and statistical conclusions depend on plate structure and replicate definitions.
    Implication
    The reported ranges are conditional on these choices. They do not cover all model uncertainty or guarantee the response in a future experiment (1.3, 1.5).

The model guides the next experiments; it does not establish an effective dose or confirm the inhibition mechanism.

1.8 References

Five core sources for aptamer design, binding assumptions, AHL levels and model mechanisms. Assigned model inputs remain distinguished from direct experimental measurements in 1.3.

  1. Wu, K., et al. (2025). A structure-guided bifunctional aptamer mitigates Pseudomonas aeruginosa virulence and biofilms by disrupting las and rhl quorum sensing systems. Analytical Chemistry, 97(37), 20291–20302. https://doi.org/10.1021/acs.analchem.5c03245 Bifunctional Cb-2 aptamer design and dual AHL targeting.
  2. Zhao, Z. G., et al. (2013). Screening and anti-virulent study of N-acyl homoserine lactones DNA aptamers against Pseudomonas aeruginosa quorum sensing. Biotechnology and Bioprocess Engineering, 18(2), 406–412. https://doi.org/10.1007/s12257-012-0556-6 Earlier AHL aptamer screen informing the assumed ALS-5 affinity range.
  3. Juříková, T., et al. (2023). The deciphering of growth-dependent strategies for quorum-sensing networks in Pseudomonas aeruginosa. Microorganisms, 11(9), 2329. https://doi.org/10.3390/microorganisms11092329 Quantitative evidence that extracellular AHL levels vary with growth and culture conditions; not a source for the exact model sweep bounds.
  4. Dockery, J. D., & Keener, J. P. (2001). A mathematical model for quorum sensing in Pseudomonas aeruginosa. Bulletin of Mathematical Biology, 63(1), 95–116. https://doi.org/10.1006/bulm.2000.0205 Mechanistic basis for autoinduction and switching in quorum-sensing models.
  5. Yates, E. A., et al. (2002). N-acylhomoserine lactones undergo lactonolysis in a pH-, temperature-, and acyl chain length-dependent manner during growth of Yersinia pseudotuberculosis and Pseudomonas aeruginosa. Infection and Immunity, 70(10), 5635–5646. https://doi.org/10.1128/IAI.70.10.5635-5646.2002 Evidence for condition-dependent AHL lactonolysis; not direct measurements of this model's fixed removal rates.

Part 2

Imaging model: from photograph to millimetres

This model now runs inside our software, as Plate Imaging · Agar Vision in LasReader.

2.1 The question

Colony sizes are measured by hand, one colony at a time. The work is slow and it has to be repeated for every plate. This part of the project is a tool built for the wet lab: it takes one photograph of a plate and returns every colony's size in millimetres, with each figure drawn across the colony it belongs to, so a reading can always be checked against what it was taken from.

It is not a model of the biology. What it models is the measurement — how a count of pixels becomes a length in millimetres, what the picture itself has to supply for that conversion to hold, and which of the bright things on a plate are colonies and which are not.

2.2 The model

  1. 1 Find the dish Circle transform on a downscaled copy; if that returns nothing, the largest thresholded shape instead. Gives the scale and the boundary in one step. dish ø ÷ diameter in px → mm/px
  2. 2 Flatten the lighting A heavily blurred copy is taken as the background and subtracted, removing the gradient across the plate.
  3. Which light is this?
    • White Brightness Otsu on the flattened image.
    • UV Colour Green-to-blue ratio: fluorescence is a question about hue, not about being bright.
  4. 3 Keep only what has a core A loose outline and a much stricter core. A region survives only if it holds enough core pixels — a reflection is bright but thin, a colony is bright all the way through.
  5. Convex enough to be one colony?
    • Yes Leave it alone Kept whole and counted as one colony.
    • No Watershed Split apart, and each piece counted as its own colony.
  6. 4 Measure and annotate Longest span, equivalent diameter, area — drawn onto the photograph with a scale bar.

The pipeline is OpenCV throughout. A Hough circle transform[1] finds the dish, run on a downscaled copy — the dish is the largest thing in the frame, so the search does not need full resolution — with Otsu thresholding[2] as the fallback. Subtracting a large-σ Gaussian flattens the lighting. White light and UV are then two problems rather than one with a switch: brightness against the agar is a question of intensity, answered by Otsu; fluorescence is a question of hue, answered by the green-to-blue channel ratio, with the choice between them made from the blue-violet fraction of the frame in HSV.

The difficult part was never finding bright things. It was telling a colony from a reflection off the agar or the lid, which can be just as bright. Thresholding twice — a loose outline and a stricter core — and keeping only the connected components that hold enough core pixels settles it: a reflection is bright but thin, a colony is bright all the way through. Solidity and aspect ratio remove what is left. Touching colonies are split only where solidity says they need it, by a marker-controlled watershed seeded from the distance transform, because breaking a clean colony apart is the worse error. The figure drawn on the photograph is the Feret diameter.

2.3 Data and parameters

What each measurement means
QuantityHow it is obtained
Maximum span The longest distance between any two points on the colony's convex hull, converted to millimetres. This is the figure drawn on the picture.
Equivalent diameter Take the colony's area and ask what a perfect circle of that area would measure across: that is this number, √(4A/π). It throws shape away on purpose, which is what makes it worth reading beside the maximum span — a round colony and a long thin one of the same area share an equivalent diameter but not a span, so the distance between the two figures is itself a reading of how irregular the colony is.
Area Pixel count inside the outline, times the scale squared.
Four thresholds worth explaining
ThresholdWhat it decides
A loose outline at 1.1× Otsu, a core at Otsu + 0.6 of the way to white, and 30 core pixels Whether a bright patch is a colony at all. The gap between the two thresholds is the whole reflection test: a reflection clears the loose one and fails the core one, because it is bright without being bright all the way through. Thirty pixels is what stops a few stray bright pixels from passing as a centre.
Solidity 0.80 Whether a region is left alone or sent to the watershed. Everything above it is taken as one colony on sight. The line sits high deliberately: splitting a clean colony invents a result, while failing to split two that touch only merges a real one, so the benefit of the doubt goes to not cutting.
Blue-violet over 0.35 of the frame Which of the two measurement problems this is — brightness or hue. Not a tuning knob but a switch between two routes, so it only has to separate two cases that look nothing alike, and anything in the middle of that range would mean the photograph is lit in some third way the pipeline was not built for.
Detection region at 0.90 of the dish radius How much of the plate is looked at. The outer tenth is given up on purpose: the rim and the meniscus are where reflections collect, and the colonies lost there cost less than the false ones gained.

2.4 Results

Each plate below is shown twice: the photograph as it was taken, and the same photograph with what the program found drawn onto it. They are not four examples of the same thing. Each one puts a different part of the pipeline under load.

A plate with three colonies, photographed under white light, beside the same photograph with each colony outlined in yellow and labelled with its longest span: 15.9, 21.7 and 27.2 millimetres. The dish rim is marked with a green circle and a 10 millimetre scale bar sits in the corner.
The ordinary case. Three colonies, 15.9, 21.7 and 27.2 mm across. The plate carries handwriting and a pen cross over each colony. The writing is darker than the agar rather than brighter, so it never reaches even the loose threshold; the crosses drawn across the colonies would otherwise punch holes in their outlines, which is what filling the contours is for.
A plate with four colonies with branched, dendritic edges, divided into quadrants by heavy pen lines drawn on the dish. In the measured version each colony is outlined following its branches and labelled 24.0, 20.3, 17.9 and 17.0 millimetres.
Irregular edges, and lines drawn across the plate. Four colonies at 24.0, 20.3, 17.9 and 17.0 mm. The outlines follow the branches rather than rounding them off, which is what makes the gap between the longest span and the equivalent diameter worth reading on a colony shaped like this. The pen lines crossing the whole dish are ignored: they are dark, and they are thin, which fails the shape test as well as the brightness one.
A plate with a single colony, photographed under white light with a broad band of glare across the upper left of the dish. In the measured version only the colony is outlined, at 21.4 millimetres; the glare is not marked.
The reflection test, on a real plate. One colony at 21.4 mm, with a band of glare lying across the lower right of the dish that is as bright as the colony is, but it is not measured. This is the case the two thresholds exist for: the glare clears the loose outline and has no dense centre to clear the core.
A plate photographed under UV, the agar lit blue-violet with one colony fluorescing green at the centre, beside the same photograph with the colony outlined and labelled 10.9 millimetres.
The other light. The same pipeline under UV, reading the green-to-blue ratio rather than brightness: one colony at 10.9 mm. Fluorescence spreads past the colony that emits it, and the outline here follows the colony rather than the halo around it — where that edge falls is set by the threshold sitting partway between the plate's median and its brightest few parts.

2.5 Validation

On the fifteen colonies we pulled out and measured by hand to check it against, spanning 8 to 26 mm, the program reads within 0.61 mm of a ruler on average — about four per cent of the size being measured — with no systematic bias the data can separate from zero. For an assay that compares colonies differing by several millimetres, that is well inside what the measurement needs to resolve.

  • 0.61 mm Mean error 3.6% of the measured size
  • All Within 2 mm n = 15; largest 1.3 mm
  • 0.988 Correlation, r Lin’s concordance 0.987
  • None Detectable bias +0.15 mm, t(14) = 0.74
Every reading, and the agreement statistics 15 colonies
Longest span of each colony, read both ways
Colony Program (mm) By ruler (mm) Difference (mm)
114.0140.0
221.723−1.3
311.612−0.4
416.315+1.3
58.080.0
615.014+1.0
727.226+1.2
820.320+0.3
915.915+0.9
1024.0240.0
1113.012+1.0
1216.0160.0
1317.018−1.0
1421.422−0.6
1517.918−0.1
Agreement between the two readings
MeasureValue
Colonies compared15, from 8 to 26 mm
Mean absolute difference0.61 mm (3.6%)
Within 1 / 1.5 / 2 mm12 of 15 / 15 of 15 / 15 of 15
Largest single difference1.3 mm
Correlation, r0.988
Lin’s concordance0.987
Mean difference (program − ruler)+0.15 mm (SD 0.80)
Limits of agreement−1.41 to +1.72 mm
Paired tt(14) = 0.74, not significant

2.6 What it changed

Three things this changed about how the wet lab measures a plate.

  1. A plate is read in one pass, and the reading comes back drawn on the photograph. Every colony on the plate is measured together rather than one at a time, and the output is the picture itself with each span, its figure and a scale bar marked on it. The number never has to be copied from an instrument into a notebook, and any reading can be checked against the colony it came from without going back to the plate.
  2. The reading is good enough to use. Against hand measurement it agrees to within 0.61 mm on average, every colony inside 2 mm, with no bias the data can separate from zero (2.5). That is finer than the differences the assays are built to compare.
  3. It is small enough to run anywhere. The pipeline is classical computer vision — thresholds, morphology, a watershed, a convex hull — so there is no learned model, no weights to load and no inference step. It needs no GPU and runs on a free hosting tier, which is what let it go to the people doing the measuring rather than staying on one machine in the lab. Classical methods are enough for this kind of picture: OpenCFU, built on OpenCV with thresholding and a watershed, counted colonies faster than the other open-source tools it was tested against and made no more errors than people counting by hand.[3] That test was of counting; how well our pipeline measures size is what 2.5 checks.

2.7 Limits

  • A strong enough reflection can still be read as a colony. The two-threshold test rejects the glare we have photographed — a reflection is bright without being bright all the way through, so it clears the loose outline and fails the core (2.4 shows one being dropped). What it cannot reject is a reflection that is both bright and even enough to have a dense centre of its own, which a fluorescent tube close to the plate, or a lid left on, can produce. The plates here were photographed without a lid and away from direct overhead light; that is a handling rule rather than something the program enforces.
  • The plate has to be photographed square-on. Every millimetre on the page comes from one number: the dish diameter the operator enters, divided by the dish diameter the program measures in pixels. That division assumes the dish appears as a circle. Photographed off-axis it projects as an ellipse, the circle fit lands somewhere between its long and short axis, and the scale is wrong by however much the tilt was. The error is systematic rather than random — one scale factor is shared by the whole plate, so every colony on it is out by the same proportion. A comparison made within a single plate, which is how the assays read, should therefore survive a small tilt even though the absolute millimetres would not; we have not measured how large a tilt that holds for.

2.8 References

  1. Duda, R. O., & Hart, P. E. (1972). Use of the Hough transformation to detect lines and curves in pictures. Communications of the ACM, 15(1), 11–15. https://doi.org/10.1145/361237.361242
  2. Otsu, N. (1979). A threshold selection method from gray-level histograms. IEEE Transactions on Systems, Man, and Cybernetics, 9(1), 62–66. https://doi.org/10.1109/TSMC.1979.4310076
  3. Geissmann, Q. (2013). OpenCFU, a new free and open-source software to count cell colonies and other circular objects. PLoS ONE, 8(2), e54072. https://doi.org/10.1371/journal.pone.0054072

Part 3

Fluorescence model: from counts to culture

3.0 Two questions

CAPTURE-Screen was built for our AHL biosensor and rehearsed on GFP cultures: we expected an AHL-induced culture to be about as bright as a GFP one (Hardware). Sections 3.1 to 3.4 were built on version 1 of the 3D-printed build, which was later replaced (Hardware); 3.5 checks what carried over to version 2. None of this part applies to the laser-cut build. What it describes is that instrument's measurement behaviour — how a count relates to the culture in the cuvette — not the biosensor's response to AHL, which has not been resolved.

Within that scope, the model had two questions put to it.

Is the reading proportional? Within one session, where the signal is clear of the floor, it is: double the GFP culture and the reading becomes 2.04×.

Why did the same recipe read six times higher on one day than another? Because a volume fraction is not an amount — a volume of thin culture holds less GFP than the same volume of dense culture. Dividing by the density of that day's stock brings the three slopes to within 8 % of each other.

Symbols used on this page
SymbolMeaning
F4The sensor's 515 nm channel,[1] in raw counts: the mean of the valid cycles of one tube.
GVolume fraction of GFP stock culture in the 200 µL tube. A nominal value, not a cell concentration.
NVolume fraction of non-GFP stock culture in the tube, also nominal.
dBoth cultures together, G + N.
ρStock density index: the displayed OD of the GFP stock, read in the low range and multiplied back by the dilution.
xGFP density index of a tube, G · ρ.
kSlope of F4 on G through the origin, within one session.
sSlope of F4 on x through the origin: the slope after conversion.

3.1 The data behind it

Sections 3.2 to 3.4 come from one instrument, P1-PROTO-01, read under an opaque shield with the UVette in the same orientation and the detector at the same settings throughout: gain 512×, ATIME 255, ASTEP 280. The models rest on three mixing sessions, in which a GFP stock, a non-GFP stock and fresh medium were combined at set volume fractions into 200 µL tubes.

The three mixing sessions
Session Tubes fitted GFP stock, displayed OD Pure-GFP tubes Date
Mixing session 1141.5642026-09-16
Mixing session 2180.5262026-09-21
Mixing session 3181.10102026-09-29

That is 50 tubes, 38 containing GFP culture and 12 containing none. A pure-GFP tube holds GFP stock and medium only; those twenty are the ones the cross-session model uses.

The instrument's own log sets the scale of the noise. Within one insertion the three cycles differ by about 0.69 counts (root mean square), so a tube mean carries 0.27 to 0.43 counts of it. In four of seven replicate groups the spread left over between tubes is larger than that: there, seating, sampling, preparation or the cuvette contribute more than the detector's own cycle noise. Precision therefore comes from more tubes, not from more cycles per tube.

What counts as one measurement

Each cycle reads the sensor three times: dark, lit, dark. A cycle whose dark read before the flash is not zero on all twelve channels is void, because that is what room light reaching the detector looks like. Each tube is read for three cycles and enters every model as the mean of its valid ones. The cycles are three looks at one tube, not three samples, so the tube is the unit throughout. A reading of zero is a legitimate value and is kept.

None of the tables below was typed in by hand. Each is generated by a script from the instrument's raw serial logs and the bench record, then recomputed by a second script, written separately, that compares the two cell by cell. Every tube mean the models use is listed, including the readings of zero and the tubes that were re-prepared, and the figures are drawn from those same means. The instrument itself is described on the Hardware page, and the software that turns a reading into a concentration on the Software page.

3.2 How steep the line is

The simplest thing the reading could do is rise in proportion to the amount of GFP culture, with nothing left over at zero:

F4 = k · G

Each session has its own slope

Pure-GFP tubes · lines are least squares through the origin

Through-origin slopes of F4 on G for the pure-GFP tubes: 30.93 counts per unit G in mixing session 1, 5.17 in session 2 and 18.69 in session 3. The figure needs the page script.

  • Mixing session 1, 4 tubes
  • Mixing session 2, 6 tubes
  • Mixing session 3, 10 tubes
Notes on the line 2 notes
Doubling
Going from G = 0.5 to 1.0 multiplied the reading by 2.04 in mixing session 3, by 1.51 in session 1 with a dense stock, and by 9.25 in session 2 near the floor. Proportional would be 2.
Low end
The lowest-concentration recipe reads below the line in all three sessions, by 1.2 to 1.9 counts. One straight line is a first-order description.

3.3 What shape the relationship has

Is the line of 3.2 enough, or does the relationship bend? Fit cannot answer that. Add parameters and the fit always improves, even when the extra ones mean nothing. That is overfitting. R² cannot detect it, because overfitting raises R² as well. So we scored each candidate on tubes it had never seen. We did that on the readings already taken; nothing was measured again. The rule is leave one recipe out. Set aside every reading from one recipe, fit the model to the rest, then ask it to predict the readings set aside. Every recipe takes its turn, and those errors become the Left-out recipe error column.

Every model below is fitted to every tube of its session — 14, 18 and 18, the full 50 across the three sessions. That takes in the twenty pure-GFP tubes of 3.2, the mixed tubes and the non-GFP tubes alike. This matters because a model candidate below is a surface in G and d. A pure-GFP tube has d = G, so that surface cannot be fitted on the twenty pure-GFP tubes alone like 3.2 did.

Three candidate models in each session
SessionModel Parameters R² Fit error Left-out recipe error Lack of fit, p
Mixing session 1Line through the origin10.97101.571.72—
Line with intercept20.97231.531.78—
Quadratic surface in G, d60.97661.413.04—
Mixing session 2Line through the origin10.66441.231.63< 0.001
Line with intercept20.72581.111.55< 0.001
Quadratic surface in G, d60.96560.390.870.337
Mixing session 3Line through the origin10.96060.971.020.506
Line with intercept20.96340.941.040.534
Quadratic in G30.96430.932.920.409
Errors are root-mean-square, in counts. The highlighted row is the one with the lowest left-out recipe error in that session. Read each session's block on its own. The three used different recipes at different signal levels, so a smaller error in one block does not make it the better session. The lack-of-fit test needs tubes repeated at the same recipe. Mixing session 1 has one such recipe and two degrees of freedom of pure error, which is too few for the test to detect anything, so its p values are not reported.

The most important finding in this section: how complex a model is warranted depends on how far the signal is from the floor. In mixing sessions 1 and 3, the one-parameter line has the lowest left-out recipe error, and adding parameters raises R² while making the predictions worse.
In mixing session 3 the line passes the lack-of-fit test. Mixing session 2 is the exception. Both line models show lack of fit there, p < 0.001 for each, while the quadratic surface shows none at p = 0.337. The surface is also the more accurate on both counts: on the tubes it was fitted to (Fit error), and on the left-out recipes.
Session 2's stock was the thinnest of the three, at OD 0.52 (3.1). Its points sit along the bottom of the figure in 3.2, most of them within a few counts of zero. A straight line cannot describe that.
Sessions 1 and 3 had signal to spare, and there the simplest model won. Session 2 sat near the floor, and there it did not. So how complex a model is warranted depends on how far the signal is from the floor.

Notes on the comparison 2 notes
Design
The six-parameter surface cannot be estimated from mixing session 3. Its five recipes all lie on (d − G)(d − 1) = 0, so the design matrix has rank 5. A session meant to test curvature has to place recipes off that curve.
Replicates
Mixing session 1 repeated only one recipe, which is why the lack-of-fit column is blank for it.

3.4 Across sessions, most of the difference is the stock

The three slopes above are 30.93, 5.17 and 18.69, a spread of 6.0×. If the instrument behaved the same way each day, most of that should come from the stock itself: G is a volume fraction, and a volume of thin culture holds less GFP than the same volume of dense culture. So G is replaced by a density index x that carries how dense that day's stock was.

F4 ≈ s · x, x = G · ρ, s = kρ

After conversion, one slope

The same twenty tubes against x = G · ρ

After dividing by the stock density index, the three session slopes are 10.89, 10.09 and 10.87 counts per unit x, and one shared slope of 10.85 describes all twenty tubes. The figure needs the page script.

  • Mixing session 1, ρ = 2.84
  • Mixing session 2, ρ = 0.5125
  • Mixing session 3, ρ = 1.72
The slope of each session, before and after conversion
SessionHow ρ was read ρ k s Nominal 95 % interval of s
Mixing session 1The 1:4 tube, OD 0.71, × 4. Read once.2.8430.9310.898.65 to 13.13
Mixing session 2The stock itself, mean of four reads (0.52, 0.49, 0.51, 0.53).0.51255.1710.096.14 to 14.04
Mixing session 3A 1:4 dilution, mean of two reads (0.43, 0.43), × 4.1.7218.6910.8710.10 to 11.63
All threeOne shared slope, 20 tubes——10.8510.23 to 11.48
The largest raw slope is 5.98× the smallest. After conversion the ratio is 1.079.

Testing it: predict a session from the other two

A conversion that only tidies the numbers it was fitted to proves nothing. The test is to hold a whole session out, fit the slope on the other two, and predict the session that was never seen.

Predicting each session from the other two

Root-mean-square error, counts · pure-GFP tubes

Held-out error without conversion and with it: 13.22 and 2.38 counts for mixing session 1, 13.82 and 1.40 for session 2, 3.04 and 1.05 for session 3. The figure needs the page script.

  • Predicted without the ρ conversion
  • Predicted with the ρ conversion
  • Predicted from its own session

The conversion works. With it, a session predicted from the other two lands as close as one predicted from its own day: 2.38 counts against 2.94 for mixing session 1, 1.40 against 1.90 for session 2, and 1.05 against 1.09 for session 3. A day the model has never seen is read as well as a day it was fitted on, which is what makes one session's reading comparable with another's.

Without the conversion the slope does not carry at all. The error reaches 13.82 counts in mixing session 2 — about twice the highest reading that session produced.

A prediction for a new stock was written into our closing report on 2026-09-30, with the rule for judging it fixed in advance. The reader was rebuilt on 2026-10-03, and it was never tested.

How robust the conversion is 3 notes
Robust?
Reading ρ from other reasonable low-range tubes moves s between 9.76 and 11.68, and the largest-to-smallest ratio stays between 1.08 and 1.20.
Not any OD
Converting with the stock's own displayed OD (1.56, 0.52, 1.10) gives 19.83, 9.95 and 16.99, still 1.99× apart. The displayed OD does not scale with dilution: a 1:2 tube reads only 1.59 to 1.69 times a 1:4 tube, where proportional would be 2.[2] The cause is not established.
Left out
The earlier sessions on this instrument have no dilution series from one stock with a low-range OD, so they cannot enter this model. They neither support it nor contradict it.
What it says about the faint end 35 of 38 above zero
Tubes containing GFP culture, by density index
Density index x Tubes Read above zero Mixing sessions
0 to 0.2412
0.2 to 0.3442
0.3 to 0.5551, 2 and 3
0.5 to 118181, 2 and 3
1 to 3771 and 3
All3835
All 27 measurements of samples without GFP read exactly zero on F4. This table describes three sessions. It is not a limit of detection, and x itself comes from the post hoc conversion above.

3.5 After the rebuild: what carried over

The models above describe the first reader. Its noise did not come mostly from the detector. In four of seven replicate groups, seating and preparation outweighed the cycle noise (3.1). That was one consideration in the rebuild that followed, alongside the parts that had broken or made loading slow.

The reader was rebuilt on 2026-10-03: five printed parts redrawn around a one-step cuvette seat, and one resistor to bring the LED to its design current. Putting the same tube back now repeats to 0.76 %, against 3.6 to 6.3 % before (Hardware).

Four sessions have run on the rebuilt reader. Three of them — a dilution series, a session on AHL plates and one on how dense a culture can be — show what carries over, and everything in this section was worked out after their readings were seen. All four are on the Hardware page; the fourth read the same tubes beside a plate reader, which this part does not model.

The inverse models did not carry over

Three models were also fitted on the first reader to read G back from the sensor's channels, none of them needing the stock OD: F4 alone, a ridge regression on four channels, and a random forest. All three were applied unchanged to the twelve tubes of the dilution series, whose share of GFP culture is known. None did better than always guessing the mean of the training tubes: the best was off by 27.1 points on average against 27.8, and that only after the counts were scaled down for the higher LED current. The stock of that session gave more signal for the same share of culture than any stock the models had seen. G, a share of one day's stock, is not a scale that carries from one stock to the next.

A background that rises with scatter

Every tube in 3.1 that held no GFP read exactly zero on the green channel. The plate suspensions were far denser than any of those tubes, and in them the green channel no longer read zero without GFP. That has to be described before any reading from those plates can be used.

What the extra reading follows is scatter. The denser the suspension, the higher a scatter channel, F2, and the higher the green channel reads. So the description is the signal from GFP plus one term in proportion to F2, put through the curve R that the dilution series already traced at its faint end:

F4 = R(SGFP + c · F2),   R(S) = S / (1 + (S0 / S)n)

Only one number in it is new. S0 = 6.51 counts and n = 5.20 are the shape of R, taken from the dilution series and not refitted. c, the size of the scatter term, was fitted here and comes to 0.0629. It rests on thirteen captures from the two sessions that held no GFP or were judged not induced, and only three of those thirteen read above zero at all. That is a thin fit, so everything below is a check against readings it was not fitted to.

The description, checked against readings it was not fitted to
CheckResult
Each of the thirteen captures, predicted from the other twelveOff by 0.33 counts (root mean square). A straight line with one parameter is off by 1.15.
Each level of the dilution series, predicted from the others25 to 100 µL of culture recovered at 0.87 to 1.21 of the true volume; 12.5 µL at 0.67 to 0.68.
Fluorescence left once the background is taken off+65.78 counts for the sfGFP culture and +17.00 for the suspension with sfGFP added. −0.59 to +0.22 for the six readings from plates judged induced.
The suspension with 20 µL of sfGFP culture added, predicted19.68 counts predicted, 23.56 read.

Two days later, the background measured on its own

One parameter fitted to three readings of the session it is meant to describe is thin evidence. So the background was measured on its own instead. On 2026-10-11 a non-GFP culture, one with no sfGFP gene to make any green of its own, was diluted and read 21 times, covering F3 from 5 to 89 (Hardware).

Those 21 points are the background itself, measured rather than modelled. Joined into a curve — the only assumption being that it never falls as scatter rises — they give the background at any scatter in that range, and the AHL session's readings can be set against them. The checks below use the two days' counts as they are.

The AHL plate session, read against a background measured two days later
CheckResult
The measured curve: each of its 21 readings, predicted from the other twentyOff by 0.20 counts (root mean square), 0.71 at most.
The two AHL-session readings without GFP that fall inside its range+0.04 and +0.10 counts from the curve, with the two days' counts taken as they are. The empty cuvette scattered less on the second day.
Readings from plates judged induced, with that background taken off−0.11 and −0.10 counts inside the range. The four densest lie beyond it: if the background does not fall there, at most +0.56 to +1.33 is left.
The suspension with 20 µL of sfGFP culture added+19.76 counts.
Three other shapes for the background: a hinge on F3, a straight line cut off at zero, and R on F2 as aboveEach lies within about 0.2 counts of the 21 readings, and with each what is left for the plates judged induced stays near zero or below. Refitted to these readings, c comes to about 0.064, against 0.0629 from the AHL session.

Both are descriptions, not calibrations, and neither may be used to subtract a background from anything else. What they can do is tell a cuvette with added sfGFP from one without. What they cannot do is give an amount, so a reading that sits on the background means the reader read nothing above it there, and nothing more than that. What else follows is in 3.6.

3.6 Assumptions and limits

Every limit this part has is here.

What we do not claim

What the models do not support, and what they do
We do not sayWhat the data supports
A calibration curve, an absolute GFP concentration,[3] a limit of detectionRelative readings within one session, and a description of these three sessions.
Non-GFP cells do not affect F4[4]We compared tubes with the same GFP culture, one made up with medium and one with non-GFP culture, and did not resolve a difference between them. A non-GFP culture does stop reading zero once it is dense enough (3.5).
The instrument does not driftAfter conversion the three sessions agree, with no sign of a large drift. Post hoc.
OD is a cell count[2]A displayed OD that does not scale with dilution, for a reason not yet established.
The biosensor's dose–response to AHLNot part of this model, because none has been resolved. None of these samples was induced with AHL: they are cultures reported to carry the sfGFP[5] plasmid, cultures without it, and medium. The one session on AHL plates did not resolve induction (3.5).
Every GFP sample is detected35 of 38 tubes read above zero; the three that did not all sat below x = 0.2.
The models carry over to the rebuilt readerThe three that need no OD did no better than guessing the mean on its dilution series (3.5).

Why the numbers are weaker than they look

  • The slope s contains both how much GFP each cell makes and how sensitive the instrument is. Without a fluorescence standard the two cannot be separated.[6]
  • ρ rests on very few OD readings: one in the first session, two in the third.
  • Tubes sharing a cuvette, a time slot or a side of a firmware reset are not fully independent, so every interval and p value on this page is nominal.
  • Three sessions, each with a different recipe design, are a small basis for a model. Every analysis here looked at the same three.
  • The cross-session conversion is a post hoc analysis (3.4). How ρ should be read was chosen after the three sessions had been seen, there are only three of them, and no prediction made in advance has tested it yet. The formal comparison agrees with the figures — a shared slope is not rejected after conversion, p = 0.897, and is rejected before it, p < 0.001 — but for the same reason those p values describe the data and validate nothing.
  • Mixing session 1 supports no lack-of-fit test (3.3). It repeated one recipe, which gives two degrees of freedom of pure error — too few for the test to detect anything — so that column is left blank for it rather than filled with p values that say nothing either way.
  • Neither background curve is a calibration (3.5), and neither may be used to subtract a background from other readings. Both were worked out after the readings were seen. The fitted curve rests on one parameter that only three readings above zero could constrain. The measured curve is one culture on one day, and it covers F3 from 5 to 89 and no further. Neither says whether the background is scattered light or the cells' own fluorescence. A reading that sits on the background means the reader read nothing above it there, not that the plate was not induced.

3.7 References

  1. ams OSRAM. (2020). AS7341 11-channel multi-spectral digital sensor (Datasheet DS000504, v3-00). ams-osram.com
  2. Stevenson, K., McVey, A. F., Clark, I. B. N., Swain, P. S., & Pilizota, T. (2016). General calibration of microbial growth in microplate readers. Scientific Reports, 6, 38828. https://doi.org/10.1038/srep38828
  3. Csibra, E., & Stan, G.-B. (2022). Absolute protein quantification using fluorescence measurements with FPCountR. Nature Communications, 13, 6600. https://doi.org/10.1038/s41467-022-34232-6
  4. Zhang, C., Liu, M.-S., Han, B., & Xing, X.-H. (2009). Correcting for the inner filter effect in measurements of fluorescent proteins in high-cell-density cultures. Analytical Biochemistry, 390(2), 197–202. https://doi.org/10.1016/j.ab.2009.04.029
  5. Pédelacq, J.-D., Cabantous, S., Tran, T., Terwilliger, T. C., & Waldo, G. S. (2006). Engineering and characterization of a superfolder green fluorescent protein. Nature Biotechnology, 24(1), 79–88. https://doi.org/10.1038/nbt1172
  6. Beal, J., Haddock-Angelli, T., Baldwin, G., Gershater, M., Dwijayanti, A., Storch, M., et al. (2018). Quantification of bacterial fluorescence using independent calibrants. PLOS ONE, 13(6), e0199432. https://doi.org/10.1371/journal.pone.0199432

Summary

What modelling changed

A model belongs on this page because it changed what we did, or what we do next. This is each part's answer to that, in one place.

What each model answered, and what we did because of it
ModelThe questionWhat it changed
Part 1 · 1.4 Whether the sponge picture holds for a treatment it was never fitted to. It does not. The held-out Cb-2 prediction of 0.992 sits above a measured 0.820, and the miss repeats in pyocyanin and biofilm; one shared dose correction cannot pull all three inside their intervals. That ruled out the simplest reading — that dose alone explains the gap — and put the preparation itself on the list of things to measure.
Part 1 · 1.5, 1.6 How much more A16-2 the next swarming experiment should carry. A dose series around 1.6× the nominal convention, spanning 1.0–2.6×, written down before the experiment rather than read off afterwards. It also fixed what gets recorded beside it: the applied concentration in both mass and molar units, and matched growth and viability controls, since the three assays on their own cannot separate signal sequestration from a growth effect.
Part 2 · 2.5 Whether a photograph could stand in for measuring colonies by hand. It can, and the wet lab stopped measuring them one at a time. Agreement with hand measurement is 0.61 mm on average, every colony inside 2 mm, with no bias separable from zero — finer than the differences the assays are built to compare.
Part 2 · 2.6 How to get that reading to the people doing the measuring. Classical vision rather than a learned model, so there are no weights to load, no inference step and no GPU: it runs on a free hosting tier instead of one machine in the lab. Each plate comes back as the photograph itself, with every span and a scale bar drawn on it, so no number is copied by hand.
Part 3 · 3.1 Where the reader's noise actually came from. Not from the detector. In four of seven replicate groups, seating and preparation outweighed the cycle noise, which was one consideration in the rebuild that followed. Putting the same tube back now repeats to 0.76 %, against 3.6 to 6.3 % before.
Part 3 · 3.4 How to turn the cross-session model into evidence. A prediction for a new stock was written into the closing report, with its verdict rule fixed in advance. The reader was rebuilt before it could be tested, so it stands unresolved.
Part 3 · 3.5 Whether the earlier models could read the rebuilt reader's sessions. They could not, so the AHL plate session was read with a one-parameter background fitted to its own controls, then against a background measured two days later on a non-GFP culture. Both are reported as descriptions.