FlyBench

A Drosophila data analysis tool suite

Upload your videos, photos or monitor files and get the numbers, graphs and statistics for nine classic Drosophila genetics and behavior assays. Every tool runs in your browser, so your data never leaves your computer, and every automatic count can be corrected by hand.

Start here

How FlyBench works

1

Pick your assay

Each tool below explains the biology, what it measures, and exactly how to run it.

2

Upload your data

Videos, photos, monitor files or typed counts. Nothing is uploaded to a server: it all stays in your browser.

3

Check and correct

Every count, mark and time can be fixed by hand, and every graph updates instantly.

4

Get results

Graphs, summary statistics and significance tests, plus a CSV to paste into your lab report.

Statistics in plain English
Mean
The average of your replicates.
SD (standard deviation)
How spread out the replicates are. Use it to describe variability.
SEM (standard error of the mean)
SD ÷ √n: how precisely the mean is known. Shrinks as you add replicates. Error bars in FlyBench show SEM unless they say SD.
Replicate (n)
One independent measurement: a vial, a tube, a fly in its own DAM tube. Flies tested together in one vial are one replicate, not many.
p-value
If there were really no difference, the chance of seeing a difference at least this big. Below 0.05 is called “significant”. It is not the chance your hypothesis is true.
Welch t-test
Compares the means of two groups without assuming they vary equally. Used for continuous measures (minutes of sleep, µL eaten, % climbed).
One-sample t-test
Asks whether a group's mean differs from a fixed value, e.g. whether a Performance Index is above 0 (did the flies learn at all?).
Chi-square (χ²)
For counts in categories. Goodness of fit compares counts to a predicted ratio (crosses); independence asks whether category depends on group (flight intervals × genotype).
Many comparisons
Run 20 tests and about one will be “significant” by chance. With many groups, be cautious, or apply a Bonferroni correction (multiply each p by the number of tests).
01

Larval foraging

Measures how far a larva crawls on a plate, the standard readout for the foraging gene: rover larvae cover more ground than sitters.

A larva's path drawn in as it crawls, with clock and running distance
DemoA larva's path drawn in as it was walked: 72.1 mm in 5 minutes.
Input
Video of a petri dish, camera still
Output
Path length per larva (mm), CSV
Typical use
for-R roverfor-S sitter on agar or yeast
Runs
Hand tracer: in your browserAutomatic tracking: AI by request
How it works
  1. Load the plate video and drag across the dish so everything is scaled to its real diameter.
  2. The clip plays back fast while you keep the pointer on the larva. Several larvae per plate are fine: number keys switch animal.
  3. Distance is summed along the path you followed. Redo any animal to correct it.
02

Sleep & activity

Turns raw Drosophila Activity Monitor (DAM) files into activity, sleep and sleep structure for every fly, then compares groups, for example flies fed caffeine against controls.

Line chart of sleep minutes per hour across the day for four groups
DemoSleep in each hour of the day, by group. Grey = lights off.
Input
DAMSystem3 MonitorN.txt files (1-minute bins)
Output
Sleep/day, bouts, bout length, day vs night sleep, activity; CSV
Statistics
Mean, SD, SEM; Welch t-test between groups
Runs
In your browser
How it works
  1. Upload the monitor files and list which tubes belong to which group.
  2. Sleep is any run of 5+ minutes with no beam crossings (adjustable).
  3. Untick a tube to drop it (a dead fly is flagged automatically). Every graph updates.
03

Feeding (CAFE)

Measures how much flies drank from each capillary in the Capillary Feeder assay, from a single photo of the tubes beside a ruler.

Capillaries marked with their start levels and 24-hour food levels
DemoEach capillary's start mark (black) and food level after 24 h (yellow).
Input
Photo of the capillaries next to a ruler
Output
µL drunk per tube and per fly, by group and food; CSV
Statistics
Mean, SD, SEM; Welch t-test between groups
Runs
In your browser
How it works
  1. Click two ruler marks to set the scale.
  2. For each tube, click the start mark and then the food level. Length × µL per mm = volume.
  3. Undo, delete or re-measure any tube; relabel groups in the table.
04

Climbing (negative geotaxis)

After a tap knocks them to the bottom, healthy flies climb straight back up. This scores where every fly is, second by second, in four quadrants of the vial.

