Skip to main content
PLOS Genetics logoLink to PLOS Genetics
. 2020 Feb 14;16(2):e1008589. doi: 10.1371/journal.pgen.1008589

Identifying neural substrates of competitive interactions and sequence transitions during mechanosensory responses in Drosophila

Jean-Baptiste Masson 1,2,*, François Laurent 2, Albert Cardona 1,3,4, Chloé Barré 2, Nicolas Skatchkovsky 2, Marta Zlatic 1,4,5,*, Tihana Jovanic 1,2,6,*
Editor: Aravinthan Samuel7
PMCID: PMC7173939  PMID: 32059010

Abstract

Nervous systems have the ability to select appropriate actions and action sequences in response to sensory cues. The circuit mechanisms by which nervous systems achieve choice, stability and transitions between behaviors are still incompletely understood. To identify neurons and brain areas involved in controlling these processes, we combined a large-scale neuronal inactivation screen with automated action detection in response to a mechanosensory cue in Drosophila larva. We analyzed behaviors from 2.9x105 larvae and identified 66 candidate lines for mechanosensory responses out of which 25 for competitive interactions between actions. We further characterize in detail the neurons in these lines and analyzed their connectivity using electron microscopy. We found the neurons in the mechanosensory network are located in different regions of the nervous system consistent with a distributed model of sensorimotor decision-making. These findings provide the basis for understanding how selection and transition between behaviors are controlled by the nervous system.

Author summary

All animals are constantly confronted with multiple behavioral options that they need to choose from in response to various stimuli. Yet how the brain controls the sensorimotor decision-making process and ensures that appropriate actions are chosen and correctly ordered remains a mystery. This is largely due to the difficulty in establishing causal relationships between neurons and sensorimotor decisions and determining the connectivity between the neurons underlying sensorimotor decisions. In this study, we used automated action detection to analyze behaviors of hundreds of thousands of Drosophila larvae in which we systematically silenced small subsets of neurons in response to a mechanosensory cue and identified candidate neurons for competitive interactions and transitions between different actions. We further analyzed the connectivity between these neurons using electron microscopy reconstruction and identified a putative network underlying sensorimotor decision-making during mechanosensory responses. We found this mechanosensory network is distributed in the nervous system from the first order interneuron on the sensory side to the motor side and higher order brain regions.

Introduction

In response to a sensory cue, animals can perform different behaviors. The transformation of the sensory information into appropriate motor outputs involves different parts of the nervous system from sensory processing areas to motor control areas. In addition, in order to enable reliable and coherent responses of organisms to sensory cues, the choice of one action must be accompanied by a full suppression of all competing physically mutually exclusive actions, thus areas of the nervous system that ensure proper selection of behavior will also be involved. Finally, animals often respond to stimuli, not with single actions but with sequences of actions in which case, the transitions between actions need to be precisely controlled.

In response to a single stimulus, different individuals may perform different actions and also the same individual can respond to the repetition of the stimulus differently. Thus, these responses can be probabilistic.

The circuit implementation of competitive interactions between neurons that promote mutually exclusive actions and the circuit mechanisms that control action stability and transitions from one action to the next are still incompletely understood.

For example, whether the choice of an action, its stability and transition into different actions are implemented in specialized centers that would implement competitive interactions between different option or distributed across the nervous system form the sensory to the motor side is still a heavily debated subject [19]. We have previously identified a circuit for behavioral choice (between two actions) and a two-element sequence in response to an air-puff at the earliest stage sensory processing site which supports a model in which competitive interactions are distributed across the nervous system [3,10]. To examine the generalization of this computing architecture, it is necessary to identify other sites of competitive interactions during sensorimotor decisions and understand how the outcomes of these putative circuits for behavioral choice are integrated to give rise to a unified choice about which action to perform.

In addition, when actions are executed one after the other in sequences, how do nervous systems specify the order of the individual actions in the sequence? There have been different theoretical models of sequence generation proposed: parallel queuing [11,12], synaptic chains [1315], ramp-to-treshold [1618] and more recently chains of disinhibitory loops [10] but how flexible behavioral sequences are implemented in nervous systems remains an open question.

A first step towards understanding the circuit mechanisms of the selection and transition between behaviors is to identify neurons and nervous system areas involved in promoting, stabilizing and suppressing specific actions.

Here, we used the GAL4/UAS system available in the Drosophila to selectively and constitutively silence neurons in populations of behaving Drosophila larvae during behavioral responses to an air-puff stimulation using tetanus-toxin. The air-puff can evoke five different actions in the larva that can be organized in various sequences in a probabilistic manner which makes it suitable for studying both competitive interactions and transitions between behaviors. We have previously used this assay to study the circuit mechanisms underlying the choice between the two most prominent actions that occur in response to air-puff and a sequence of these two behaviors [10]. Here we expanded the study on multiple behaviors (of up to five different actions). We designed a behavioral screen using a library of Drosophila lines [19,20]. Based on anatomical pre-screen of a collection of images of the larval stages of the GAL4 Drosophila lines we selected those that target small subset of neurons. 567 driver lines were screened and the behaviors of hundreds of thousands of animals recorded. To quantify larval responses, we used supervised machine learning to reliably detect the actions that can be evoked by air puff. In addition to new sensory lines, we identified candidate GAL4 lines that target central neurons required for behavioral responses to mechanosensory stimuli. Amongst these, we identified candidate elements of functional circuit modules for mechanosensory responses (labeled by 66 GAL4 lines) out of which 25 GAL4 lines label candidate neurons for competitive interactions some of which are also involved in sequence transitions. Some of these are lines with sparse neuronal expression patterns so we characterized them in detail using single-cell FLP-out and electron microscopy reconstruction in a volume of the larval central nervous system [21,22] to determine their connectivity patterns. The candidate hit lines span different regions of the ventral nerve cord and the brain which suggests multiple sites of competition that are distributed across this nervous system.

These candidate lines provide a valuable resource for studying neural mechanisms underlying sensorimotor behaviors as it can restrict the focus for those interested in specific aspect of behavior (i.e. sensory processing, decisions, motor control, sequence generation) from the exploration of all the neurons in this nervous system to specific neurons and brain regions. Therefore this database is a prerequisite for the comprehensive circuit studies underlying sensorimotor decisions and action sequences during behavioral responses to a mechanical sensory cues as the candidate neurons can be used as starting points for circuit mapping and analysis by combining the results of silencing behavioral genetics experiments with the different methods available in Drosophila larva to relate structure and function of neuronal circuits: EM reconstruction, optogenetics, electrophysiology, calcium imaging, immunohistochemistry and modeling [10,21,2330].

Results

An assay for sensorimotor decisions and sequences, using machine-learning based characterization of the behavioral response to an air-puff

In order to functionally map neurons specifically to the different aspects of sensorimotor behaviors, we presented stimuli to populations of freely behaving wild type larvae and larvae with inactivated neurons and monitored their behavioral responses (Fig 1A and 1B) to detect changes in behavior upon neuronal manipulation.

Fig 1. Characterization of the behavioral response of wild-type larvae to an air-puff.

Fig 1

A. Behavioral set-up B. Still from a movie of contours of larvae acquired with the Multiworm tracker software C. In response to air-puff larvae perform a probabilistic sequence of five actions D. Ethogram of the behavioral response to an air-puff (10s after stimulus onset). Different sorting of animals is shown based on the type of initial response. A subset of animals tested is shown for clarity for the different types of immediate responses and sequences. Each line is a larva. Different colors represent different actions: Blue-Hunch, Red-Bend B, Cyan-Back-up, Black-Crawl and in Green–Stop. Top panel: Hunch-Bend sequence, Middle panel: Hunch-Back, Hunch-Stop and Hunch-Crawl sequence, Bottom panel: Bend, Back, Stop or Crawl type of initial responses E. Behavioral probability (mean) before, during and after stimulation. Purple line depicts stimulus boundaries F. Behavioral probabilities in the first second, first 5 seconds and first 15 seconds after stimulus onset.

We first characterized the response of intact larvae to a mechanical stimulus: air-puff. We used a supervised learning algorithm that relies on a limited set of features associated to the shape, velocity and dynamical evolution of associated variable. The method was trained iteratively on a small number of larvae annotated manually, and is able to handle low resolution images of larva to specifically detect five action categories that we observed in response to air-puff: Hunch, Stop, Bend, Back-up and Forward Crawl. It can also detect a sixth action (Rolling), that doesn’t typically occur in response to air-puff and is not a subject of this study. The actions are mutually exclusive and non-overlapping (S1 Fig). In order to ensure that this representation was stable in different genotypes and individual differences across the screen we applied the clustering to selected tested lines (S1 Fig). The stability of the representation throughout the screen (as well as in the lines of interest as seen in S1 Fig) suggest that representation of behavior as discrete action is not dependent on experimental conditions or on subset of larvae sharing common (unknown-unseen) properties. This natural clustering allows then associating to them various relevant amplitudes (velocity, angles of various part of the body, body length, derivatives of body length etc.) characterizing the action through continuous variables. Actions are also characterized by duration as the time spent within on cluster and naturally transitions from previous action to the current one and transitions from the current one onto the next. This description of behavior allows separating the nature of actions from all properties associated to them and thus allows probing selection processes during competitive interactions. Furthermore, within the current experimental paradigm, this description allows capturing the sequence of action generation where each discrete action has the same definition for all larvae. We equality minimized the effects of other factors on detection accuracy. For example, the tracking quality may affect the accuracy of detection (i.e. if the larva is tracked for very short periods of time and therefore tracks shorter than at least 20s were excluded from the analysis (see Material and methods)). Some actions may be ambiguous when they have very small amplitudes and durations and are therefore according to the definitions of actions used in this study fall in the small action category and therefore do not bias any of the categories. More details about the behavioral detection method can be find in the material and methods section of the paper including the unsupervised scoring of the approach allowing us to quickly evaluate the quality of the behavioral dictionary (S1C Fig).

We have previously studied and analyzed the immediate response of larvae to the air-puff using a length variation method [10,31] (see Material and methods for the link between new action definitions and previous ones). Here we analyzed a dataset of wild type larvae (control: w;;attP2-TNT larvae: progeny of male w;;attP2 crossed to female UAS-TNT-e flies (13 831 larvae), using the newly developed method and quantified previously undetected actions: Stops and Back-ups, in addition to Bends, Hunches and Forward crawls (Fig 1C–1E and 1G). Each of these actions occurs at different probabilities and these probabilities vary over the time of the response (Fig 1D–1F). For example, Hunches have a higher likelihood of occurring early in the response while the Stop occurs with a high probability early, its probability than drops and increase in the second half of the response (Fig 1E).

We computed behavioral probabilities for each of the five actions during first second, during five, and during fifteen seconds after stimulation (Fig 1F) and because the Hunches occur primarily immediately after stimulus onset, we focused the behavioral probability analysis of the screen data on the shortest time window. We further investigated the effect on air-puff intensity on the behavior. The probabilities of some actions vary significantly with stimulus intensity (i.e. higher Hunch and Bend and lower Stop at high intensity of air-puff) (S2A Fig).

In addition these actions occur in a probabilistic way. Different larvae will perform different actions in response to the same stimulus and repeated presentations of the stimulus give rise to different responses in the same larva (S3A–S3F Fig).

As actions occur in sequences one after the other, we further described the action sequences after stimulus onset. We computed transition probabilities between the different actions during the first three seconds after stimulus onset (Fig 1C, S11 Table) and found that from the Crawl the larvae will be transitioning strongly into a Bend or a Hunch (21.5% and 31.5%) respectively, less strongly into a Stop (9%) and with a lowest probability into a Back-up (4%). Hunch can transition into each of the four other actions with the highest likelihood of transitioning into a Bend (50%) and lower probability of transitioning into the Crawl 2.7% and Stop (1.5%). The Bend has the highest probability of transitioning into a Back-up (28.4%). The Stop has a high likelihood of transitioning into a Bend (19.2%). From Back-up, the highest probability is to transition into a Bend (77.6%) and with lowest probability into a Hunch (0.6%). This suggests that the first action in a sequence is most frequently a Hunch or a Bend [10] and that if a Hunch is the first action it will be followed by the Bend with the highest probability. If Bend is the first action in the sequence than there is higher likelihood that the second action will be a Back-up (Fig 1C and 1D). Because transition probabilities between Bend and Back up are high in both directions, it suggests that there are multiple transition events between Bend and Back-up in one sequence with higher probabilities of transitioning from the Back-up onto the Bend. The transitions between Hunches and Bend, Hunches and Back-ups and Back-ups and Bends are asymmetrical, meaning that the transitions are more likely in one direction that the other (i.e. Hunches to Bend or Back-up than the other way around).

In summary, in response to an air-puff, the larvae can perform multiple types of actions. These can be organized in a probabilistic sequence where the Hunch is most likely to occur immediately after stimulus onset while the Bend, Back-up and Stop can occur later in the response. The behavioral response to an air-puff is thus well suited to use as an assay to study competitive interactions and transitions between multiple actions.

Inactivation screen for mapping neurons and brain regions that underlie the behavioral response to air-puff

In order to identify best candidate neurons involved in competitive interactions and sequence transitions during mechanosensory responses, we applied the automated algorithm for behavioral detection to a behavioral inactivation screen dataset of larval responses to an air-puff stimulus. We analyzed behavioral responses of larvae in which we silenced small subsets of neurons and individual neurons. We tested 567 GAL4 lines that we selected for sparseness and expression quality based on an anatomical pre-screen out of the collection of the JRC GAL4 lines [20]. Expression patterns of the GAL4 lines used in this study are characterized in details and neuroanatomical information are available on http://www.janelia.org/gal4-gen1.

We determined families of hits by comparing the probabilities of performing each of the actions that occur in response to air-puff between test lines and the control. We considered as candidate for strong hits the lines that had significantly lower or higher behavioral probabilities in Hunches, Bending or Backing-up compared to the control (see Material and methods for details).

We then examined the different types of phenotypes (Fig 2B–2D, S1 Table) and found group of hits where: 1) one or more actions decreased, 2) one or more actions increased compared to the control and 3) one action was increased while (at least) another was decreased compared to the control. Based on these we determined three phenotype categories: 1) less actions, 2) more actions and 3) less of one action (or several actions) and more of another (or several other actions). We considered the latter category of hits as best candidates for implementing competitive interactions between mutually exclusive actions during sensorimotor decisions. These different categories of hits will be further discussed in sections: Identification of central neurons involved in the air-puff response and Identification of central neurons and brain regions involved in competitive interactions.

Fig 2. Screen design and phenotype detection.

Fig 2

A. Experimental strategy and screen design B-D. Each dot represents average behavioral probability value for all the larvae of the same genotype. The red dot represents the w;;attp2>TNT control B. Scatterplot of Hunch probability against Bend probability for all the screened Drosophila lines. 10% of lines with lowest and highest probabilities of Hunch are shown in magenta. The lines with low Hunch and high Bend probabilities are shown in red. The lines with high Hunch and low Bend probabilities are shown in blue C. Scatterplot of Bend probabilities against Back-up probability for all the screened lines. The 10% of lines with lowest and highest probabilities of Bends are shown in grey. The lines with low Bend and high Back-up probabilities are shown in cyan. The lines with high Bend and low Back-up probability are shown in red D. Scatterplot of Back-up probabilities against Hunch probability for all the screened lines. The 10% of lines with lowest and highest probabilities of Back-up are shown in light blue. The lines with low back-up and high hunch probabilities are shown in dark blue. The lines with high Back-up and low Hunch probabilities are shown in cyan. E. Behavioral probability phenotype categories: 1) less response phenotype: lower probabilities in one or more actions 2) more response phenotype: higher probabilities in one or more actions 3) competitive interaction phenotype: lower probability of one action and higher probability of at least one action or vice versa.

In addition to the behavioral probabilities, other features of behavioral responses, for example the amplitude of individual actions could also be affected. We quantified the amplitudes of Hunches and Bends (S2B and S2C Fig, S3 Table and S4 Table). The amplitude of Bending was on average stronger in lines with a low probability of Bending. This could be due to the fact that it takes the animal longer to recover from the action and come back to neutral position. There were some exceptions. For example, the R15F02 that has both higher amplitude and probability of Bending. On the other hand, most of lines that hunch little also do weaker Hunches and those that do more Hunches do that more strongly. An exception to this is for example the R78A01 that has a high Hunch probability, but relatively low amplitude. Further investigating these outliers will help understand how the neurons control both the strength and probability of the response.

