Behavioral apparatus and experimental design.

a, Top left, schematic of the experimental setup. Top right, schematic of the fly arena. Bottom left, photograph of the experimental setup. Bottom right, a photograph of the fly arena. b, Timeline of a session showing the shadow presentations in red over the yellow background.

Behavioral characterization of the escape behavior repertoire of individual fruit flies.

a, Schematic for calculating speed and acceleration based on tracked position coordinates. b, Four characteristic escape behaviors categorized by PCA for an example session of a control fly (w1118; from left; stop, slow down, speed up, no reaction). Top, color-coded heatmaps indicating the walking speed of the fly (blue, low speed; yellow, high speed), aligned to shadow presentations (orange line). Bottom, average moving speed triggered on the shadow presentations (orange line). c, Threshold-based classification of behavioral responses (from left, stop, slow down, speed up, no reaction). Top, single-trial example for each response type. Time intervals for calculating the average speed before the shadow presentation (orange) as well as the speed and acceleration after the shadow presentation (green) are marked. Threshold values for each response type are displayed above the graphs. Bottom, average walking speed across the trials from all session of w1118 flies, sorted by the type of behavioral response. Line and errorshade show mean ± SE.

Parkinson’s model and dopamine receptor mutant fruit flies showed reduced walking speed and decreased reactivity to threatening stimuli.

a, Distribution of the mean speed measured in the time window [-0.2, 0] seconds relative to shadow presentation for the different mutant groups. Top, Parkin flies showed reduced mean speed compared to controls (Parkin vs. iso w1118; p = 6.55 × 10-6, Mann–Whitney U-test). Bottom, Dop1R1 and DopEcR mutant flies showed reduced mean speed compared to controls (y1w67c23and w1118 respectively; p = 0.0016, p = 0.0034; Mann-Whitney U-test). b, Distribution of the proportion of stop trials in different mutant groups. Parkin flies showed a reduced tendency for stopping compared to iso w1118 (p = 0.0043, Mann Whitney U test). c, Distribution of stop duration in different mutant groups. α-Syn flies showed increased stop durations compared to iso w1118 (p = 2.18 × 10-11, Mann-Whitney U-test). d, Distribution of the proportion of speed up trials in different mutant groups. Top, α-Syn flies showed a reduced tendency to speed up compared to their controls (p = 8.4 × 10-6, Mann-Whitney U-test). Bottom, Dop1R1 and Dop1R2 mutant flies also showed a significantly reduced tendency to speed up compared to their controls (p = 0.0122 and p = 0.0024, respectively; Mann-Whitney U-test). e, Distribution of the proportion of slow down trials in different mutant groups. Bottom, DopEcR showed a 15.04% decrease compared to w1118 (p = 0.020, Mann-Whitney U-test). f, Distribution of the proportion of ‘no reaction’ trials in different mutant groups. Top, Parkin mutants showed reduced reactivity compared to iso w1118 controls (p = 0.0043, Mann-Whitney U-test). Bottom, Dop1R1 and DopEcR mutants also showed reduced reactivity compared to y1w67c23 and w1118 controls, respectively (p = 0.0173 and p = 0.0167, respectively; Mann-Whitney U-test). Box-whisker plots show median, interquartile range and non-outlier range. *, p < 0.05; **, p < 0.01; ***, p < 0.001. Exact genotypes: iso w1118: +; +; Ddc-Gal4/+. Parkin: +; +; Ddc-Gal4/UAS-Parkin-R275W. α-Syn: +; +; Ddc-Gal4/UAS-α-Syn-A53T. y1 w67c23: y1 w67c23. Dop1R: y1 w*; Mi{MIC}Dop1R1MI04437. Dop1R2: y1 w*; Mi{MIC}Dop1R2MI08664. DopEcR: w1118; PBac{PB}DopEcRc02142/TM6B, Tb1.

Reaction to threatening stimuli depends on fly walking speed.

a, Probability of a given response type as a function of average fly speed before the shadow presentation (200 ms pre-stimulus time window). From left, stop, slow down, speed up and no reaction trials are quantified. Top, Parkin and α-Syn flies. Bottom, Dop1R1, Dop1R2 and DopEcR mutant flies. b, Proportion of a given response type as a function of average fly speed before the shadow presentation. Top, Parkin and α-Syn flies. Bottom, Dop1R1, Dop1R2 and DopEcR mutant flies. Exact genotypes: iso w1118: +; +; Ddc-Gal4/+. Parkin: +; +; Ddc-Gal4/UAS-Parkin-R275W. α-Syn: +; +; Ddc-Gal4/UAS-α-Syn-A53T. y1 w67c23: y1 w67c23. Dop1R: y1 w*; Mi{MIC}Dop1R1MI04437. Dop1R2: y1 w*; Mi{MIC}Dop1R2MI08664. DopEcR: w1118; PBac{PB}DopEcRc02142/TM6B, Tb1.

Changes in escape behavior from the first to the fourth week of life

Proportion of responses as a function of age for different groups of mutants and controls. From left to right, stop, slow down, speed up and no reaction trials are quantified. Lines and errorshades show mean and standard error. Exact genotypes: iso w1118: +; +; Ddc-Gal4/+. Parkin: +; +; Ddc-Gal4/UAS-Parkin-R275W. α-Syn: +; +; Ddc-Gal4/UAS-α-Syn-A53T. y1 w67c23: y1 w67c23. Dop1R: y1 w*; Mi{MIC}Dop1R1MI04437. Dop1R2: y1 w*; Mi{MIC}Dop1R2MI08664. DopEcR: w1118; PBac{PB}DopEcRc02142/TM6B, Tb1.

