Predicting Fluorescence and Protein Structure
We used models to help plan experiments in two modules. In Module 2, Glow Getter predicts the fluorescent signal from sfGFP, a green fluorescent protein. In Module 3, predicted protein shapes helped us revise the Ag43–SmtA fusion, which we designed to bind zinc at the cell surface.
Next, we will measure how much protein we can recover in Module 2. For Module 3, we will test whether cells make the fusion protein, whether it reaches the cell surface and whether it binds zinc.
Glow Getter: Predicting the Fluorescent Signal
-
Future tagged targets
Collect a separate dataset for each sfGFP-tagged protein.
-
Plate reader
RFU and optical density at a documented wavelength over time.
-
WellPlotted
Inspect time courses and variation. Prepare model inputs separately.
-
Glow Getter
Fit and evaluate a response after collecting compatible data.
-
Harvest experiments
Test harvest conditions and measure soluble recovery and fusion integrity.
We built Glow Getter to study protein production in our two-plasmid system. On the first plasmid, J23106 controls production of LuxR. When the signal molecule AHL binds LuxR, LuxR activates pLuxR on the second plasmid, which controls sfGFP production. Our current experiments use sfGFP alone. Later, we plan to attach sfGFP to each target protein and repeat the measurements. The Module 2 diagram shows how the system works.
What We Predict
Choose one of the AHL conditions we tested and a time between 0 and 24 hours. Glow Getter then predicts the fluorescent signal after subtracting the signal from the growth medium and dividing by OD630. RFU is the reader’s fluorescence measurement, and OD630 measures how cloudy the culture is. We write the predicted result as corrected RFU/OD630.
We tested six conditions using the AHL 3-oxo-C6-HSL: no added AHL (uninduced), 10−4, 10−3, 10−2, 10−1 and stock. These are the labels used in our records. We still need to check the stock concentrations and volumes added to confirm the final AHL concentration in each culture.
We compared two ways to predict the signal. One uses the middle, or median, value across measured curves. The other uses equations for protein production and the time GFP takes to become fluorescent.
We use WellPlotted to look at the measurements before building a model. We then convert its plate-layout files into the format Glow Getter reads, keeping the labels for each run, well and time. The tutorial shows this process using generated example data.
How the Models Work
The LuxR–AHL–pLuxR Response
The first plasmid carries instructions for making LuxR. When AHL binds LuxR, it turns on sfGFP production from pLuxR on the second plasmid. The model uses two Hill functions: equations in which activation rises with the input and then levels off.
A = Hn / (KAn + Hn)
L = R × c × A
q = b + s × Lm / (KLm + Lm)
H is the AHL concentration. R describes relative promoter strength, and c adjusts for the surrounding genetic design. A is the activated fraction, and L represents the active LuxR signal. The predicted GFP production rate is q, in RFU equivalents per OD unit per hour. KA and KL set the inputs at which activation reaches half its maximum. The values n and m control how sharply activation rises. The value b is the background production rate, and s sets the largest added response.
Growth and the Time GFP Takes to Become Fluorescent
The model makes total GFP production increase with OD(t), the culture’s OD at time t. Newly made GFP starts in a form that is not yet fluorescent, I. It then matures into fluorescent GFP, F. The equations also allow fluorescent GFP to be lost over time:
dI/dt = q × OD(t) − kmat × I
dF/dt = kmat × I − kloss × F
For simulations, the program can generate an S-shaped growth curve. To fit an experiment, we use its OD readings and adjust the model’s parameters to bring predictions closer to measurements. The fitting method reduces squared prediction errors while keeping parameters within set limits (bounded nonlinear least squares). We also compare models with a delay before production begins and with different growth curves. The example file provides starting values for trying the model.
Predicting From the Measured Curves
- For each AHL condition, calculate corrected RFU/OD630 over time for every run used to build the model.
- Use straight lines between each run’s readings to estimate values at the same times. At each time, take the median across runs.
- Save the resulting curve. To predict at a chosen hour, read from the straight line between the nearest points.
We call this the direct median predictor. We compare a version using all included readings with a version that leaves out readings flagged by an extra check for unusually high or low values. Both estimate values between measurement times in the same way.
What Changes Between V1–V4
| Version | Fluorescence calculation | Reported OD630 |
|---|---|---|
| V1 | Fits the AHL and pLuxR response with no delay before production begins. Uses the average growth curve to calculate production. | Average growth curve across runs. |
| V2 | Same fitted fluorescence as V1. | An S-shaped growth curve fitted to the readings. |
| V3 | Fits a delay before production begins, with the pLuxR activation threshold set to 0.2. Uses the average growth curve to calculate production. | Average growth curve across runs. |
| V4 | Same fitted fluorescence as V3. | Median growth curve across runs. |
V1–V4 predict fluorescence and OD630 separately. They then subtract the medium’s fluorescence and calculate RFU/OD630. The direct median predictor works with the corrected ratio from the start.
How AHL Affects Growth
We compare cultures given AHL with matching cultures that received no AHL. Both carry the two plasmids. To estimate growth rate, μ, we calculate how quickly the natural logarithm of OD630 changes during periods of growth:
Growth burden = 1 − μinduced / μuninduced
A value of 0.2 means the culture given AHL grew 20% more slowly than its matching culture without AHL. The script checks that OD is positive, that enough readings are available and that the growth calculation fits those readings. It also reports how long cultures take to reach a chosen OD and how much lower their final OD is.
The Results page reports an average final OD630 reduction of 53.5% at 10−2. Final OD and growth rate describe different parts of the response. The cultures started at different densities, and both groups carried the plasmids. Tests with matching plasmids that do not produce the proteins would help separate the effects of carrying the plasmids from those of protein production.
Using a DNA Sequence to Estimate Protein Amounts
The DNA-to-protein prototype accepts a protein-coding DNA sequence, either directly or in FASTA format. Starting at the first base, it works out the amino-acid sequence, checks that the DNA can be read in groups of three and looks for stop signals. It then calculates protein length and molecular weight. It also calculates a codon adaptation index (CAI), which compares the DNA’s choice of codons with an E. coli reference table. Codons are the three-letter DNA instructions for amino acids.
The prototype starts with an sfGFP prediction and adjusts it for the target protein’s length and codon use:
Relative molecule factor = (sfGFP length / target length) × (target CAI / sfGFP CAI)
To calculate a relative mass score, it also includes the target’s molecular weight compared with sfGFP and scales the result against the highest predicted corrected sfGFP signal. It can search the six AHL conditions and times from 0–24 hours in 15-minute steps for J23106.
For a given sequence, the adjustment is the same at every condition and time. It changes the predicted amount, but every protein keeps sfGFP’s ranking of conditions and harvest times. We need measurements for each protein to see how its yield depends on how it folds, whether it stays dissolved, how quickly it breaks down and how it affects cell growth.
The tool needs an sfGFP model fitted to data. The public example includes a model fitted to generated data so users can try the code. To test predictions of protein amounts, we will measure known protein quantities for calibration, record culture and extract volumes, and compare predictions with the amount of each protein we actually recover.
Comparing Prediction Errors
We compared predictions of corrected RFU/OD630 with measurements left out when building the models. The direct median methods had lower median percentage errors than V1–V4. The Results page reports the same comparison. Absolute percentage error (APE) gives the size of each prediction error as a percentage of the measured signal’s size. Lower scores mean closer predictions.
The V1–V4 scores come from our earlier analysis. We still need to check which scores used all included readings and which used the extra check for unusual readings.
Swipe across the graph, or open it at full size.
| Model | Median APE | Mean APE (average) |
|---|---|---|
| V1 | 60.61% | 250.53% |
| V2 | 60.60% | 255.21% |
| V3 | 57.69% | 140.23% |
| V4 separate outputs | 57.44% | 141.96% |
| Direct median · all included readings | 38.61% | 126.96% |
| Direct median · extra check (default) | 38.61% | 126.85% |
With the extra check, the direct median predictor had a median APE of 38.61% and an average APE of 126.85%. The median is the middle error when errors are sorted from smallest to largest. A few large errors can raise the average, and percentage errors can be large when the measured signal is small. The extra check made little difference to the overall scores.
Error by AHL Condition
Swipe across the graph, or open it at full size.
| AHL label | Median APE | Mean APE (average) |
|---|---|---|
| Uninduced | 42.72% | 112.18% |
| 10−4 | 37.45% | 57.46% |
| 10−3 | 38.09% | 126.46% |
| 10−2 | 40.29% | 207.19% |
| 10−1 | 23.08% | 131.10% |
| Stock | 48.78% | 126.69% |
The 10−1 condition had the lowest median error, and stock had the highest. The 10−2 condition had the highest average error even though it gave the strongest measured signal relative to OD630. A stronger signal was not necessarily easier to predict.
How We Tested the Predictions
We tested the models 50 times. Each time, we used about 80% of the measurement groups to build the model and asked it to predict the other 20%. The three wells for a sample always stayed together, and time-zero readings always stayed in the data used to build the model. Each test condition and hour also had readings available for building the model.
If a medium reading was shared with a test group, we left it out of model building and estimated it using only the remaining medium readings. We also used only the model-building data to check for unusual values. Both model versions predicted the same test groups.
Across the 50 tests, we made 9,650 predictions from 966 eligible measurement groups. The tests reuse the same measurements; they are not 9,650 separate experiments. They check predictions within the conditions and times we measured. Experiments with newly started cultures will test whether the predictions hold up.
The general equation-model fitting tool uses a different test: it leaves entire promoter–AHL combinations out of model building. The Software page’s experimental figures also use a separate fit of the J23106 data. Each set of scores needs to be read with its own fitting and testing method.
How we check for unusual readings
The extra check compares RFU and OD630 with the median from at least three other runs at the same condition and hour. It flags all three wells in a group if either reading is more than five times that median or less than one-fifth of it. The check runs once and leaves time-zero readings unchanged.
A flag means a reading is unusual, but does not explain why. We keep the original readings and a record of what was left out. We also keep track of missing readings and negative values after subtracting the medium’s fluorescence.
Code and Data
The Glow Getter repository contains the model code, tools for fitting and plotting, data-storage code, browser-page builders and installation instructions. It also includes generated example data and a model fitted to those data.
Our experimental data are available upon request from the Missouri-Rolla iGEM team. We plan to publish the full dataset after wiki thaw, along with J23100 results and results from any other promoters we test.
To repeat an analysis, use the same input data, preparation notes, record of excluded readings, saved model and prediction tables.
See the code for the LuxR–AHL response, GFP maturation model, V1–V4 comparison and DNA-to-protein prototype.
Testing When to Collect Protein
The Module 2 measurements suggest two conditions to test when collecting protein. At 10−2, the median signal relative to OD630 was highest around 21–22 hours. At 10−1, the average total corrected fluorescent signal was highest at 24 hours. We will collect samples from both conditions at 20, 22 and 24 hours and measure how much sfGFP we recover.
Before starting, we will check the earlier comparison labels and save predictions from both versions of the direct median model. We will repeat the six AHL conditions using cultures started separately, similar starting densities and the same reader settings. We will record the final AHL concentrations and use calibration, matching controls and recovery measurements to compare predicted signals with recovered protein.
We also plan matching experiments with J23100 to test how changing the promoter that controls LuxR affects the results. For each target protein tagged with sfGFP, we will collect its own measurements, build and test its model, and compare fluorescence with the amount of protein recovered.
Protein Modeling: Changing the Ag43–SmtA Design
Module 3 asks whether Ag43 can hold the zinc-binding protein SmtA at the surface of E. coli. Our proposed fusion joins these proteins with OmpA for targeting and a 3× FLAG tag for detection. Short connecting sequences, called linkers, join the components.
We predicted the protein’s shape before building it. In the first prediction, parts of the structure appeared to overlap. That led us to inspect the sequence and change the design.
Tools and Design Changes
We ran RoseTTAFold All-Atom (RFAA) on our computer and viewed its predicted structures in ChimeraX. After our MilliporeSigma consultation, we also used AlphaFold to review the sequence and continued work on the linkers.
In the first Ag43 prediction, the alpha domain and barrel-shaped region, called the beta-barrel, appeared to overlap. We looked at the individual components as well as the complete fusion and compared them visually with existing BindCraft examples.
The MilliporeSigma representative recommended moving OmpA to the start of the protein (the N-terminus) and FLAG to the end (the C-terminus). We changed the proposed component order:
| Design cycle | Component order |
|---|---|
| Initial | Ag43 → SmtA → FLAG → OmpA |
| Revised | OmpA → Ag43 → SmtA → FLAG |
Running RFAA Locally
We ran RFAA under Ubuntu through WSL2 on an RTX 5070 Ti with 16 GB of VRAM. At first, the PyTorch/CUDA installation did not support our graphics card. Using a newer version supporting rOCM fixed that problem. A test using the small protein ubiquitin completed all steps and produced a structure that opened in ChimeraX.
A project run also produced the structure file Zn_ag43_omp_complex_test1.pdb and a supporting file. The Module 3 notebook records the settings and troubleshooting. We still need to match this output to the exact sequence used to generate it.
What the Models Showed
So far, we have compared the two predictions by looking at them. After matching each model to its input sequence and settings, we will compare the structure files and check which regions the programs predict with higher or lower confidence.
Next, we will test whether cells make the fusion protein, whether it reaches the cell surface and whether it binds zinc.
Module 3: Next Steps
- Match models to their inputs. Gather the exact sequence, linker design and program settings used for each prediction.
- Compare the predicted shapes. Compare RFAA and AlphaFold predictions of the same sequence. Measure how closely they agree, look for overlapping regions and examine the linkers and whether the protein is likely to stay dissolved. Try individual components and smaller fusions where useful.
- Build and test the design. Check the sequence, test whether cells make the protein and whether it reaches the cell surface, then measure zinc binding with suitable controls. The engineering page describes the strains and detection methods we are considering.