Because larvae usually crawl forward prior to the stimulation (it is a baseline foraging behavior) we excluded the Crawl from behavioral probability hit detection. Similarly, we didn’t include the Stopping probability in the hit detection as the Stopping phenotypes cannot be interpreted unambiguously. At lower intensity of stimulation larvae stop more (S2A Fig) and therefore an increase in stopping (and decrease in one or more other actions) might reflect impaired sensing of air-puff. Indeed, this type of phenotypes can be observed when silencing chordotonals-key sensory neurons for sensing air-puff (S5 Table, see section: At least two different types of sensory neurons mediate the air-puff response). For all the hits, both the stopping and crawling probabilities are shown in S1 Table along with Hunch, Bend and Back-up probabilities used for hit-detection. These behaviors remain interesting to investigate and the data and probabilities presented in the supplemental material may provide the basis for studying in the future how and when these behaviors occur upon air-puff presentation.

Finally, some of the tested lines were significantly different to control prior to stimulus onset. This is most likely due to locomotor defects (S2 Table). We report these lines as these neurons are good candidates for examining circuitry underlying locomotion and posture. For the purpose of studying stimulus-evoked decisions, we excluded those lines from the analysis as their defects would interfere with animal’s capacity to respond to stimulation.

At least two different types of sensory neurons mediate the air-puff response

We have previously identified chordotonal sensory neurons as sensory neurons that mediate the air-puff induced responses as silencing of these neurons resulted in severely impaired responses [10,31]. We have applied the machine learning based behavioral detection method to analyze behavioral responses of larvae in which we silenced chordotonal sensory neurons using two drivers that we used previously R61D08 and iav and find lower probabilities of Hunching and Bending (Fig 3A, 3B and 3E) as expected. In addition, a lower probability of Backing up can be observed, that is significantly lower in iav>TNT larvae. While the response is severely impaired it is not completely abolished suggesting that some other sensory neurons could be involved in sensing air-current in addition to the chordotonals. In the Drosophila larva, there are multiple types of somatosensory neurons. Somatosensory neurons of type I, which are the monodendritic chordotonal and the external sensory neurons and multidendritic somatosensory neurons which can be subdivided into 4 classes: I, II, III, IV depending on the level of their arborizations and the position on the body wall [3234].

Fig 3. Sensory and central neuron lines with affected behavioral probabilities.

Fig 3

A-D. Behavioral probabilities for sensory lines driving UAS-TNT-e. A-B. Using our behavioral detection method we find that silencing chordotonals with tetanus-toxin using iav and R61D08 drivers results in significantly less Hunches and less Bends in response to air-puff compared to the control, as we have shown previously [10,21,38] as well as less Back-up. C. silencing of md class III sensory neurons results in less Hunches and less Back-ups D. Silencing of md III and subsets of chordotonals results in less Hunches E-G Phenotypic summaries for the hits from the behavioral screen. The colors in the heatmap represent the p-values for each behavior for the comparison between each line shown to the right of each plot to the w; attP2-TNT control E. Sensory lines with phenotypes (19 lines). Known types of sensory neurons are shown in S5 Table F. CNS lines (41 lines). Hits with lower probabilities in one behavior compared to the control (21 lines). G: Hits with higher probabilities in one behavior compared to the control (20 lines). The behavioral probabilities and p-values can be found in S5 and S6 Tables and the S2 Data file.

Out of the lines screened we have identified 19 candidate hit lines that drive either only in sensory neurons (one or multiple types) or in sensory and some other neuron types (Fig 3E, S5 Table). We found that chordotonal sensory neurons are present in at least twelve GAL4 lines (S5 Table) including the chordotonal lines, R61D08 and iav-GAL4 lines that were described previously [10,31]. Silencing of chordotonal neurons using different drivers resulted in lower probability of Hunches and Bending and in some lines also of Backing-up. Differences between the lines could be due to the different strength of the Gal4 drivers and to the different subtypes of chordotonal neuron targeted by the drivers [34]. Multidendritic (md) neurons appear in some of the lines with perturbed response to the air-puff (i.e. R30H09, 19–12) and thus could be involved in air-puff sensing as well. We obtained a line that labels multidendritic class III (md III) neurons selectively. Md III have been shown to respond to light touch that induces similar response types: Hunches, Back-up, Bend, and Turns (away from the stimulus) [35,36]. We found that silencing of multidendritic neurons resulted in significantly less Hunches (although less pronounced phenotype than for chordotonals) and Backing-up, while the Bending response remained comparable to that in the control (Fig 3C, S5 Table). Hunching appears more severely impaired when silencing chordotonals then when silencing MD III sensory neurons (Fig 3A–3C and 3E) suggesting that air-puff induced Hunches are primarily mediated by the chordotonal sensory neurons. When silencing chordotonal and multidendritic class III neurons expressing tetanus-toxin using NompC (a TRP channel that confers light touch sensitivity [36,37]), a GAL4 driver that drives in both md III neurons and subsets of chordotonals, the larvae showed an impaired response with significantly less Hunches, and slightly, although not significantly, less Bends and Back-up, a phenotype consistent with a strong impairment in sensing air-current. Interestingly our recent study on anemotaxis revealed that multidendritic class III neurons may act synergistically with chordotonal sensory neurons to mediate larval navigation a wind speed gradient [38].

In summary, silencing of air-current sensing neurons resulted in lower probabilities of Hunches and for some lines also in Bending and/or Backing–up. When silencing the chordotonal neurons, the probability of Stopping was increased in several GAL4 lines (Fig 3, S5 Table), which suggested that the stopping response could be mediated by different sensory neurons and in absence of chordotonal sensory neurons this type of response becomes the primary response type. Alternatively, based on the finding that lower intensities of air-puff trigger more stopping than higher intensities, in absence of chordotonals, the larvae could stop more because they sense the stimulus less.

Identification of central neurons involved in the air-puff response

As stated above, out of the lines driving in interneurons in the ventral nerve cord (VNC) and the brain, we observed three different categories of hits that have significantly different behavioral probabilities from the control (Fig 2B–2D). In the first two categories silencing of neurons results in significantly lower or higher probabilities of one or more actions compared to the control (Fig 2E, Fig 3B and 3C, Fig 4, S4 Fig, S6 Table, S7 Table), while in the third silencing of neurons results in significantly higher probability of one action and a significantly lower probability of at least one action. We consider hits in this last category to be the top candidates for implementing competitive interactions between the different behaviors (Fig 2E, Fig 5, Fig 6, Fig 7, S5 Fig). These will be discussed in the next result section in more detail.

Fig 4. Candidate first order interneurons and premotor neurons involved in mechanosensory responses.

Fig 4

A Ethogram of the air-puff response of randomly selected ca 200 control (w;; attP2-TNT) larvae for 3s prior and after stimulus onset. The larvae are sorted as a function of the first and second action after stimulus onset. B-G Ethograms and behavior probabilities of different hit lines in which we silenced neurons using tetanus-toxin. For all of the lines ethograms for five actions Hunch-blue, Bend-red, Stop-Green, Back-up-Cyan and Crawl-Black are shown. The behavioral probabilities are shown for the first second after stimulus onset for Hunch, Bend and Back-up H-M Light microscopy images of larval brains with stochastic single-cell expression for the selected GAL4 in L3 (left panels) and the EM correlates (right panels) of the VNC neuron (reconstructed in a ssTEM L1 volume) are shown for the hit lines B-G. Scale bars are 20 μm.

Fig 5. Competitive interaction hit lines.

Fig 5

A. Top panel: schematic of the competitive interaction phenotype. Bottom panel: Heatmap. Phenotypic summaries using selected behaviors (Hunch, Bend and Back-up) for the “competitive interaction” hits from the behavioral screen as depicted in the top panel. The colors in the heatmap represent the p-values for each behavior for the comparison between each line to the w;;attP2-TNT control as shown in the p-values legend. The hits that have lower probabilities in at least one action and higher probabilities in at least one other action (25 lines) are shown B-L Probabilities for Bending, Hunching and Backing-up for 11 lines selected based on their neuronal expression patterns (see Fig 6) compared to the control w;; attP2-TNT control. *:p<0.1, **:p<0.01,***:p<0.001.

Fig 6. Candidate neurons for competitive interactions as revealed by multicolor flip-out (MCFO) and EM reconstruction images.

Fig 6

A-K Light microscopy images of larval brains with stochastic single-cell expression for the selected GAL4 in L3 (left panels) and the EM correlates reconstructed in a ssTEM L1 volume for the identified neurons in the lines shown in A, C, E-F, K. EM that have been matched with MCFO images from the hit GAL4 lines. B, D, G-K. The R11F06 driver labels a neuron in the terminal segment, a thoracic neuron with a contralateral projection and a neuron in the SEZ (suboesophageal zone). The R27B12 line labels two interneurons in the SEZ, while the R82B06 labels two neurons in the SEZ one projecting to the brain, the other descending in the VNC. The R65B04 labels two brain neurons: one with a contralateral projection, one descending in the VNC. The R24G12 line labels an abdominal interneuron and an SEZ interneuron. Finally, the R92H01 line labels a thoracic ascending neuron T12u and in addition to the MBON- c1.Scale bars are 20 μm.

Fig 7. Transition probabilities phenotypes.

Fig 7

A. Transition probabilities for the w;; attP2-TNT control B-J. ratio of transition probabilities for selected hit lines relative to the control B-G Examples of transition probability phenotypes for hit lines of competitive interaction hits (Fig 5). In addition to transitions from the Crawl to the initial action after stimulus onset (Hunch, Bend and/or Back-up) these lines also have transitions probabilities between later element in the sequence affected. R11F06 and R23D10 (A, C) have higher transition probabilities from Hunch to Back-up (additional lines with this phenotype R29D11, R36C01, R38D07, R77H11 are shown in S11 Table). R26D07 (E) had decreased transition probabilities from Hunch to Bend, R30E06 (F) shows decreased Hunch to Bend and increased Hunch to Back transition probabilities. For the R18E12 (C) and the R61A01 (G) lines, the Bend to Back transition probabilities were decreased and increased respectively. H-J. Example of transition probability phenotypes from lines screenwide *: p<0.05, **: p<0.01, ***: p<0.001 (chi-square test).

Out of the hit candidate lines from the primary analysis, we identified the strong candidates in the first two categories that are significantly different than the control. We identified 41 such hits where the probability of one action was significantly decreased or increased (Fig 3F and 3G, respectively, S6 Table).

Some of these lines have very sparse expression patterns that we analyzed in more detail. We used multicolor flip-outs to morphologically characterize the neurons in the lines whose silencing resulted in more Hunches (i.e. R11A07, R88C11, R39H05) (Fig 4D–4F, S4 Fig). We further identified or reconstructed them in an electron microscopy (EM) volume of the larval nervous system to reveal their connectivity (Fig 4K–4M, Fig 8, S6 Fig, S7 Fig, S1 Data file).

Fig 8. Putative pathways in the mechanosensory network.

Fig 8

a summary diagram of the main pathways between the neurons identified in the hit lines in this study and some previously published key neurons involved in mechanosensory responses: Basin-1-4 (B1-B4), LnA, LnB, fbLN, A09e [10,21,38]. Connectivity is based on previously published reconstruction and newly reconstructed connections (S1 Data file). The arrows indicate excitatory connections, T-bars indicate inhibitory connections and lines with black circles indicate when it is unknown whether the connection is excitatory or inhibitory. The width of the line is proportional to the strength of the connection. Some connections are not shown for clarity (all connections can be found in the connectivity matrix, S1 Data file).

In two previous studies we have identified both local interneurons and ascending projection neurons involved in mechanosensory behaviors that receive inputs from chordotonal or multidendritic sensory neurons [10,38]. In a circuit for the choice between Hunching and Bending, we described distinct types of inhibitory neurons: LnA type interneurons that inhibit Basin-2 neurons (that promotes Bending and inhibits Hunching) and disinhibit Basins-1 projection neuron (that promotes Hunching and Bending), while LnB interneurons inhibit Basin-1 and disinhibit Basin-2. FbLN receive input from Basin neurons and inhibit the Ln neurons thus disinhibiting the Basins [10] (Fig 8, S1 Fig).

By matching light microscopy to electron microscopy images, we found that R39H05 drives in the A08f neuron that we previously shown to synapses onto the Ladder-e (LnB neuron type) in the behavioral choice circuit for Hunch and Bend [10]. Upon analysis of the connectivity (S1 Data file) we found that in addition to synapsing onto the local inhibitory neurons in the behavioral choice circuit it also synapses onto the A10j neuron that receives input from Basins [21] (see section Identification of central neurons and brain regions involved in competitive interactions). In another line (R88C11), we found two neurons that receive input from chordotonals. One is Jupiter (A08h2) that we previously shown was required for anemotaxis [38]. The second one is a long-range projection neuron A23j, that we reconstructed in the EM volume and named Hook-1. This neuron receives input from chordotonals, Ladders (mostly Ladder-c type) [10] and Jupiter and projects to higher order regions of the nervous system. Finally, in a third line (R11A07) we identified a neuron A19c in the motor domain [21] that receives input from Basin-2,4. Thus, all of the three sparse lines drove in neurons that are related to chordotonal circuitry. This further validates the candidate neurons as being involved in mechanosensory responses.

Interestingly, in the line with a significantly higher Backing-up probability (R32E04) compared to the control (Fig 4C, S4 Fig) we identified the premotor neuron A27l [28] that could therefore be involved in inhibiting Backing-up (Fig 4H). The authors in [28] find that the inhibitory A27l neuron receives input from a MDN brain descending neuron that can induce Backward locomotion following optogenetic activation and speculate that this could be achieved through disinhibition (by inhibition of the inhibitory A27l neuron). The phenotype that we find: increase in probability of Back-ups upon silencing of neurons is consistent with this hypothesis.

Silencing of neurons in R13A08 resulted in lower probabilities of Bending (Fig 4B, 4I, S4 Fig). By matching the light microscopy images to the EM images, we identified the A03a5 and A02d neurons. A03a5 [27,29,39] based on connectivity data is a pre-motor neuron as it synapses on multiple motor neurons, while the A02d (Fig 4I) is a glutamatergic neuron that receives input from proprioceptive neurons and synapses on premotor neurons [27]. It can be observed in the ethogram (Fig 4B) that the decrease in Bending probability in this line is due to both the decrease in Bending occurring as the first action upon stimulus onset as well as the second action upon transition from the Bend compared to the control. The Back-up probability is slightly although not significantly increased. We cannot exclude that the neurons in this line could thus also be involved in the Back-up. A sparse line (R66A12) drove in the A27a neuron [10,27] in the VNC and a brain neuron. A27a neuron receives input from a subtype of chordotonal sensory neurons, proprioceptive neurons and the A27l premotor neuron (and weakly from LnA, LnB and FbLN neurons). Investigation of its downstream connectivity revealed partners in the chordotonal circuitry: it strongly synapses onto FbLN, LnB neurons and on Basin-1 and weakly on LnA. Silencing of this neuron using the R66A12 driver resulted in significantly less Hunching (Fig 4G and 4J) and slightly but not significantly less Bending and Backing-up.

Interestingly in these sparse lines some of the neurons are downstream of mechanosensory chordotonal neurons (Jupiter, Hook-1, Baton, A27a), some on the motor side (A19c, A27l, A03a, A02d) consistent with the role of these neurons in sensorimotor behaviors.

In some of the lines we silenced multiple neurons and we cannot exclude that the phenotype results of inactivation of both neurons simultaneously. It will be interesting to test when possible individual neurons and see whether the phenotype is due to silencing one of the neurons or both (or three neurons). This for example could be the case for the R88C11 line as it labels Jupiter and Hook-1 neurons that both receive input from chordotonals.

Identification of central neurons and brain regions involved in competitive interactions

We determined that the detected actions in response to air-puff are mutually exclusive (S1 Fig) and therefore we were especially interested in identifying best candidate neurons that could implement competitive interactions between these actions. We reasoned that if a neuron is required for selecting between mutually exclusive behaviors, inactivating that neuron might significantly increase the probability of one action, at the expense of another or several other actions.

We identified 25 hits in which larva perform significantly less of at least one action and significantly more of at least another action (Fig 5, S5 Fig, S10 Table). This phenotype could be observed with different combinations of actions: Hunches, Bends and Back-ups. We never observed a decrease in Back-up probabilities and increase in Bend and/or Hunch probability.

Some of these 25 lines have sparse neuronal expression patterns in one to four neuron types. We morphologically characterized the neurons in these lines using multicolor flip-out [40] and determined their connectivity patterns by identifying them in the electron microscopy volume that spans the larval nervous system [21] (Fig 6A–6K).