Number of recorded flies for the age group comparisons.

Number of recorded flies for comparing the mutant groups.

Picture of the arena from the camera view

The 13 tunnels of the arena from the camera view with the tracking lines showing that the animals can move in 2 dimnesions. The tracking line color indicates time, with dark blue and red marking the beginning and the end of the tracking, respectively.

Parkin and α-Syn fly group escape reaction compared to GFP mutant flies

a, Distribution of the mean speed measured in the 0.2 second before shadow presentation for Parkin, α-Syn and +GFP mutant groups. Parkin and α-Syn flies showed reduced mean speed compared to +GFP controls (Parkin vs. +GFP, p = 1.58 x 10-11; α-Syn vs. +GFP, p = 2.85 x 10-4; Mann-Whitney U-test). b, Distribution of the proportion of stop trials in different mutant groups. Parkin flies showed reduced tendency for stopping compared to the +GFP group (Parkin vs. +GFP, p = 7.1 x 10-5; α-Syn vs. +GFP, p = 0.67; Mann-Whitney U-test). c, Distribution of stop duration in different mutant groups. α-Syn flies showed increased stop durations compared to GFP (Parkin vs. +GFP, p = 0.17; α-Syn vs. +GFP, p = 3.98 x 10-10; Mann-Whitney U-test). d, Distribution of the proportion of speed up trials in different mutant groups. Both Parkin and α-Syn flies showed a reduced tendency to speed up compared to +GFP controls (Parkin vs. +GFP, p = 8.3 x 10-5; α-Syn vs. +GFP, p = 1.96 x 10-12; Mann-Whitney U-test). e, Distribution of the proportion of slow down trials in different mutant groups. Parkin flies showed a reduced tendency to slow down compared to +GFP controls (Parkin vs. +GFP, p = 0.044; α-Syn vs. +GFP, p = 0.465; Mann-Whitney U-test). f, Distribution of the proportion of ‘no reaction’ trials in different mutant groups. Both Parkin and α-Syn flies showed reduced reactivity compared to +GFP controls (Parkin vs. +GFP, p = 9.4 x 10-13; α-Syn vs. +GFP, p = 1,3 x 10-8; Mann-Whitney U-test). *, p < 0.05; **, p < 0.01; ***, p < 0.001. Exact genotypes: iso w1118: +; +; Ddc-Gal4/+. Parkin: +; +; Ddc-Gal4/UAS-Parkin-R275W. α-Syn: +; +; Ddc-Gal4/UAS-α-Syn-A53T.

Differences in walking speed do not explain different escape behaviors

Real and simulated proportion of response types are shown for the mutant groups tested. For the simulations, random velocity values were drawn from the velocity distribution of each genotype and then a response type was randomly selected based on the response type distributions associated with the drawn velocity. Bar plots show the proportion of response types color-coded. For each mutant group, the right bar shows the measured proportion of escape responses, while the left bar shows the simulated distribution. We found significant differences between the real and simulated distributions for the following groups: Parkin (p = 0.0487), α-Syn (p < 0.000001), Dop1R2 (p = 0.006157) and DopEcR (p = 0.003901). We found no significant differences for the Dop1R1 group (p = 0.332; Chi-square test for all the statistics). *, p < 0.05; **, p < 0.01; ***, p < 0.001. Exact genotypes: iso w1118: +; +; Ddc-Gal4/+. Parkin: +; +; Ddc-Gal4/UAS-Parkin-R275W. α-Syn: +; +; Ddc-Gal4/UAS-α-Syn-A53T. y1 w67c23: y1 w67c23. Dop1R: y1 w*; Mi{MIC}Dop1R1MI04437. Dop1R2: y1 w*; Mi{MIC}Dop1R2MI08664. DopEcR: w1118; PBac{PB}DopEcRc02142/TM6B, Tb1.

Changes in escape behavior from the first to the fourth week of life

a, Average walking speed as a function of age for different groups of controls (left) and mutants (right). Lines and errorshades show mean and standard error. Mean speed showed significant differenceis among age groups (two-way ANOVA, age, f = 41.38, p = 9.39 x 10-32; genotype, f = 42.19, p = 2.46 x 10-32; genotype × age, f = 4.36, p = 2.667 x 10-8;Tukey’s post hoc test: 1 day old vs. 1 week old, p = 9.92 x 10-9; 1 week old vs. 2 weeks old, p = 7.34 x 10-7; 2 weeks old vs. 3 weeks old, p = 0.085; 3 weeks old vs. 4 weeks old, p = 0.0043). b, Stop duration as a function of age for different groups of controls (left) and mutants (right). We found that age did not effect the duration of stops (two-way ANOVA, age, f = 0.85, p = 0.49; genotype, f = 0.91, p = 0.46; genotype × age, f = 2.53, p = 0.0008; Tukey’s post hoc test: 1 day old vs. 1 week old, p = 0.98; 1 week old vs. 2 weeks old, p = 0.992; 2 weeks old vs. 3 weeks old, p = 0.578; 3 weeks old vs. 4 weeks old, p = 0.9759). Lines and errorshades show mean and standard error.