Two vials from 0 to 5 seconds, every fly circled, vials split into quadrants
DemoHand-checked counts, 0 to 5 s after the tap: every fly circled, each vial split into quadrants.
Input
Video of one or more vials
Output
Flies per quadrant at each second, % in top half, climbing score; CSV
Statistics
Stacked quadrant plots; Welch t-test between genotypes
Runs
Click counting: in your browserAutomatic fly detection: AI by request
How it works
  1. Mark the moment the flies land as 0 s; the tool pulls out one frame per second.
  2. Drag a box over each vial and name its genotype.
  3. Click every fly in each frame; click again to remove. Edit any saved trial later.
05

Flight (fly paper)

Flies dropped down a tube catch the sticky paper as they recover flight. Strong fliers stick high; weak ones fall to the water. This counts flies in each interval.

Fly paper with each fly circled and a count per interval
DemoHand-checked sheet: every real fly circled and counted per interval. Printed flies are ignored.
Input
Photo of each fly-paper sheet
Output
Flies per interval, water (1) to top; CSV
Statistics
Mean % per interval; chi-square, genotype × interval
Runs
Click counting: in your browserAutomatic fly detection: AI by request
How it works
  1. Click each red dividing line, then click every fly stuck to the paper.
  2. Type how many landed in the water and name the genotype.
  3. Save each sheet; edit or delete any sheet to correct it.
06

Cold shock

Times how quickly flies on ice stop moving, and how long they take to wake once warm again.

Bar chart of time to 50 percent recovery by genotype
DemoTime for half the flies in a tube to recover, by genotype.
Input
Video of the tubes on and off ice
Output
Time to 50% / 100% paralysis (s) and recovery (min); CSV
Statistics
Mean, SD; Welch t-test between genotypes
Runs
In your browser
How it works
  1. Play the video and press a button at each moment: onto ice, 50% and 100% paralysed, off ice, 50% and 100% recovered.
  2. Step frame by frame for precision; every time is also an editable box.
  3. Save each tube and compare genotypes.
07

Genetic crosses

Checks whether the offspring you scored fit the ratio Mendelian genetics predicts, from simple 3 : 1 crosses to dihybrid and X-linked white crosses.

Observed vs expected bars for a 9:3:3:1 dihybrid cross
DemoMendel's own pea counts against 9 : 3 : 3 : 1: χ² = 0.47, p = 0.93, a good fit.
Input
Offspring counts per phenotype class
Output
Expected counts, χ², df, p, a plain-English verdict; CSV
Presets
3 : 11 : 2 : 11 : 19 : 3 : 3 : 1X-linkedcustom
Runs
In your browser
How it works
  1. Pick the cross (or type your own ratio).
  2. Type how many offspring you scored in each class.
  3. Read the verdict: does your cross fit Mendel?
08

Learning & memory

Scores olfactory conditioning in the T-maze: after an odor is paired with a shock, do flies avoid it? Compares learning mutants such as dunce with wild type, right after training or hours later.

Performance Index bars for wild type and dunce
DemoExample numbers showing how results look: wild type vs dunce, one dot per replicate.
Input
Flies in each T-maze arm per test
Output
Performance Index per replicate and group; CSV
Statistics
One-sample t-test vs 0; Welch t-test between groups
Runs
In your browser
How it works
  1. Type (or paste) the arm counts for each test, with genotype and retention interval.
  2. Reciprocal halves with the same replicate number are averaged automatically.
  3. Edit or delete any test; the PI and stats update.
09

Stress & survival

For heat-shock, drowning and starvation assays: how many flies in each vial are knocked down or dead at each check, and how long until half of them are (T50).

Percent knocked down over time for two strains
DemoExample numbers showing how results look: % knocked down over time, mean ± SEM across vials.
Input
Affected flies per vial at each check time
Output
Time course per genotype, T50, % affected at the end; CSV
Statistics
Mean ± SEM; Welch t-test between genotypes
Runs
In your browser
How it works
  1. Choose the assay and the times you checked.
  2. Add a row per vial and fill in the cumulative counts.
  3. Read the curves and compare T50 between genotypes.

Heavy lifting

Request AI analysis

Automatic larva tracking and automatic fly detection need serious computing, so they are not hosted publicly. Send your videos or photos and what you need measured, and the analysis is run for you.

Email a request

Behind the scenes

What it costs to run all of this

None of this is free. Every part has a real cost:

AI time

The tools were built, and are kept working, with paid AI models. Every analysis request uses more of that paid time.

Computing

Automatic tracking takes minutes of processor time per clip, on a machine that has to stay on and be reachable.

Hosting & storage

Assay videos are large. Storing them, plus deploying and serving the tools, adds up.

Upkeep

Fixing tools when a new kind of clip breaks them, checking counts by hand, and keeping everything current all take hours.

That is why the heavy analysis is by request. If your lab uses FlyBench regularly, help covering the costs keeps it running.