In lines: R23D10, R77H11, R23A05, R29D11, R61A01 we were able to match some of the neurons from the multicolor flip-out images to the EM reconstruction images and analyze their connectivity to each other and to previously identified elements of the mechanosensory network [10,21,38] as well as nociceptive and pre-motor networks [21,30,39,41]. This is summarized and shown in Fig 8. and S6 Fig.

In the R23D10 we were able to identify the T05t neuron in the EM volume [21] and found it receives input from LnA type interneurons and Basin neurons in the Hunch/Bend behavioral choice circuit [10] (Fig 8). In the R61A01 line we identified four different neurons: A10j, A09o, TePn04 and TePno5. The A10j neuron [21] receives input from LnA (Drunken-1, Griddle-1,2) LnB (Ladder-a) and Basins neurons and synapses strongly on the T05t neurons and the FbLN (feedback interneurons) that are involved in sequence transition and maintenance [10]. The A09o neuron [41] receives inputs from multidendritic class III and Wave neurons [21,39] as well as projections neurons along the nerve cord. The TePn04 neuron [21], receives input from Basin-2 and LnA and LnB neurons and ascends to the higher order regions while the Tepn05 neuron receives input from multidendritic class III (and IV) sensory neurons and related interneurons (i.e A09e, DnB, Wave [30,38,39], as well as FbLN neurons and synapses onto Basin-2 and 4, the Wave and A09o neurons and projects to higher order regions [30,41]. A sparse line (R77H11, Fig 6F) drove in a A02o neuron also called Wave based on the shape of its axon [21,39]. This neuron receives inputs from multidentritic class III and IV neurons, Basins, synapses onto A09o and was shown to mediate touch induced responses. Its downstream connectivity revealed partners in the motor domain, including the A03a5 premotor neuron [39] that we find was in the R13A08 line with a reduced bending phenotype. Silencing of this neuron using the R77H11 driver resulted in significantly less Hunching and more Backing-up compared to the control (Fig 5J).

Additional lines drove expression in neurons that received input from chordotonals (R29D11, a thoracic ladder neuron, R23A05-drunken-1 [10]). Some of these lines also drove expression in brain neurons, like for example the R92H01- that drove expression in MBON-c1, a mushroom body output neuron [25].

We were not able to find some of the neurons from the sparse lines in the EM volume. Nevertheless, the multicolor flip-out analysis allowed to analysis the expression patterns and visualize single neuron types in the ventral nerve cord and brain in these lines (R11F06, R27B12, R30E06, R65B04, R82B06, Fig 6D, 6G–6K).

The multicolor flip-out images with the example of all the neurons we were able to obtain are shown in Fig 6 along with EM images in the case we were able to identify them in the EM volume. However, if a neuron was stochastic or very weakly express we exclude it from the image as these neurons are likely not causing the phenotype. The complete list of the neuronal annotations for all the candidate hit lines can be found in S8 Table.

Altogether, these data show the candidate neurons for competitive interactions are located in different areas of the nervous system (Fig 6A–6K, Fig 8), suggesting that the different sites of competitions are distributed in different regions of the nervous system: abdomen, thorax and brain. The pathways from the chordotonal and multidendritic class III neurons go to the pre-motor regions or ascend in multiple parallel pathways to higher regions of the nervous system.

Neurons and brain regions underlying sequence transitions

We have shown that the individual actions Hunch, Bend, Stop, Back-up, and Crawl can be organized in probabilistic sequences of actions (Fig 1, Fig 7A). Competitive interactions could occur during selection of the initial response to the stimulus or between the different actions in the sequence to establish the order of the individual elements.

In order to determine whether the competitive interaction candidate hit line phenotype are consistent with the role of its neurons in selecting the initial response to the stimulus or selecting the next action in the sequence (or both), we computed transition probabilities between each pair of individual actions in the candidate hit lines (S11 Table). If a neuron implements the selection of the initial response, its silencing would result in increased transitions from the baseline crawling behavior to Hunch, Bend and/or Back-up. On the other hand, if a neuron controls the selection between the later elements in a sequence its silencing would result in perturbed transitions between the different individual actions Hunch, Bend and Back-up. As expected, in the 25 candidate competitive interaction hit lines with affected behavioral probabilities in first second of stimulation (Fig 5, Fig 6A–6K) the transition probabilities from the Crawl (the dominant baseline behavioral state previous to stimulus onset) to Hunch, Bend and/or Back-up were also perturbed (Fig 7, S11 Table) and these two statistics are intricately linked. This confirms that the neurons in these lines are candidate neurons for competitive interactions during selection of the initial response to the stimulus. In a subset of these 25 hit lines the transitions between Hunch, Bend, and Back-up were also affected, suggesting they also play a role in selecting the later elements of the sequence (Fig 7, S11 Table).

Sequence transition could also be affected in lines that were not among the best 25 hit lines for competitive interactions between Hunch/Bend/Back-up at the start of the sequence (just upon stimulus onset) but later during the response. Such lines would not come up in our competitive interaction hit lines that were chosen based on their phenotype in the first second upon stimulus onset. We therefore analyzed transition probabilities between all the five actions: Crawl, Bend, Stop, Hunch and Back-up in all the lines in the screen to look for additional candidates that would be involved in controlling transitions between behaviors in the air-puff induced sequence (Fig 7B–7I, S11 Table). Among the screened lines we identified five central brain neuronal lines with lower Bend to Back-up transition probabilities (S11 Table). For example, in the R45D11 line shown in Fig 7G, the transition from Bend to Back-up are decreased, while Bend to Forward Crawl transitions are increased. This phenotype is consistent with a role of the candidate neurons in the proper sequence progression by promoting transitions from Bend to Back–up and inhibiting reversals from Bend to Crawl. We also identified twelve lines with an increase in Hunch to Back-up transition probabilities, while Hunch to Bend transition probabilities were decreased. These lines could be implementing asymmetric competitive interactions between Bend and Back-up to select the next action in the sequence after the Hunch. The R68B05 example is shown in Fig 7H. Finally, we found two lines with increased transition probabilities from Bend to Hunch, while Bend to Back-up transitions were decreased (R69E06, Fig 7I, S11 Table). The neurons in this line could thus be preventing reversals from Bend to Hunch and ensuring proper progression of the sequence from Bend towards the Back-up (next action in the sequence).

These phenotypes reveal that some of these neurons (i.e. in lines R45D11, R69E06) might be involved in maintaining a state (preventing reversals on previous state) and promoting transitions onto the next state. They would be thus ensuring the proper progression of the sequence, while others (i.e. in the line R68B05) might be involved in asymmetric competitive interactions between transitions from Hunch to Bend and Hunch to Back ensuring that Bend is more likely to occur after the Hunch then the Back-up (Fig 1C).

Discussion

In order to identify neurons and brain regions underlying competitive interactions and transitions between actions during mechanosensory responses we performed a high-throughput inactivation screen where we silenced individual neurons and groups of neurons (using tetanus-toxin) in 567 genetic GAL4 lines in Drosophila larva and looked at the effects of these manipulations on larval behavioral responses to a mechanosensory cue.

We characterized the behavioral response of wild-type larvae to the stimulus (air-puff) and found that larvae perform a probabilistic sequence of five different actions. We developed and used an automated approach that detects and distinguishes five different discrete behaviors that larvae perform in response to the air-puff. Evidences suggest that the discrete action description is relevant when compared to a continuum approach as parameters associated to larva dynamics tend to naturally cluster (S1 Fig). The representation is found to be stable even for large number of larvae while their characteristics (amplitude of actions, duration, size of the larva, shape etc.) can vary significantly. Yet we point out that it does not mean that all behaviors and actions that larvae exhibit are necessarily described as only discrete actions.

We used this analysis to describe phenotypes that result from manipulation of different populations of neurons or single neuron types. We find phenotypes that are consistent with a specific role of neurons in sensory processing or motor control, competitive interactions, and sequence transitions. Neuronal expression data for all of the GAL4 lines used in this screen have been previously published [20]. The number of neurons that were targeted in our tested lines varies from 1 to 7 pairs on average and smaller number of the GAL4 lines the driver is restricted to a single neuron type. We analyzed the morphology of top hits in more detail using single-cell FLP-out and we analyzed their connectivity using electron-microscopy reconstruction (Fig 8).

We developed a framework for selectively identifying circuit elements underlying competitive interactions and sequence transitions. Sensory-processing, sensorimotor decisions, and sequence generation are intertwined processes as the latter two will depend on how the sensory information is processed, and the sequence production mechanistically might depend on competitive interaction between distinct actions as suggested by models of sequence generation like competitive queuing or chains of disinhibitory loops [1012,42]. Nevertheless, we used the reasoning below to identify neurons selectively involved in competitive interactions that underlie sensorimotor decisions and sequence generation.

We reasoned that, if the stimulus cannot be processed and thus perceived accurately the animals might respond less, by performing less of all or some of the actions. If the sensory processing is affected in the opposite way (hypersensitivity), animals might respond more, and perform more of all or some of the actions normally observed. Thus, the neurons that gave such inactivation phenotypes (of less of one or more actions; or more of one or more actions) could be involved in any aspect of sensory processing or motor control. We also cannot exclude that these larvae responded less because the inactivation of the neurons modulates the overall animal state.

However, inactivation of neurons involved in mediating competition between actions is expected to result in increased probability of one action and a decreased probability of one or more other actions (or the converse) as the neuron implementing the competitions will promote one action while inhibiting competing options. Based on this logic, we identified 25 hits (GAL4 lines) that were top candidates for selectively mediating affected competitive interactions. We characterized morphologically the neurons in these lines using light microscopy of multicolor flip-out and for some of the neurons determined their connectivity by identifying them in the electron microscopy volume. We found that some of these neurons received input from chordotonal sensory neurons, chordotonal related interneurons or multidendritic class III sensory neurons while others were pre-motor neurons. In addition, we found other neurons that project to or are located in the brain (Fig 8, S6 Fig, S7 Fig). Taken altogether, the GAL4 lines that we identified as hits drive in neurons that are located in the ventral nerve cord (both abdomen and thorax region), suboesophageal ganglion and brain (Fig 8, S6 Fig, S7 Fig). This suggests that the networks for competitive interactions between actions that occur in response to air-puff are distributed across the nervous system.

The idea that sensorimotor decisions are made “through a distributed consensus that emerges in competitive populations” and that interactive behaviors require sensorimotor and selection system to function in parallel [3,10,43] have emerged in various fields [1,2,5,4446], but it has been challenging to elucidate the neuronal architecture that would implement such sensorimotor decisions. The Drosophila larva, because of its numerical simplicity, small size and the existence of multiple experimental approaches for structural and functional connectivity studies, behavioral genetics, optogenetics etc. is an ideal system for investigating how the outcomes of these competitive interactions at the different sites are integrated across the nervous system to give rise to coherent sensorimotor behaviors.

The neural architecture that controls the productions of probabilistic action sequences and establishes the order of the individual elements in the sequence is also poorly understood. Here we identified a number of hit line phenotypes that were consistent with an implication of the neurons in ensuring proper ordering of individual elements in the sequence. For example, the neurons in the R45D11 line could be inhibiting reversals from Bend to Crawl and promoting transitions from Bend to Back, while neurons in the R69E06 line could be promoting transitions from Bend to Back-up while preventing reversals from Bend to Hunch. In our previous work on a two- element Hunch-Bend sequence in response to an air-puff, we have proposed that transitions to the next element in the sequence and reversal to the previous element are controlled through two different motifs: lateral disinhibition from the neuron driving one behavior onto the neuron driving the following behavior and feedback disinhibition that provides a positive feedback that stabilizes the second behavior and prevents reversals back onto the previous actions [10]. We speculated that chains of such disinhibitory loops could be a general mechanism for generating longer behavioral sequences. In the case of longer sequences (more than two elements) the maintenance of a selected action (through a positive feedback) after the transition from the previous action has occurred would need to be balanced with promoting the transition from the current onto the following action in the sequence. The candidate neurons in the R45D11 and the R69E06 could represent a starting point for investigating these mechanisms as their phenotype are consistent with preventing reversals from Bend to Hunch and Crawl and promoting transitions from Bend to Back-up (that represent nearly 80% of transitions from Bend). Another category of phenotypes, increase in transitions from Hunch to Back-up and decreased from Hunch to Bend, suggests that asymmetric competitive interactions exist between transitions to Bend and Back-up (from Hunches) where the transitions from Hunch to Bend inhibit transitions from Hunch to Back-up but not the other way around. Such a mechanism would allow a progression of a sequence in a probabilistic way where the transitions from Hunch to Bend are more likely (50%) than to Back-up (less than 15%).

In summary, our screen provides a roadmap for investigating the neural circuit mechanisms underlying the different computations during mechanosensory responses. It also offers a starting point for identifying the mechanisms underlying the competitive interactions between behaviors as well as the transition between individual actions in probabilistic sequences across the nervous system. While the number of neurons that were targeted in our tested lines varies from one to seven pairs on average, and sometimes more, in the case when the lines label multiple neuron types, intersectional strategies can be used to further refine the expression patterns. In the larva, a volume of electron microscope data has been acquired and more than 60% of the nervous system has been reconstructed through collaborative efforts [10,21,22,24,25,27,29,4749]. The synaptic partners of the identified candidate neurons can therefore be further reconstructed in the electron microscopy volume. Combined with EM reconstruction, physiology, and modeling the candidate lists of neurons can be used to relate circuit structure and function across the nervous system and unravel the principles of how the nervous system selects actions and produces action sequences in response to external stimuli.

Materials and methods

Drosophila stocks

We screened 567 GAL4 lines. 564 lines were from the Rubin collection lines listed in S3 Data file (available from Bloomington stock center) each of which is associated with an image of the neuronal expression pattern shown at http://flweb.janelia.org/cgi-bin/flew.cgi. In addition we used the insertion site stocks, w;attP2 [50], OK107GAL4, 19-12-GAL4, NompC [51] and iav-GAL4 [52]. We used the progeny larvae from the insertion site stock, w;;attp2, crossed to the appropriate effector (UAS-TNT-e (II)) for characterizing the w;; attP2 were selected because they have the same genetic background as the GAL4 tested in the screen. We used the following effector stocks: UAS-TNT-e [53] and pJFRC12-10XUAS-IVSmyr::GFP (Bloomington stock number: 32197).

Larva dissection and immunocytochemistry

To analyze the expression pattern of the GAL4 lines, we crossed the lines to pJFRC12-10XUAS-IVSmyr::GFP (Bloomington stock number: 32197) [20]. The ‘FLP-out’ approach for stochastic single-cell labelling will be described in detail elsewhere [40]). In brief, heat-shock induced expression of FLP recombinase was used to excise FRT-flanked interruption cassettes from UAS reporter constructs carrying HA, V5, and Flag epitope tags, and stained with epitope-tag specific antibodies. This labelled a subset of the cells in the expression pattern with a stochastic combination of the three labels. The progeny larvae were placed in a phosphate buffered saline (PBS; pH 7.4) and fixed with 4.0% paraformaldehyde for 1–2 hr at room temperature, and then rinsed several times in PBS with 1% Triton X-100 (PBS-TX). Tissues when then mounted on poly-L-lysine(Sigma-Aldrich) coated coverslips and then transferred to a coverslip staining JAR (Electron Microscopy Sciences) with blocking solution, 3% normal donkey serum in PBS-TX for 1 hr. After incubation, the tissue was rinsed for several hours in PBSTX, and dehydrated through a graded ethanol series, cleared in xylene and mounted in DPX (Sigma) Images were obtained with 40x oil immersion objective (NA 1.3) on a Zeiss 510 Confocal microscope. Images of each nervous system were assembled from a 2xarray of tiled stacks, with each stack scanned as an 8-bit image with a resolution of 512x512 and a Z-step of 2 μm. Images were processed using Fiji (http://fiji.sc/).

Electron microscopy reconstruction and wiring diagrams

EM reconstruction was performed using a complete CNS serial section transmission EM volume from a 6-hour old Canton S G1 × w1118 [5905] larva, with a resolution of 3.8nm x 3.8nm x 50nm [21]. Reconstruction and synapse annotation followed previous protocols [22] using the web-based annotation software, CATMAID [54]. To identify neurons of interest covered by our GAL4 lines, we examined the reconstructed neurons in the CATMAID database. Gross morphologies, including axon bouton, dendrite, and cell body positions, were compared to light microscopy images to positively identify neurons in EM. We thus identified previously reconstructed neurons (see S9 Table for full list of neurons and corresponding references). To identify previously unpublished neurons, we performed exploratory tracing downstream of mechanosensory chordotonals. The identified neurons were fully reconstructed, including all synapses and fine dendritic processes. If hemilateral pairs of neurons received at least 3 synapses from a particular neuron or on both sides, we considered them strong neuronal partners.

Behavioral apparatus

The apparatus was described previously [10,31]. Briefly, the apparatus comprises a video camera (DALSA Falcon 4M30 camera) for monitoring larvae, a ring light illuminator (Cree C503B-RCS-CW0Z0AA1 at 624 nm in the red), a computer (see [31] for details); available upon request are the bill of materials, schematic diagrams and PCB CAM files for the assembly of the apparatus) and a hardware modules for controlling air-puff, controlled through multi worm tracker (MWT) software (http://sourceforge.net/projects/mwt) [55], as described in [31]. Air-puff is delivered as described previously (Ohyama et al., 2013). Briefly it is applied to a 25625 cm2 arena at a pressure of 1.1 MPa through a 3D-printed flare nozzle placed above the arena (with a 16 cm 6 0.17 cm opening) connected through a tubing system to plant supplied compressed air (0.5 MPa converted to a maximum of 1.4 MPa using a Maxpro Technologies DLA 5–1 air amplifier, standard quality for medical air with dewpoint of 210uC at 90 psig; relative humidity at 25uC and 32uC, ca. 1.2% and 0.9%, respectively). The strength of the airflow is controlled through a regulator downstream from the air amplifier and turned on and off with a solenoid valve (Parker Skinner 71215SN2GN00). Air-flow rates at 9 different positions in the arena were measure with a hot-wire anemometer to ensure even coverage of the arena (Extech Model 407119A and Accusense model UAS1000 by DegreeC). The air-current relay is triggered through TTL pulses delivered by a Measurement Computing PCI-CTR05 5-channel, counter/timer board at the direction of the MWT. The onset and durations of the stimulus is also controlled through the MWT.

Behavioral experiments

Embryos were collected for 8–16 hours at 25°C with 65% humidity. Larvae were raised at 25°C with normal cornmeal food. Foraging 3 instar larvae were used (larvae reared 72–84 hours or for 3 days at 25°C).

Before experiments, larvae were separated from food using 10% sucrose, scooped with a paint brush into a sieve and washed with water (as described previously). This is because sucrose is denser than water, and larvae quickly float up in sucrose making scooping them out from food a lot faster and easier. This method is especially useful for experiments with large number of animals. We have controlled for the effect and have seen no difference in the behavior between larvae scooped with sucrose and larvae scooped directly from the food plate with a par of forceps.

The larvae were dried and spread on the agar starting from the center of the arena. The substrate for behavioral experiments was a 3% Bacto agar gel in a 25625 cm2 square plastic dishes. Larvae were washed with water at room temperature, the dishes were kept at room temperature and the temperature on the rig inside the enclosure was set to 25°C.

The humidity in the room is monitored and held at 58%, with humidifiers (Humidifirst Mist Pac-5 Ultrasonic Humidifier).

We tested approximately 50–100 larvae at once in the behavioral assays. The temperature of the entire rig was kept at 25°C. In the assay, the larvae were left to crawl freely on an agar plate for 44 seconds prior the stimulus delivery. The air-puff was delivered at the 45th second and applied for 38 seconds. After a period of recovery of 22 seconds when 10 air-puff pulses, 2 second each, were delivered (with a 8 second separation interval). We computed behavioral and transitional probabilities for different time-windows during stimulation. In this study, for the data from the behavioral screen, we show behavioral probabilities and transitions probabilities of the initial response of the larvae to the stimulus, immediately after the first stimulus onset. Specifically, we show the behavioral probabilities for the first second after the first stimulus onset and the transition probabilities for the first three seconds after stimulus onset.

The MWT software64 (http://sourceforge.net/projects/mwt) was used to record all behavioral responses.

Screen design

We screened 567 GAL4 lines from the Rubin GAL4 collection (Jenett et al., 2012; Pfeiffer et al., 2008) were we silenced small subsets of neurons and individual neurons using tetanus toxin. We selected these lines from the entire collection for sparse expression in the brain and ventral nerve cord of the larval CNS as well as expression in the sensory neurons (images of the larval CNS are available at http://www.janelia.org/gal4-gen1). Out of the 567 lines tested, there were neuronal lines that were not part of the collection: we added 19–12 GAL4 and nompC-GAL4 for sensory neurons and OK107GAL4 for the mushroom body. We screened each GAL4 line in the air-puff assay described above.

Behavioral analysis

Larva tracking

Larvae were tracked in real-time using the MWT software [55]. We rejected objects that were tracked for less than 5 seconds or moved less than one body length of the larva. For each larva MWT returns a contour, spine and center of mass as a function of time. From the MWT tracking data we computed the key parameters of larval motion, using specific choreography (part of the MWT software package) variables [31].

Behavioral detection

From the tracking data, we detected and quantified the behaviors: hunches, head-Bends (Bend), backwards crawls (Back-ups), stopping (Stop) and peristaltic crawling strides (Crawl) using a behavior classification that allows discriminations between all the different actions. Behavior classification was performed using incremental supervised learning based on human tagging of limited amount of larval videos i.e. [56]. It was also performed on a very limited set of features exhibiting low variance under the mechanical deformations induce by the larval dynamics. It was performed on incremental learning with new subsets of larva used for step of training. It consists on a 5-layer procedure with weak learners. The first layer relied on Random Forest [57] to identify if one of the listed behavior is being performed and output a Boolean variable. The second layer collects all states and check for inconsistencies (e.g. a larva crawling and bending at the same time). The third and fourth layers used additional features and previous probability of actions (establish in previous layers) and Random Forest again to perform the behavior assessment [31]. Final layer combines features associated to behaviour estimation during their full duration to both random forest and Support Vector Machine for final classification. A graphic of the procedure is shown in S8A Fig.

Tagging data

Data tagging was performed using custom, simple GUI in Matlab. A first version provided the path of the larva, the contour and spine. The head, tail (non-differentiated) and neck points were apparent. The evolution of 2 features could be plotted to help tag some actions. Tagging was limited to whether an action was ongoing or not.

A second GUI (the 2 versions of it) with similar design displayed the state assigned by the previous layer of classification, the differentiated positions of the head and tail as well. One version was done with a local zoom on the larva to provide 2 simultaneous views, one more focused on global dynamics and one more local.

Principle and method used to action detection

The analysis is done in sequential layer using the following simple architecture:

  • Loading and Cleaning input files

  • Generate features time series

  • Identify Head and Tail

  • Generate first estimation of the actions

  • Regularize these actions using imposed hierarchy and custom rules

  • Generate second estimate of the actions

  • Regularize singular events

  • Action specific corrections

Loading and cleaning input files

Inputs of the analysis pipeline are made of the time series of the contours and the spine of individual larva as produced by the Choreography scheme [31]. Contours are dynamically generated live on subsets of larva from very different size and shape and thus have non-constant size. The average length is 114±23 points measures on a sample of 50 000 larvae. Spines, which are the skeleton of the larva, were generated offline and were all made of 11 points. Input files were then cleaned of the 5 times first points and last 10 time points which bear usually several anomalies (at the screen scale). We removed individual larva experiments that had not at least 250 points (lasted ~ 20s) and whose trajectories had a convex hull of surface inferior to 1mm2 (nearly did not move at all).

Generate features

Complete details of all features computed are shown in the (https://github.com/DecBayComp/Pipeline_action_analysis_t5_pasteur_janelia)

Here, we list key features that provided selectivity in classification.

The center of the larva was defined as rc=rc with 〈〉c the averaging along the contour.

The “necks”of the larva were defined as rnd=12(rs3+rs4),rn=rs6 and rnu=12(rs8+rs9) where the index nd stands for neck-down, n for neck, nu for neck-up and with rsi is the ith point of the spine.

We defined 4 segments in the larva, Se1 joining the head to the neck-up, Se2 joining the center to the neck up, Se3 joining the neck-down to the center and Se4 the segment joining the tail to the neck-down.

We defined S=12(3cos2θs1) with 〈〉s the averaging along the spine curve, cos θ the scalar product between normalized vector associated to a segment of the spine and the direction of the larva body define as the normalized vector joining the lower neck the mid point of the spine. S takes value between -0.5 and 1.

We defined 4 main angles as θ1−4 as respectively, θ1 the angles between Se1 and Se3, θ2 the angles between Se4 and Se2, θ3 the angles between Se1 and Se2, θ4 the angles between Se3 and Se4.

We defined λ=λ1λ2λ1+λ2, with λi the eigenvalues of the matrix ((xx)2c(xx)(yy)c(xx)(yy)c(yy)2c) with λ1λ2. λ characterizes the shape of the larva and takes value between 0 and 1.

Various velocities or acceleration were evaluated both directly and then smoothed or by convolution with derivatives of Gaussian with different standard deviations. We evaluated the effective agitation velocity as va=13αv(vc2+vnu2+vnu2) with αv = 10 for this screen analysis. We also evaluated the motion velocity and acceleration of the head, tail and center of mass of the larva.

We defined a set of linked variables defining direction of motion

βn1,n2=un1vn2

with ni the temporal Gaussian averaging over ni points, u the unit vector going from tail to neck down and v the unit vector in the direction of motion (center of mass).

We defined the various scale effective distance moved

dn1,n2=Gn1*rtailn2

with G′ the derivatives over n1 point, * the convolution, ‖ ‖ the norm, and rtail the position of the tail.

We defined the true and modified length of the larva as l=i=110drSi and lM=i=110drSi2 with drSi=rSi+1rSi.

We defined the effective rotation energies

ωup/low=d1/2up/low(θ1/2)2

with d1/2up/low the distance between head/tail and the center of the larva, θ2 the squared derivative of the angle.

We defined the auxiliary direction variables as γk,lw=(G5*rc).wl with wϵ{ukl,vkl},{kl}ϵ{neckhead,necktail,tailhead} and vkl the vector perpendicular to ukl.

Features were then smoothed at various time scales, derived, log-derived, and squared after derivation. Furthermore, minimal, maximal and cumulative values over time points window of various size were evaluated.

Some features were also dynamically normalized with respect to the length of the larva. Motion velocities were normalized by vl=l(i)dt(i). The surface of the contour was split into two normalized variables, one normalized by the surface of convex hull of the contour the other by the surface of the circle of radius r(i)=l(i)2. The direct distance from head to tail, the distance from the head to the neck and the neck to the tail were normalized by the length of the larva l(i).

Finally, last layer classifications used global variables averaged over the full temporal duration of the larva dynamics: {lt,v¯at,v¯t,d¯5,5} where only the length of the larva is not normalized.

Identify of head and tail

In order to properly sample the large space of possible actions and to explore differences between individual larva, experiments were performed on large sets of larva. To reduce probability of contact between larva that would induced unwanted actions, agar plates were made large enough to have large portion of “free” motion during times or recording. In order to match all these conditions, the optical magnification was chosen to be low providing limited features on the larva. Thus, neither the mouth hook nor the difference of curvature between head and tail could be reliably detected. Hence, neither individual images nor contour shapes could be reliably used to identify head and tail.

Head and tail are the terminal point of the spine; hence both head and tail can only be in position 1 or 11. We relied on a Hidden Markov model (HMM) to detect head and tail from the larva dynamics. To reduce the dynamics to a one time step HMM, 4 hidden states were introduced corresponding to the 4 possible transitions between 2 time steps: T1: (Head 1→1, Tail 11→11), T2: (Head 1→11, Tail 11→1), T3: (Head 11→11, Tail 1→1) and T4: (Head 11→1, Tail 1→11).

The likelihood model was defined to reinforce global characteristics of head and tail dynamics when recorded in high resolution. The likelihood at the time point, i, reads:

Pi(Tj)exp(β(εc(i,Tj)+εd1(i,Tj)+εd2(i,Tj)+εa(i,Tj)+εv(i,Tj)))

with

εc(i,Tj)=αc(ξ¯¯(j,1)δκ(i)+ξ¯¯(j,2)δκ(i+1))
εd1(i,Tj)=αd1(ξ¯¯(j,1)β10,10(i)+ξ¯¯(j,2)β10,10(i+1))
εd2(i,Tj)=αd2D¯¯¯(Tj,i)
εa(i,Tj)=αa(ξ¯¯(j,1)a(i)+ξ¯¯(j,2)a(i+1))
εv(i,Tj)=αV(ξ¯¯(j,1)vc(i)+ξ¯¯(j,2)vc(i+1))

with the matrix [58], δκ = tanh(κS(1)−κS(11)) with κ is in radians and defined in [58],[58].

In order to regularize the contour of the larva and evaluate the curvature at the Head/Tail points we projected and reconstituted the larva contour onto a Fourier basis. This procedure was directly inspired by a step of the closed-loop analysis code found in [10,31]. We limited the decomposition and recomposition to the order 7 in coefficients. Curvatures were measured using the reconstituted (smooth) larva contour.

Parameters were set to α=(1,0.2,1,0.5,0.5),β=0.01,pinit=(14,14,14,14) with a transition matrix T¯¯=(A¯¯00B¯¯) with A¯¯=B¯¯=(0.90.10.10.9). The transition matrix was purposefully set to much higher transition values than temporally observed. It allowed possible changes following complex maneuvers. Note that the same value was used at the screen scale. Another analysis could be performed by adapting the transition matrix to the shape and dynamics of the larvae.

The head and tail position were derived from the Viberti path (path of hidden states maximizing the likelihood). As for all HMM process the longer the trajectory the better the results.

The main source of error stemmed from the transition from ball form to a moving dynamic. When the larva is curled the spine is constantly moving due to the lack of high curvature area to stabilize it. If the larva performs a ball shape moves for a short time and then performs a ball again, there are limited constrain to define head and tails.

Notably, only for the crawling backward is the head and tail definition effectively used.

The multilayer architecture

We point out here the reason for the incremental multiple layers of classification. Behavior or action tagging in larva by human observers is not fully reliable. Different people tend to see different dynamics when looking at the contour and time series dynamics. For example, different researchers have implicit “amplitude based”limits of behavior, i.e. two experts may diverge on a behavior being performed based on assumptions regarding amplitudes. For example, can a hunch with a small amplitude (less than 5% difference in larva length) be considered as a hunch or can the lateral small head bends (less than 10°) not associated with motion direction changes be considered as bending? Finally, in many cases the low resolution of the contour makes the choice of dynamics unsure. Hence, first layers of classification were performed on limited larva exhibiting clear dynamics and any unsure actions were not tagged. These actions were then used to classify actions at the full screen scale. This allowed future tagging to be performed with the first layer's state being displayed. This process helped to unify description of the dynamics and provided clearer elements to judge the action dynamics.

Generate first estimation of the actions: First layer classification

In order to reduce the effect of misclassification of the head and tail, all classification except the ones explicitly for crawling backward were done without requiring their detections.

Classifications were performed using Random Forest on the small samples of tagged larva. Selected sets of features were provided in relation to the action to be tagged. Action detection was performed independently for each action with results being at each time point the action being on or off. The 5 actions and additional actions were detected.

Additional postural states were also detected. These postural states simply describe non-dynamic the shape of the contour. They were divided into 4 non-overlapping state: straight, Bend, curl and ball. An additional fifth state straight and light Bend was added to improve backward motion detection especially when associated in sequences involving Bend and back-up.

Crawling backward was defined as the combination of the straight and light bent (Bend) postural state, the displacement status and the feature axis_direction_25_10 taking values inferior to the threshold -0.8.

Regularized actions using imposed hierarchy and custom rules

The first layer of tagging was performed on limited set of larvae. Hence, we left at this stage of the code, the possibility of having a state with no action classification. Furthermore, each action was defined independently of the other. This no action set was defined hierarchically transferring

  • Any action happening at the same time as stop was set to no-action

  • Any action happening at the same time as roll was set to no-action

  • Any action happening at the same time as back-up was set to no-action

  • Any action happening at the same time as Bend was set to no-action

  • Any action happening at the same time as crawl was set to no-action

Similarly, postural states were regularized hierarchically, using the probability associated to the Random Forest as defining criteria. The postures were regularized sequentially in the following order ball→curl→Bend→straight.

Generate second estimate of the actions: Second layer classification

The second layer classification was based on Random Forest. All actions were trained at the same time with an output being of the 6 actions. All actions were tagged and the no-action states were removed. Finally, to the time series of features computed on the larva contour and spine, the actions classification from the previous layer and their smooth probabilities were added as an input of the random forest. Auxiliary actions and states were not re-trained on this layer.

Regularize singular events

The nature of the larva dynamics and the scale (temporal and spatial) at which the behavior is analyzed prevent certain transition to be possible. We thus regularized two patterns: i→ji and i→jk where {i,j,k} are one of the possible actions, and where these actions are separated by 1 time point. The i→ji pattern was systematically corrected to i→ii and the i→jk pattern to i→kk.

Action specific corrections

Action specific corrections are based on evaluating parameters during the action as defined in the previous layers.

Hunch

New features were generated to ensure a better discrimination when the action head retraction was detected. These features were associated to the length of the larva and to the average, minimum and maximum values taken during the detect head retraction action. A random forest was the train to differentiate between head retraction and other quick motions that could be taken as head retraction.

Stop

Stops lasting less than 2 time points were transformed into the closest action they could be performing.

Back-ups

Back-ups lasting less than 2 time points were transformed. This correction was implemented to lift the ambiguity of nearly stopped larva where small back mostly consequences of the resolution of the tracker were generated.

Action continuum vs discrete actions

Larva behavior was analyzed at the screen scale under the discrete actions hypothesis. Continuous actions vs discrete actions remain a partially ill posed problem as that nature of behavior encodings in the nervous system remain inaccessible. Behaviors are only accessible (in this paper) through their muscular outputs. Hence, discrete vs continuous actions are associated to discrete clustering vs continuous representation of larva-associated features, which is also an ill-posed problem. Our analysis was supported by natural clustering of larva actions using the features designed to robustly capture the motion. In S1 Fig. we showed projection of 3 parameters associated to the larva. Natural clusters appear corresponding to 6 main actions performed by the larva. Coloring was performed using the pipeline. The 3 parameters used x1=log((1S10)2),x2=v10l25α10,5,x4=(dldt)210, with α10,5=V10.U5, where U is the unit vector going from the tail to the mid point of the spine and V is the unit vector in the direction of motion of the mid-point of the spine (the direction of motion). Each point in the plots is the average value of the parameters in one experiment when the larva performs on the behavior. We also show similar plots on example of hits in the paper. Note that for all, the parameters associated to actions are stable ensuring stability of behavior representation with the various lines.

Heuristic to automatically characterize action detection quality

The size of the screen prevents manual checking of all experiments in order to ensure stability of action and behavior representation. We designed a simple scheme to get a global sense of the quality of the description by the pipeline. For all lines, we extracted the average values of a limited set of features (14) associated to all behavior and trained classifiers to predict behavioral output using supervised learning (with random forest) and unsupervised learning (k-nearest neighbors). We evaluated the efficiency of the scheme using cross validation and outputted the accuracy for all individual behavior (S8B Fig)

This scheme primarily shows that the pipeline tends not to overfit as a limited set of parameters can predict behavior. Empirically, it was found that high score was associated to non-ambiguous while lower score would be associated to more ambiguous action that would not be easily characterize by an expert viewer.

Action definition

Stop. A larva is stopped if it does not show any detectable muscular activity. A non-crawling larva is stopped if it does not dynamically bend. A stopped larva can be in a bent posture.

Hunch: A larva is hunches or Head-retracting if it is dynamically (and most of the time more quickly than the rest of the larva dynamics) diminishing its length beyond peristaltic wave amplitude. Head retraction is not associated to a backward movement.

Bend. Any dynamics of bending in the larva whether it is displacing (turning movements) or not displacing (head or tail Bending movements). Here, displacing means the center of mass or the center of the larva (not necessarily the main point) is moving.

Crawl: Larva displacement in the direction going from the tail to the head.

Back-up: Larva displacement in the direction going from the head to the tail.

Rolling: A larva is rolling it is moving laterally while being bent. Rolling is not present in this study (Roll is a type of nociceptive response, that doesn’t normally occur in response to air-puffs.

Choice in data used for training

The Behavioral larva database is made of times series of larva contour and larva spine. All are untagged. Probability of actions in drosophila larva is extremely heterogeneous and some actions can only be seen following specific stimuli patterns. For example, a sample of nearly 14000 larvae taken in the reference (w;;attP2) exhibit the proportion of events follow the following raw statistics (with small motions associated to their closes behavior): 50% crawling, 37% Bending, 9% stopped, 1% head retracting, 3% crawling backwards (Back-ups). Hence, in order to properly sample a large variety of events tagging was done selectively with a focus on pre and post stimuli (the main at 45 s but also the series of 10 stimuli beginning at 95s). Data for training came from multiple experiments with similar focus on activation time. Initial tagging was performed on “hits”and reference lines described in [10,31]. Then, as the behavior detection scheme was designed using incremental learning, new batches of larvae were tagged at each step. At each stage larvae were selected in lines exhibiting either low or high probability of detecting actions with the adjunction of few larvae randomly selected.

Temporal anomaly

Note that a dependency exists in the MWT system between the number of larvae actively tracked and the time between frames. The average time between frames is dt = 8.2 10−2± 1.3 10−2 s with minimal value of dtmin = 2.8 10−2 s and maximal value of. dtmax = 2.9 s. These values were evaluated on a sample of 50000 larvae and total corresponding recording time of T = 56000 s randomly sampled from the full experimental database. Local variability of dt may degrade the quality of behaviour assessment.

Anomalous locomotor defect phenotypes

We defined anomalous phenotypes at the population scale. Non-stimulated larva moving freely on agar plates exhibits two actions: forward crawling with an average time of ~10s and Bending with an average time of ~1s (with occasionally random stops and crawling backward). These two dynamics follow roughly a Poisson dynamics. Hence at any time, at the population scale crawling is the dominant behavior (the main behavior happening) and the second dominant is Bending. Hence,

  • H0: the normal locomotors behavior if P1m>Ptresh and P2m>Ptresh

  • Ha: the abonormal behavior if P1m<Ptresh or P2m<Ptresh

With m = 567, k = 1:crawling, k = 2:bending, Ptresh = 0.97, Pkm = <I(k,t)>T with I the indicator function with

I(k,t) = 1, when the larva is performing action k during the time [t,t+dt] and I(k,t) = 0 otherwise ⟨⟩T is the temporal average during time window T. The time window T = 44.75s was set to provide 250ms safety prior to the stimuli. All lines in Ha we removed experimental sets if this hierarchy was violated prior to the stimuli at 45s. They are referred in the main text as lines most likely exhibiting locomotor defects.

Evolution of action definition

In this paper, action definition was generalized from the ones in [10,31] while remaining compatible. The goal of current discrete definition was to remove “amplitude”parameters in order to be able to associate to each action, a nature (running bending etc), a duration (from start to stop), amplitudes (for example velocity of the run, angular amplitude of bending, length change during hunching etc.) and two transitions from and to another action. We provide here, links between former and current definitions.

Head retraction vs hunch

In previous studies [31], “hunch” was defined as the strong length decrease of the larva with the thresholds as describe in [10]. “Hunch”, as defined in the present study, are all events of larval shortening regardless of their magnitude. If we apply a similar threshold (effective length change dl = 0.8) used for previous “hunch” detection with the present machine-learning behavioral detection method we obtain previously defined hunches.

Bend vs bend

Similarly, previously [31] “bends” were described as events with head-tail angles of 27° or more [59]. If we apply a similar threshold to the “Bend” events detected with the present machine-learning algorithms, we obtain the previously defined “bends” (effective angle change, S = 0.81).

Quantification and statistical analysis

Ethograms

Ethograms were designed to display the temporal evolution of the individual larva behavior with time. Color code is associated to the action being performed. Stimuli are displayed in magenta thick lines.

Behavior probability

The temporal evolution of behavior was computed as the ratio of the number of larva performing the action over the total number of active larva in time windows of duration 2dt with dt = 100ms. Noticeable evolution of noise in the curves may be the result of varying number of active larvae in the rig.

Dominant behavior

The temporal evolution of dominant and second dominant behavior was computed as the most probable and second most probable behavior in same time window as behavior probability.

Transition analysis

Transition analysis simply consisted of counting during a predefined time window all the transition between behaviors. These transitions are represented in matrices where initial states are rows and arrival states are columns. Normalization was performed on rows. The transition probabilities starting from a given behavior for control and experimental populations were statistically compared by the Fisher exact test. We say that any p-value less than 0.05 (uncorrected for multiple comparisons) is significant.

Sequence analysis

Sequences were measured as the list of different actions performed after the stimulus. We limited the number of actions to the first four actions performed after stimulus onset. We defined dtblur = 500ms as the time of uncertainty if the stimulus has been perceived. If the larva performs the same actions as it was before the stimulus for longer than dtblur it is considered to be the response to the stimuli. We included in this analysis all the actions: hunches, Bends, back-ups, stops as well as the baseline behavior crawl.

We used a chi-squared statistical test to compare GAL4 lines with control (w;;attP2). We say that any p-value less than 0.05 (uncorrected for multiple comparisons) is significant.

Behavioral probability analysis (time windows)

Probability analysis was performed on averaging on various time windows, 1s, 5s and 15s, the fraction of time that the larvae spent performing an action. This analysis was performed after the start and the end of the stimuli. We used a chi-squared statistical test to compare GAL4 lines with control (w;;attP2). We say that any p-value less than 0.05 (uncorrected for multiple comparisons) is significant.

Cumulative analysis

Cumulative analysis was performed by counting the number of larva performing at least once an action in various time widows of duration 1s, 5s, and 15s. This analysis was performed after the start and the end of the stimuli.

Larva length analysis

Length analysis was performed during head retraction event. We evaluated the maximal and minimal length (both l and lM) during the hunch and measured the relative variation δ(l)=lmaxlminlmax and r(l)=lminlmax.

Amplitude during bend

The amplitude of Bend was analyzed during Bend event after the stimulus. We estimated the average value of the minimal S value during the Bend.

Statistical significance and hits preselection

The goal of the paper is to identify possible hit neurons involved in significant behavior probability modification as well as those involve in competitive interactions between mutually exclusive actions. Hence, we design a screen in order to select a list of possible hits from the behavioral output.

1) Prior to any analysis, we investigated if lines did not exhibit anomalous behavior (see Anomalous locomotors defect phenotypes) excluded all lines exhibiting locomotors defects (see S2 Table) prior to any stimulation. Hence, from the initial 567 lines, 95 lines were removed leading to a subset of 471 lines + 1 control to analyze.

2) Analysis was performed as planned comparison where all lines were compared to the control (w; attP2-TNT). First we seek for lines that might induce increase/decrease of behavior probability after the stimulus when compared to the control. Hence,

  • H0: the null hypothesis πmk=π0k

  • HA: the hit hypothesis πmkπ0k

with k∈[1..7] 1:crawling, 2:bending, 3:stopped, 4: hunching, 5:carwling backward, 6: rolling (not evoked here) 7: small motions, m∈[1..471] the lines being tested and m = 0 the control. The distribution of p(πmk)=B(πmk,Nm,nmk)=(Nmnmk)(πmk)nmk(1πmk)Nmnmk is the binomial distribution. We performed the generalized likelihood ratio test statistic between each lines and the control with z=2log(B(πk,Nm,nmk)B(πk,N0,n0k)B(πmk,Nm,nmk)B(π0k,N0,n0k)) with π=nmk+n0kNm+N0 and p = χ2(z,df = 1) as well as Chi squared test (which is asymptotic limit of the likelihood ratio test).

3) Simultaneously, we tested for significant difference between lines regarding the full distribution of behavior, with

  • H0: the null hypothesis [πm1,..,πm7]=[π01,..,π07]

  • HA: the hit hypothesis [πm1,..,πm7][π01,..,π07]

The distribution of p([πm1,..,πm7])=Mult(Πm,Nm)=Nm!k=17nmk!k=17(πmk)nmk is the multinomial distribution with Nm=k=17nmk. Similarly we performed both the generalized likelihood ratio test statistic with z=2log(Mult(Π,Nm)Mult(Π,N0)Mult(Πm,Nm)Mult(Πm0,N0)) with Π=[..,nmk+n0kNm+N0,..] p = χ2(z,df = 6) and the Chi squared test.

4) We also performed planned comparison for possible competitive interaction lines. We used two simultaneous tests to search for candidate hit lines. We first used the test 3) for detection of hit lines regarding full distribution of behavior. The test was complemented for the sake of selectiveness by the following test

  • H0: the null hypothesis (πmk1=π0k1)&(πmk2=π0k2)

  • HA: the hit hypothesis (πmk1π0k1)&(πmk2π0k2) with ((πmk1>π0k1)&(πmk2<π0k2))((πmk1<π0k1)&(πmk2>π0k2))

