Exercise: acceptor photobleaching
Before this unit: Three images, two controls: sensitised emission (previous unit); Day 46: Colour.
See also: Day 47: Spectral unmixing; Day 16: Measurements; Day 23: FFT registration.
Goal
By the end of this exercise you should be able to:
- compute E from the donor before and after acceptor photobleaching,
- correct it for incomplete bleaching and donor bleaching, and recognise motion and photoconversion,
- estimate the noise of a pixel-wise E and explain why a region sum is better,
- explain why intensity methods measure the apparent efficiency f \cdot E, and what that means for distances,
- choose between sensitised emission, acceptor photobleaching and lifetimes for a given question,
- (math) derive the incomplete-bleaching correction, E_\text{app} = fE, and \sigma_E.
Do the pen-and-paper part first, then the demo.
Background
| Idea | What it means |
|---|---|
| Dequenching | without acceptor the donor keeps all its excitations and gets brighter |
| Efficiency | E = 1 - I_D^\text{pre}/I_D^\text{post} |
| Incomplete bleaching | fraction b of the acceptor bleached: E_\text{obs} = bE/(1 - (1 - b)E), corrected E = E_\text{obs}/(b + (1 - b)E_\text{obs}) |
| Donor bleaching | divide the post values by a control region’s after/before ratio |
| Motion | align before dividing |
| Photoconversion | control: acceptor-only cells must not gain donor signal |
| Apparent efficiency | E_\text{app} = fE (f: fraction of donors with an acceptor) |
| Noise of 1 - P/Q | \sigma_E \approx (P/Q)\sqrt{1/P + 1/Q} (Poisson) |
By hand
B1. The donor in the bleach region averages 600 photons per pixel before and 800 after. Compute E.
B2. The acceptor image shows 20 % of the acceptor left after bleaching (b = 0.8). (a) Is the E of B1 too high or too low? (b) Correct it. (c) Check your answer: with the corrected E and b = 0.8, what would the observed E be?
B3. A non-bleached part of the same cell went from 500 to 475 photons (−5 %). (a) Correct the E of B1 for donor bleaching. (b) Apply both corrections (donor bleaching, then incomplete bleaching with b = 0.8).
B4. Pixel noise. Assume Poisson counts. (a) \sigma_E for a pixel with 600 before and 800 after. (b) The same for 60 and 80 photons (ten times dimmer). (c) A region of 100 pixels at 60/80: what is \sigma_E of the region if you sum first?
B5. Apparent efficiency. A population gives E_\text{app} = 0.2, R_0 = 5 nm. (a) Interpretation 1: all donors paired. What is the distance? (b) Interpretation 2: half the donors paired. What is E of a pair, and the distance? (c) What measurement would decide?
B6. Which method? For each question choose sensitised emission (SE), acceptor photobleaching (AP) or donor lifetime (FLIM) and justify in one line: (a) Does a kinase sensor change FRET within seconds after adding a drug, in living cells? (b) Do two proteins interact at all in fixed cells; you have no single-labelled controls on this microscope? (c) Is the change in E_\text{app} caused by more binding or by a shorter distance?
B1. E = 1 - 600/800 = 0.25.
B2. (a) Too low: 20 % of the donors are still quenched after bleaching, so the donor did not rise fully. (b) E = 0.25/(0.8 + 0.2\cdot0.25) = 0.25/0.85 = 0.294. (c) 0.8\cdot0.294/(1 - 0.2\cdot0.294) = 0.235/0.941 = 0.25.
B3. (a) The donor lost 5 % by itself, so the true post value is 800/0.95 = 842: E = 1 - 600/842 = 0.2875 (0.287). (b) 0.2875/(0.8 + 0.2\cdot0.2875) = 0.2875/0.8575 = 0.335. Both corrections raise E; together they move it from 0.25 to 0.34.
B4. (a) 0.75\sqrt{1/600 + 1/800} = 0.75\cdot0.0540 = 0.0405. (b) 0.75\sqrt{1/60 + 1/80} = 0.128. (c) Summing 100 pixels gives P = 6000, Q = 8000: \sigma_E = 0.75\sqrt{1/6000 + 1/8000} = 0.0128, ten times smaller than one pixel.
B5. (a) r = 5\,(1/0.2 - 1)^{1/6} = 5\cdot4^{1/6} = 6.30 nm (1.26R_0). (b) E = 0.2/0.5 = 0.4, r = 5\,(1.5)^{1/6} = 5.35 nm (1.07R_0). (c) The donor’s lifetime decay: interpretation 1 has one shortened lifetime (0.8\,\tau_D), interpretation 2 has two components, \tau_D and 0.6\,\tau_D, in equal amounts.
B6. (a) SE (or FLIM): it can be repeated over time in living cells; AP destroys the acceptor and takes time. (b) AP: it needs no bleed-through coefficients and works well in fixed cells (no diffusion back into the region). (c) FLIM: lifetimes separate f and E; intensity methods only give their product.
Math questions
B7. (math) All donors paired, each acceptor bleached independently with probability b. (a) Show that the donor intensity after bleaching is proportional to 1 - (1 - b)E and that E_\text{obs} = bE/(1 - (1 - b)E). (b) Solve for E. (c) Show that E_\text{obs} < E for 0 < b < 1 and 0 < E < 1.
B8. (math) A fraction f of the donors is paired at efficiency E, the rest are unpaired. (a) Show that complete acceptor bleaching gives 1 - I^\text{pre}/I^\text{post} = fE. (b) Show that the sensitised-emission estimate F_c/(F_c + G I_{DD}) of unit 2 gives the same fE.
B9. (math) (a) Derive \sigma_E \approx (P/Q)\sqrt{1/P + 1/Q} for E = 1 - P/Q with independent Poisson P, Q. (b) Show that summing m pixels before dividing reduces \sigma_E by \sqrt m.
B7. (a) Before: every donor is quenched, intensity \propto 1 - E. After: a fraction b has lost its acceptor (intensity 1), the rest are still quenched (1 - E): b + (1 - b)(1 - E) = 1 - (1 - b)E. E_\text{obs} = 1 - (1 - E)/(1 - (1 - b)E) = (1 - (1 - b)E - 1 + E)/(1 - (1 - b)E) = bE/(1 - (1 - b)E). (b) E_\text{obs} - (1 - b)EE_\text{obs} = bE, so E = E_\text{obs}/(b + (1 - b)E_\text{obs}). (c) E_\text{obs}/E = b/(1 - (1 - b)E); the denominator is larger than b exactly when 1 - b > (1 - b)E, i.e. E < 1: so E_\text{obs} < E.
B8. (a) Before: (1 - f)\cdot1 + f(1 - E) = 1 - fE. After: all donors unquenched, 1. So 1 - (1 - fE)/1 = fE. (b) In unit 2’s model, I_{DD} \propto c_{DD}N_D(1 - fE) and F_c = G c_{DD}N_D fE: F_c/(F_c + G I_{DD}) = fE/(fE + 1 - fE) = fE.
B9. (a) \partial E/\partial P = -1/Q, \partial E/\partial Q = P/Q^2; independent, so \sigma_E^2 \approx \sigma_P^2/Q^2 + P^2\sigma_Q^2/Q^4 = P/Q^2 + P^2/Q^3 = (P/Q)^2(1/P + 1/Q). (b) Summing m pixels replaces P, Q by mP, mQ: the ratio P/Q is unchanged, 1/(mP) + 1/(mQ) = (1/P + 1/Q)/m, so \sigma_E shrinks by \sqrt m.
Explore: bleach the acceptor
Two FRET cells (true E and paired fraction f from the sliders) and an acceptor-only control cell (bottom left in the acceptor image), seeded with Poisson noise. The yellow box is the bleach region (drag on “donor before” to draw another); the acceptor-only cell is bleached as a whole. Each pulse bleaches 30 % of the acceptor left in the region. Tiles: donor before, donor after, acceptor after, E map (1 - \text{pre}/\text{post} per pixel, white = 0, red positive, blue negative). Plot: expected donor and acceptor in the region and donor outside it, per pulse. Readouts: region E as a ratio of sums, the mean of the pixel values, the truth, the acceptor left, the control’s after/before ratio, the acceptor-only cell’s donor channel.
E1. Preset ideal. Read the region E (ratio of sums), the mean of the pixel E values and the acceptor left. What does the E map show outside the box? Set the pulses to 0: what is E now, and why is it not exactly 0?
E2. Preset stop early: incomplete bleaching (4 pulses). Read E and the acceptor left. Predict the corrected value with the formula, then tick correct incomplete bleaching and compare.
E3. Preset donor bleaching fakes less FRET (1.5 % per pulse). Read E and the control’s after/before ratio. Predict the size of the error from the ratio, then tick correct donor bleaching. What does the E map look like outside the box before the correction?
E4. Preset the cell moved: edges (3 px drift). Describe the E map. Why does the “acceptor left” readout go wrong too? Tick align after to before: what shift is found, and what E?
E5. Preset few photons: noisy map, region fine (40 photons). Read the region E, the mean of the pixel E values and estimate the pixel spread from the map. Then smooth with σ = 2. Which number is closer to the truth, and why are the two different?
E6. Preset half the donors paired (f = 0.5, E = 0.3). Read E. Then set f = 1 and E = 0.15. Can you tell the two situations apart from anything in the demo?
E7. Preset photoconversion: the control lights up. Read the acceptor-only cell’s donor channel before and after and the region E. What would you conclude without the acceptor-only control?
E1. Region E = 0.297, mean of pixel E = 0.295 (true 0.30); 0.5 % acceptor left. Outside the box the map is white with noise (about 0): the acceptor is intact there. With 0 pulses, E = −0.002 (pixel mean −0.006): before and after are two independent noisy images of the same donor, so the ratio fluctuates around 1.
E2. E = 0.244 with 24.1 % acceptor left (b = 0.759). Formula: 0.244/(0.759 + 0.241\cdot0.244) = 0.298; the demo gives 0.298 with the correction.
E3. E = 0.117, control ratio 0.796: the donor lost 20 % by itself, which eats most of the 43 % rise from dequenching (1/0.7 = 1.43; 1.43 \cdot 0.80 = 1.14, so E \approx 1 - 1/1.14 = 0.12). Correcting: post divided by 0.796 gives E = 0.298. Before the correction the map outside the box is blue (negative E): the donor got dimmer there.
E4. Red edges on one side of each cell and blue on the other: the after image is displaced. The acceptor sum in the box is computed on the displaced image, so part of the unbleached acceptor slides into the box: 20.8 % “left” instead of 0.5 %, and E = 0.275 (pixel mean 0.255, spread 0.15). Alignment finds the shift (−3, −2) and gives E = 0.297 again.
E5. Region E = 0.292, pixel mean 0.270, pixel spread about 0.20 (the map is speckle). With σ = 2 the spread drops to about 0.05 and the map is readable, but the pixel mean stays low (0.267). The ratio of sums divides two large, precise numbers; the mean of pixel ratios averages ratios of small noisy numbers, which are biased (unit 4). Smoothing reduces the spread, not this bias of 1 - P/Q in dim pixels.
E6. f = 0.5, E = 0.3: region E = 0.147 (fE = 0.15). With f = 1, E = 0.15 the region E is also about 0.15. The demo shows only intensities; nothing distinguishes the two. Only the donor’s lifetime decay (two components or one) would.
E7. The acceptor-only cell’s donor channel goes from 0 to 70 per pixel, and the region E rises to 0.388 (true 0.30): photoconverted acceptors add donor-coloured light, which looks like dequenching. Without the control you would report too much FRET.
Code
Write the algorithms of this unit yourself, in Rust. Setup, and how to run and check your code: coding exercises: getting started. Your code goes in fret/src/acceptor_bleach/exercise.rs. The images are photon counts with the background already subtracted.
C1. efficiency_map(pre, post) and region_efficiency(pre, post, mask): 1 - P/Q at every pixel (0 where Q \le 0), and 1 - \sum P / \sum Q over a region (ratio of sums). The check is B1.
C2. correct_incomplete(e_obs, b) = E_\text{obs}/(b + (1 - b)E_\text{obs}) and control_ratio(pre, post, control) = \sum \text{post} / \sum \text{pre} over a region that was not bleached (divide the post image by it to undo the donor’s own bleaching). The checks are B2 and B3.
C3. shift(img, dx, dy) and find_shift(before, after, max_shift): undo the motion before dividing:
for every (dx, dy) with |dx|, |dy| ≤ max_shift:
score(dx, dy) = Σ before(x, y) · after(x + dx, y + dy) # 0 outside the image
(dx, dy) = the shift with the largest score
aligned(x, y) = after(x + dx, y + dy)
The check moves simulated cells by (3, −2) pixels and must find that shift.
C4. sigma_e(p, q) = (P/Q)\sqrt{1/P + 1/Q}. The check is B4.
Then cargo run -p fret -- acceptor-bleach and open the pictures in out/acceptor-bleach/. The program simulates a field of cells with all donors paired at E = 0.3 (about 600 photons per pixel) and bleaches the acceptor in the left half of the image. For six experiments (ideal; stop after 4 pulses; donor bleaching 1.5 % per pulse; the cells moved by (3, −2) px; 40 photons; half the donors paired) it prints E of the bleached cells raw, after alignment, after the donor-bleach correction (control: the cells in the right half) and after the incomplete-bleach correction (with the acceptor left, measured from the acceptor images), and the mean of the pixel values of E inside and outside the box. It saves the raw E map of each (0 = grey).
C5. For each experiment, which correction brings E back to 0.30? Compare with E2–E4.
C6. In few photons, compare the region value with the mean of the pixel values, and look at few-photons-e-raw.png. Use C4 to predict the spread of a single pixel.
C7. What does half paired give, and can any of the corrections fix it?
The model solution is fret/src/acceptor_bleach/solution.rs in the download.
C5. Ideal: 0.300 raw (0.302 after all corrections). Stop early: 24.1 % acceptor left, raw 0.246; the incomplete-bleach correction gives 0.303. Donor bleaching: raw 0.122; the control ratio is 0.796 (the donor lost 20 % by itself), and dividing by it gives 0.301. The map is light grey in the box and dark (negative) outside it: the whole field got dimmer. Cells moved: raw −0.031, and the map has bright and dark edges on opposite sides of each cell; the shift found is (3, −2), and after alignment E = 0.297. Each correction fixes exactly its own problem; the others change almost nothing (0.300 → 0.302).
C6. Region value 0.297 (ratio of sums), mean of the pixel values 0.276: biased low, because 1 - P/Q of small counts is biased (the ratio P/Q is biased upwards when Q is small). The pixels have a few tens of photons; C4 for P = 30, Q = 40: \sigma_E \approx 0.75\sqrt{1/30 + 1/40} = 0.18, so the map is speckle (few-photons-e-raw.png); the region sums thousands of photons.
C7. 0.150 = fE = 0.5 \cdot 0.3, after every correction 0.152. The corrections deal with the measurement; the mixture of paired and unpaired donors is the biology, and the donor intensities cannot tell it from all donors at E = 0.15 (E6, B5).
Where this leads
The efficiency in every intensity method is f \cdot E; lifetimes separate them, which is a main reason for FLIM (FLIM-FRET, day 50): E = 1 - \tau_{DA}/\tau_D from the rate picture of the first unit. The next unit turns to the simplest and most used FRET measurement, the ratio of two channels of a single-chain biosensor, and to the statistics of ratios that already appeared here.