Summary
In Drosophila, a dedicated olfactory channel senses a male pheromone, cis-vaccenyl acetate (cVA), promoting female courtship while repelling males. Here, we show that separate cVA-processing streams extract qualitative and positional information. cVA sensory neurons respond to concentration differences in a 5-mm range around a male. Second-order projection neurons encode the angular position of a male by detecting inter-antennal differences in cVA concentration, which are amplified through contralateral inhibition. At the third circuit layer, we identify 47 cell types with diverse input-output connectivity. One population responds tonically to male flies, a second is tuned to olfactory looming, while a third integrates cVA and taste to coincidentally promote female mating. The separation of olfactory features resembles the mammalian what and where visual streams; together with multisensory integration, this enables behavioral responses appropriate to specific ethological contexts.
Keywords: social behavior, sexual dimorphism, sensory physiology, pheromones, connectomics, neural circuits, stereo smell
Graphical abstract
Highlights
-
•
cVA male pheromone has a 5-mm signaling range, activating 2 parallel central pathways
-
•
Pheromone neurons have spatial receptive fields sharpened by contralateral inhibition
-
•
Position (where) and identity (what) are separated at the 3rd layer of cVA processing
-
•
Integrating taste and cVA in sexually dimorphic aSP-g controls female receptivity
An active contrast circuit effectively allows flies to “see” each other using smell.
Introduction
Olfaction allows animals to identify and evaluate objects and to gather spatial information about their environment.1,2 Studies of primate visual cortex show that object identity and motion are processed in parallel ventral and dorsal streams, the what and where pathways.3 This separation can be rationalized both because motion and identity are independent features of an object and because the underlying neural circuits must extract either sustained (identity) or time-varying (motion) sensory signals. These separate processing strategies have been extensively studied in vision, but comprehensive, synaptic resolution circuit mechanisms are still missing.
Olfactory cues are key signals for social interactions in most animals. For example, Drosophila males produce cis-vaccenyl acetate (cVA), a low-volatility pheromone that acts as a female aphrodisiac but promotes aggression in males.4,5 Pheromones are a powerful entry point to study the genetic and circuit basis of behavior,6,7 and cVA is one of the most studied pheromones, but gaps remain in our understanding. cVA is synthesized internally within the male and passed on to the female during mating,8 but it is unclear when and where it acts during social behavior: is it a diffuse permissive signal, or do stimulus location and strength convey important information? If so, how can these be detected? A second-order brain interneuron has been identified that receives cVA information,9 but manipulations have not linked neuronal activity to female receptivity. At the third order, two populations of cVA-responsive interneurons have been identified10,11 and shown to form a sexually dimorphic circuit switch.12 Nevertheless, the behavioral significance of these neurons in courtship remains untested.
Here, we provide a systems level structural, physiological, and behavioral characterization of three layers in the cVA-processing circuit. We use connectomics to find uncharacterized second- and third-order neurons, revealing an unexpectedly concise pathway from sensory neurons to central integrators. We find that male flies are surrounded by a narrow pheromone halo. Comparing pheromone signals from both antennae, we show that olfactory neurons have sub-millimeter precision spatial receptive fields, effectively allowing flies to “see” each other in the dark by using smell. Parallel and hierarchical processing generates a wealth of sensory percepts including features of both position and identity. Our results describe a complete sensory processing hierarchy at synaptic resolution, showing that olfaction has surprisingly strong analogies with other sensory systems. Like the auditory system, positional information is synthesized from active comparison of bilateral sensory signals, while separation of what and where pathways is reminiscent of deeper layers of visual cortex.
Results
Parallel cVA pathways have distinct effects on sexual behaviors
We obtained a comprehensive structural framework to understand processing of cVA pheromone, using two electron microscopy (EM) connectomics datasets. We began by tracing downstream partners of cVA-responsive olfactory receptor neurons (ORNs) that express receptor Or67d and target the dorsal anterior 1 (DA1) glomerulus (Figure 1A), using the full adult fly brain (FAFB) dataset.13,14 In addition to the well-known uniglomerular DA1 lateral projection neurons (lPNs) and inhibitory ventral projection neurons (PNs) (Figures 1B, S1A, and S1I),9,15,16 we found a uniglomerular cell type from the lateroventral lineage, which we call DA1 lateroventral projection neurons (lvPN).17,18 DA1 lvPNs receive 99% of their sensory input from Or67d ORNs and make the same axonal projections in both sexes; like lPNs, they relay cVA information to the lateral horn (LH) but bypass the mushroom body associative learning center, instead projecting to the superior intermediate protocerebrum (SIP), a multimodal higher-order neuropil (Figures 1C and S1C). We used EM morphology to obtain a split GAL4 driver line (Figures 1C and S1B) and confirmed that this is a cholinergic, excitatory cell type (Figure S1E). In vivo two-photon calcium imaging showed robust cVA responses (Figure 1D). lPNs and lvPNs therefore form parallel excitatory cVA-processing pathways.
How do these two pathways contribute to the sex-specific effects of cVA? We measured sexual behaviors in pairs of virgin flies freely interacting for 20 min (Figure 1E). Activating lPNs with CsChrimson19 in virgin females paired with wild-type males had no effect on mating. However, lvPN activation in females increased copulation rate, reflecting higher female receptivity (Figure 1F). Consistent with this, lvPN but not lPN ablation reduced mating success (Figure 1G).
In males, optogenetic activation of either lPNs or lvPNs decreased courtship toward females and strongly reduced copulation rate (Figures 1H and 1I). This behavioral effect for both PN types contrasts with the female results, likely reflecting sex differences in downstream architecture. Only males produce cVA, transferring it to females upon mating, so it is not surprising that genetic ablation had no effect on male courtship of females (Figures 1J and 1K). Males regularly court other males, although this is actively suppressed by cVA and contact pheromones.20 lPN (but not lvPN) activation strongly reduced male-male courtship (Figure 1L); ablating lPNs reduced male-male courtship with a weaker effect for lvPNs (Figure 1M). Another prominent role of cVA in males is promoting aggression. We found that lvPN but not lPN activation moderately increased aggression between male pairs assayed in the same arena (Figure 1L). However, PN ablation had no effect (Figure 1M), likely due to low baseline levels of aggression in group-reared flies. Finally, we saw no effect on female-female aggression by activating either lPNs or lvPNs (Figures S1D and S1G).
Thus, lvPNs promote many of the behavioral effects of cVA, increasing female receptivity and male-male aggression. lPN manipulations recapitulated only the courtship suppressing effects of cVA in male flies with no effect on female sexual behavior.
Parallel cVA pathways differentially signal male distance and sustained presence
We hypothesized that these parallel cVA-processing pathways extract distinct stimulus features. We tested this using sensory physiology with a male fly as the most ethologically relevant stimulus.21,22 We mounted the male on a micromanipulator to mimic the cVA concentration experienced by interacting flies at precisely defined distances to a receiver fly; we measured calcium signals in DA1 ORN, lPN, or lvPN axons (Figures 2A inset, S2A, and S2B). All three cell types showed highly reliable responses to male position; cVA concentration at the antenna can therefore signal male distance (Figures 2A–2C) with a sigmoidal distance tuning function (Figures 2D–2F). ORNs already respond reliably at 5 mm, and responses continue to increase as distance decreases. In contrast, the lPN tuning curve plateaus at 1 mm. lvPN responses are smaller at mid-range distances (5–2 mm) but grow sharply and without saturation from 2 to 0.25 mm. lPNs therefore reach their half-maximal response at larger distances, consistent with a greater number of ORN synaptic inputs (Figures 1A and S1F).
We next assessed adaptation by keeping the stimulus male at 0.75 mm from the imaged fly’s antennae for 10 s. ORN responses reach their maximum more slowly than lPNs, and lPNs adapt more strongly during the stimulus (Figures 2G and 2H), consistent with results for other glomeruli.23 Interestingly, DA1 lvPNs reached their maximal responses more slowly than lPNs and showed no adaptation throughout the 10-s stimulus (Figures 2I and S2C). To confirm the cVA specificity of these responses, we repeated these experiments with a virgin female stimulus; 10-s presentations elicited no response in either lPNs or lvPNs (Figures 2H, 2I, and S2C). lPNs and lvPNs respond similarly in males and females (Figures 2H, 2I, and S2C).
Our results suggest that cVA on a male fly can only be detected by another fly when within two body lengths (5 mm) apart. To begin testing the behavioral significance of this range, we placed a receiver fly and a decapitated stimulus fly under infrared illumination (Figures 2J and 2K). Both virgin males (63% extra) and females (37%) spent more time within 5 mm of a stimulus fly of the opposite sex. We calculated an opposite-sex preference (OSP) score inside circles of increasing radii from the stimulus fly (Figure 2L). There was a strong preference at 5 mm, which declined at larger distances from the stimulus (Figures 2M and S2E). Orco mutant females (insensitive to most odors, including cVA24) lost their OSP within 5 mm (Figures 2N and S2D), shifting their preference to greater distances (Figures 2O and S2F); the spatial preference of females to males within the 5-mm cVA sensation range therefore depends on odors sensed via Orco, in agreement with previous results (Figure S8B of Sun et al.25).
cVA on a male carries positional information
We hypothesized that cVA carries positional information that flies detect during social behaviors. We investigated pairs of flies interacting in the courtship assay to analyze the conditions that would evoke turns within the 5-mm cVA detection range. We measured the distance between a receiver fly’s antennae and a stimulus male’s abdomen (Figure 3A, middle), where cVA concentration is highest.26 Within this range, both male and female receiver flies initiated more turns when the stimulus male was in front rather than behind them (Figures 3A and S3A). When the right antenna was removed, both female and male receivers initiated more turns when the stimulus male was on their intact side (Figure 3A).
Unilateral antenna removal produced an asymmetric behavioral phenotype not a uniform reduction in turns; cVA on a nearby fly may therefore produce a spatial gradient detectable by the two antennae of the receiver fly. To test this directly, we performed bilateral calcium imaging of cVA-responsive Or67d ORNs and DA1 lPNs in female flies while tracking the position of a male’s abdomen with DeepLabCut.27 The female was fixed in position while the male moved freely in a small behavioral arena attached to the imaging chamber (Figure 3B). Just as in Figure 2A, ORN responses were inversely related to the male’s distance (Figures 3B, 3C, and S3B). Furthermore, when the male was on the female’s left or right, the ORN signal was larger on that side (Figure 3B), confirming that a freely moving male can create a detectable cVA gradient across the antennae of another fly. Similar experiments showed that DA1 lPNs respond at shorter male distances than ORNs. The lag between stimulus position and peak lPN GCaMP6f activity was about 280 vs. 560 ms in ORNs. Intriguingly, when the male was on the female’s side, the lPN bilateral contrast was larger than in ORNs (Figures 3E and S3C; Video S1).
To obtain a controlled readout of odor-driven behavior, we placed female flies on a spherical treadmill while presenting a male fly or an odorless dummy on either side (Figure 3F). This revealed a lateral bias in the female’s locomotor behavior. First, presenting the male fly with ambient light resulted in the female moving away from the approaching male, likely a reaction to a lateralized visual looming stimulus. However, in darkness, the direction of female movement reversed: relying on only olfactory signals, the female moved toward the male. Presentation of an odorless fly-sized dummy triggered no side-biased movement.
Glomerulus-specific inhibition increases bilateral contrast for cVA
A nearby male fly creates an odor gradient detectable in another fly’s antennae, which likely drives orientation behavior. Previous studies found that flies can detect artificial odor gradients created by stimulation directed separately at each antenna.28,29,30 To dissect how a naturally occurring bilateral odor signal is processed in the brain, we imaged Or67d ORN axons while presenting a stimulus male laterally 1.25 mm from the receiver fly (Figure S4A). We compared responses when the stimulus was the same side (ipsilateral) of or opposite (contralateral) to the imaged antennal lobe (AL) (Figures 4A and 4E). ORNs were more strongly activated by ipsilateral presentations (Figure 4B). Given the steep distance tuning in Figure 2D, this is what we would naively expect if ORNs projected only to the ipsilateral AL. However the situation is more complex since most ORNs in D. melanogaster, including Or67d ORNs, project to both sides of the brain.31 To understand the bilateral contribution of ORNs to these responses, we performed the same experiment with unilateral antennal block. When we selectively recorded responses in ORNs from the same side as the imaged hemisphere (by blocking the contralateral antenna), responses to ipsilateral stimuli remained larger (Figure 4B), and the baseline signal of Or67d ORNs was unaffected. Similarly, when selectively imaging contralateral ORNs (by blocking the ipsilateral antenna), we saw larger responses to a contralateral male (Figure 4D). Bilateral contrast originates from intrinsic differences in ORN signaling levels, based on stimulus distance, and may be boosted by circuit interactions at the axon terminals.
How is this bilateral ORN input processed by PNs? We repeated our imaging experiments for lPNs and lvPNs, finding that ipsilateral male stimuli evoked stronger responses in both PN types in female flies (Figures 4F and S4F) and in male lPNs, as well as in females with freely moving antennae (Figures S4C–S4E). As expected, based on our observations with a freely moving male stimulus, the difference between ipsi- and contralateral responses was consistently larger in PNs than ORNs (Figure 4E). Both DA1 lPNs and lvPNs receive more synapses from ipsilateral ORN axons (5,184 vs. 3,580 for lPNs; 157 vs. 113 for lvPNs). This selective pooling of ipsilateral inputs, which is typical of most PNs,18,32 provides a partial explanation for the increased bilateral contrast in PNs. We found that blocking one antenna increases PN responses in some stimulus configurations, directly indicating the presence of contralateral inhibition. When presenting the stimulus male on each side of the receiver, blocking the contralateral antenna decreased responses to ipsilateral presentations and increased responses to contralateral presentations (compare Figure 4F with Figure 4G) (Figure S4K); both effects combined to decrease the bilateral contrast in lPNs from 42% ΔF/F0 difference to 11%. Blocking the ipsilateral antenna decreased and shortened the activation, compared with control, and contralateral excitation was followed by sustained decrease in lPN activity (Figure 4H). Next, we presented the male centrally (as in Figure 2G) while blocking the antenna to activate only one side. In this case, lPN responses were reduced by blocking the contralateral antenna, while blocking the ipsilateral antenna caused an even more pronounced decrease below baseline than that observed in presentations on the fly’s left or right (Figures S4G and S4H). These data can be explained by a contralateral inhibition mechanism: when both antennae are intact, contralateral input provides both excitation (via ORNs) and inhibition onto lPNs. For an ipsilateral stimulus, the net effect is excitation, so that the response is smaller when the contralateral antenna is blocked. For a contralateral stimulus, the net effect on lPNs is inhibition: blocking the contralateral antenna releases this inhibition, so the response is larger. Blocking the ipsilateral antenna is in line with this model: the ipsilateral stimulus evokes a weak excitation, while the contralateral stimulus evokes a brief excitation followed by tonic inhibition.
We identified a likely source of contralateral inhibition through connectomics.18 il3LN6 is a large local neuron (LN) innervating both ALs and arborizing in ∼30 glomeruli, including DA1 (Figures 4I–4M). This GABAergic (Figure S4L) inhibitory neuron synapses onto PNs and importantly receives strongly biased ORN input: contralateral ORNs provide 5 times more synapses than ipsilateral ones (Figures 4N and 4Q). il3LN6 responses to a male fly were specific to the DA1 glomerulus and did not spread to adjacent parts of the arbor, suggesting that il3LN6 is highly compartmentalized (Figures 4I and 4L). Consistent with this, il3LN6 splits into about 9 co-fasciculated branches before entering the AL (Figure 4M), likely increasing the electronic separation across its arbor.
In contrast to ORNs and PNs, but consistent with the bias in EM connectivity (Figures 4N and 4Q), il3LN6 responded much more strongly to contralateral stimuli (Figures 4E and 4I). Indeed, blocking the contralateral antenna abolished all responses (Figure 4J), whereas blocking the ipsilateral antenna had no effect (Figure 4K). We conclude that il3LN6 inhibits lPNs when presented with a contralateral stimulus, thereby increasing bilateral contrast in lPN responses (Figures 4F–4H, S4G, and S4H). To further test this idea, we chemogenetically blocked il3LN6 neurons using the histamine-gated chloride channel Ort33 while measuring lPN responses to bilateral male presentation. Blocking il3LN6 with histamine reduced the difference in lPN responses between ipsi- and contralateral male presentation (Figures 4O and 4P), demonstrating that il3LN6 significantly increases bilateral contrast in DA1 lPNs. DA1 lvPNs also show large differences to ipsi- and contralateral male presentation (Figure S4F).
il3LN6 has extensive arbors, so its effect on the pheromone glomerulus DA1 is probably not unique. However, earlier results for another glomerulus (DM6) ruled out a contribution of GABAergic inhibition to the preference for ipsilateral ORN stimulation.29 To assess the broader impact of il3LN6 across all olfactory glomeruli, we compared the ratio of contra- and ipsilateral ORN inputs to il3LN6 and the fraction of inputs from il3LN6 onto canonical uniglomerular PNs (Figure 4N). DA1 lPNs receive the highest proportion of their inputs from il3LN6; DM6 is weakly innervated but in, for example, DC2 and VC1 the ORN contra-ipsi bias is stronger than in DA1. This suggests that il3LN6 could have a similar role in other glomeruli.
PNs encode male angular position
Our results suggest that flies might be able to decode the angular position of another fly based on bilateral contrast in cVA detection. We therefore presented a stimulus male at 16 positions defined by a hexagonal lattice around the imaged fly (Figure 5A). We simultaneously imaged lPN dendrites on both sides of the brain: responses showed a spatial gradient, strongest when the male is nearest (1 mm) and slightly ipsilateral with respect to the imaged PN (Figure 5A). We then calculated mean responses for 11 angles. Left and right, lPNs showed symmetric angular tuning: responses were larger for stimulation ipsilateral to the imaged PN and identical for both sides when the male was in front of the fly (Figure 5B).
The sum and difference of the left and right lPN responses strongly correlated with the cosine and sine of the male’s angular position (Figures 5C–5F). Sine and cosine together give a unique solution to angular position around a complete circle. We constructed a bivariate linear model with the sum and difference of the right and left lPN activity as inputs and the male’s x and y positions as output variables. This model accurately predicts both stimulus position (median error 1.3 mm, Figures S5A and S5B) and angular direction (median error 26°, Figure 5G) from imaging data. Flies may therefore infer a male’s angular direction using bilateral odor responses.
cVA PNs target a large and diverse array of third-order neurons
DA1 lPNs and lvPNs are the only two uniglomerular, excitatory PNs relaying cVA signals to higher brain centers. We carried out a comprehensive analysis of third-order targets, using the hemibrain connectome dataset.17 In contrast to limited divergence at the first synapse, we found a large and diverse set of downstream targets (Figures 6A and S6A; Video S2). lPNs synapse onto 40 downstream cell types and lvPNs onto 11 (Figure S6A; Table S4); only 4 cell types are shared.
We used a number of strategies to navigate this cell-type complexity: we first defined groups that reflect functional differences based on input selectivity (DA1-selective, mixed-olfactory, multimodal) and projection patterns (LN, ON, DN: local, output, or descending neurons projecting to the nerve cord). We also assigned neurotransmitters.35,36 While most ONs targeted by lPNs receive a mix of olfactory inputs (18) or integrate odors and other sensory channels (multimodal, 10), there are 3 excitatory DA1-selective output neurons (ONs). lvPN targets were predominantly multimodal rather than olfactory (7 vs. 2).
This diversity of third-order cell types likely represents distinct features of a single stimulus. To begin testing this, we selected three cell types for further analysis.
We selected two excitatory lPN targets: the fruitless+ aSP-g (aSP8) neurons,11,37 previously shown to have sexually dimorphic cVA responses12 and now predicted as multimodal integrators, and a previously unknown cell type, AV2a2, which is both sexually isomorphic and DA1-selective (i.e., a labeled line). Among lvPN targets, we chose doublesex+ sexually dimorphic pC1 neurons since they promote female sexual receptivity like lvPNs38 (Figures 1F and 1G). lvPN provides just 1% of all inputs to pC1d (one of 5 pC1 neurons), but optogenetic activation of lvPNs generated calcium responses in pC1 neurons (Figure 6B, the imaging region of interest [ROI] contained all 5 pC1s). Anatomy, neural responses, and behavioral data therefore suggest the lvPN-pC1 connection may convey the receptivity-promoting effect of cVA in females, although we note that the principal target neuron, pC1d, was previously linked to aggression not receptivity.39,40
Third-order neurons extract distinct features of a male from cVA stimuli
To compare response properties downstream of both PNs, we first focused on AV2a2 and pC1 (Figures 6A, 6C, and 6D; AV2a2 driver lines in Figures S6B and S6C). Presenting a male for 10 s evoked very different responses: pC1 responded tonically to male presence (like lvPNs); AV2a2 responded transiently and selectively to stimulus onset (Figures 6C and 6D). This phasic ON response suggests AV2a2 might be selectively activated by rapid increases in lPN activity. We therefore varied the approach speed of the stimulus male, altering the speed of cVA concentration change. ORNs and lPNs showed a speed-dependent rise time in intracellular calcium but no difference in maximal responses (Figures 6E, 6F, and 6I). In contrast, in AV2a2, both rise time and peak response are depended on male speed (Figures 6G, 6I, and S6E). Mechanistically, AV2a2 responses can be modeled by taking the positive first derivative of lPN responses (Figures 6H–6J) together with intrinsic adaptation or feedback inhibition. This could enable AV2a2 to encode the rate of change in cVA concentration.
The strongest downstream partner of AV2a2 is AD1g1, a large LH ON, that we find also receives strong visual input about the size (LPLC2) or speed (LC4) of looming stimuli41,42 (Figures 6K and S6D). We therefore speculate that AD1g1 integrates visual looming with cVA olfactory signals encoding male speed to create a specific representation of an approaching male.
We tested the behavioral role of AV2a2 in a courtship assay. Optogenetic activation had no effect on female receptivity, whereas constant silencing of AV2a2 reduced female receptivity (Figures 6L and 6M). We therefore propose that AV2a2 activity is not a sexually decisive signal on its own but that its suggested role in detecting male approach may be required for normal courtship.
Integrating cVA and taste is key to controlling female receptivity
We have demonstrated how multiple olfactory percepts can be generated from a single cVA-labeled line. However, cVA may have different meanings in different contexts: for example, it is transferred from males to females during mating.8 Female aSP-g neurons responded to a male with phasic ON responses similar to AV2a2 (Figure S7H). However, aSP-g responses decreased with sequential male presentations, unlike in lPNs or AV2a2 (Figure S7I). This habituation makes aSP-g suitable for encoding stimulus novelty rather than positional features like distance or speed.
aSP-g responses may be shaped by multiple additional sensory pathways. We reconstructed all 11 aSP-g neurons in the left hemisphere (LHS) of the FAFB dataset. NBLAST morphological clustering43 of EM and light data revealed three distinct subtypes (Figures S7A and S7C). Of these, aSP-g2 neurons have the largest proportion of dendritic arbor in the LH (Figure S7B) and are the only subtype with DA1 input. Kohl et al.12 found that only 70% of aSP-g neurons responded to cVA, likely corresponding to the 5/11 aSP-g2 neurons in the FAFB dataset. aSP-g neurons do not receive lvPN input, but we found inputs from lvPN2, a related cell type that receives input from multiple glomeruli including DC3 and VC4 (which respond to fruit odors44) as well as DA1 (Figure S7E). This provides an anatomical explanation for the mixed odor tuning of aSP-g.12
aSP-g is a site of multimodal integration since all subtypes receive input from multiple taste PNs (Figures S7D and S7E). We named the taste PN neuron providing the largest input to aSP-g2 (4.8%) gustatory second-order neuron (G2N)-superior lateral protocerebrum (SLP)1 (Figures 7A and 7B). G2N-SLP1 receives inputs from two gustatory receptor neuron (GRN) populations: a labellar GRN (lGRN) located on the mouth parts (Figures 7A and 7B) and an internally located pharyngeal GRN (pGRN) (Figure S7E).
We investigated the labellar inputs, since they are more likely activated by external cues, identifying them as Ir94e-GAL4 GRNs.45,46,47,48 To identify candidate ligands, we imaged Ir94e GRN responses to labellar stimulation in virgin females. As shown previously, water and NaCl activated Ir94e,47 but presenting male genitals evoked a larger response (Figures 7D and 7E). In contrast, responses to female genitals and male dorsal cuticle were similar to water responses. Compounds on male genitals, potentially contact pheromones, are therefore strong ligands for Ir94e and may contribute to female receptivity. We tested this in our courtship assay by optogenetic activation of taste or cVA pathways in virgin females. Activating either Ir94e GRNs or DA1 lPNs alone did not change female receptivity, but simultaneous activation did increase receptivity (Figures 7F and S7J).
Ir94e gustatory and cVA pheromone signals converge on aSP-g dendrites. We directly manipulated aSP-g activity during courtship by activating or blocking neurons with multiple driver lines targeting all three aSP-g subtypes (Figures 7A and S7A). Activating aSP-g increased female receptivity (Figures 7G and S7K) while blocking aSP-g resulted in a small but significant decrease (Figure 7H, driver lines in Figure S7F). aSP-g therefore bidirectionally regulates female receptivity, similar to lvPNs and pC1. This confirms a long-standing hypothesis that the re-routing of cVA information onto aSP-g neurons in females can explain female-specific increases in receptivity to cVA.12 Furthermore, activating aSP-g neurons phenocopies simultaneous stimulation of their DA1 lPN and Ir94e inputs, providing direct evidence for the behavioral significance of multimodal integration. Male deposits (which strongly activate Or67d49) may provide a source of such multisensory input.
We found that aSP-g does not control receptivity in mated females (data not shown) but does regulate aggression in virgin females (Figures 7I, S1D, and S7L; Video S3). In males, a tachykininergic aSP-g subtype promotes same-sex aggression but not courtship.50 We now show that female aSP-g neurons promote both sexual behavior as well as same-sex aggression.
We propose that the large number of third-order cell types may each be selective for a range of stimulus configurations with different ethological relevance; these third-order populations could interact combinatorially to control distinct behaviors. To begin testing this idea, we devised a behavioral epistasis experiment in which aSP-g neurons were activated while pC1 was genetically ablated, testing a serial vs. parallel architecture (Figure 7J). As expected, ablating pC1 neurons alone suppressed female receptivity, and aSP-g activation alone increased female receptivity. In the epistasis genotype, we saw a significant increase in receptivity compared with pC1 ablation. aSP-g neurons can therefore partially restore female receptivity without functional pC1 neurons (Figures 7K and S7M), indicating a parallel architecture (Figure 7J). This behavioral result is consistent with connectivity: aSP-g2 is not strongly connected to pC1 in the hemibrain either directly (17 synapses across 5 pC1s) or via intermediates; furthermore, they have very few common downstream partners.
Discussion
This work reveals the circuit logic by which a pheromone is used to represent qualitative and positional features separately to guide specific social behaviors. First, we show that cVA information reaches higher-order brain regions via two separate excitatory PN populations with distinct temporal dynamics. This is highly reminiscent of coding differences in mitral and tufted cells of the olfactory bulb51; however, we show that these two pathways have distinct behavioral effects, something that remains unclear in mammals. DA1 lPN manipulations did not convey the previously described behavioral effects of cVA on female receptivity or male aggression, but the DA1 lvPN pathway did. Finding a direct connection from lvPNs to pC1 revealed a surprisingly shallow circuit, where a central integrator node is reached just two synapses downstream of Or67d ORNs.
Second, we show that the Drosophila olfactory system is extremely sensitive to the position of a male stimulus fly at mm ranges (Figures 2 and 3), consistent with lateralized sensory and behavioral responses to cVA from a freely moving male (Figure 3). Fly social interactions are most common at dawn and dusk, and they cannot visually distinguish males and females52; olfactory spatial information may therefore provide a useful additional signal to track the position of nearby flies.
We show that cVA acts at a very short range, so bilateral comparison of PN activity can signal a male’s angular position. Combining the sum and difference of DA1 PN responses allows for unambiguous decoding of the angular position of another fly (Figure 5). In contrast, wind direction sensing relies only on the difference of antennal displacement in flies.53 Bilateral comparison of auditory stimuli is also used for prey localization in barn owls,54 which synthesize this information in higher-order auditory neurons with spatial receptive fields.55 It will be exciting to see if analogous neurons exist, for example, in the fly central complex as recently identified in mouse piriform cortex.56 However, these representations are not essential: fast auditory steering in crickets depends on biomechanical rather than neural integration of lateralized signals.57 Unilateral AV2a2 could provide such steering instructions.
Third, we show that contralateral inhibition by a GABAergic interneuron enhances bilateral contrast in the DA1 glomerulus (Figure 4, as hypothesized previously58,59). We show that this giant interneuron can perform efficient local computations in each glomerulus that would otherwise require bilateral interneurons connecting each of the 50 glomeruli. This is reminiscent of recent results in larval Drosophila60 and the adult visual system,61 where similar considerations may drive binocular convergence of visual information.
Fourth, we show that distinct response properties and sensory integration steps in third-order neurons create specific representations of cVA-related scenes, allowing for the flexible expression of appropriate behaviors depending on the environment. cVA is not only present on males but also on mated females,8 on the outer layer of eggs,62,63 and in male deposits.49,64 Therefore, incorporating other sensory modalities (like taste in aSP-g neurons; Figure 7) and responding selectively to the temporal structure of the cVA stimulus (e.g., looming sensitive AV2a2 neurons; Figure 6) are important to establish an appropriate behavioral response. aSP-g neurons can also act as coincidence detectors: this may happen when females encounter male deposits containing both tastants and cVA.
The sustained responses in pC1 neurons may transform transient sensory inputs into a longer lasting internal state—as shown in the analogous male pC1/P1 circuit.65,66,67 It is interesting that aSP-g, like pC1, controls both receptivity and aggression states, supporting the hypothesis that these are closely related by neuronal architecture as well as behavioral expression.68 The aSP-g-promoted aggression phenotype confirms recently reported aggression of virgin females toward recently mated females.69 However, in contrast to that report that used non-specific reagents to label aSP-g, we conclude that aSP-g and pC1 regulate behavior in parallel and are not connected (Figures 7 and S7).
The third-order neurons encoding more qualitative features are sexually dimorphic, whereas a positional feature, speed, is encoded by sexually isomorphic neurons (Figure 7L). This could be a general principle: positional circuits that can be used in non-sexual contexts are wired similarly in male and female brains, while qualitative circuits are sexually dimorphic. This separation would favor rapid evolution of circuits selective to mating.
Odor-based positional information processing shows strong similarities with other sensory modalities: bilateral comparison is used to infer angular position as in the auditory system; and positional information is split from qualitative signals to be processed separately, analogous to the what and where pathways in the visual cortex. However, the fly olfactory system solves similar computational and behavioral challenges with a much more compact sensory processing hierarchy than the cortex. Separate processing streams do pose a long-recognized challenge, the binding problem,70 in how different stimulus features can be linked. The fly is now very well placed to provide detailed mechanistic insight into this and related problems.
Limitations of the study
There is still much to learn about how and in which social behaviors flies make use of pheromone positional information. It is also likely that similar principles could apply to other pheromones such as female to male aphrodisiacs.71
While our connectomics work was comprehensive, our experimental work necessarily focused on a few cVA-responsive neuronal cell types. In the second layer of the circuit, we characterized the excitatory PNs that receive Or67d ORN input and project to higher-order brain areas. However, we also noticed another target, an unusual AL cell type projecting to the ventral brain (AL-AST1, Figure S1D), whose behavioral role is unexplored. Among third-order neurons, our pC1 experiments did not distinguish between the 5 reported subtypes. More generally, scaling up functional and behavioral circuit investigation to match the speed of discoveries in connectomics is a necessary but exciting challenge for the whole field.
STAR★Methods
Key resources table
REAGENT or RESOURCE | SOURCE | IDENTIFIER |
---|---|---|
Antibodies | ||
mouse anti-nc82 antibody | DSHB | RRID: AB_2314866 |
chicken anti-GFP antibody | Abcam | RRID: ab13970 |
mouse anti-ChAT4B antibody | DSHB | RRID: AB_528122 |
rabbit anti-GABA antibody | Sigma | RRID: A2052 |
goat Alexa-568 anti-mouse | Invitrogen | RRID: A21144 |
goat Alexa-488 anti-chicken | Invitrogen | RRID: A11038 |
goat Alexa-647 anti-mouse | Invitrogen | RRID: A21240 |
goat Alexa-568 anti-rabbit | Invitrogen | RRID: A11036 |
Experimental models: Organisms/strains | ||
Canton-S strain | Jefferis lab, originated in Martin Heisenberg lab | CSMH |
lPN-SS: w[1118]; GMR54A11-AD; BJD_115F09 |
gift from Dr Yoshinori Aso | SS01189 |
lvPN-SS: w[1118]; GMR38D01-AD; GMR59G08-DBD |
gift from Dr Mike Dolan | LH467 |
yw, UAS-mCD8-GFP, UAS-mCD8-GFP | MRC Laboratory of Molecular Biology | N/A |
w[1118];20XUAS-opGCaMP6s su(Hw)attP5; |
gift from Yonil Jung,Barrett Pfeiffer, and David Anderson | N/A |
w[1118];20XUAS-opGCaMP6f su(Hw)attP5; |
gift from Yonil Jung,Barrett Pfeiffer, and David Anderson | N/A |
w, Or67d-GAL4;; | BDSC | RRID: BDSC_9998 |
lPN GAL4 w[1118];; GMR24A10-GAL4 |
BDSC | RRID: BDSC_49059 |
il3LN6 GAL4 w[1118];; VT046100-GAL4 |
BDSC | RRID: BDSC_75076 |
W; UAS-Ort; | Liu and Wilson33 | N/A |
VT033066-LexA | Cachero et al.72 | N/A |
w[1118];; GMR53A03-GAL4 | BDSC | RRID: BDSC_38858 (currently not available) |
pC1-SS2: w[1118]; VT002064-p65ADZp in attP2, dsx-DBD | Wang et al.34 | Janelia FlyLight SS59911 |
w[1118], 13XLexAop-IVS-jGCaMP7f su(Hw)attP8;; | BDSC | RRID: BDSC_80910 |
w;; dsx-LexA | Deutsch et al.73 | N/A |
w[1118]; 20XUAS-CsChrimson-mVenus; | BDSC | RRID: BDSC_55135 |
w[1118], UAS-Hid, UAS-Reaper;; | Wang et al.34 | N/A |
AV2a2-SS: w[1118]; GMR30A10-AD; GMR53A03-DBD |
Dolan et al.35 | LH907 |
aSP-g-SS1:w[1118];; GMR76G09-DBD, JK1029-AD | this study | N/A |
w[1118]; P{y[+t7.7] w[+mC]=20XUAS-IVS-GCaMP6f}attP40 | BDSC | RRID: BDSC_42747 |
yw, Or67d-QF;; | Riabinina and Potter74 | N/A |
;QUAS-Kir; | gift from Chris Potter | N/A |
w[1118];; Ir94e-GAL41 | Koh et al.45 | N/A |
w[1118];; Ir94e-GAL42 | Sánchez-Alcañiz et al.46 | N/A |
w[1118]; PBac{y[+t7.7] w[+mC]=20XUAS-IVS-jGCaMP7f}VK00005 | BDSC | RRID: BDSC_79031 |
w[1118]; GMR81A04-LexA; | BDSC | RRID: BDSC_54390 |
aSP-g-SS1: w[1118];;GMR76G09-DBD,JK1029 |
this study | N/A |
aSP-g-SS1/aSP-g-SS2: w[1118];;GMR76G09-DBD,JK1029/GMR81A04-DBD,JK1029 |
this study | N/A |
JK1029, empty-DBD: w[1118]; JK1029,GAL4-DBD.empty control (BPZpGDBD) |
this study | N/A |
w[1118];; fruFLP | Von Philipsborn et al.75 | N/A |
w[1118];;20XUAS> myrTopHat2 > GCaMP6f su(Hw)attP1 |
gift from Yonil Jung,Barrett Pfeiffer, and David Anderson | N/A |
aSP-g-FLP1: w[1118];; 76G09-GAL4, fruFLP |
this study | N/A |
aSP-g-FLP2: w[1118];; 81A04-GAL4, fruFLP |
this study | N/A |
empty-GAL4 FLP: w[1118];; empty-GAL4 (pBDPGAL4Uw), fruFLP |
this study | N/A |
w;; UAS>mCherry>eGFP:Kir2.1 | Watanabe et al.76 | N/A |
aSP-g LexA FLP: w[1118];; 81A04-LexA, fruFLP |
this study | N/A |
13xLexAop>dsFRT>CsChrimson:mVenus;; | Gift from Yoshinori Aso | N/A |
w;; 20xUAS>dsFRT>CsChrimson:mVenus | Takayanagi-Kiya and Kiya77 | N/A |
w;; pJFRC-10xUAS-IVS-eGFP-Kir2.1; | Janelia Research Campus | N/A |
Software and algorithms | ||
R | Open source | RRID:SCR_001905 |
natverse (R package) | Open source, Bates et al.78 | https://github.com/natverse |
MATLAB | MathWorks | RRID:SCR_001622 |
ScanImage 2020 | Vidrio Technologies | RRID:SCR_014307 |
Python | Open source | RRID:SCR_008394 |
CATMAID | Open source, Saalfeld et al.79 |
RRID:SCR_006278 |
Fiji | Open source | RRID:SCR_002285 |
Bonsai | Open source | RRID:SCR_017218 |
DeepLabCut | Open source, Mathis et al.27 | https://deeplabcut.github.io/DeepLabCut |
FicTrac | Open source, Moore et al.80 | https://github.com/rjdmoore/fictrac |
Deposited data | ||
Custom code for connectomics analyses | this study |
https://github.com/jefferislab/2023_cVA_Taisz_Galili https://doi.org/10.5281/zenodo.7853021 |
Image stack from EM neurons for MIP search | this study |
https://github.com/jefferislab/skeleton-to-MIP https://doi.org/10.5281/zenodo.78530219 |
Resource availability
Lead contact
Further information and requests for resources and reagents should be directed to and will be fulfilled by the lead contact, Gregory Jefferis (jefferis@mrc-lmb.cam.ac.uk).
Materials availability
All unique/stable reagents generated in this study are available from the lead contact without restriction.
Experimental model and subject details
Standard techniques were used for fly stock maintenance. Drosophila melanogaster flies for experiments were raised in groups and kept at 25°C in an incubator with a 12 hour light:dark cycle, and grown on iberian Drosophila food. For optogenetic experiments the food was supplemented with 0.4 mM all-trans retinal and flies were kept in the dark. Strains and genotypes for every experiment can be found in Table S2, the age and sex of the flies is described in the method details.
Method details
Split-GAL4 hemidriver combination screening
To find genetic driver lines labeling our cell types of interest our starting point was the EM morphology of a given cell type. After reconstructing neurons in FAFB we registered these to a common template brain, (JRC2018F),81 via the natverse::xform_brain function in R, and wrote an image stack of this registered neuron (see https://github.com/jefferislab/skeleton-to-MIP). To compare this stack with existing images of driver line libraries we used the Color depth MIP mask search ImageJ plugin; first to generate a color-coded 2D intensity projection of the stack, and then to compare this with the MIP images of large driver line libraries from the Janelia FlyLight team.82,83,84,85 We then selected split-GAL4 hemidriver lines labeling our neuron of interest based on the full expression pattern of GAL4 using the same enhancer, and multi-color flip-out (MCFO) labeling of these drivers. Our split-GAL4 lines contain two hemidrivers, the p65ADZp in attP40 and the ZpGAL4DBD in attP2, with a few exceptions where a hemidriver of a non-GMR enhancer was used (JK1029-AD, or dsx-DBD). The selected GAL4 and split-GAL4 line candidates were screened via confocal microscopy by combining the two hemidrivers and a UAS reporter: Enhancer-p65ADZp (attP40); Enhancer-ZpGAL4DBD (attP2) crossed to 20xUAS-CsChrimson::mVenus (attP18) or UAS-CD8::GFP; UAS-CD8::GFP.
Neuron tracing in FAFB
We used a serial section transmission EM volume to sparsely reconstruct the morphology and connectivity of neurons of interest in a female fly brain volume (FAFB).13 Neurons were reconstructed in three ways: 1) fully manual reconstruction (lPN, lvPN, aSP-g): tracing and segment concatenation was done using CATMAID,79 a Web-based environment for working on large image datasets and for tracing of neuronal morphologies. Annotated synapses represent chemical synapses based on previously described criteria. 2) To sample the presynaptic partners of aSP-g neurons we used an automated segmentation of the FAFB dataset with manually annotated presynaptic locations.86 The presynaptic locations were mapped onto the volumetric neuron segments, that allowed us to rank upstream segments by the number of presynapses inside the volume. We traced all upstream segments with more than one presynapse, thereby covering 56% of all inputs to aSP-g neurons. To reconstruct upstream neuron morphologies we concatenated skeletonized versions of the segments as described in Bates et al.78 3) To sample the presynaptic partners of G2N-SLP1 neurons we relied on another automated segmentation of the FAFB dataset, and the related FlyWire proofreading environment.87 We ranked upstream segments by the number of manually marked synaptic locations inside their volume, and all segments containing more than two synapses (75% of all G2N-SLP1 inputs) were reconstructed via merging segments. pC1 reconstructions in FAFB were made publicly available in Wang et al.88
Computational neuroanatomy and connectomic analysis
A dense reconstruction of one third of a female fly brain imaged with FIBSEM (focused ion-beam scanning electron microscopy), referred to as the hemibrain, was used to investigate connectivity in the antennal lobe: for ORNs, il3LN6, PNs.17 The website displaying the data (neuprint.janelia.org) and the natverse R package family (natverse.org) was used to query connectivity information, and to visualize neuron morphologies.78 Neuron identifiers and the number of synaptic connections across cell types from both datasets can be found in Tables S3 and S4. Our group identified neurons in the hemibrain prior to publication and contributed the annotation of all ORNs, PNs, and LH neurons in neuprint.18
To count the number of branches in axon cross sections in il3LN6 (Figure 4K) we used the neuroglancer environment of the respective EM dataset (hemibrain or FAFB-FlyWire), and navigated to the EM section where il3LN6 neurites enter the AL. il3LN6 neurons were previously identified in the hemibrain datasets, and we found the corresponding FAFB neurons based on their morphology. The two il3LN6 from the hemibrain provide two data points on Figure 4K, and the two il3LN6 in FAFB provide four data points (two neurons, two hemispheres). We used a one-sample t-test to test whether the mean number of branches is different from 1–the usual number of branches in a neurite that connects distant parts of fly neurons.
To find third-order neurons downstream of lPNs and lvPNs (Figure S6A) we queried the hemibrain:v1.2.1 dataset displayed at neuprint.janelia.org via the neuprintr R package. We selected downstream cell types for further characterization based on a sliding threshold combining the absolute number and the relative fraction of inputs from a given PN type. Cell types with not more than 10 inputs were excluded, and cell types with more than 50 inputs were included, irrespective of their relative PN input. Cell types between 11 and 50 inputs were included if they were above a slope defined by the following points along the absolute and relative input dimensions: 10 synapses, 4% relative input; 50 synapses, 0.5% relative input. For lPNs this analysis was limited to the LH (thereby excluding cell types that get input from dendritic boutons in the AL, and cell types postsynaptic to lPNs in the mushroom body calyx); for lvPNs this analysis was limited to downstream partners in the LH and SIP. To assign projection pattern based classes (LN, ON, DN), and neurotransmitters to these cell types we partly used previous work from our group.14,18,35 Cell types that were not included in these previous analyses were inspected manually to assign them into projection groups, and a machine learning algorithm was used to predict neurotransmitters based on the ultrastructure of synaptic terminals.36 To classify the third-order cell types by input selectivity we manually inspected the presynaptic neuron pool of each cell type. We inspected presynaptic cell types that provide either more than 0.5% of synaptic inputs or more than 10 synapses to the respective third-order cell type. These presynaptic neurons were sorted into two groups: sensory and higher-order based on their projections. Neurons with dendrites in the SEZ, anterior ventrolateral protocerebrum, or the optic lobes were classified as sensory, as these neuropils are known to relay gustatory, auditory and mechanosensory, and visual information, respectively. If for a given third-order neuron the sensory input from these pathways was more than 25% of its olfactory inputs from uniglomerular PNs we classified it as ‘multimodal’. The remaining third-order cell types were classified as ‘DA1-selective’ if DA1 PNs provided more than 50% of their olfactory inputs, and ‘mixed-olfactory’ if the DA1 PN input was less than that.
For morphological clustering (Figure S7C) we calculated mean NBLAST similarity scores of neuron skeletons (point and line representations) and used Ward’s hierarchical clustering on these scores and expert inspection to find morphological cell types.43
Quantification of dendritic cable in the lateral horn (Figure S7B) was done with the nat R package (natverse.org/nat). Neuron skeletons were resampled at 1 μm, to get an even distribution of nodes throughout the neuronal cable. We pruned these skeletons to dendrites by manually selecting a node on the skeleton before the axon branching, and removing all nodes distal to that. After this we took the number of nodes that were inside the lateral horn, divided by the number of all nodes. For FAFB neurons, we used the LH_L volume (lateral horn left) to define which synapses are inside or outside the LH. For FlyCircuit neurons we used the LH volume of the FCWB reference brain, which is the template that these neurons were registered to in the dataset. For MCFO data, neuron skeletons were traced in Fiji89 with the Simple Neurite Tracer plugin90 and then registered to the IS2 template brain with CMTK–Computational Morphometry Toolkit as described in Cachero et al.11 We used the LH volume of the IS2 template brain to calculate the dendritic cable inside the LH for neurons from MCFO data.
Immunohistochemistry and confocal microscopy
Immunohistochemistry was done as described91 except that the blocking step was overnight at 4°C. Primary antibodies: mouse anti-nc82 (DSHB, AB_2314866) 1:40, chicken anti-GFP (Abcam, ab13970) 1:1000, mouse anti-ChAT4B (DSHB, AB_528122), rabbit anti-GABA (Sigma, A2052). Secondary antibodies: Alexa-568 anti-mouse (Invitrogen) 1:400, Alexa-488 anti-chicken (Invitrogen) 1:400, Alexa-633 anti-mouse (Invitrogen) 1:400, Alexa-568 anti-rabbit (Invitrogen) 1:400.
Prolonged incubation (2-3 days at 4°C) with primary and secondary antibodies was required for homogeneous staining. Specimens were whole mounted in Vectashield (Vector Labs) on charged slides to avoid movement. Confocal stacks were acquired using a Zeiss 780 confocal microscope. Brains were imaged at 768 x 768 pixel resolution every 1 μm (0.46 x 0.46 x 1 μm) using an EC Plan-Neofluar 40x/1.30 oil objective and 0.6 zoom factor. All images were acquired at 16-bit color depth. Maximum projections of z stacks were made in Fiji.89
In vivo calcium imaging and stimulus presentation
Functional imaging experiments of neurons were performed on virgin female or male flies aged 3 to 7 days, containing one copy of codon optimized GCaMP6f, unless other GCaMP is specified. Flies were placed into custom built holders, leaving the head and thorax exposed, under ice anesthesia and secured in place with UV curable glue (Norland Optical Adhesive, NOA 68). Low melting point wax was used for immobilizing the legs and the proboscis. A window was then cut into the head capsule with a 30G needle, and trachea and air sacks were removed with forceps. Fly brains were bathed in external saline adjusted to 275 mM and 7.3 pH, and bubbled with 5% CO2 - 95% O2 mixture. The saline had the following composition (Concentration, mM): NaCl 104.75; KCl 5; NaH2PO4 1; MgCl2.6H2O 1; CaCl2.2H2O 1; NaHCO3 26; TES 5; glucose 10; trehalose 10. The antennae were left under the holder so that they could be exposed to odor stimuli, antennal position was fixed by gentle pressure of the holder on the second antennal segment, except for experiments shown in Figures 3B–3E, S3B, S3C, and S4C. A custom-built setup based on the Sutter (Novato, CA) Movable Objective Microscope with a Zeiss W Plan-Apochromat 20x/1.0 objective was used for the two-photon imaging. A Coherent (Santa Clara, CA) Chameleon Vision Ti-Sapphire provided 900 nm laser excitation, and image acquisition was controlled by Vidrio ScanImage Premium software (Leesburg, VA).92 Image acquisition and stimulus delivery were triggered by a separate computer via Igor Pro software (Wavemetrics, Lake Oswego, OR) running Neuromatic. Images were captured at 7 Hz at 200 x 200 or 140 x 280 pixels, or at 21 Hz, with two bilaterally placed 80 x 80 pixel ROIs.
cVA was delivered via a custom built olfactometer with two odor channels, each equipped with a solenoid valve (SH360T041, Neptune Research). Carrier airflow rate was 600 ml/min and odor channels entered the airstream approximately 3 cm from the fly’s antennae with a flow rate of 200 ml/min, all regulated by separate mass flow controllers (Alicat Scientific Tucson, AZ, MC Series). Clean air from both odor channels was constantly flowing to the fly until a trigger arrived to one of the valves, redirecting the odorized air from waste to the fly. Odors were 10% cVA (Pherobank, CAS: 6186-98-7, product number: 10421) diluted in mineral oil, and the solvent control. The odor path containing cVA had a manual valve between the mass flow controller and the odor bottle that was used to send the air to waste in between presentations to avoid depletion of cVA from the bottle with constant airflow.
When males were used as olfactory stimuli no external airflow was provided. We used 4-8 days old Canton S flies, collected upon hatching and raised in groups of 5-10 individuals. A single male was selected and had its legs and wings removed under ice anesthesia, and glued onto a metal needle with UV-curable glue (Norland Optical Adhesive, NOA 68). The glue was applied onto the proboscis, thorax, and abdomen of the male to inhibit any movement, but the genitalia were left free to avoid covering the regions where cVA is most abundant. When presenting female flies as a stimulus the same procedure was used with 4-8 days old Canton S virgins, reared in groups. For stimulus calibration a female fly was placed in the imaging holder (and later discarded) to position the male relative to the imaged fly’s antennae. A Mini 23 Luigs Neumann micromanipulator was used to move the male, controlled by an SM-5 system from the same manufacturer. The SM-5 was connected to the imaging PC to externally trigger movements of the stimulus fly to defined locations with custom MATLAB scripts. The male, facing up with its genitalia, was positioned manually directly in front of the female’s antennae by the help of a camera equipped with a high magnification lens (FLIR BlackFly S3, and 3.3X Macro Zoom Lens, Computar). The manipulator was zeroed in this position, so that any subsequent movement of the male happened relative to this origin. Male movement via the manipulator and two-photon imaging was triggered as described above. To infer the timing of male movement a camera (same as above) was triggered together with the imaging experiment, and recorded throughout the acquisition at 33 frames per second. The start and end frames for each movement were noted down, and male movement traces were generated based on these time points in R, assuming constant velocity. An IR LED was used for illumination during imaging, and the camera was protected from 2-photon light with an 800 nm short pass filter.
For all stimulus protocols the starting position of the male was 10 mm below the female’s antennae. For single male presentations the male was moved to 0.75 mm distance for 10 s. For speed tuning experiments, the presentation length at lower speeds was shorter, as the time of movement start (both up and down) was kept constant. We used three speeds: 1.41, 4.30, and 8.04 mm/s, which correspond to speed settings 7, 11, and 15 (maximal) on the micromanipulator, respectively. For distance tuning experiments we used ten distances: 5, 3.5, 3, 2.5, 2, 1.5, 1, 0.75, 0.5, 0.25 mm. For each distance the male was moved up for ∼5 s, and then lowered back to the starting positions (10 mm) for ∼12 s. For bilateral presentation experiments the male was moved to 0.5 mm distance in z, and 1.25 mm laterally to one side with respect to the antennae. During bilateral presentation responses from both hemispheres were recorded (with the exception of Figure 4M); for ORNs and lPNs in parallel, for lvPNs sequentially. Individual hemispheres were analyzed separately, this resulted in data points twice the number of imaged flies for experiments with intact antennae, and the same number of data points as flies for antennal block conditions. This way blocking an antenna and recording from both sides again results in one hemisphere with its ipsi-, and one with its contralateral antenna blocked. For 2D spatial coding experiments we used sixteen positions defined by a hexagonal lattice centered around the imaged fly (Figure 5A), and recorded responses in both hemispheres in parallel. The points had a distance of 1, 1.732, or 2 mm from the antennae, and an angular position ranging from +150° at 30° steps. We did not use 180° presentations, as the imaged fly’s body takes up these positions defined by the lattice.
Antennae were blocked in the respective bilateral presentation experiments with Kwik-Sil (World Precision Instruments), a fast curing, low toxicity adhesive. The two components of Kwik-Sil were mixed and a small amount of fumed Silica (Sigma, S5130) was added to speed up curing. The mixture was gently applied on one of the antennae under a dissection scope, with care taken not to touch the other antenna. All flies used for these experiments were imaged with intact antennae prior to the antennal block, and the resulting data both pre and post block is included in the relevant figures and analyses (Figure 4).
Optogenetic stimulation of lvPNs via CsChrimson during pC1 imaging (Figure 1N) was done by a fiber-coupled 617 nm LED (M617F2, Thorlabs, Ely, UK). The light was passed through a 600 nm long-pass filter, to avoid any bleed-through into the imaging PMT (GCaMP emission filter was 525/70 nm band-pass). An optic fiber was placed approximately 0.5 mm away from the fly’s head from below, and the LED was controlled via an external trigger from Igor as described above. The LED stimulated with 50 ms light pulses for 5 s at 10 Hz. To record pC1 activity we imaged a location where only the branches of pC1 neurons are labeled by dsx-LexA: the most medial branches in the ROI marked on Figure 6B. To find this location we collected the reconstructions of all dsx+ neurons in the hemibrain dataset and overlaid them to define a region where pC1 branches are clearly separated and recognizable from the view on the 2P-scope.
Chemogenetic block was performed via expressing the histamine-gated chloride channel, Ort (Figure 4M), under UAS control driven by VT046100-GAL4, a line that labels only il3LN6 neurons in the antennal lobe. The antennal lobe is not innervated by histaminergic neurons, therefore Ort can be used as a specific and potent inhibitor of neural activity when expressed in the AL transgenically.33 The brain was covered in regular saline while recording control responses. After this the saline was swiftly removed with a Venturi pump, and replaced by pipetting 1 ml of 2 mM histamine-chloride (Sigma H7250-5G) diluted in saline. Responses under histamine block were measured three minutes after histamine application. To wash out histamine, the above procedure was repeated twice with imaging saline, and responses were measured three minutes later. We used VT033066-LexA to drive GCaMP expression in lPNs, and imaged their axons in the ventromedial lateral horn. The most medial part of this area contains almost exclusively DA1 lPN axons, however some other PN types (DL3, VA1v, VA1d) that respond to fly odors and are also labeled by this driver line have arbors in the vicinity. This likely contributed to the more sustained responses observed in these experiments.
Functional imaging with a freely moving male fly as a stimulus was performed as described above, only the imaging fly holder was extended with a circular behavioral arena (8.3 mm diameter, 1.5 mm depth) attached to its downward facing side. After exposing the brain of the female fly for imaging, a Canton-S male (4-10 days old) was briefly anesthetized on ice and placed into the arena with a forceps. Then a transparent lid was attached to the holder to cover the arena, and the whole assembly was placed under the objective of the two-photon microscope. For five minutes the male was allowed to recover, during this time two imaging ROIs were selected in the antennal lobe to image the DA1 glomerulus on both sides (this means that for ORNs their axons and for lPN their dendrites were imaged). Male behavior was recorder under IR LED illumination at 30 frames per second with a near infrared camera (GS3-U3-41C6NIR-C, Teledyne FLIR, US) equipped with a 3.3X Macro Zoom Lens (Computar), and an 800 nm short-pass filter to block light from the two-photon laser. A small 617 nm red LED was placed next to the behavioral arena inside the camera’s view to signal the start of the two-photon acquisition with a 0.2 s pulse. Parallel recordings of male behavior and calcium signals were collected in five minute trials, two to four times per fly. These recordings were manually inspected and the one with the most male movement was selected for analysis for every fly. To track the position of the male’s abdomen we used DeepLabCut,27 a convolutional neural network pre-trained for image classification. We manually labeled several body parts, including the male’s abdomen on 150 frames from three behavioral videos. The frames were selected via the built-in k-means clustering method of DeepLabCut to cover many possible orientations of the male. The network was trained for 150,000 iterations and reached a mean pixel error of 4.8 (∼0.04 mm) on the training set and a mean pixel error of 7.6 (∼0.06 mm) on the test set. The resulting x, y position traces were processed in R. In our setup we observed that the confidence of the predictions for a given frame by DeepLabCut predicted tracking errors well. We removed positions with a confidence lower than 0.7 and used a linear interpolation to replace them with the imputeTS::na_interpolation function. The resulting traces were downsampled to the imaging sampling rate (7.2 Hz) and gently smoothed with the same low-pass filter that was also used for calcium traces. In brief periods the male’s abdomen faced away from the female and towards the camera. We believe in these cases the male’s wings created an “odor shadow” between the abdomen and the antennae, uncharacteristic of behaviorally relevant configurations, rendering neuronal responses smaller. These periods were manually excluded from any further analysis. To find the lag with maximal cross-correlation between the calcium signal (the bilateral sum) and male abdominal distance (relative to the female’s antennae) we used the tseries::ccf function. To relate bilateral responses and the male’s angular direction we calculated the difference between the right and the left ΔF/F0 and compared their distribution when the male was either on the left or on the right of the female fly. Left: -90° to -15°, right: +15° and +90°, with 0° being in front.
In vivo labellar stimulation and Calcium imaging
Flies used in these experiments were reared on a yeast-based medium as described in Carvalho-Santos et al.93 Labellar stimulation experiments (Figures 7D and 7E) were performed on virgin female flies aged 2 to 7 days, expressing GCaMP7f under the control of Ir94e-GAL4.2 Flies were fixed to a custom-built acrylic block using UV curable glue (Bondic, Niagara Falls, New York, US). The proboscis was extended using a blunt needle (B30-50; SAI Infusion, Faridabad, Haryana, India) attached to a vacuum pump (N86KN.18; KNF DAC GmbH, Hamburg, Germany) and fixed in an extended position by carefully applying UV curing glue only to the proximal part of the proboscis using an insect pin, such that the labellum could move freely. The front legs were removed to prevent flies from touching the stimulus. The anterior part of the head capsule was placed through a hole in a plastic weigh boat that was fixed on top of the fly. The space between the head and the weigh boat was sealed with UV curable glue. The head capsule was covered with carbogenated (95 % O2, 5 % CO2) adult hemolymph-like saline of the following composition (Concentration, mM): NaCl 103; KCl 3; TES 5; trehalose dihydrate 10; glucose 10; sucrose 2; NaHCO3 26; CaCl2 dihydrate 2; MgCl2 hexahydrate 4; NaH2PO4 1; pH 7.3). A window was cut between the eyes and the ocelli, thereby removing the antennae. Trachea covering the brain were removed and the esophagus was transected to allow for unoccluded visual access to the SEZ.
Image acquisition was performed using a resonant-scanning two-photon microscope (Scientifica, UK). The system was equipped with a 20x/1.0 water immersion objective (Olympus, Japan), controlled by a piezo-electric z-focus, allowing for fast volumetric scans. A Chameleon Ultra II Ti:Sapphire laser (Coherent, Santa Clara, CA, USA) was used to excite GCaMP7f at 920 nm. Imaging data were acquired using SciScan (Scientifica, UK). 60 s recordings of the SEZ volume were performed at 1 Hz volume rate covering 512 × 256 × 60 voxels at voxel dimensions of ∼0.5 × 0.5 × 3.6 μm. Scanning was performed in sawtooth mode and 5 z-planes acquired during flyback were removed. During imaging, the brain was constantly perfused with saline bubbled with carbogen (95 % O2, 5 % CO2).
Female and male virgin flies aged 1 to 7 days were glued onto metal needles for stimulations as described above. Water and NaCl (100 mM) stimuli were presented using glass capillaries. Capillaries (GC15F-10, Harvard Apparatus, Edenbridge, Kent, UK) were pulled using a laser pipette puller (P2000; Sutter, Novato, CA, USA) to have a blunt end and an inner diameter fitting the fly proboscis. 200 mL pipette tips were cut to fit the glass capillaries and sealed with Parafilm (Amcor, Zürich, Switzerland). Stimuli were positioned in front of the fly proboscis using a micromanipulator (Sensapex, Finland). Positioning and stimulation were performed under visual control using a PointGrey Flea3 camera and a custom Bonsai script.94 All stimuli were prepared in MilliQ water (Merck KgaA, Darmstadt, Germany). During imaging, two taste stimulations were performed by touching the proboscis with the respective stimulus at 10-15 s and 20-30 s.
Calcium imaging quantification and statistical analyses
Images were registered in x and y with the NoRMCorre algorithm implemented in MATLAB using the signal channel95 https://github.com/flatironinstitute/NoRMCorre. Flies with notable movement in the z axis were removed from analysis. Image analysis was performed with custom scripts written in R employing the open source scanimage package (see https://github.com/jefferis/scanimage). To calculate ΔF/F0 we defined F0 as the mean fluorescence value of frames between 1 s after the start of the imaging sweep until the start of the stimulus. ΔF/F0 traces were gently smoothed with a low-pass Butterworth filter, except for speed tuning experiments (Figure 6). For distance and angular tuning curves, ΔF/F0 values were normalized by the largest value from a given ROI over an experiment. Response maxima and means were calculated in R.
Distance tuning curves were calculated based on the mean normalized response maxima to a given male distance, and fitted with a sigmoid curve. Curve fitting was done with nonlinear least squares method, self-started by a logistic function and parameters from the data in R (Figures 2D–2F). We compared peak responses to a 10 s presentation across the three imaged fly–presented fly sex pairings (female to male, male to male, female to female) for a given cell type (lPN, lvPN) with Kruskall-Wallis test. This was followed by pairwise Wilcoxon-test with Benjamini-Hochberg correction for multiple comparisons (Figures 2H, 2I, and S2C).
For bilateral presentation experiments (Figures 3 and 4) the mean values of normalized traces were taken from six responses for all imaging ROIs. These data were checked for normality (Shapiro-Wilk’s test), and the variance of responses to ipsilateral and contralateral presentations were compared with F-test. If a condition passed both tests (p > 0.05), unpaired t-test was used to test the statistical significance of response differences to ipsi- and contralateral presentations. Where either condition failed (normality, or equal variance), Wilcoxon-test was used instead. To compare bilateral contrast, we took the difference between the mean ipsilateral and the mean contralateral response for a given ROI. To compare differences in bilateral contrast across cell types (Figure 4F) we used Kruskall-Wallis test, followed by pairwise Wilcoxon tests, with Benjamini-Hochberg correction for multiple comparisons. To compare bilateral contrast before, during, and after blocking il3LN6 we used Friedman-test, followed by pairwise paired Wilcoxon tests, with Benjamini-Hochberg correction for multiple comparisons (Figure 4N).
For 2D positional coding experiments we used a hexagonal lattice centered around the imaged fly to define male positions, thereby sampling 2D space at equal distances between neighboring stimulus positions. This resulted in three possible distances from the imaged fly’s antennae: 1, 1.732, and 2 mm, and eleven angular positions (30° steps between -150° to +150° with 0° being frontal to the imaged fly). To create the angular tuning curves of left and right lPNs we used a fixed distance (1.732 mm), for which mean responses at six angular positions were recorded directly, and mean responses at five positions were linearly interpolated based on mean responses to 1 mm and 2 mm presentations at these angles. A single multivariate linear model was used to predict the x and y position (equal to the cosine and sine of the angular position on a unit circle, respectively) of the male based on the difference and the sum of right and left lPN responses. Based on these predictions of x and y position the angular position was calculated and compared with the actual angular position to get prediction errors in degrees and mm (Figures 5G, S5A, and S5B).
For speed dependence experiments, mean response maxima from six trials per fly were compared by Friedman-test to assess if male approach speed had a significant effect on responses. Where the Friedman-test rejected the null-hypothesis (AV2a2) it was followed by paired Wilcoxon-test for pairwise comparisons across speeds with Benjamini-Hochberg correction for multiple comparisons (Figure 6). All analyses were done in R.
Representative 2-photon images with inverted grayscale pixels were made in Fiji; Figures 4G and S2B.89
Calcium imaging data of labellar stimulations were motion corrected using 3dvolreg from the afni toolkit.96 Volumes were then filtered using a 3×3×3 px gaussian filter, and collapsed to 2D by performing a maximum intensity projection in python. Using Fiji, circular ROIs were manually drawn around the four Ir94e projection areas in the SEZ, and average time-series information was extracted. ΔF/F0 was then calculated in R and the data was normalized to the maximum value within a fly. Mean values were calculated by averaging ΔF/F0 during stimulation (10-30 s). Stimulus elicited responses were compared using Tukey's honest significance test.
Courtship assay, aggression, and behavioral analysis
An assay modified from Hoopfer et al.66 was used to measure male courtship, female receptivity, male-male aggression and female-female aggression. For courtship and receptivity experiments, 4-8 day old virgin flies of the experimental genotype, raised in groups of 20 same-sex flies, and 4-8 day old virgin Canton S partners of the opposite sex were placed with gentle aspiration in a transparent behavioral plate with eight chambers, 16 mm in diameter x 12 mm height, equipped with sliding separators. For aggression experiments, two experimental virgin males or females from the same genotype were taken from separate vials. Walls were covered with teflon-like material (polytetrafluorethylene, Sigma-Aldrich 665800-100ml) and the lid was covered with Sigma-coat (Sigma-Aldrich SL2-100ml) to prevent flies from climbing and holding onto the walls and lid. The plate was placed into a 23°C incubator and males and females were allowed to habituate to the chamber for a few minutes after transfer. The separators were removed upon the start of the experiment, and flies behaved and interacted freely in the chambers. The behavioral plate was backlit with homogenous IR light from an LED panel (850 nm), and a FLIR Grasshopper 3 camera (GS3-U3-41C6NIR-C) was used to record behavior for 20 minutes at 30 frames per second. For some experiments, bright or dim ambient light was provided to the flies to stimulate courtship by the males, while other experiments were done in complete darkness (see figures for light conditions: light on, dim, or darkness). For complete darkness, we used a spectrometer (Thorlab CCS100) to verify that there was no detectable light emission from the 850nm IR illumination in the visible range of the flies. The intensity of the ambient light was adjusted in experiments for a given cell type manipulation for all conditions, to set the baseline level of courtship and copulation. This was necessary to avoid situations where genetic controls mated immediately, in which case a receptivity increase by a manipulation could not be detected due to a ceiling effect.
Video files were converted to a compressed format (micro-Fly Movie Format, ufmf97) and fly positions were tracked with FlyTracker software.98 Tracking data was fed into a JAABA analysis pipeline with custom behavioral classifiers, also detecting the time of mating.99 We trained classifiers for mating, wing extension (as proxy for male courtship, Figures 1H, 1J, 1M, and 1O), lunges (as proxy for male aggression, Figures 1L and 1M), and wing threats (as proxy for female aggression, Figures 7I, S1D, and S1G; Video S3). Trained classifiers were tested with ground truth data until high accuracy was achieved compared to an expert annotator. Mating was defined when both flies in the chamber were classified as mating for at least 30s, and mating events were eventually manually checked and corrected for errors. Tracking errors were removed by removing data points in which the velocity was greater than 25 mm/s, or where the orientation of the fly changed by more than 400 degrees/s. Survival analysis of mating latency, followed by log-rank test, was used to test statistical significance of differences in latency to copulation. When multiple comparisons were made, it was followed by post-hoc Benjamini-Hochberg corrections. Data processing was done in MATLAB, statistical analyses were done in R with the survminer package (https://rpkgs.datanovia.com/survminer/index.html).
For neuronal manipulations we used driver lines specific to the neuron of interest and expressed an actuator (UAS-CsChrimson) or a pair of apoptosis promoting proteins (UAS-Hid, UAS-Reaper) to genetically ablate neurons. The same LED panel that provided IR light was equipped with 627 nm LEDs as well to activate CsChrimson. The activation LEDs provided light intensity of 8 μW/mm2. For most experiments we used pulsed activation: 5 s long periods of 50 ms light pulses at 10 Hz, separated by 5 s no light, throughout behavior. For female aSP-g activation and for male-male PN activation we used constant light for the duration of the recording. Ambient light inside the incubator was either off or on, see figures. Kir2.1 and genetic ablation via Hid and Reaper were constitutively expressed. Genetic controls carried an empty GAL4 insertion (or split-GAL4, where a split-GAL4 line was used) at the same landing site where the driver was inserted (attP2 for GAL4 lines, and attP40 and attP2 for split-GAL4 hemidrivers), crossed to the same UAS or LexAop effector as experimental groups. Other studies have established that there is some leaky expression with the empty split-GAL4. However, in our hands, there is no difference in the measured behaviors between empty-split GAL4 x UAS-CsChrimson and other genetic controls crossed to UAS-CsChrimson used in this study (e.g. Figures 6L, 6M, and 7F). For cases where a non-GMR or non-VT hemidriver was used (JK1029-AD, Figure 7), the genetic control carried this transgene together with an empty-DBD. See key resources table for fly stocks and Table S2 for exact genotypes.
Opposite sex preference (Figures 2J–2O)
4-8 old days wildtype (Canton S strain) stimulus flies were anesthetized on ice and decapitated, then waxed onto 16 mm courtship chambers (same chambers as courtship assay), 4 mm from one side. Experimental virgin flies were raised in groups of 20, as described above, then individuals were gently aspirated into the chambers, and kept separate from the stationary fly until sliding bars were opened at the start of the recording. Fly behavior in complete darkness was tracked for 20 minutes with Caltech FlyTracker as above, and tracked features including body center coordinates, velocity, and direction of the single live fly were used to analyze fly behavior. Data processing, plots and statistical analysis were done with custom scripts in MATLAB, boxplots in Figures 1 and 7 were produced in R. For OSP calculation (Figures 2L–2O) and heat maps of time spent in each 1 mm2 bin (Figure S2C), we excluded frames where the fly was less than 2 mm away from the rims, where tracking is suboptimal due to flies potentially climbing on the walls.
Relative Orientation behavior (Figures 3A and S3A)
Pairs of flies were inserted into the courtship assay as stated above. Experimental virgin males or females were raised for 4-8 days in same-sex groups of 20, as described above. 24 to 48 hours prior to the experiment, the right antenna (antenna group) or the right arista (intact group) of the manipulated flies was gently removed with tweezers while flies were anesthetized on CO2. During the experiment, flies were gently aspirated into the courtship chambers, and kept separate from each other until sliding bars were opened at the start of the recording. The free behavior of both flies in complete darkness was tracked for 20 minutes with Caltech FlyTracker as above, and tracked features including body center coordinates, velocity, and direction were used to analyze fly behavior. For relative orientation, either pairs of manipulated females and wildtype males, or pairs of two manipulated males were recorded. In pairs that mated, all frames after mating initiation were removed. We also excluded frames where the fly was less than 2 mm away from the rims, where tracking is suboptimal due to flies potentially climbing on the walls. For relative orientation (Figures 3A and S3A), we measured the relative orientation between a manipulated receiver fly (male or female) and a stimulus male during turn initiation, when the stimulus male was inside the cVA sensation range. We defined cVA sensation range as distance smaller than 5 mm between receiver fly antennae and stimulus male abdomen; and greater than 2 mm between the centroids of both flies (Figure 3A, middle illustration). We defined turn initiation when angular velocity became greater than 60°/s, with at least 1 s gap between consecutive turns, excluding turns made within and during 30 s after the distance between fly centroids became greater than 2 mm, to exclude possible effects on relative orientation due to tactile communication, or memory of such communication. We also excluded turns in which the change in facing angle was disproportionately greater than the angular velocity: there is usually a high correlation between those parameters, unless the receiver fly passed close to the stimulus fly without changing its direction. We defined the cases to remove when the distance between delta facing angle to the correlation line was greater than 3 standard deviations away from the correlation line.
After collecting turning events (within range and angular velocity greater than 60°/s, with at least 1s separation between consecutive events), we asked how was the receiver fly oriented in relation to the stimulus male during turn initiation. We used the relative x,y coordinates between receiver and stimulus flies to calculate the relative orientation θ, and used the inverse tangent of the polar coordinates to transform θ angles from world coordinates to self coordinates (using atan matlab function). The relative locations of the stimulus male (Figure S3A) were binned by angle and the relative orientations are presented as a polar histogram (Figure 3A). Statistical analysis: we used Matlab Circular Statistics Toolbox by Philip Berens (https://www.mathworks.com/matlabcentral/fileexchange/10676-circular-statistics-toolbox-directional-statistics, MATLAB Central File Exchange)100 to calculate the resultant vector medians, and a non-parametric variation to Watson-Williams, a circular analogue of the Kruskal-Wallis test, to assess whether the median directions of antenna and intact groups are identical or not.
Credit for fly images used for range illustration in Figure 3A: Copyright Malcolm Storey / www.discoverlife.org, used according to published policy.
Spherical treadmill and male presentation (Figures 3F and S3D)
Canton-S virgin female flies (4-10 days old) were briefly anesthetized on ice and placed in a cooled metal holder with forceps, where a slightly bent 30G needle was attached to their thorax with UV-curable glue (Norland Optical Adhesive, NOA 68). Flies were attached via the needle to a syringe that could be precisely positioned above the treadmill with a mechanical micromanipulator (MM-3, Narishige, Japan). We placed the flies this way onto a styrofoam ball (9 mm in diameter) housed in a 3D-printed holder with a path in its center allowing the ball to be suspended by constant airflow. After five minutes the movement of the flies was manually assessed, and only active flies with good control of the ball were used in experiments. Stimulus males were mounted as described above, except this time males faced head first towards the female on the ball. Males were moved via the same micromanipulator system as for calcium imaging experiments at maximal speed (8 mm/s). For lateral presentations males were moved to 6 mm distance at 90° angular direction relative to the female and then laterally approached the female. The movement stopped at 1.5 mm distance with the male’s abdomen laterally aligned with the female’s antennae. This stimulation was performed both with ambient light on and off inside the behavioral compartment (the same box that houses the two-photon microscope used in male presentation experiments). The male was changed to a fly-sized odorless piece of black plastic to be presented as a dummy stimulus in darkness. Fly behavior was recorded at 50 frames per second under IR illumination with a PointGrey Grasshopper 3 near infrared camera (GS3-U3-41C6NIR-C, Teledyne FLIR, US) equipped with a 3.3X Macro Zoom Lens (Computar) and tracked in real time with FicTrac.80 The spherical treadmill was painted with black shapes to create a surface that is distinguishable from all directions. The image of the ball is processed in FicTrac to build a 2D map of the ball’s surface and calculate the rotation of the ball along three axes. These axes were configured to align with the female fly’s forward-backward movement, left-right lateral movement, and left-right rotation (turning, data shown in Figure S3D). We conducted 20 trials / fly in each condition, in all trials the male was presented once on each side of the female. The resultant data from FicTrac was analyzed in R. We only analyzed trials when the fly initiated a movement upon the stimulus. Trials were removed if the fly did not move in a peristimulus window, or when the fly was moving throughout the whole period. When the 95th percentile of the fly’s speed in all three axes was below 0.75 mm/s throughout the trial it was considered as a trial without movement. When the fly’s speed did not reach below 0.25 mm/s in a window before or during the stimulus it was considered a constant movement trial. Traces were aligned to the time of movement initiation, and lateral displacement was calculated in the first second after movement based on the integrated displacement from lateral movement, and/or rotational movement followed by movement along the forward/backward axis. The mean lateral displacement during left vs. right male presentation trials was statistically compared with a permutation test (Asymptotic General Independence Test; R coin::independence test).
Quantification and statistical analysis
Statistical analyses for all experiments are described in the figure legends, the method details, and in Table S1. Biological Replicates were collected across multiple days, without blinding to the conditions/genotype. Flies were excluded if they were unintentionally damaged during the process of transferring or dissection. In all social behavior experiments, the order of stimulus presentation or conditions were pseudo-randomized. For statistical testing, data were checked for normality (Shapiro-Wilk’s test) and compared for variance (F-test) to determine whether the data met the assumptions for parametric tests, otherwise we used non-parametric tests, see method details and Table S1.
Acknowledgments
We are grateful to K. Eichler, S. Hampel and A. Seeds, and C.H. Kang and J. Kim for their contributions to tracing FlyWire Ir94e GRNs and to M.W. Pleijzier for help with cell type annotations in FlyWire. We thank Y. Aso, M. Dolan, Y. Jung, B. Pfeiffer, D. Anderson, and C. Potter for sharing unpublished fly stocks, and R. Wilson, R. Benton, J. Carlson, B. Dickson, R. Yang, M. Murthy, D. Deutsch, T. Kiya, and the Bloomington Stock Center for fly stocks; K. Asahina, E. Hoopfer and D. Anderson for advice on behavioral paradigm and providing blueprints for mating chambers; J.-C. Billeter for sharing protocols; R. Wilson, B. Hedwig, and members of the Fly Module led by G. Maimon at the Woods Hole NS&B course for helpful discussions, S. Holtz for advice on pharmacology and spherical treadmill experiments; members of the Jefferis group, K. Vogt, R. Benton, T. Branco, and J. Kohl for comments on the manuscript. This work was supported by an ERC Consolidator grant (649111), core support from the UKRI Medical Research Council (MC-U105188491), NeuroNex2 (2014862) and a Wellcome Trust Collaborative Award (203261/Z/16/Z) to G.S.X.E.J.; Marie Curie individual (H2020-IF-748478) and EMBO long-term (ALTF 164-2016) fellowships to D.S.G.; EMBO long-term (ALTF 462-2015) and Sir Henry Wellcome Postdoctoral (110232/Z/15/Z) fellowships to E.D.; “la Caixa” Banking Foundation (LCF/PR/HR17/52150002), FCT-Fundação para a Ciência e Tecnologia (PTDC/MED-NEU/4001/2021) and Fundação Champalimaud for C.R. and D.M.
Author contributions
Conceptualization, I.T., D.S.G., and G.S.X.E.J.; methodology, I.T., D.S.G., and G.S.X.E.J.; writing, I.T., D.S.G., and G.S.X.E.J.; investigation, I.T., D.S.G., E.D., D.M., S.N.B., B.J.M., K.I.M., K.M.S., I.V.-M., and M.G.; visualization, P.S.; resources, C.R. and G.S.X.E.J.; supervision, G.S.X.E.J., C.R., and D.S.G.; funding acquisition, G.S.X.E.J. and C.R.
Declaration of interests
The authors declare no competing interests.
Inclusion and diversity
One or more of the authors of this paper self-identifies as an underrepresented ethnic minority in their field of research or within their geographical location. We support inclusive, diverse, and equitable conduct of research.
Published: May 25, 2023
Footnotes
Supplemental information can be found online at https://doi.org/10.1016/j.cell.2023.04.038.
Contributor Information
Gregory S.X.E. Jefferis, Email: jefferis@mrc-lmb.cam.ac.uk.
Dana S. Galili, Email: dgalili@mrc-lmb.cam.ac.uk.
Supplemental information
Data and code availability
-
•
Data: This paper contains analyses that used existing, publicly available data. The identifiers for the datasets are also listed in the key resources table. Reconstructed EM skeletons were deposited in http://www.virtualflybrain.org/. Raw image data (confocal stacks, calcium imaging), and behavior videos will be provided upon request from the lead contact.
-
•
Code: All original code has been deposited at https://github.com/jefferislab/2023_cVA_Taisz_Galili and at https://github.com/jefferislab/skeleton-to-MIP and is publicly available as of the date of publication. DOIs are listed in the key resources table.
-
•
Additional information: Any additional information required to reanalyze the data reported in this work is available from the lead contact upon request.
References
- 1.Von Békésy G. Olfactory analogue to directional hearing. J. Appl. Physiol. 1964;19:369–373. doi: 10.1152/jappl.1964.19.3.369. [DOI] [PubMed] [Google Scholar]
- 2.Baker K.L., Dickinson M., Findley T.M., Gire D.H., Louis M., Suver M.P., Verhagen J.V., Nagel K.I., Smear M.C. Algorithms for olfactory search across species. J. Neurosci. 2018;38:9383–9389. doi: 10.1523/JNEUROSCI.1668-18.2018. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 3.Goodale M.A., Milner A.D. Separate visual pathways for perception and action. Trends Neurosci. 1992;15:20–25. doi: 10.1016/0166-2236(92)90344-8. [DOI] [PubMed] [Google Scholar]
- 4.Kurtovic A., Widmer A., Dickson B.J. A single class of olfactory neurons mediates behavioural responses to a Drosophila sex pheromone. Nature. 2007;446:542–546. doi: 10.1038/nature05672. [DOI] [PubMed] [Google Scholar]
- 5.Wang L., Anderson D.J. Identification of an aggression-promoting pheromone and its receptor neurons in Drosophila. Nature. 2010;463:227–231. doi: 10.1038/nature08678. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 6.Auer T.O., Benton R. Sexual circuitry in Drosophila. Curr. Opin. Neurobiol. 2016;38:18–26. doi: 10.1016/j.conb.2016.01.004. [DOI] [PubMed] [Google Scholar]
- 7.Li Y., Dulac C. Neural coding of sex-specific social information in the mouse brain. Curr. Opin. Neurobiol. 2018;53:120–130. doi: 10.1016/j.conb.2018.07.005. [DOI] [PubMed] [Google Scholar]
- 8.Brieger G., Butterworth F.M. Drosophila melanogaster: identity of male lipid in reproductive system. Science. 1970;167 doi: 10.1126/science.167.3922.1262. [DOI] [PubMed] [Google Scholar]
- 9.Datta S.R., Vasconcelos M.L., Ruta V., Luo S., Wong A., Demir E., Flores J., Balonze K., Dickson B.J., Axel R. The Drosophila pheromone cVA activates a sexually dimorphic neural circuit. Nature. 2008;452:473–477. doi: 10.1038/nature06808. [DOI] [PubMed] [Google Scholar]
- 10.Ruta V., Datta S.R., Vasconcelos M.L., Freeland J., Looger L.L., Axel R. A dimorphic pheromone circuit in Drosophila from sensory input to descending output. Nature. 2010;468:686–690. doi: 10.1038/nature09554. [DOI] [PubMed] [Google Scholar]
- 11.Cachero S., Ostrovsky A.D., Yu J.Y., Dickson B.J., Jefferis G.S.X.E. Sexual dimorphism in the fly brain. Curr. Biol. 2010;20:1589–1601. doi: 10.1016/j.cub.2010.07.045. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 12.Kohl J., Ostrovsky A.D., Frechter S., Jefferis G.S.X.E. A bidirectional circuit switch reroutes pheromone signals in male and female brains. Cell. 2013;155:1610–1623. doi: 10.1016/j.cell.2013.11.025. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 13.Zheng Z., Lauritzen J.S., Perlman E., Robinson C.G., Nichols M., Milkie D., Torrens O., Price J., Fisher C.B., Sharifi N., et al. A complete electron microscopy volume of the brain of adult Drosophila melanogaster. Cell. 2018;174:730–743.e22. doi: 10.1016/j.cell.2018.06.019. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 14.Bates A.S., Schlegel P., Roberts R.J.V., Drummond N., Tamimi I.F.M., Turnbull R., Zhao X., Marin E.C., Popovici P.D., Dhawan S., et al. Complete connectomic reconstruction of olfactory projection neurons in the fly brain. Curr. Biol. 2020;30:3183–3199.e6. doi: 10.1016/j.cub.2020.06.042. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 15.Marin E.C., Jefferis G.S.X.E., Komiyama T., Zhu H., Luo L. Representation of the glomerular olfactory map in the Drosophila brain. Cell. 2002;109:243–255. doi: 10.1016/s0092-8674(02)00700-6. [DOI] [PubMed] [Google Scholar]
- 16.Wong A.M., Wang J.W., Axel R. Spatial representation of the glomerular map in the drosophila protocerebrum. Cell. 2002;109:229–241. doi: 10.1016/s0092-8674(02)00707-9. [DOI] [PubMed] [Google Scholar]
- 17.Scheffer L.K., Xu C.S., Januszewski M., Lu Z., Takemura S.-Y., Hayworth K.J., Huang G.B., Shinomiya K., Maitlin-Shepard J., Berg S., et al. A connectome and analysis of the adult central brain. eLife. 2020;9 doi: 10.7554/eLife.57443. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 18.Schlegel P., Bates A.S., Stürner T., Jagannathan S.R., Drummond N., Hsu J., Serratosa Capdevila L., Javier A., Marin E.C., Barth-Maron A., et al. Information flow, cell types and stereotypy in a full olfactory connectome. eLife. 2021;10 doi: 10.7554/eLife.66018. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 19.Klapoetke N.C., Murata Y., Kim S.S., Pulver S.R., Birdsey-Benson A., Cho Y.K., Morimoto T.K., Chuong A.S., Carpenter E.J., Tian Z., et al. Independent optical excitation of distinct neural populations. Nat. Methods. 2014;11:338–346. doi: 10.1038/nmeth.2836. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 20.Billeter J.-C., Atallah J., Krupp J.J., Millar J.G., Levine J.D. Specialized cells tag sexual and species identity in Drosophila melanogaster. Nature. 2009;461:987–991. doi: 10.1038/nature08495. [DOI] [PubMed] [Google Scholar]
- 21.Clowney E.J., Iguchi S., Bussell J.J., Scheer E., Ruta V. Multimodal chemosensory circuits controlling male courtship in Drosophila. Neuron. 2015;87:1036–1049. doi: 10.1016/j.neuron.2015.07.025. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 22.Tachibana S.-I., Touhara K., Ejima A. Modification of male courtship motivation by olfactory habituation via the GABAA receptor in Drosophila melanogaster. PLoS One. 2015;10 doi: 10.1371/journal.pone.0135186. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 23.Bhandawat V., Olsen S.R., Gouwens N.W., Schlief M.L., Wilson R.I. Sensory processing in the Drosophila antennal lobe increases reliability and separability of ensemble odor representations. Nat. Neurosci. 2007;10:1474–1482. doi: 10.1038/nn1976. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 24.Larsson M.C., Domingos A.I., Jones W.D., Chiappe M.E., Amrein H., Vosshall L.B. Or83b encodes a broadly expressed odorant receptor essential for Drosophila olfaction. Neuron. 2004;43:703–714. doi: 10.1016/j.neuron.2004.08.019. [DOI] [PubMed] [Google Scholar]
- 25.Sun Y., Qiu R., Li X., Cheng Y., Gao S., Kong F., Liu L., Zhu Y. Social attraction in Drosophila is regulated by the mushroom body and serotonergic system. Nat. Commun. 2020;11 doi: 10.1038/s41467-020-19102-3. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 26.Kaftan F., Kulkarni P., Knaden M., Böcker S., Hansson B.S., Svatoš A. Drosophila melanogaster chemical ecology revisited: 2-D distribution maps of sex pheromones on whole virgin and mated flies by mass spectrometry imaging. BMC Zool. 2020;5 doi: 10.1186/s40850-020-00053-7. [DOI] [Google Scholar]
- 27.Mathis A., Mamidanna P., Cury K.M., Abe T., Murthy V.N., Mathis M.W., Bethge M. DeepLabCut: markerless pose estimation of user-defined body parts with deep learning. Nat. Neurosci. 2018;21:1281–1289. doi: 10.1038/s41593-018-0209-y. [DOI] [PubMed] [Google Scholar]
- 28.Borst A., Heisenberg M. Osmotropotaxis in Drosophila melanogaster. J. Comp. Physiol. 1982;147:479–484. doi: 10.1007/BF00612013. [DOI] [Google Scholar]
- 29.Gaudry Q., Hong E.J., Kain J., de Bivort B.L., Wilson R.I. Asymmetric neurotransmitter release enables rapid odour lateralization in Drosophila. Nature. 2013;493:424–428. doi: 10.1038/nature11747. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 30.Agarwal G., Isacoff E. Specializations of a pheromonal glomerulus in the Drosophila olfactory system. J. Neurophysiol. 2011;105:1711–1721. doi: 10.1152/jn.00591.2010. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 31.Stocker R.F., Singh R.N., Schorderet M., Siddiqi O. Projection patterns of different types of antennal sensilla in the antennal glomeruli of Drosophila melanogaster. Cell Tissue Res. 1983;232:237–248. doi: 10.1007/BF00213783. [DOI] [PubMed] [Google Scholar]
- 32.Tobin W.F., Wilson R.I., Lee W.-C.A. Wiring variations that enable and constrain neural computation in a sensory microcircuit. eLife. 2017;6 doi: 10.7554/eLife.24838. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 33.Liu W.W., Wilson R.I. Transient and specific inactivation of Drosophila neurons in vivo using a native ligand-gated ion channel. Curr. Biol. 2013;23:1202–1208. doi: 10.1016/j.cub.2013.05.016. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 34.Wang F., Wang K., Forknall N., Patrick C., Yang T., Parekh R., Bock D., Dickson B.J. Neural circuitry linking mating and egg laying in Drosophila females. Nature. 2020;579:101–105. doi: 10.1038/s41586-020-2055-9. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 35.Dolan M.-J., Frechter S., Bates A.S., Dan C., Huoviala P., Roberts R.J.V., Schlegel P., Dhawan S., Tabano R., Dionne H., et al. Neurogenetic dissection of the Drosophila lateral horn reveals major outputs, diverse behavioural functions, and interactions with the mushroom body. eLife. 2019;8 doi: 10.7554/eLife.43079. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 36.Eckstein N., Bates A.S., Du M., Hartenstein V., Jefferis G.S.X., Funke J. 2020. Neurotransmitter classification from electron microscopy images at synaptic sites in Drosophila. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 37.Yu J.Y., Kanai M.I., Demir E., Jefferis G.S.X.E., Dickson B.J. Cellular organization of the neural circuit that drives Drosophila courtship behavior. Curr. Biol. 2010;20:1602–1614. doi: 10.1016/j.cub.2010.08.025. [DOI] [PubMed] [Google Scholar]
- 38.Zhou C., Pan Y., Robinett C.C., Meissner G.W., Baker B.S. Central brain neurons expressing doublesex regulate female receptivity in Drosophila. Neuron. 2014;83:149–163. doi: 10.1016/j.neuron.2014.05.038. [DOI] [PubMed] [Google Scholar]
- 39.Deutsch D., Pacheco D., Encarnacion-Rivera L., Pereira T., Fathy R., Clemens J., Girardin C., Calhoun A., Ireland E., Burke A., et al. The neural basis for a persistent internal state in females. eLife. 2020;9 doi: 10.7554/eLife.59502. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 40.Schretter C.E., Aso Y., Robie A.A., Dreher M., Dolan M.J., Chen N., Ito M., Yang T., Parekh R., Branson K.M., et al. Cell types and neuronal circuitry underlying female aggression in Drosophila. eLife. 2020;9 doi: 10.7554/eLife.58942. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 41.Klapoetke N.C., Nern A., Peek M.Y., Rogers E.M., Breads P., Rubin G.M., Reiser M.B., Card G.M. Ultra-selective looming detection from radial motion opponency. Nature. 2017;551:237–241. doi: 10.1038/nature24626. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 42.Ache J.M., Polsky J., Alghailani S., Parekh R., Breads P., Peek M.Y., Bock D.D., von Reyn C.R., Card G.M. Neural basis for looming size and velocity encoding in the drosophila giant fiber escape pathway. Curr. Biol. 2019;29:1073–1081.e4. doi: 10.1016/j.cub.2019.01.079. [DOI] [PubMed] [Google Scholar]
- 43.Costa M., Manton J.D., Ostrovsky A.D., Prohaska S., Jefferis G.S.X.E. NBLAST: rapid, sensitive comparison of neuronal structure and construction of neuron family databases. Neuron. 2016;91:293–311. doi: 10.1016/j.neuron.2016.06.012. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 44.Münch D., Galizia C.G. DoOR 2.0--comprehensive mapping of Drosophila melanogaster odorant responses. Sci. Rep. 2016;6 doi: 10.1038/srep21841. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 45.Koh T.-W., He Z., Gorur-Shandilya S., Menuz K., Larter N.K., Stewart S., Carlson J.R. The Drosophila IR20a clade of ionotropic receptors are candidate taste and pheromone receptors. Neuron. 2014;83:850–865. doi: 10.1016/j.neuron.2014.07.012. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 46.Sánchez-Alcañiz J.A., Silbering A.F., Croset V., Zappia G., Sivasubramaniam A.K., Abuin L., Sahai S.Y., Münch D., Steck K., Auer T.O., et al. An expression atlas of variant ionotropic glutamate receptors identifies a molecular basis of carbonation sensing. Nat. Commun. 2018;9 doi: 10.1038/s41467-018-06453-1. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 47.Jaeger A.H., Stanley M., Weiss Z.F., Musso P.-Y., Chan R.C.W., Zhang H., Feldman-Kiss D., Gordon M.D. A complex peripheral code for salt taste in Drosophila. eLife. 2018;7 doi: 10.7554/eLife.37167. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 48.Engert S., Sterne G.R., Bock D.D., Scott K. Drosophila gustatory projections are segregated by taste modality and connectivity. Elife. 2022;11 doi: 10.7554/eLife.78110. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 49.Mercier D., Tsuchimoto Y., Ohta K., Kazama H. Olfactory landmark-based communication in interacting Drosophila. Curr. Biol. 2018;28:2624–2631.e5. doi: 10.1016/j.cub.2018.06.005. [DOI] [PubMed] [Google Scholar]
- 50.Asahina K., Watanabe K., Duistermars B.J., Hoopfer E., González C.R., Eyjólfsdóttir E.A., Perona P., Anderson D.J. Tachykinin-expressing neurons control male-specific aggressive arousal in Drosophila. Cell. 2014;156:221–235. doi: 10.1016/j.cell.2013.11.045. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 51.Fukunaga I., Berning M., Kollo M., Schmaltz A., Schaefer A.T. Two distinct channels of olfactory bulb output. Neuron. 2012;75:320–329. doi: 10.1016/j.neuron.2012.05.017. [DOI] [PubMed] [Google Scholar]
- 52.Agrawal S., Safarik S., Dickinson M. The relative roles of vision and chemosensation in mate recognition of Drosophila melanogaster. J. Exp. Biol. 2014;217:2796–2805. doi: 10.1242/jeb.105817. [DOI] [PubMed] [Google Scholar]
- 53.Suver M.P., Matheson A.M.M., Sarkar S., Damiata M., Schoppik D., Nagel K.I. Encoding of wind direction by central neurons in Drosophila. Neuron. 2019;102:828–842.e7. doi: 10.1016/j.neuron.2019.03.012. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 54.Knudsen E.I., Konishi M. Mechanisms of sound localization in the barn owl (Tyto alba) J. Comp. Physiol.? 1979;133:13–21. doi: 10.1007/BF00663106. [DOI] [Google Scholar]
- 55.Pena J.L., Viete S., Funabiki K., Saberi K., Konishi M. Cochlear and neural delays for coincidence detection in owls. J. Neurosci. 2001;21:9455–9459. doi: 10.1523/JNEUROSCI.21-23-09455.2001. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 56.Poo C., Agarwal G., Bonacchi N., Mainen Z.F. Spatial maps in piriform cortex during olfactory navigation. Nature. 2022;601:595–599. doi: 10.1038/s41586-021-04242-3. [DOI] [PubMed] [Google Scholar]
- 57.Hedwig B., Poulet J.F.A. Complex auditory behaviour emerges from simple reactive steering. Nature. 2004;430:781–785. doi: 10.1038/nature02787. [DOI] [PubMed] [Google Scholar]
- 58.Mohamed A.A.M., Hansson B.S., Sachse S. Third-order neurons in the lateral horn enhance bilateral contrast of odor inputs through contralateral inhibition in Drosophila. Front. Physiol. 2019;10 doi: 10.3389/fphys.2019.00851. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 59.Dalal T., Gupta N., Haddad R. Bilateral and unilateral odor processing and odor perception. Commun. Biol. 2020;3 doi: 10.1038/s42003-020-0876-6. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 60.Si G., Baron J., Feng Y., Samuel A.D.T. 2021. An olfactory pattern generator for on-demand combinatorial control of receptor activities. [DOI] [Google Scholar]
- 61.Meier M., Borst A. Extreme compartmentalization in a drosophila amacrine cell. Curr. Biol. 2019;29:1545–1550.e2. doi: 10.1016/j.cub.2019.03.070. [DOI] [PubMed] [Google Scholar]
- 62.Everaerts C., Cazalé-Debat L., Louis A., Pereira E., Farine J.-P., Cobb M., Ferveur J.-F. Pre-imaginal conditioning alters adult sex pheromone response in Drosophila. PeerJ. 2018;6 doi: 10.7717/peerj.5585. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 63.Narasimha S., Nagornov K.O., Menin L., Mucciolo A., Rohwedder A., Humbel B.M., Stevens M., Thum A.S., Tsybin Y.O., Vijendravarma R.K. Drosophila melanogaster cloak their eggs with pheromones, which prevents cannibalism. PLoS Biol. 2019;17 doi: 10.1371/journal.pbio.2006012. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 64.Keesey I.W., Koerte S., Retzke T., Haverkamp A., Hansson B.S., Knaden M. Adult frass provides a pheromone signature for drosophila feeding and aggregation. J. Chem. Ecol. 2016;42:739–747. doi: 10.1007/s10886-016-0737-4. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 65.Kohatsu S., Koganezawa M., Yamamoto D. Female contact activates male-specific interneurons that trigger stereotypic courtship behavior in Drosophila. Neuron. 2011;69:498–508. doi: 10.1016/j.neuron.2010.12.017. [DOI] [PubMed] [Google Scholar]
- 66.Hoopfer E.D., Jung Y., Inagaki H.K., Rubin G.M., Anderson D.J. P1 interneurons promote a persistent internal state that enhances inter-male aggression in Drosophila. eLife. 2015;4 doi: 10.7554/eLife.11346. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 67.Jung Y., Kennedy A., Chiu H., Mohammad F., Claridge-Chang A., Anderson D.J. Neurons that function within an integrator to promote a persistent behavioral state in Drosophila. Neuron. 2020;105:322–333.e5. doi: 10.1016/j.neuron.2019.10.028. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 68.Anderson D.J. Circuit modules linking internal states and social behaviour in flies and mice. Nat. Rev. Neurosci. 2016;17:692–704. doi: 10.1038/nrn.2016.125. [DOI] [PubMed] [Google Scholar]
- 69.Wan X., Shen P., Shi K., Li J., Wu F., Zhou C. A neural circuit controlling virgin female aggression induced by mating-related cues in Drosophila. Neurosci. Bull. 2023 doi: 10.1007/s12264-023-01050-9. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 70.von der Malsburg C. The what and why of binding: the modeler’s perspective. Neuron. 1999;24:95–104. doi: 10.1016/s0896-6273(00)80825-9. 111–125. [DOI] [PubMed] [Google Scholar]
- 71.Dweck H.K.M., Ebrahim S.A.M., Thoma M., Mohamed A.A.M., Keesey I.W., Trona F., Lavista-Llanos S., Svatoš A., Sachse S., Knaden M., et al. Pheromones mediating copulation and attraction in Drosophila. Proc. Natl. Acad. Sci. USA. 2015;112:E2829–E2835. doi: 10.1073/pnas.1504527112. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 72.Cachero S., Gkantia M., Bates A.S., Frechter S., Blackie L., McCarthy A., Sutcliffe B., Strano A., Aso Y., Jefferis G.S.X.E. BAcTrace, a tool for retrograde tracing of neuronal circuits in Drosophila. Nat. Methods. 2020;17:1254–1261. doi: 10.1038/s41592-020-00989-1. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 73.Deutsch D., Clemens J., Thiberge S.Y., Guan G., Murthy M. Shared song detector neurons in drosophila male and female brains drive sex-specific behaviors. Curr. Biol. 2019;29:3200–3215.e5. doi: 10.1016/j.cub.2019.08.008. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 74.Riabinina O., Potter C.J. The Q-system: A versatile expression system for Drosophila. Methods Mol. Biol. 2016;1478:53–78. doi: 10.1007/978-1-4939-6371-3_3. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 75.von Philipsborn A.C., Jörchel S., Tirian L., Demir E., Morita T., Stern D.L., Dickson B.J. Cellular and behavioral functions of fruitless isoforms in Drosophila courtship. Curr. Biol. 2014;24:242–251. doi: 10.1016/j.cub.2013.12.015. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 76.Watanabe K., Chiu H., Pfeiffer B.D., Wong A.M., Hoopfer E.D., Rubin G.M., Anderson D.J. A circuit node that integrates convergent input from neuromodulatory and social behavior-promoting neurons to control aggression in Drosophila. Neuron. 2017;95:1112–1128.e7. doi: 10.1016/j.neuron.2017.08.017. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 77.Takayanagi-Kiya S., Kiya T. Activity-dependent visualization and control of neural circuits for courtship behavior in the fly Drosophila melanogaster. Proc. Natl. Acad. Sci. USA. 2019;116:5715–5720. doi: 10.1073/pnas.1814628116. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 78.Bates A.S., Manton J.D., Jagannathan S.R., Costa M., Schlegel P., Rohlfing T., Jefferis G.S. The natverse, a versatile toolbox for combining and analysing neuroanatomical data. eLife. 2020;9 doi: 10.7554/eLife.53350. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 79.Saalfeld S., Cardona A., Hartenstein V., Tomancak P. CATMAID: collaborative annotation toolkit for massive amounts of image data. Bioinformatics. 2009;25:1984–1986. doi: 10.1093/bioinformatics/btp266. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 80.Moore R.J.D., Taylor G.J., Paulk A.C., Pearson T., van Swinderen B., Srinivasan M.V. FicTrac: a visual method for tracking spherical motion and generating fictive animal paths. J. Neurosci. Methods. 2014;225:106–119. doi: 10.1016/j.jneumeth.2014.01.010. [DOI] [PubMed] [Google Scholar]
- 81.Bogovic J.A., Otsuna H., Heinrich L., Ito M., Jeter J., Meissner G., Nern A., Colonell J., Malkesman O., Ito K., et al. An unbiased template of the Drosophila brain and ventral nerve cord. PLoS One. 2020;15 doi: 10.1371/journal.pone.0236495. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 82.Otsuna H., Ito M., Kawase T. 2018. Color depth MIP mask search: a new tool to expedite split-GAL4 creation. [DOI] [Google Scholar]
- 83.Meissner G.W., Dorman Z., Nern A., Forster K., Gibney T., Jeter J., Johnson L., He Y., Lee K., Melton B., et al. 2020. An image resource of subdivided Drosophila GAL4-driver expression patterns for neuron-level searches. [DOI] [Google Scholar]
- 84.Jenett A., Rubin G.M., Ngo T.-T.B., Shepherd D., Murphy C., Dionne H., Pfeiffer B.D., Cavallaro A., Hall D., Jeter J., et al. A GAL4-driver line resource for Drosophila neurobiology. Cell Rep. 2012;2:991–1001. doi: 10.1016/j.celrep.2012.09.011. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 85.Tirian L., Dickson B.J. 2017. The VT GAL4, LexA, and Split-GAL4 driver line collections for targeted expression in the drosophila nervous system. [DOI] [Google Scholar]
- 86.Li P.H., Lindsey L.F., Januszewski M., Zheng Z., Bates A.S., Taisz I., Tyka M., Nichols M., Li F., Perlman E., et al. 2020. Automated reconstruction of a serial-section EM drosophila brain with flood-filling networks and local realignment. [DOI] [Google Scholar]
- 87.Dorkenwald S., McKellar C., Macrina T., Kemnitz N., Lee K., Lu R., Wu J., Popovych S., Mitchell E., Nehoran B., et al. 2020. FlyWire: online community for whole-brain connectomics. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 88.Wang K., Wang F., Forknall N., Yang T., Patrick C., Parekh R., Dickson B.J. 2020. Neural circuit mechanisms of sexual receptivity in Drosophila females. [DOI] [PubMed] [Google Scholar]
- 89.Schindelin J., Arganda-Carreras I., Frise E., Kaynig V., Longair M., Pietzsch T., Preibisch S., Rueden C., Saalfeld S., Schmid B., et al. Fiji: an open-source platform for biological-image analysis. Nat. Methods. 2012;9:676–682. doi: 10.1038/nmeth.2019. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 90.Longair M.H., Baker D.A., Armstrong J.D. Simple Neurite Tracer: open source software for reconstruction, visualization and analysis of neuronal processes. Bioinformatics. 2011;27:2453–2454. doi: 10.1093/bioinformatics/btr390. [DOI] [PubMed] [Google Scholar]
- 91.Jefferis G.S.X.E., Potter C.J., Chan A.M., Marin E.C., Rohlfing T., Maurer C.R., Jr., Luo L. Comprehensive maps of Drosophila higher olfactory centers: spatially segregated fruit and pheromone representation. Cell. 2007;128:1187–1203. doi: 10.1016/j.cell.2007.01.040. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 92.Pologruto T.A., Sabatini B.L., Svoboda K. ScanImage: flexible software for operating laser scanning microscopes. Biomed. Eng. OnLine. 2003;2 doi: 10.1186/1475-925X-2-13. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 93.Carvalho-Santos Z., Cardoso-Figueiredo R., Elias A.P., Tastekin I., Baltazar C., Ribeiro C. Cellular metabolic reprogramming controls sugar appetite in Drosophila. Nat. Metab. 2020;2:958–973. doi: 10.1038/s42255-020-0266-x. [DOI] [PubMed] [Google Scholar]
- 94.Lopes G., Bonacchi N., Frazão J., Neto J.P., Atallah B.V., Soares S., Moreira L., Matias S., Itskov P.M., Correia P.A., et al. Bonsai: an event-based framework for processing and controlling data streams. Front. Neuroinform. 2015;9 doi: 10.3389/fninf.2015.00007. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 95.Pnevmatikakis E.A., Giovannucci A. NoRMCorre: an online algorithm for piecewise rigid motion correction of calcium imaging data. J. Neurosci. Methods. 2017;291:83–94. doi: 10.1016/j.jneumeth.2017.07.031. [DOI] [PubMed] [Google Scholar]
- 96.Cox R.W. AFNI: software for analysis and visualization of functional magnetic resonance neuroimages. Comput. Biomed. Res. 1996;29:162–173. doi: 10.1006/cbmr.1996.0014. [DOI] [PubMed] [Google Scholar]
- 97.Robie A.A., Hirokawa J., Edwards A.W., Umayam L.A., Lee A., Phillips M.L., Card G.M., Korff W., Rubin G.M., Simpson J.H., et al. Mapping the neural substrates of behavior. Cell. 2017;170:393–406.e28. doi: 10.1016/j.cell.2017.06.032. [DOI] [PubMed] [Google Scholar]
- 98.Eyjólfsdóttir E.A. Springer; 2014. Detecting Actions of Fruit Flies. [Google Scholar]
- 99.Kabra M., Robie A.A., Rivera-Alba M., Branson S., Branson K. JAABA: interactive machine learning for automatic annotation of animal behavior. Nat. Methods. 2013;10:64–67. doi: 10.1038/nmeth.2281. [DOI] [PubMed] [Google Scholar]
- 100.Berens P. CircStat: a MATLAB toolbox for circular statistics. J. Stat. Software. 2009;31:1–21. doi: 10.18637/jss.v031.i10. [DOI] [Google Scholar]
Associated Data
This section collects any data citations, data availability statements, or supplementary materials included in this article.
Supplementary Materials
Data Availability Statement
-
•
Data: This paper contains analyses that used existing, publicly available data. The identifiers for the datasets are also listed in the key resources table. Reconstructed EM skeletons were deposited in http://www.virtualflybrain.org/. Raw image data (confocal stacks, calcium imaging), and behavior videos will be provided upon request from the lead contact.
-
•
Code: All original code has been deposited at https://github.com/jefferislab/2023_cVA_Taisz_Galili and at https://github.com/jefferislab/skeleton-to-MIP and is publicly available as of the date of publication. DOIs are listed in the key resources table.
-
•
Additional information: Any additional information required to reanalyze the data reported in this work is available from the lead contact upon request.