with k1k2, (k1,k2)∈[1,..7], where each behavior is considered to be statistically independent of the other. We used results from 2) and required for one of the two behaviour to have the p-value inferior to ptresh = 0.01 and the second one to at least be inferior to 10.ptresh.

5) Independently, we sought hits leading to large deviation in amplitude associated to behavior from the control. We investigating changes in length variation for hunch, the parameter S (acting as an effective angle) variation for bending and the velocity of motion variation for forward crawling. Hence,

  • H0: the null hypothesis Amk=A0k

  • HA: the hit hypothesis AmkA0k

With A the associated amplitudes, k∈{2,4,1} and m∈[1..471] the lines being tested and m = 0 the control. We used Two-sample Kolmogorov-Smirnov test to compare amplitude.

6) On the subset of selected hit lines, we investigated the transition matrices. Analysis was performed as planned comparison, on the subset, where all lines were compared to the control (w; attP2-TNT). Transitions matrices elements were defined as Tkl=NkllNkl with (k,l)∈[1..7], Nkl the number of events where a larva goes from the behavior k to the behavior l. The behavior being defined as mutually excusive, we have Nkk = 0 and ∀k∈{1..7} ∑lTkl = 1. We sought for lines that might induce increase/decrease in transition probability when compared to the same transition probability in the control. Hence,

  • H0: the null hypothesis (Tkl)m=Tkl0

  • HA: the hit hypothesis (Tkl)mTkl0

