Stress & survival

For heat shock, drowning, starvation or any assay where you count how many flies in a vial are knocked down (or dead) at set times. Draws the time course for each genotype and finds the time until half the flies are affected (T50).

The biology

Under stress, cells switch on heat shock proteins (HSPs), chaperones such as Hsp70 that refold or clear damaged proteins. Flies that make more HSPs, or that were briefly pre-stressed (thermotolerance), last longer at high temperature.

The foraging gene matters here too: PKG activity changes how neurons cope with heat and low oxygen, so rovers and sitters differ in how fast they are knocked down by heat or submersion. Drowning tests tolerance to anoxia; starvation tests energy reserves.

How to use it
  1. Pick the assay and type the times you checked (e.g. 0, 2, 4, 6, 8, 10 minutes).
  2. Add one row per vial: genotype and how many flies it held.
  3. Fill in how many flies were affected at each time point (cumulative). Fix any cell at any time; everything updates.
Reading the results

The time course shows % affected over time, mean ± SEM across vials. A curve further right means more resistant flies.

T50 is when the curve for a vial crosses 50%, interpolated between checks. Vials that never reach 50% show “never” and are left out of the T50 comparison, so also compare the % affected at the end.

The statistics % affected = affected / flies in vial × 100 T50: t₀ + (50 − %₀)/(%₁ − %₀) × (t₁ − t₀) between the checks either side of 50%

Groups are compared with Welch t-tests, with the vial as the replicate. With per-fly times, a Kaplan–Meier log-rank test is the textbook choice; per-vial counts at fixed checks are what this assay usually gives.

Tips & common mistakes
  • Counts are cumulative: a fly that recovers in a heat-shock assay still counts as knocked down once it fell.
  • Start timing the moment the vial enters the bath or water.
  • Keep flies per vial similar (10–20) and age-matched; older flies are knocked down sooner.

Time course

Compare genotypes

Data

Affected flies at each check (cumulative). Edit any cell.

1 · Assay

2 · Add a vial

Export