Similarly, the distribution of Tkl is binomial distribution and we use generalized likelihood ratio test statistic and the Chi Square test for statistical testing (S2 Data file, S4 Data file).

We further used the same approach to investigate transition matrices screenscale (S11 Table, S5 Data file)

Note that initial assessment of possible hits worth investigating, whether for pure change of probability or coupled simultaneous increase and decrease of probability, was done following previous successful approach in finding neuron lines in [59], by using directly the p-value of the various tests performed against the control, thus not corrected for multiple comparison. In doing so, we increased the risk of false positive detections. The most general correction for the multiple testing is the Bonferroni correction where the criteria α*=αm, with here m = 471 (1 test vs control per line).

We chose different level of significance regarding the competitive interaction neuron hit list (simultaneous increase and decrease of probability of a behavior) and the neuron list for simultaneous increase/decrease of multiple behaviors. It was a pure commodity to reduce list of possible hits and focus on those whose had sparse expression patterns or those connected to some neurons already known to have a key role in decision-making.

Note that hits were detected involving selectively the behavior small but were not discussed in this paper. Small motion gathers all behaviors characterized by small amplitude such as Hunches with limited relative length variation, crawling with small motion velocities or bending with small S variations etc. Diversity of conditions of small motion behavior emergence suggests this behavior may exist as a separate category of actions in the larva nervous system. Yet, further Investigation of this behavior will require amongst other things large-scale recordings at higher resolution to ensure a better characterization of their associated features.

False negative and false positive

As stated before, the list of hits that we identify provide candidate neurons whose involvement in in sensorimotor decisions needs to be confirmed by combining phenotype information with connectome information and functional studies. Thus, although a large statistical significance between a neuron line compared to the reference remain a strong indicator of significant involvement of this neuron only with supplementary information outside the screening procedure can we confirm their involvements. Conversely, being not being selected as hit due to lack of statistical significance for individual test or for multiple testing corrected test does not exclude the neuron from having a significant role.

Behavioral response dependency on larva angle at the start of the air puff

In order to question whether the air puff angle did play a role in behavior selection, we computed the cumulative distribution function (CDF) of the larva angles (for the control: w;;attP2-TNT larvae) when compared to the wind for all behavior when the stimulus started. Results are shown in S9 Fig. CDF curves did not exhibit specific patterns (safe from stopping action) suggesting preferred angle for decision making when related to the wind direction. We perform KS test to compare the main actions considered in this paper with: p = 0.2 for Hunch-bend, p = 0.18 for bend-back and p = 0.04 for hunch-back.

Supporting information

S1 Fig. Natural clustering of behaviour in Drosophila larva.

A. Scatter plots of 3 larva features with 3 projections for the control and 10 hit lines (plotted per behaviour). Each point is the average value of a larva feature when performing one of the behaviour during one experiment. Colour code is associated to behaviour with: in black Crawl, in red Bend, in Green Stopped, in blue Hunching, in Cyan Back-up and in grey-small motions. The plot was performed on ca 13000 larvae from the w::attP2-TNT experiments. The features shown here are x1=log((1S10)2),x3=v10l25α10,5 and x4=(dldt)210. Note the natural separation of the features with the behaviour; small motion lies in between Crawl, Bend and Stop. Hunch and Back-up are close together. You can also note the difference in the geometry of the features linked to action. B. Same as in A for the control plotted per larva C. Accuracy of behavior identification with limited features with in knn classifier (top panel) and in random forest classifier (bottom panel)

(TIF)

S2 Fig. Additional characterization of the behavioral response of wild-type larvae to an air-puff.

A. Behavioral probabilities upon stimulus onset (during the 1st second of stimulation at high (6 m/s) and low (3 m/s) intensities of air-puff. p-values are all p<0.001 (***). B. Scatterplots of Amplitude of Bending (effective angle) vs Bend probability. C. Scatterplots of Amplitude of Hunching (Relative length variations) and Hunch probability. B-C. Each dot represents the average value for a neuronal line.

(TIF)

S3 Fig. Inter-trial and inter-individual variability of mechanosensory responses.

A-F. Ethogram of the behaviors of the attP2>TNT control before, and upon repeated presentation of 2 s air-puff stimulation. Each line is a larva. Different colors represent different actions: Blue-Hunch, Red-Bend, Cyan-Back-up, Black-Crawl and in Green-Stop A-E. Different examples of inter-trial variability (within each ethogram) and inter-individual variability (between different ethograms). A. Example of larvae that hunched on the first stimulus, bended on the second stimulus and performed any action on the third stimulus. B. Example of larvae that hunched on the first stimulus, performed a small action on the second stimulus and performed any action on a third stimulus. C. Example of larvae that bended on the first stimulus, hunched on the second stimulus and performed any action on the third stimulus D. Example of larvae that backed-up on the first stimulus, and performed any action on the second and third stimulus E. Example of larvae that performed a small action on the first stimulus, hunched on the second stimulus and performed any action on a third stimulus F. Example of larvae that only hunched immediately upon repeated presentation of an air-puff stimulus

(TIF)

S4 Fig. Behavioral probabilities for all five actions.

A-F Behavioral probabilities upon stimulus onset (during 1st second) for all the selected lines shown in Fig 4. for the five behaviors: Crawl, Bend, Stop, Hunch and Back-up are shown l *:p<0.05, **:p<0.01, *** p<0.001 A. R11A07, B. R39H05, C. R88C11, D. R66A12, E. R13A08, F. R32E04.

(TIF)

S5 Fig. Ethograms of competitive interaction hit lines.

Ethograms for all the selected competitive interaction hit lines with sparse neuronal expression patterns shown in Fig 6.

(TIF)

S6 Fig. Putative mechanosensory network.

a summary diagram of all the neurons identified in the hit lines as putative neurons involved in mechanosensory responses in this study and some previously published key neurons involved in mechanosensory responses: Basin-1-4 (B1-B4), LnA, LnB, fbLN, A09e [10,21,38]. (Their detailed connectivity can be found in [10,21,30,38]). Connectivity is based on previously published reconstruction and newly reconstructed connections (S1 Data file, connectivity matrix). The arrows indicate excitatory connections, T-bars indicate inhibitory connections and plain lines when it is unknown whether it is excitatory or inhibitory. The width of the line is proportional to the strength of the connection. Some weak connections are not shown for clarity the number of synapses may be underestimated due to the lack of data from segments. Putative connections are shown as dashed lines. In addition to the reconstructed network in the VNC, putative neurons in the SEZ and brain are shown based on the candidate neuron from the behavioral screen (i.e. lines R92H01, R11F06, R82B06, R65B04, R27B12)

(TIF)

S7 Fig. Putative mechanosensory network reconstructed in the CNS volume.

All the elements from the putatitive mechanosensy network shown in S6 Fig. Dorsal view (left panel), Lateral view (right panel).

(TIF)

S8 Fig

A. Graphical representation of the learning procedure. B. Accuracy of behavior identification with limited features with on the left, knn classifier and on the right, random forest classifier. Every line is a GAL4 line and every column is an action: Fc is Forward Crawl, B-u is Back-up and Sm is Small motion. Note the overall constant accuracy throughout the lines.

(TIF)

S9 Fig. Behavioral responses as a function of larval orientation at the onset of air puff.

Evolution of the Cumulative Distribution Function (CDF) of the angle θ=θe1θw with. θe1 the absolute angle of the e1 vector (top neck to head of the larva) and θw = 3π/2 is the angle associated to the wind direction, with the first action after the air puff stimulus. Color code is associated with behavior (similar to all other plots in this paper) with small actions in purple. Note that linear evolution of the CDF is associated to flat (no preferred direction) of the probability density function (pdf).

(TIF)

S1 Table. Probabilities screenscale_timewindow1.

(XLSX)

S2 Table. Lines with Locomotor defects.

(XLSX)

S3 Table. Amplitude Bend.

(XLSX)

S4 Table. Amplitude Hunch.

(XLSX)

S5 Table. Sensory line hits.

Behavioral probabilities for all five actions. Source data For Fig 3E

(XLSX)

S6 Table. CNS line hits.

Behavioral probabilities for all five actions. Source data for Fig 3F and 3G.

(XLSX)

S7 Table. CNS line hits.

Behavioral probabilities for lines with decreased (24 lines) or increased probabilities (1 line) in multiple actions.

(XLSX)

S8 Table. Anatomical annotations.

(XLSX)

S9 Table. List of neurons.

(XLSX)

S10 Table. Probabilities_competitive interaction lines.

(XLSX)

S11 Table. Transition probabilities.

Transition probabilities for selected hit lines. For each transition probability, a p-value for comparison with the corresponding transition probability in the control (w;; attp2>TNT) are also shown.

(XLSX)

S1 Data. Connectivity matrix.

(CSV)

S2 Data. Spreadsheet pvalues_screenscale.

(XLSX)

S3 Data. Spreadsheet screened lines.

(XLSX)

S4 Data. Spreadsheet pvalues for behavioral probabilities comparisons generalized likelihood ratio test.

(CSV)

S5 Data. Spreadsheet pvalues for transition probabilities, generalized likelihood ratio test.

(CSV)

Acknowledgments

We thank C.Montell (UC Santa Barbara), YN Jan (UC San Francisco) for fly stocks. We thank Fly core at JRC for fly crosses and Rebecca Arruda and Tam Dang for help with the behavioral experiments, Jim Truman for flp-out images of selected hit lines, Casey Schneider-Mizell for helpful discussion on the EM reconstruction and EM reconstruction of the hook-1 neuron) Michael Winding for helpful discussion on matching LM and EM images. This work used the computational and storage services (TARS cluster) provided by the IT department at Institut Pasteur, Paris.

Data Availability

All relevant data are within the manuscript and its Supporting Information files.

Funding Statement

We thank HHMI Janelia Research Campus for funding (M.Z., A.C., J-B.M and T.J). We acknowledge funding from the Wellcome Trust Investigator Award 205050/Z/16/Z (M.Z) and Wellcome Trust International Recruitment Supplement 205050/A/16/Z (M.Z), from Institut Pasteur (J.-B.M), the sponsorship of CRPCEN & Gilead Science (J.-B.M), the ANR-17-CE23-0016 TRamWAy (J.-B.M), the “programme d’investissement d’avenir” supported by the “agence nationale de la recherche” ANR-19-P3IA-0001 (PRAIRIE 3IA Institute) (J.-B. M.), the INCEPTION project (PIA/ANR- 16-CONV-0005, OG) (J.-B.M), ANR-17-CE37-0019-01 (T.J.). This project has received funding from the European Union’s Horizon 2020 research and innovation programme under the Marie Sklodowska-Curie grant agreement No 798050 (T.J.) The funders had no role in study design, data collection and analysis, decision to publish, or preparation of the manuscript.

References

  • 1.Cisek P. Cortical mechanisms of action selection: the affordance competition hypothesis. Philosophical Transactions of the Royal Society B: Biological Sciences. 2007;362: 1585–1599. 10.1098/rstb.2007.2054 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 2.Reyn von CR, Breads P, Peek MY, Zheng GZ, Williamson WR, Yee AL, et al. A spike-timing mechanism for action selection. Nat Neurosci. 2014;17: 962–970. 10.1038/nn.3741 [DOI] [PubMed] [Google Scholar]
  • 3.Cisek P, Kalaska JF. Neural Mechanisms for Interacting with a World Full of Action Choices. Annu Rev Neurosci. 2010;33: 269–298. 10.1146/annurev.neuro.051508.135409 [DOI] [PubMed] [Google Scholar]
  • 4.Gold JI, Shadlen MN. The neural basis of decision making. Annu Rev Neurosci. 2007;30: 535–574. 10.1146/annurev.neuro.29.051605.113038 [DOI] [PubMed] [Google Scholar]
  • 5.Gaudry Q, Kristan WB. Behavioral choice by presynaptic inhibition of tactile sensory terminals. Nat Neurosci. 2009;12: 1450–1457. 10.1038/nn.2400 [DOI] [PubMed] [Google Scholar]
  • 6.Kristan WB. Neuronal Decision-Making Circuits. Current Biology. 2008;18: R928–R932. 10.1016/j.cub.2008.07.081 [DOI] [PubMed] [Google Scholar]
  • 7.Lebedev MA, Wise SP. Insights into seeing and grasping: distinguishing the neural correlates of perception and action. Behav Cogn Neurosci Rev. 2002;1: 108–129. 10.1177/1534582302001002002 [DOI] [PubMed] [Google Scholar]
  • 8.Livant WP. George A. Miller, Eugene Galanter, and Karl H Pribram, Plans and the structure of behavior New York: Henry Holt, 1960. Syst Res. 2007;5: 341–342. 10.1002/bs.3830050409 [DOI] [Google Scholar]
  • 9.Miller GA, Galanter E, Pribram KH. Plans and the Structure of Behavior. Holt R, Winston, editors. New York; 1960.
  • 10.Jovanic T, Schneider-Mizell CM, Shao M, Masson J-B, Denisov G, Fetter RD, et al. Competitive Disinhibition Mediates Behavioral Choice and Sequences in Drosophila. Cell. Elsevier; 2016;167: 858–870.e19. 10.1016/j.cell.2016.09.009 [DOI] [PubMed] [Google Scholar]
  • 11.Lasley KS. The problem of serial order in behavior Jeffress LA, editor. New York: Wiley; 1951. pp. 112–131. [Google Scholar]
  • 12.Seeds AM, Ravbar P, Chung P, Hampel S, Midgley FM, Mensh BD, et al. A suppression hierarchy among competing motor programs drives sequential grooming in Drosophila. eLife. 2014;3: e02951 10.7554/eLife.02951 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 13.Long MA, Jin DZ, Fee MS. Support for a synaptic chain model of neuronal sequence generation. Nature. 2010;468: 394–399. 10.1038/nature09514 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 14.James W. The Principles of Psychology. London: Macmillan; 1890. [Google Scholar]
  • 15.Adams J, (null). Learning of movement sequences. Psychological Bulletin. 1984;93: 3–28. [Google Scholar]
  • 16.Manning A. The Sexual Behaviour of Two Sibling Drosophila Species. Behaviour. Brill; 1959;15: 123–145. [Google Scholar]
  • 17.Manoli DS, Baker BS. Median bundle neurons coordinate behaviours during Drosophila male courtship. Nature. Nature Publishing Group; 2004;430: 564–569. 10.1038/nature02713 [DOI] [PubMed] [Google Scholar]
  • 18.McKellar CE, Lillvis JL, Bath DE, Fitzgerald JE, Cannon JG, Simpson JH, et al. Threshold-Based Ordering of Sequential Actions during Drosophila Courtship. Curr Biol. 2019;29: 426–434.e6. 10.1016/j.cub.2018.12.019 [DOI] [PubMed] [Google Scholar]
  • 19.Jenett A, Rubin GM, Ngo T-TB, Shepherd D, Murphy C, Dionne H, et al. A GAL4-Driver Line Resource for Drosophila Neurobiology. Cell Rep. 2012;2: 991–1001. 10.1016/j.celrep.2012.09.011 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 20.Li H-H, Kroll JR, Lennox SM, Ogundeyi O, Jeter J, Depasquale G, et al. A GAL4 driver resource for developmental and behavioral studies on the larval CNS of Drosophila. Cell Rep. 2014;8: 897–908. 10.1016/j.celrep.2014.06.065 [DOI] [PubMed] [Google Scholar]
  • 21.Ohyama T, Schneider-Mizell CM, Fetter RD, Aleman JV, Franconville R, Rivera-Alba M, et al. A multilevel multimodal circuit enhances action selection in Drosophila. Nature. 2015;520: 633–639. 10.1038/nature14297 [DOI] [PubMed] [Google Scholar]
  • 22.Schneider-Mizell CM, Gerhard S, Longair M, Kazimiers T, Li F, Zwart MF, et al. Quantitative neuroanatomy for connectomics in Drosophila. eLife. 2016;5: 1133 10.7554/eLife.12059 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 23.Heckscher ES, Lockery SR, Doe CQ. Characterization of Drosophila larval crawling at the level of organism, segment, and somatic body wall musculature. J Neurosci. Society for Neuroscience; 2012;32: 12460–12471. 10.1523/JNEUROSCI.0222-12.2012 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 24.Zwart MF, Pulver SR, Truman JW, Fushiki A, Fetter RD, Cardona A, et al. Selective Inhibition Mediates the Sequential Recruitment of Motor Pools. Neuron. 2016;91: 615–628. 10.1016/j.neuron.2016.06.031 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 25.Eichler K, Li F, Litwin-Kumar A, Park Y, Andrade I, Schneider-Mizell CM, et al. The complete connectome of a learning and memory centre in an insect brain. Nature. 2017;548: 175–182. 10.1038/nature23455 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 26.Kohsaka H, Zwart MF, Fushiki A, Fetter RD, Truman JW, Cardona A, et al. Regulation of forward and backward locomotion through intersegmental feedback circuits in Drosophila larvae. Nat Commun. Nature Publishing Group; 2019;10: 2654–11. 10.1038/s41467-019-10695-y [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 27.Fushiki A, Zwart MF, Kohsaka H, Fetter RD, Cardona A, Nose A, et al. A circuit mechanism for the propagation of waves of muscle contraction in Drosophila. eLife. eLife Sciences Publications Limited; 2016;5: e13253 10.7554/eLife.13253 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 28.Carreira-Rosario A, Zarin AA, Clark MQ, Manning L, Fetter RD, Cardona A, et al. MDN brain descending neurons coordinately activate backward and inhibit forward locomotion. eLife. eLife Sciences Publications Limited; 2018;7: 57 10.7554/eLife.38554 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 29.Zarin AA, Mark B, Cardona A, Litwin-Kumar A, Doe CQ. A Drosophila larval premotor/motor neuron connectome generating two behaviors via distinct spatio-temporal muscle activity. bioRxiv. Cold Spring Harbor Laboratory; 2019;9: 617977 10.1101/617977 [DOI] [Google Scholar]
  • 30.Burgos A, Honjo K, Ohyama T, Qian CS, Shin GJ-E, Gohl DM, et al. Nociceptive interneurons control modular motor pathways to promote escape behavior in Drosophila. eLife. eLife Sciences Publications Limited; 2018;7: 1557 10.7554/eLife.26016 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 31.Ohyama T, Jovanic T, Denisov G, Dang TC, Hoffmann D, Kerr RA, et al. High-Throughput Analysis of Stimulus-Evoked Behaviors in Drosophila Larva Reveals Multiple Modality-Specific Escape Strategies. Brembs B, editor. PLoS ONE. Public Library of Science; 2013;8: e71706 10.1371/journal.pone.0071706 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 32.Bodmer R, Jan Y-N. Morphological differentiation of the embryonic peripheral neurons in Drosophila. Rouxs Arch Dev Biol. Springer-Verlag; 1987;196: 69–77. 10.1007/BF00402027 [DOI] [PubMed] [Google Scholar]
  • 33.Grueber WB, Ye B, Yang C-H, Younger S, Borden K, Jan LY, et al. Projections of Drosophila multidendritic neurons in the central nervous system: links with peripheral dendrite morphology. Development. The Company of Biologists Limited; 2007;134: 55–64. 10.1242/dev.02666 [DOI] [PubMed] [Google Scholar]
  • 34.Merritt DJ, Whitington PM. Central projections of sensory neurons in the Drosophila embryo correlate with sensory modality, soma position, and proneural gene function. J Neurosci. Society for Neuroscience; 1995;15: 1755–1767. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 35.Tsubouchi A, Caldwell JC, Tracey WD. Dendritic filopodia, Ripped Pocket, NOMPC, and NMDARs contribute to the sense of touch in Drosophila larvae. Curr Biol. 2012;22: 2124–2134. 10.1016/j.cub.2012.09.019 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 36.Yan Z, Zhang W, He Y, Gorczyca D, Xiang Y, Cheng LE, et al. Drosophila NOMPC is a mechanotransduction channel subunit for gentle-touch sensation. Nature. 2013;493: 221–225. 10.1038/nature11685 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 37.Kernan M, Cowan D, Zuker C. Genetic dissection of mechanosensory transduction: mechanoreception-defective mutations of Drosophila. Neuron. 1994;12: 1195–1206. 10.1016/0896-6273(94)90437-5 [DOI] [PubMed] [Google Scholar]
  • 38.Jovanic T, Winding M, Cardona A, Truman JW, Gershow M, Zlatic M. Neural Substrates of Drosophila Larval Anemotaxis. Curr Biol. 2019;29: 554–566.e4. 10.1016/j.cub.2019.01.009 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 39.Takagi S, Cocanougher BT, Niki S, Miyamoto D, Kohsaka H, Kazama H, et al. Divergent Connectivity of Homologous Command-like Neurons Mediates Segment-Specific Touch Responses in Drosophila. Neuron. 2017;96: 1373–1387.e6. 10.1016/j.neuron.2017.10.030 [DOI] [PubMed] [Google Scholar]
  • 40.Nern A, Pfeiffer BD, Rubin GM. Optimized tools for multicolor stochastic labeling reveal diverse stereotyped cell arrangements in the fly visual system. Proc Natl Acad Sci USA. National Acad Sciences; 2015;112: E2967–76. 10.1073/pnas.1506763112 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 41.Gerhard S, Andrade I, Fetter RD, Cardona A, Schneider-Mizell CM. Conserved neural circuit structure across Drosophila larval development revealed by comparative connectomics. eLife. eLife Sciences Publications Limited; 2017;6: 2452 10.7554/eLife.29089 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 42.Rosenbaum DA, Cohen RG, Jax SA, Weiss DJ, van der Wel R. The problem of serial order in behavior: Lashley’s legacy. Human Movement Science. 2007;26: 525–554. 10.1016/j.humov.2007.04.001 [DOI] [PubMed] [Google Scholar]
  • 43.Cisek P. Making decisions through a distributed consensus. Current Opinion in Neurobiology. Elsevier Current Trends; 2012;22: 927–936. 10.1016/j.conb.2012.05.007 [DOI] [PubMed] [Google Scholar]
  • 44.Briggman KL, Kristan WB. Imaging dedicated and multifunctional neural circuits generating distinct behaviors. The Journal of neuroscience. 2006. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 45.Ledberg A, Bressler SL, Ding M, Coppola R, Nakamura R. Large-scale visuomotor integration in the cerebral cortex. Cereb Cortex. 2007;17: 44–62. 10.1093/cercor/bhj123 [DOI] [PubMed] [Google Scholar]
  • 46.Pezzulo G, Castelfranchi C. Thinking as the control of imagination: a conceptual framework for goal-directed systems. Psychol Res. 2009;73: 559–577. 10.1007/s00426-009-0237-z [DOI] [PubMed] [Google Scholar]
  • 47.Berck ME, Khandelwal A, Claus L, Hernandez-Nunez L, Si G, Tabone CJ, et al. The wiring diagram of a glomerular olfactory system. 2016 Jan. Report No.: 10.1101/037721. 10.1101/037721 [DOI] [PMC free article] [PubMed]
  • 48.Heckscher ES, Zarin AA, Faumont S, Clark MQ, Manning L, Fushiki A, et al. Even-Skipped(+) Interneurons Are Core Components of a Sensorimotor Circuit that Maintains Left-Right Symmetric Muscle Contraction Amplitude. Neuron. 2015;88: 314–329. 10.1016/j.neuron.2015.09.009 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 49.Schlegel P, Texada MJ, Miroschnikow A, Schoofs A, Hückesfeld S, Peters M, et al. Synaptic transmission parallels neuromodulation in a central food-intake circuit. eLife. eLife Sciences Publications Limited; 2016;5: 462 10.7554/eLife.16799 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 50.Pfeiffer BD, Jenett A, Hammonds AS, Ngo T-TB, Misra S, Murphy C, et al. Tools for neuroanatomy and neurogenetics in Drosophila. Proc Natl Acad Sci USA. National Acad Sciences; 2008;105: 9715–9720. 10.1073/pnas.0803697105 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 51.Zhang W, Yan Z, Jan LY, Jan Y-N. Sound response mediated by the TRP channels NOMPC, NANCHUNG, and INACTIVE in chordotonal organs of Drosophila larvae. Proc Natl Acad Sci USA. National Acad Sciences; 2013;110: 13612–13617. 10.1073/pnas.1312477110 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 52.Kwon Y, Shen WL, Shim H-S, Montell C. Fine thermotactic discrimination between the optimal and slightly cooler temperatures via a TRPV channel in chordotonal neurons. J Neurosci. Society for Neuroscience; 2010;30: 10465–10471. 10.1523/JNEUROSCI.1631-10.2010 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 53.Sweeney ST, Broadie K, Keane J, Niemann H, O'Kane CJ. Targeted expression of tetanus toxin light chain in Drosophila specifically eliminates synaptic transmission and causes behavioral defects. Neuron. 1995;14: 341–351. 10.1016/0896-6273(95)90290-2 [DOI] [PubMed] [Google Scholar]
  • 54.Saalfeld S, Cardona A, Hartenstein V, Tomancak P. CATMAID: collaborative annotation toolkit for massive amounts of image data. Bioinformatics. Oxford University Press; 2009;25: 1984–1986. 10.1093/bioinformatics/btp266 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 55.Swierczek NA, Giles AC, Rankin CH, Kerr RA. High-throughput behavioral analysis in C. elegans. Nat Methods. 2011;8: 592–598. 10.1038/nmeth.1625 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 56.Kabra M, Robie AA, Rivera-Alba M, Branson S, Branson K. JAABA: interactive machine learning for automatic annotation of animal behavior. Nat Methods. 2012;10: 64–67. 10.1038/nmeth.2281 [DOI] [PubMed] [Google Scholar]
  • 57.Bishop C. Pattern recognition and machine learning Springer; 2006. [Google Scholar]
  • 58.Schulze A, Gomez-Marin A, Rajendran VG, Lott G, Musy M, Ahammad P, et al. Dynamical feature extraction at the sensory periphery guides chemotaxis. eLife. eLife Sciences Publications Limited; 2015;4: 1129 10.7554/eLife.06694 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 59.Vogelstein JT, Park Y, Ohyama T, Kerr RA, Truman JW, Priebe CE, et al. Discovery of brainwide neural-behavioral maps via multiscale unsupervised structure learning. Science. 2014;344: 386–392. 10.1126/science.1250298 [DOI] [PubMed] [Google Scholar]

Decision Letter 0

Gregory S Barsh, Aravinthan Samuel

Transfer Alert

This paper was transferred from another journal. As a result, its full editorial history (including decision letters, peer reviews and author responses) may not be present.

3 Nov 2019

* Please note while forming your response, if your article is accepted, you may have the opportunity to make the peer review history publicly available. The record will include editor decision letters (with reviews) and your responses to reviewer comments. If eligible, we will contact you to opt in or out. *

Dear Dr Jovanic,

Thank you very much for submitting your Research Article entitled 'Identifying neural substrates of competitive interactions and sequence transitions during mechanosensory responses in Drosophila' to PLOS Genetics. Your manuscript was fully evaluated at the editorial level and by independent peer reviewers. The reviewers appreciated the attention to an important topic but identified some aspects of the manuscript that should be improved.

We therefore ask you to modify the manuscript according to the review recommendations before we can consider your manuscript for acceptance. Your revisions should address the specific points made by each reviewer.

In addition we ask that you:

1) Provide a detailed list of your responses to the review comments and a description of the changes you have made in the manuscript.

2) Upload a Striking Image with a corresponding caption to accompany your manuscript if one is available (either a new image or an existing one from within your manuscript). If this image is judged to be suitable, it may be featured on our website. Images should ideally be high resolution, eye-catching, single panel square images. For examples, please browse our archive. If your image is from someone other than yourself, please ensure that the artist has read and agreed to the terms and conditions of the Creative Commons Attribution License. Note: we cannot publish copyrighted images.

We hope to receive your revised manuscript within the next 30 days. If you anticipate any delay in its return, we would ask you to let us know the expected resubmission date by email to plosgenetics@plos.org.

If present, accompanying reviewer attachments should be included with this email; please notify the journal office if any appear to be missing. They will also be available for download from the link below. You can use this link to log into the system when you are ready to submit a revised version, having first consulted our Submission Checklist.

While revising your submission, please upload your figure files to the Preflight Analysis and Conversion Engine (PACE) digital diagnostic tool. PACE helps ensure that figures meet PLOS requirements. To use PACE, you must first register as a user. Then, login and navigate to the UPLOAD tab, where you will find detailed instructions on how to use the tool. If you encounter any issues or have any questions when using PACE, please email us at figures@plos.org.

Please be aware that our data availability policy requires that all numerical data underlying graphs or summary statistics are included with the submission, and you will need to provide this upon resubmission if not already present. In addition, we do not permit the inclusion of phrases such as "data not shown" or "unpublished results" in manuscripts. All points should be backed up by data provided with the submission.

PLOS has incorporated Similarity Check, powered by iThenticate, into its journal-wide submission system in order to screen submitted content for originality before publication. Each PLOS journal undertakes screening on a proportion of submitted articles. You will be contacted if needed following the screening process.

To resubmit, you will need to go to the link below and 'Revise Submission' in the 'Submissions Needing Revision' folder.

[LINK]

Please let us know if you have any questions while making these revisions.

Yours sincerely,

Aravinthan Samuel

Guest Editor

PLOS Genetics

Gregory Barsh

Editor-in-Chief

PLOS Genetics

Reviewer's Responses to Questions

Comments to the Authors:

Please note here if the review is uploaded as an attachment.

Reviewer #1: The review is uploaded as an attachment.

Reviewer #2: Review of Masson et el PGENETICS-D-19-01524

Masson et al describe the results of a circuit screen that was carried out using larvae of Drosophila melanogaster. 567 Janelia GAL4 lines were pre-selected for anatomically sparse expression patterns in the larval brain and/or peripheral nervous system. These lines were then crossed to a UAS-TnT to silence the neurons and larvae with the silenced neurons were exposed to an air puff stimulus. Video recordings were made of the animals with the silenced neurons before, during, and after responding to the stimuli, and the behavioral responses were analyzed using a supervised machine learning approach. Five general categories of behavioral responses are seen in various probabilistic combinations in response to an air puff stimulus (hunch, crawl, bend, stop, backup). By comparing the responses of the silenced animals to controls, the authors identified GAL4 lines that resulted in alterations in behavioral probabilities. Neurons targeted by these lines were then described and investigated further. Neurons identified were in the peripheral nervous system and distributed throughout the brain. The authors conclude that the results are consistent with a “distributed model of decision making.” The paper is very rich in data, and the experiments are well-performed, and the study will be of interest to the readers of PLoS Genetics. However, the conclusion that the data support a distributed model of “decision making” is overstated and this needs revision and further discussion

Major Points:

1.) The methods contain a very detailed discussion of the mathematical parameters used in the behavioral classification scheme, but there is almost no discussion of this in the text. The manuscript would be improved by a short discussion on the types of errors that can arise from this analysis. Are there caveats that the readers should be made aware of?

2.) The authors should justify their use of the term decision making. Although the term “decision making” is thrown around broadly in the field of biology, when it is used in the context of animal behavior and ethology there is a very specific meaning. In the context of behavior, the term “decision making” should be reserved specifically for when the organism is making choices between options that have quantifiable costs and benefits.

It is true that the term “decision” is more loosely used in the field of neuroscience in other contexts. For instance, during development, one can say that an axon makes a decision to either be repelled or attracted in a morphogen gradient. It can also be said that an enhancer “makes a decision” to be activated or repressed depending on the constellation of transcription factors that are present in a cell. A neuron makes a decision to fire or be repressed from firing depending on the balance of excitatory and inhibitory inputs that it receives.

But using the term decision making in the field of neuroethology necessitates that there is utility in the choice. A decision involves weighing costs and weighing the quality of the information that is being used in assigning values to the choices. These ideas are embodied and clear with valid uses of the term. A fly makes a decision when it is either attracted or repelled by an odor depending on whether or not this odor has been previously paired with an appetitive or an aversive stimulus. Or an odor can be attractive or repellent based on innately (evolutionarily) determined costs and benefits. A fly decides to lay an egg or to hold an egg depending on the complexities of the sensory inputs at the oviposition sites. The energetic resources involved with producing the egg are a clear cost to making an incorrect decision.

Thus, it can be argued can whether or not the larval behaviors under investigation involve genuine decision making. What is the cost to the larvae of producing one behavior or another in response to the air puff? What is the benefit? While it is clear that the neuronal network in the larval brain will produce a variety of behavioral outcomes if given an apparently identical stimulus, it is less clear that this is the result of a decision. The probabilistic nature of the response makes it more akin to the rolling of dice than to making a decision.

It is likely that the responses may have utility with more ethologically relevant sensory stimuli, but this possibility is not explored by the authors. For instance, the different behavioral options may be entirely driven by the weighting of the somatosensory maps that are driven by the sensory inputs which then drive the behaviors.

It is known that the different behaviors under investigation are more reliably triggered in response to localized mechanosensory stimuli. For instance, a rapid turn to the right is reliably elicited by a localized mechanosensory stimulus on the left side of the head. Crawling forward is reliably triggered by mechanosensory inputs to the posterior. Reversals are triggered by strong mechanosensory stimuli to the head while “hunching” may be triggered by lower sensory stimuli (these ideas are embodied in Maurice Kernan’s touch scale (and the authors may want to cite Kernan)).

Given that the individual behaviors have utility in the context of localized mechanosensory stimuli, the uniform, body-wide, stimulus of the air puff and the probabilistic behavioral responses make more sense. The network is producing a random response to a weak mechanosensory stimulus that is likely to be received uniformly across the body. Alternatively, there may be stochastic variation in how the stimulus is received by an individual animal across trials and this could be reflected in the behavioral outcome.

It is logical that the network that receives this body-wide sensory input would encompass neurons that are distributed across the brain, the thoracic, and the abdominal ganglia. However, it is not logical to conclude from this observation that the seat of “decision making” for this behavior is distributed across the brain. It is especially not appropriate to extend this finding to the rules of decision making in general. These interpretations of the results are overstated.

3.) In line 648 it is stated that the air puff was delivered continuously for 38 seconds and then there was a second delivery of 10 2 second long air puffs. Then it is stated in line 652 that the analysis was performed on behavioral probabilities for “the first seconds after stimulus onset and the transition probabilities 3 seconds after stimulus onset. This sentence is unclear, as there are 11 different stimuli that were presented. Which stimulus was analyzed? The 38 second long stimulus? All of the 2 second long stimuli?

Minor Points:

Throughout the introduction, the authors refer to “the nervous system.” It would be more accurate to write “this nervous system” or “nervous systems.”

Figure 3 panel E NompC is misspelled as nomC. Both sides of scale bar in bottom left are labeled “decrease.” It appears as if the scale to the right side should be labelled increase.

Figure 5A again has both sides of the color scale labeled as “decrease.”

On page 10 line 317 please clarify the term “mechanosensory neurons.” There are many different classes of mechanosensory neurons in the larval PNS.

On page 26 line 849 please clarify the following sentence: “Implicitly, different individuals have implicit amplitude based limits to behavior.”

What is depicted in each of the panels in Figure S3? This cannot be understood from the legend or from the text.

Reviewer #3: This manuscript uses Drosophila larval behavior to address issues concerning behavioral choice, decision-making, and selection of different types of actions, such as sequential or mutually exclusive. They perform behavioral assays on how the animals move upon being faced with a puff of air, grouping them into specific actions such as hunch, bend, back-up and stop. This is done using a collection of gal-4 lines and TNT to inhibit synaptic transmission. The neurons are then matched with EM volume of the larval CNS.

My views are somewhat mixed on this paper, which may very well reflect my lack of expertise in the area. On one hand, I greatly appreciate the type of work the authors are attempting, and the work indeed will provide a wonderful foundation for future analysis. However, many of the points were either unclear or diffuse or too broad, such that it was difficult to get what the actual take home lessons from some of these experiments were. Thus, I will outline my views to what I found not so clear in the order the paper is preseted.

1. The beginning of the results was somewhat confusing, since they say they describe wildtype and those with inactivated neurons in terms of behavioral response, and refers to Figure 1A-B. But all of Figure 1 is on wild type. So a rewording would help. It would also help Figure 1 if the colors are explained in the figure itself and not just in the legends.

2. If I understand the assay properly, a group of larvae on a surface is faced with a puff of air. What is the distribution of the types of response (hunch, bend, etc), based on the position of an animal within the surface relative to the source of stimulus? For example, from the Figure 1A, the air stream hits different animals at different positions, so do these have different outputs?

3. In 2.2, there are three paragraphs (starting with line 171, 188 and 198) where they explain the exceptions. It may help to clump all these at the end (or at once), since this breaks up the main positive message.

4. In 2.4, there is the correlation between EM and light idetified neurons, where an entire paragraph describes what has been done before. A similar thing occurs in 2.5, starting with line 347. It may help to have a table in the main figure which describes what has been done before and what is new in the current manuscript. For the latter, how indeed were these done, i.e. correlate the EM neurons with their flp-out and/or sparse lines? In a similar vein, what could explain the statement (line 373) that some could not be found in the EM colume?

5. The reasoning for their last part is a bit unclear. Line 416 "...but only later. We therefore...". Since this is the final part, it may help to remind the people again.

6. In Discussion, page 15, I was a bit confused as what their main argument is, simply because it seems like every possibility is being discussed. For example, they use the terms like perceptual decision, early sensory processing, competitive interactions between different sensorimotor pathways. One can say yes, it could be involved in any one of these steps, but this is somewhat unsatisfying, because this goes almost into asking what process being observed, indeed, is NOT considered decision-making?

7. I personally found the mere description of the neurons (Figure 4 H-J) and Figure 6, although necessary, somewhat unhelpful. Perhaps an attempt could be made to make this part scientifically more relevant, e.g., presenting these in some sort of a circuit? Similarly, Figure 8 was extremely unhelpful. Yes, it describes the data, but perhaps a better subdivisions into conceptual units or pathways might help. I don't have any concrete suggestions, unfortunately, but a bit more effort here would be great for the general audience, I think.

**********

Have all data underlying the figures and results presented in the manuscript been provided?

Large-scale datasets should be made available via a public repository as described in the PLOS Genetics data availability policy, and numerical data that underlies graphs or summary statistics should be provided in spreadsheet form as supporting information.

Reviewer #1: Yes

Reviewer #2: Yes

Reviewer #3: Yes

**********

PLOS authors have the option to publish the peer review history of their article (what does this mean?). If published, this will include your full peer review and any attached files.

If you choose “no”, your identity will remain anonymous but your review may still be made public.

Do you want your identity to be public for this peer review? For information about this choice, including consent withdrawal, please see our Privacy Policy.

Reviewer #1: No

Reviewer #2: Yes: W. Daniel Tracey

Reviewer #3: No

Attachment

Submitted filename: Masson PLoS Genetics 2019.pdf

Decision Letter 1

Gregory S Barsh, Aravinthan Samuel

30 Dec 2019

Dear Dr Jovanic,

We are pleased to inform you that your manuscript entitled "Identifying neural substrates of competitive interactions and sequence transitions during mechanosensory responses in Drosophila" has been editorially accepted for publication in PLOS Genetics. Congratulations!

Before your submission can be formally accepted and sent to production you will need to complete our formatting changes, which you will receive in a follow up email. Please be aware that it may take several days for you to receive this email; during this time no action is required by you. Please note: the accept date on your published article will reflect the date of this provisional accept, but your manuscript will not be scheduled for publication until the required changes have been made.

Once your paper is formally accepted, an uncorrected proof of your manuscript will be published online ahead of the final version, unless you’ve already opted out via the online submission form. If, for any reason, you do not want an earlier version of your manuscript published online or are unsure if you have already indicated as such, please let the journal staff know immediately at plosgenetics@plos.org.

In the meantime, please log into Editorial Manager at https://www.editorialmanager.com/pgenetics/, click the "Update My Information" link at the top of the page, and update your user information to ensure an efficient production and billing process. Note that PLOS requires an ORCID iD for all corresponding authors. Therefore, please ensure that you have an ORCID iD and that it is validated in Editorial Manager. To do this, go to ‘Update my Information’ (in the upper left-hand corner of the main menu), and click on the Fetch/Validate link next to the ORCID field.  This will take you to the ORCID site and allow you to create a new iD or authenticate a pre-existing iD in Editorial Manager.

If you have a press-related query, or would like to know about one way to make your underlying data available (as you will be aware, this is required for publication), please see the end of this email. If your institution or institutions have a press office, please notify them about your upcoming article at this point, to enable them to help maximise its impact. Inform journal staff as soon as possible if you are preparing a press release for your article and need a publication date.

Thank you again for supporting open-access publishing; we are looking forward to publishing your work in PLOS Genetics!

Yours sincerely,

Aravinthan Samuel

Guest Editor

PLOS Genetics

Gregory Barsh

Editor-in-Chief

PLOS Genetics

www.plosgenetics.org

Twitter: @PLOSGenetics

----------------------------------------------------

Comments from the reviewers (if applicable):

Reviewer's Responses to Questions

Comments to the Authors:

Please note here if the review is uploaded as an attachment.

Reviewer #2: The authors have addressed my concerns and the manuscript is suitable for publication in PLoS Genetics.

**********

Have all data underlying the figures and results presented in the manuscript been provided?

Large-scale datasets should be made available via a public repository as described in the PLOS Genetics data availability policy, and numerical data that underlies graphs or summary statistics should be provided in spreadsheet form as supporting information.

Reviewer #2: Yes

**********

PLOS authors have the option to publish the peer review history of their article (what does this mean?). If published, this will include your full peer review and any attached files.

If you choose “no”, your identity will remain anonymous but your review may still be made public.

Do you want your identity to be public for this peer review? For information about this choice, including consent withdrawal, please see our Privacy Policy.

Reviewer #2: No

----------------------------------------------------

Data Deposition

If you have submitted a Research Article or Front Matter that has associated data that are not suitable for deposition in a subject-specific public repository (such as GenBank or ArrayExpress), one way to make that data available is to deposit it in the Dryad Digital Repository. As you may recall, we ask all authors to agree to make data available; this is one way to achieve that. A full list of recommended repositories can be found on our website.

The following link will take you to the Dryad record for your article, so you won't have to re‐enter its bibliographic information, and can upload your files directly: 

http://datadryad.org/submit?journalID=pgenetics&manu=PGENETICS-D-19-01524R1

More information about depositing data in Dryad is available at http://www.datadryad.org/depositing. If you experience any difficulties in submitting your data, please contact help@datadryad.org for support.

Additionally, please be aware that our data availability policy requires that all numerical data underlying display items are included with the submission, and you will need to provide this before we can formally accept your manuscript, if not already present.

----------------------------------------------------

Press Queries

If you or your institution will be preparing press materials for this manuscript, or if you need to know your paper's publication date for media purposes, please inform the journal staff as soon as possible so that your submission can be scheduled accordingly. Your manuscript will remain under a strict press embargo until the publication date and time. This means an early version of your manuscript will not be published ahead of your final version. PLOS Genetics may also choose to issue a press release for your article. If there's anything the journal should know or you'd like more information, please get in touch via plosgenetics@plos.org.

Acceptance letter

Gregory S Barsh, Aravinthan Samuel

5 Feb 2020

PGENETICS-D-19-01524R1

Identifying neural substrates of competitive interactions and sequence transitions during mechanosensory responses in Drosophila

Dear Dr Jovanic,

We are pleased to inform you that your manuscript entitled "Identifying neural substrates of competitive interactions and sequence transitions during mechanosensory responses in Drosophila" has been formally accepted for publication in PLOS Genetics! Your manuscript is now with our production department and you will be notified of the publication date in due course.

The corresponding author will soon be receiving a typeset proof for review, to ensure errors have not been introduced during production. Please review the PDF proof of your manuscript carefully, as this is the last chance to correct any errors. Please note that major changes, or those which affect the scientific understanding of the work, will likely cause delays to the publication date of your manuscript.

Soon after your final files are uploaded, unless you have opted out or your manuscript is a front-matter piece, the early version of your manuscript will be published online. The date of the early version will be your article's publication date. The final article will be published to the same URL, and all versions of the paper will be accessible to readers.

Thank you again for supporting PLOS Genetics and open-access publishing. We are looking forward to publishing your work!

With kind regards,

Matt Lyles

PLOS Genetics

On behalf of:

The PLOS Genetics Team

Carlyle House, Carlyle Road, Cambridge CB4 3DN | United Kingdom

plosgenetics@plos.org | +44 (0) 1223-442823

plosgenetics.org | Twitter: @PLOSGenetics

Associated Data

    This section collects any data citations, data availability statements, or supplementary materials included in this article.

    Supplementary Materials

    S1 Fig. Natural clustering of behaviour in Drosophila larva.

    A. Scatter plots of 3 larva features with 3 projections for the control and 10 hit lines (plotted per behaviour). Each point is the average value of a larva feature when performing one of the behaviour during one experiment. Colour code is associated to behaviour with: in black Crawl, in red Bend, in Green Stopped, in blue Hunching, in Cyan Back-up and in grey-small motions. The plot was performed on ca 13000 larvae from the w::attP2-TNT experiments. The features shown here are x1=log((1S10)2),x3=v10l25α10,5 and x4=(dldt)210. Note the natural separation of the features with the behaviour; small motion lies in between Crawl, Bend and Stop. Hunch and Back-up are close together. You can also note the difference in the geometry of the features linked to action. B. Same as in A for the control plotted per larva C. Accuracy of behavior identification with limited features with in knn classifier (top panel) and in random forest classifier (bottom panel)

    (TIF)

    S2 Fig. Additional characterization of the behavioral response of wild-type larvae to an air-puff.

    A. Behavioral probabilities upon stimulus onset (during the 1st second of stimulation at high (6 m/s) and low (3 m/s) intensities of air-puff. p-values are all p<0.001 (***). B. Scatterplots of Amplitude of Bending (effective angle) vs Bend probability. C. Scatterplots of Amplitude of Hunching (Relative length variations) and Hunch probability. B-C. Each dot represents the average value for a neuronal line.

    (TIF)

    S3 Fig. Inter-trial and inter-individual variability of mechanosensory responses.

    A-F. Ethogram of the behaviors of the attP2>TNT control before, and upon repeated presentation of 2 s air-puff stimulation. Each line is a larva. Different colors represent different actions: Blue-Hunch, Red-Bend, Cyan-Back-up, Black-Crawl and in Green-Stop A-E. Different examples of inter-trial variability (within each ethogram) and inter-individual variability (between different ethograms). A. Example of larvae that hunched on the first stimulus, bended on the second stimulus and performed any action on the third stimulus. B. Example of larvae that hunched on the first stimulus, performed a small action on the second stimulus and performed any action on a third stimulus. C. Example of larvae that bended on the first stimulus, hunched on the second stimulus and performed any action on the third stimulus D. Example of larvae that backed-up on the first stimulus, and performed any action on the second and third stimulus E. Example of larvae that performed a small action on the first stimulus, hunched on the second stimulus and performed any action on a third stimulus F. Example of larvae that only hunched immediately upon repeated presentation of an air-puff stimulus

    (TIF)

    S4 Fig. Behavioral probabilities for all five actions.

    A-F Behavioral probabilities upon stimulus onset (during 1st second) for all the selected lines shown in Fig 4. for the five behaviors: Crawl, Bend, Stop, Hunch and Back-up are shown l *:p<0.05, **:p<0.01, *** p<0.001 A. R11A07, B. R39H05, C. R88C11, D. R66A12, E. R13A08, F. R32E04.

    (TIF)

    S5 Fig. Ethograms of competitive interaction hit lines.

    Ethograms for all the selected competitive interaction hit lines with sparse neuronal expression patterns shown in Fig 6.

    (TIF)

    S6 Fig. Putative mechanosensory network.

    a summary diagram of all the neurons identified in the hit lines as putative neurons involved in mechanosensory responses in this study and some previously published key neurons involved in mechanosensory responses: Basin-1-4 (B1-B4), LnA, LnB, fbLN, A09e [10,21,38]. (Their detailed connectivity can be found in [10,21,30,38]). Connectivity is based on previously published reconstruction and newly reconstructed connections (S1 Data file, connectivity matrix). The arrows indicate excitatory connections, T-bars indicate inhibitory connections and plain lines when it is unknown whether it is excitatory or inhibitory. The width of the line is proportional to the strength of the connection. Some weak connections are not shown for clarity the number of synapses may be underestimated due to the lack of data from segments. Putative connections are shown as dashed lines. In addition to the reconstructed network in the VNC, putative neurons in the SEZ and brain are shown based on the candidate neuron from the behavioral screen (i.e. lines R92H01, R11F06, R82B06, R65B04, R27B12)

    (TIF)

    S7 Fig. Putative mechanosensory network reconstructed in the CNS volume.

    All the elements from the putatitive mechanosensy network shown in S6 Fig. Dorsal view (left panel), Lateral view (right panel).

    (TIF)

    S8 Fig

    A. Graphical representation of the learning procedure. B. Accuracy of behavior identification with limited features with on the left, knn classifier and on the right, random forest classifier. Every line is a GAL4 line and every column is an action: Fc is Forward Crawl, B-u is Back-up and Sm is Small motion. Note the overall constant accuracy throughout the lines.

    (TIF)

    S9 Fig. Behavioral responses as a function of larval orientation at the onset of air puff.

    Evolution of the Cumulative Distribution Function (CDF) of the angle θ=θe1θw with. θe1 the absolute angle of the e1 vector (top neck to head of the larva) and θw = 3π/2 is the angle associated to the wind direction, with the first action after the air puff stimulus. Color code is associated with behavior (similar to all other plots in this paper) with small actions in purple. Note that linear evolution of the CDF is associated to flat (no preferred direction) of the probability density function (pdf).

    (TIF)

    S1 Table. Probabilities screenscale_timewindow1.

    (XLSX)

    S2 Table. Lines with Locomotor defects.

    (XLSX)

    S3 Table. Amplitude Bend.

    (XLSX)

    S4 Table. Amplitude Hunch.

    (XLSX)

    S5 Table. Sensory line hits.

    Behavioral probabilities for all five actions. Source data For Fig 3E

    (XLSX)

    S6 Table. CNS line hits.

    Behavioral probabilities for all five actions. Source data for Fig 3F and 3G.

    (XLSX)

    S7 Table. CNS line hits.

    Behavioral probabilities for lines with decreased (24 lines) or increased probabilities (1 line) in multiple actions.

    (XLSX)

    S8 Table. Anatomical annotations.

    (XLSX)

    S9 Table. List of neurons.

    (XLSX)

    S10 Table. Probabilities_competitive interaction lines.

    (XLSX)

    S11 Table. Transition probabilities.

    Transition probabilities for selected hit lines. For each transition probability, a p-value for comparison with the corresponding transition probability in the control (w;; attp2>TNT) are also shown.

    (XLSX)

    S1 Data. Connectivity matrix.

    (CSV)

    S2 Data. Spreadsheet pvalues_screenscale.

    (XLSX)

    S3 Data. Spreadsheet screened lines.

    (XLSX)

    S4 Data. Spreadsheet pvalues for behavioral probabilities comparisons generalized likelihood ratio test.

    (CSV)

    S5 Data. Spreadsheet pvalues for transition probabilities, generalized likelihood ratio test.

    (CSV)

    Attachment

    Submitted filename: Masson PLoS Genetics 2019.pdf

    Attachment

    Submitted filename: Response to reviewers.pdf

    Data Availability Statement

    All relevant data are within the manuscript and its Supporting Information files.


    Articles from PLoS Genetics are provided here courtesy of PLOS

    RESOURCES