Introduction

The adaptive behavior of an animal is underpinned by the complex, yet precise, connectivity of its nervous system. For ecologically fit behaviors to occur, information regarding various sensory inputs must be routed to appropriate motor outputs by the neuronal circuits, which are established during development. Previous studies on axon guidance and selective synapse formation revealed the mechanisms of how connectivity between a pair of neurons is formed during development (Kolodkin and Tessier-Lavigne, 2011; Tessier-Lavigne and Goodman, 1996; Tosches, 2017). However, how a population of neurons as a whole is wired to form functional circuits and generate adaptive behaviors remains unknown.

Functional diversification of homologous brain regions is a widespread phenomenon observed across brain regions and across species (Chakraborty and Jarvis, 2015; Tosches, 2017), including spinal segments (Leung and Shimeld, 2019; Levine et al., 2012), basal ganglia (Grillner and Robertson, 2016), cerebral (Tosches et al., 2018), and cerebellar (Kebschul et al., 2021) cortices. For instance, the spinal cord in vertebrates and ventral nerve cord (VNC) in invertebrates are composed of homologous neuromeres, which link inputs from the corresponding body segment to appropriate motor output(s) (Barthélemy et al., 2006; Levine et al., 2014; Saltiel et al., 1998; Takagi et al., 2017; Tresch and Bizzi, 1999). Accordingly, adaptive behaviors may be established in part by diversifying the connectivity among homologous circuits, through changes in the circuit’s wiring during development. However, whether such a mechanism play a role in diversifying behaviors remains unclear (Chakraborty and Jarvis, 2015; Katz, 2011; Kirschner and Gerhart, 1998; Tosches, 2017). Since the circuit wiring process recruits stepwise interactions with various surrounding cells during development as well as synaptic matching among a number of pre-and postsynaptic cells, circuit diversification may require orchestrated changes in the expression of a large number of genes across cell types. Alternatively, there may be some degree of flexibility in the system such that modulation of a small number of developmental properties (e.g. changes in the expression of neurite guidance molecules in a small population of cells) is sufficient to alter an animal’s behavior. It has been difficult to examine these possibilities due to the lack of tools to visualize and manipulate neural wiring in homologous circuits and our limited knowledge on the relationship between neurite guidance and behavioral regulation.

Previously, we identified a class of segmentally homologous command-like neurons in the VNC of Drosophila larvae, named Wave neurons (Takagi et al., 2017), which adaptively link tactile inputs from different segments to appropriate motor outputs (Figures 1A and A) by diversifying their connectivity. Wave neurons are present in identical positions in each abdominal neuromere, A1-A7, and extend their proximal axons to the neuropile in similar manners (Figures 1A-C). In contrast to such homology, there is a striking difference in their longitudinal axon projection upon entering the neuropile and subsequent formation of functional connectivity. Wave neurons in anterior segments (a-Wave; in neuromeres A1-A3) extend axons anteriorly and connect to circuits inducing backward locomotion, whereas Wave neurons in posterior segments (p-Wave; in neuromeres A4-A7) extend axons posteriorly and elicit forward locomotion. However, which molecular mechanism(s) underly the diverged Wave A-P axon projections and how they are relevant to behavioral regulations remained unknown.

DFz2 inhibits Wave axon extension towards the posterior end

(A, A’) Schematic diagram of Wave neuron morphology and function. Wave neurons are segmentally repeated in the VNC, receive inputs from tactile sensory neurons, and drive distinct behaviors depending on the segment. The anterior Wave (a-Wave) comprises anteriorly polarized axon/dendrite and drive backward locomotion, whereas posterior Wave (p-Wave) has axon/dendrite extension towards the posterior end and drive forward locomotion. (B-E) Lateral view of single-cell images of Wave neurons revealed by mosaic analyses in 3rd instar larvae. The green channel shows Wave neurons, and the blue channel shows anti-HRP staining that visualizes the neuropil. SEZ: subesophageal zone, T1-3: thoracic VNC, A1-8/9: abdominal VNC. (B, C) Control A2 (B) and A6 (C) Wave neuron. Scale bar = 50 µm. White arrows indicate axon processes. (D, E) A2 (D) and A6 (E) Wave neuron in which DFz2 is knocked-down using the TRiP RNAi line. Note the elongation of the axons towards the posterior end (dotted boxes). Orange arrows indicate the putative presynaptic varicosities in the ectopic axons. (F-J) Tiling profile of the axons of A2 to A6 Wave neurons in control and DFz2 knocked-down animals. n indicates the number of neurons. Tiling percentage indicates the fraction of samples in which the Wave axon innervates the corresponding neuromere. (K, L) Quantification of axon extension towards the posterior end in A2 (K) and A6 (L) Wave neuron measured in MCFO images, following KD and overexpression of DFz2, respectively. **: p < 0.01, ***: p < 0.001, Welch’s t-test with Bonferroni correction. (M) Summary of DFz2 KD and overexpression phenotypes.

Results

DFz2 and DFz4 regulate segment-specific Wave axon projection

We focused on Wnt receptors (Frizzled/Ryk) as they were known to be involved in bidirectional A-P axon guidance in mammals and nematodes (Hilliard and Bargmann, 2006; Kirszenblat et al., 2011; Lyuksyutova et al., 2003; Salinas and Zou, 2008). We performed an RNAi-based KD of Drosophila Wnt receptors (DFz, DFz2, DFz3, DFz4, drl, Drl-2, smo, Corin) in Wave neurons (see Method details) and observed their neurite morphology using a GAL4 line that consistently targets Wave neurons from embryonic to larval stages (Figure 1—figure supplement 1). We identified two genes, DFz2 and DFz4, as being possibly involved in the axon extension towards the posterior end. DFz2 KD elongated the axon extension towards the posterior end, whereas DFz4 KD shortened it (Figure 1—figure supplement 2A-D, p = 2.38×10-6, Chi-square test).

To further characterize the role of these receptors, we examined the morphology of single Wave neurons by using MultiColor FlpOut (MCFO, Nern et al., 2015) technique while knocking-down these receptors in Wave neurons. We found that axon extension towards the posterior end (but not towards the anterior end) was elongated both in a-Wave and p-Wave neurons upon DFz2 KD by using two independent RNAi lines (A2-Wave to A6-Wave; Figures 1B-M; Figure 1—figure supplement 2F and F). Notably, the abnormal extension of Wave axons towards the posterior end was accompanied by presynaptic varicosities en route (Figures 1D and E), suggesting that ectopic synapses are formed in this region. The ectopic axon extension from a-Wave neurons intruded the region where p-Wave axons normally project to (Figures 1F-J), raising the possibility that a-Wave neurons gain connections to the circuits inducing forward locomotion as p-Wave neurons normally do. Conversely, overexpression of DFz2 in Wave neurons resulted in the shortening of a-Wave (but not p-Wave) axon extension towards the posterior end (Figures 1K and L). In summary, DFz2 is necessary for the suppression of Wave neurite outgrowth towards the posterior end (Figure 1M), and such suppression might be indispensable to diversify Wave neuron connectivity across segments. Aside from axons, we also found a posterior extension of the dendrites of Wave neurons in DFz2 KD animals (Figure 1—figure supplement 3). However, the ectopic extension of dendrites was much shorter and occurred less frequently as compared to that of the axon. The conserved dendritic extension pattern suggests that a-Wave neurons still receive inputs from tactile sensory neurons in anterior segments in DFz2 KD animals as in the wild type (Takagi et al., 2017). Thus, while it cannot be completely excluded that there are some changes in the inputs, the outputs are more likely to be rerouted by DFz2 KD in a-Wave neurons.

We also found that posterior axon extension of the most posterior p-Wave neuron (A6-Wave) is shortened in DFz4 KD animals (Figures 2A-I). This observation suggests that DFz4 mediates attraction of the p-Wave axons towards the posterior end. Neither posterior extension of other Wave axons (Figure 2C-F) nor the anterior extension of A6 or other Wave axons (Figure 2C-G) was affected, implying that DFz4 promotes axon extension of Wave axons selectively in A6-Wave and towards the posterior end (summarized in Figure 2J). Also, no abnormality was observed in the dendrites of a-or p-Wave neurons (data not shown). DFz4 overexpression did not yield any obvious morphological changes (Figures 2H and I), suggesting that DFz4 expression alone is not sufficient to change the axon extension of Wave neurons.

DFz4 specifically promotes axon extension towards the posterior end in A6-Wave

(A, B) DFz4 KD A2 (A) and A6 (B) Wave neuron using the TRiP RNAi line. Note the shortening of A6 axon towards the posterior end (dotted box in B, see Figures 1B and C for control). Scale bar = 50 µm. (C-G) Tiling profile of A2 to A6 Wave axons in control and DFz4 knocked-down animals. n indicates the number of neurons. Tiling percentage indicate the fraction of samples (single Wave neurons) whose Wave axon innervated the corresponding neuromere. The same analyses as in Figures 1F-J but for DFz4 knocked-down animals. The control data in Figures 1F-J are shown as references. (H, I) Quantification of axon extension towards the posterior end in A2 (H) and A6 Wave (I) measured in MCFO images, following KD and overexpression of DFz4, respectively. *: p < 0.05, Welch’s t-test with Bonferroni correction. The control data shown in Figures 1K and L are reused for this analysis. (J) Summary of DFz4 KD and overexpression phenotypes.

DWnt4 is a graded cue that regulates A-P Wave axon guidance

We next sought to identify the ligand(s) of DFz2/DFz4 receptors that mediate Wave axon guidance. We first examined the overall extension pattern of Wave neurites in four Drosophila Wnt mutants (DWnt4C1/EMS23, DWnt5400, DWnt6KO, and DWnt8KO1) and found that p-Wave axon extension towards the posterior end was shortened in DWnt4 mutants, which is reminiscent of DFz4 KD animals (Figure 1—figure supplement 2E; Figures 3A-C). DWnt4 is known to have binding affinity to both DFz2 and DFz4 (Wu and Nusse, 2002), making it a strong candidate as a shared ligand of these receptors in Wave axon guidance. Further analyses with single-Wave labelling (by using heat-shock FlpOut) also revealed abnormalities in a-Wave; posterior extension of a-Wave axons was elongated, as was observed in DFz2 KD animals (Figures 3D, E, and G). Additionally, a-Wave axon extension towards the anterior end was shortened in DWnt4 mutants (Figures 3D, E, and F), which was not observed in DFz2 or DFz4 receptor KD animals, suggesting that DWnt4 regulates anterior extension of a-Wave via other receptor(s). The fact that DWnt4 mutants recapitulated both phenotypes observed in DFz2 and DFz4 KD animals (Figure 3H) suggests that both DFz2 and DFz4 use DWnt4 as a guidance cue to regulate the extension of Wave axons along the A-P axis but with opposite “valences”.

DWnt4 regulates A-P extension of Wave axons

(A-C) DWnt4 promotes posterior axon extension of p-Wave. (A, B) Examples of axon morphologies towards the posterior end (white arrows) in control (A) and DWnt4C1/EMS23 mutant (B) animals. The posterior end of the axon, derived from p-Wave, is shortened in DWnt4 mutant. Dotted boxes indicate the abnormal shortening of the axon. (C) Quantification of A6-Wave axon extension to segment A6 or A7. n = 6 (control) and 3 (DWnt4C1/EMS23) neurons, respectively: p = 0.0119, Fisher’s exact test. (D-G) DWnt4 regulates axon extension of a-Wave. (D) A2-Wave in DWnt4C1/EMS23 is visualized using heat-shock FlpOut. Note the elongation of its axon towards the posterior end, as well as the shortening of its axon towards the anterior end (dotted boxes). Scale bar = 50 µm. See Figure 1B for control. (E) Tiling profile of A2-Wave axons in control and DWnt4C1/EMS23mutant animals. n indicates the number of neurons. Tiling percentage indicates the fraction of samples (single Wave neurons) whose Wave axon innervated the corresponding neuromere. The control data in Figure 1F are shown as references. (F, G) Quantification of the relative length (see Method details) of the anterior and posterior fraction of A2-Wave axons between control (visualized by MCFO) and mutant (visualized by heat-shock FlpOut) animals. (F) Quantification of the anterior fraction of A2-Wave axons. (G) Quantification of the posterior fraction of A2-Wave axons. n indicates the number of neurons. *: p < 0.05, **: p < 0.01, Welch’s t-test. The control data are replotted from Figure 1K for different comparisons. (H) Summary of DWnt4 phenotypes.

Polarized extension of axons along the A-P axis could be regulated by gradients of the guidance cues and/or their receptors (Kirszenblat et al., 2011; Lyuksyutova et al., 2003). We therefore asked if there is any difference in the expression of DWnt4 and DFz2 along the A-P axis in the VNC. It has been previously suggested that DWnt4 mRNAs are strongly expressed at the posterior end of the VNC (Hessinger et al., 2017). Our analyses of DWnt4 knock-in GAL4 line (Wnt4MI03717-Trojan-GAL4) further confirmed that the expression of DWnt4 shows a gradient with higher expression towards the posterior end of the VNC (Figures 4A and B). Furthermore, DWnt4 immunostaining revealed a similar gradient within the neuropil (Figures 4C and D; Figure 4—figure supplement 1A and B), indicating that protein expression is also polarized. These observations support the notion that DWnt4 regulates axon guidance along the A-P axis by forming a gradient along the axis.

Complementary graded expression of DWnt4 and DFz2 along the A-P axis

(A, B) DWnt4-GFP cells in the embryonic CNS. (A) Distribution of DWnt4-GFP cells. Nuclear-localized GFP is expressed under the regulation Wnt4MI03717-Trojan-GAL4. anti-Elav counterstaining was performed to label all neurons and normalize the GFP signal. GFP expression is stronger in posterior than anterior VNC. Scale bar = 50 µm. (B) Quantification of normalized GFP signals with respect to Elav signals in each neuromere (where 1 denotes the maximum). n = 5 animals. Not having a common alphabet indicated above the plots between groups indicates statistical significance (α=0.05, Tukey’s HSD test).

(C, D) Expression of DWnt4 protein in the neuropil of each neuromere. (C) DWnt4 and HRP immunostaining. Scale bar = 10 μm. (D) Normalized DWnt4/HRP signals in each neuromere are calculated. n = 18 samples from 9 animals *: p < 0.05, ***: p < 0.001, paired t-test (comparison to A8).

(E, F) Expression of DFz2 protein in the neuropil of each neuromere. (E) DFz2 and HRP immunostaining. Scale bar = 10 μm. (F) Normalized DFz2/HRP signal in each neuromere are calculated. n = 16 samples from 8 animals *: p < 0.05, **: p < 0.01, paired t-test (comparison to A2).

(G) Model of segment-specific axon guidance in Wave neurons. DWnt4 serves as a graded axon guidance cue (concentrated towards the posterior end of VNC) and is recognized by DFz2/DFz4 receptors as repulsive/attractive cue, respectively. DFz2 functions both in a-Wave and p-Wave, whereas DFz4 functions selectively in p-Wave.

Next, we performed DFz2 immunostaining to investigate the receptor expression along the A-P axis. We observed a weak gradient of DFz2 expression along the A-P axis in the opposite direction as DWnt4, with a slightly higher level of expression in the anterior part of the VNC neuropil (Figures 4E and F; Figure 4— figure supplement 1C and D). Collectively, these results are consistent with the idea that complementary expression of DWnt4 and DFz2 regulates Wave axon extension via repulsion: Wave axons with higher levels of DFz2 and thus with higher sensitivity to repulsive DWnt4 signaling extend to the anterior VNC where levels of DWnt4 are low (Figures 4G). Due to the lack of reagents that allow visualization of DFz4 expression, whether DFz4 also shows graded expression along the A-P axis remains to be determined. Nonetheless, based on the phenotype of DFz4 KD (Figure 2) and the expression of DWnt4, it is likely that DFz4 guides p-Wave axons posteriorly by recognizing DWnt4 as an attractive cue (Figure 4G).

Motor commands of a-Wave neurons are altered by DFz2 KD

Having characterized the molecular mechanisms involved in morphological divergence of Wave neurons, we asked if the behavioral outputs of Wave is altered upon such anatomical perturbation. We previously used FLP-Out optogenetics experiments to show that activation of single a-and p-Wave neurons in freely behaving larvae induces backward and fast-forward locomotion, respectively, and co-activation of both a-and p-Wave neurons induces rolling (Takagi et al., 2017). Consistent with this, optogenetic stimulation of all Wave neurons in the larvae induces a mixture of fast-forward locomotion, backward locomotion, and roll/bend (Takagi et al., 2017; Figure 5A). Fast-forward locomotion occurs in the context of escape from nociceptive inputs and is considered a distinct behavior from normal forward locomotion (e.g. during navigation) of the larvae (Ohyama et al., 2013, 2015). Since it is technically challenging to perform FLP-Out optogenetics in RNAi KD animals, we tested the impact of DFz2 KD, and accompanied alteration in axon extension, on Wave neuron’s motor outputs by activating all Wave neurons in the larvae. In control animals, as observed previously (Takagi et al., 2017), the stimulation induced fast-forward locomotion (Figure 5B), backward locomotion (Figure 5B’) and rolling (Figure 5B’’). By contrast, in DFz2 KD animals, the stimulation induced fast-forward locomotion (Figure 5C) and rolling (Figure 5C’’) but not backward locomotion (Figure 5C’). Importantly, we found that the speed of the evoked fast-forward locomotion (during stimulation) was faster in DFz2 KD animals while the baseline speed was unchanged (Figures 5D and E), indicating that fast-forward locomotion is enhanced in DFz2 KD animals upon Wave activation. In summary, DFz2 KD in Wave neurons augments their motor command of fast-forward locomotion while diminishing that of backward locomotion.

DFz2 KD in Wave neurons alters motor commands in vivo

(A) Schematic of optogenetics assay in vivo. (B-B’’) Comparison of the larval behavior between LED OFF and ON conditions in control animals. LED illumination decreases stride duration of forward locomotion (i.e. induces fast-forward locomotion, B), induces backward locomotion (B’), and induces rolling (B’’). n = 52 animals. ***: p < 0.001, Wilcoxon’s signed-rank test. (C-C’’) Comparison of the larval behavior between LED OFF and ON conditions in DFz2 knocked-down [TRiP] animals. LED illumination decreases stride duration of forward locomotion (i.e. induces fast-forward locomotion, C), does not induce backward locomotion (C’), and induces rolling (C’’). n = 18 animals. **: p < 0.01, ***: p < 0.001, Wilcoxon’s signed-rank test. (D, E) Comparison of the stride duration of forward locomotion between control and DFz2 knocked-down animals in LED OFF (D) and ON (E) conditions. The stride duration showed no significant difference in LED OFF period (D) but was shorter in DFz2 knocked-down animals in LED ON period (E). Mean±SD stride durations: 0.85±0.32 (Ctrl, OFF), 0.71±0.22 (Ctrl, ON), 0.71±0.21 (DFz2 KD, OFF), 0.50±0.12 (DFz2 KD, ON). ***: p < 0.001, Mann-Whitney’s U-test.

Altered behavioral response to tactile stimuli in DFz2 KD larvae

The differential motor behaviors commanded by Wave neurons are triggered by tactile stimuli at different body parts (Figures 1A and A; Takagi et al., 2017). Does the altered axon projection of Wave neurons in DFz2 KD animals impact the behavioral response evoked by tactile stimuli? Specifically, does selective a-Wave activation by natural tactile stimuli in the head induce fast-forward instead of backward locomotion, as observed in the optogenetic experiment (Figure 5)? We tested these possibilities by presenting freely behaving larvae with a gentle touch on their head using a von Frey filament, which activates a-but not p-Wave neurons (Takagi et al., 2017). The gentle touch responses are known to be stereotypic but range from weak to strong: continuation of forward crawls (score 0), halting followed by crawl resumption (score 1), turning followed by crawl resumption (score 2), backing-up once (score 3), and backing-up multiple times (score 4) in D. melanogaster larvae (Kernan et al., 1994, Figure 6A). We found that DFz2 KD by using two different RNAi lines in Wave neurons reduced backward locomotion responses (scores 3 and 4) while increasing turning responses (score 2) to head touch (Figures 6B, B’, C, and C’). Since turning is not induced by Wave activation (Takagi et al., 2017), it is likely that the increased turning is due to the disinhibition of turning-inducing pathways (through other second-order tactile interneurons) by the deterioration of the backward-inducing pathway (through Wave). Critically, the speed of forward locomotion after each touch (usually after turning) was faster in DFz2 KD animals (Figures 6B’’ and C’’), implying that fast-forward locomotion was induced in response to tactile stimulus. Taken together, our results suggest that changes in the axon guidance of Wave neurons alters the behavioral strategy of the larvae in response to external stimuli by altering the neurons’ command from backward to fast-forward locomotion (Figure 6D).

Modulation of tactile-evoked behavior by DFz2 KD in Wave neurons

(A) Left panel: Scheme of gentle-touch assay using von Frey filament. Right panel: Stereotypic behavioral responses induced by the gentle head touch, categorized according to the Kernan score (Kernan et al., 1994). (B-C”) Alteration in behavior responses upon DFz2 KD using UAS-DFz2-RNAi [KK] (B-B’’) or UAS-DFz2-RNAi [GD] (C-C’’). (B, C) Distribution of the Kernan score. Driver control; R60G09-GAL4/+, effector control; UAS-DFz2-RNAi/+, and experimental group (R60G09-GAL4 > UAS-DFz2-RNAi). n = 40 trials each. (B’, C’) Fraction of behavioral responses classified as backward (scores 3 and 4) and turning (score 2). The numbers indicate the trials that induced the classified response. *: p < 0.05, **: p < 0.01, ***: p < 0.001, Fisher’s exact test with Bonferroni correction. (B’’, C’’) Quantifications of stride duration of forward locomotion following gentle touch. Note that smaller stride duration indicates faster forward locomotion. n=36 (driver control), 40 (effector control), 39 (B’’) and 40 (C’’) (experimental) trials. *: p < 0.05, ***: p < 0.001, Steel-Dwass test. (D) Summary of the current study.

Discussion

To understand the circuit mechanisms underlying behavior, perturbation of neurons and circuits while observing the behavior has been a successful paradigm (Luo et al., 2018). Most studies linking change in nervous system perturbation and behavioral alteration are either changes in physiology and/or mainly in the sensory periphery (Ardesch et al., 2019; Kim et al., 2017; Seeholzer et al., 2018; Tinbergen, 1951). Here, we revealed a link between axon guidance and circuit function by identifying molecular mechanisms underlying the divergent axon extension of segmentally homologous Wave neurons and showing changes in the axon guidance alter motor commands (Figure 6D). The results illustrate several crucial features on how neural circuits mediating adaptive sensorimotor transformation form during development, and on how the evolution of the nervous system might lead to the acquisition of new behaviors.

Universal roles of Wnt/Fz signaling in A-P neurite guidance

Secreted proteins Wnts and their receptors Frizzled are evolutionarily conserved families of proteins. Wnt/Fz signaling is known to regulate A-P axon pathfinding in the nervous system of mammals and C. elegans (Hilliard and Bargmann, 2006; Lyuksyutova et al., 2003; Salinas and Zou, 2008). For instance, commissural neurons in the mouse spinal cord after crossing the midline extend their axons anteriorly by recognizing an anterior-high gradient of Wnt4 via the Frizzled-3 receptor (Lyuksyutova et al., 2003). Similarly, lin-44/Wnt and lin-17/Frizzled regulate the A-P extension of the PLM mechanosensory neuron in C. elegans (Hilliard and Bargmann, 2006). Although Wnt/Fz proteins are known to regulate axon guidance in Drosophila (e.g., Inaki et al., 2007; Sato et al., 2006; Yoshikawa et al., 2003), whether they play roles in A-P neurite guidance in the nerve cord was not previously known. The present study demonstrates this in Drosophila and thus points to the universal roles played by Wnt/Fz signaling in A-P neurite guidance in the animal kingdom.

We have shown that Frizzled receptors DFz2 and DFz4 regulate A-P axon guidance of homologous Wave neurons in segment-specific manner and in opposite valences, presumably by using DWnt4 as a common external guidance cue. Our results suggest that DFz4 mediates attraction of posterior Wave neurons towards the source of DWnt4 at the posterior end, whereas DFz2 mediates repulsion of both anterior and posterior Wave neurons away from the DWnt4 source. Presence of two graded signaling systems with antagonistic effects may aid in establishing reliable A-P axon guidance as proposed by theoretical models (Gierer, 1987). Our functional analyses of DFz2 and DFz4 receptors support the idea that the two signaling systems cooperate to guide the projection of Wave axons along the A-P axis. While this study focused on Wave neurons, it is likely that Wnt/Fz signaling also regulates A-P guidance of many other longitudinal axons, since DFz2 immunoreactivity was seen on a large fraction of axons in the anterior VNC.

Diversification of segment-specific motor commands by Fz-signaling

The command neuron concept is a widely appreciated notion that a specific type of interneuron serves as a linking node between external inputs and appropriate motor outputs (Bouvier et al., 2015; Kupfermann and Weiss, 1978; Wiersma and Ikeda, 1964). For command neurons to function in adaptive manners, they must be precisely wired to appropriate upstream and downstream circuits (Faumont et al., 2012). Indeed, modulation of input connectivity to command neurons is known to alter sensory-evoked behaviors (Tenedini et al., 2019; Valdes-Aleman et al., 2021). However, whether changes in command neuron axon guidance alter their motor outputs was unknown. More importantly, how homologous command neurons might diverge their function to encode adaptive behavior(s) has been a long-standing question.

Here, we showed that DFz2 KD not only alters the axon projection of a-Wave neurons but also biases their motor commands from backward to forward locomotion. When optogenetically activated, DFz2 KD Wave neurons triggered much less backward locomotion, while they acquired the ability to induce fast forward locomotion (Figures 5). Furthermore, the way the larvae react to external tactile stimuli at the head is also biased from backing-up to turning-and-running (Figure 6), by the manipulation of DFz2. It is noteworthy that manipulation of DFz2 only in Wave neurons causes such drastic changes in larval behavior, since other known secondary neurons downstream of touch sensors and nociceptors (Eschbach and Zlatic, 2020; Hu et al., 2020) should remain intact in our molecular manipulation. This suggests that specificity of Wave-mediated motor commands is crucial for the larval behavior.

Segmental units in the spinal cords in vertebrates and VNC in invertebrates receive sensory inputs from corresponding body segment(s) and reroute the information to distinct motor outputs. The fact that DFz2 KD a-Wave neurons function like p-Wave neurons and induce forward locomotion suggests that posterior axon projection and connection with forward-inducing circuits are a default state of Wave neurons and that suppression of posterior extension by Wnt/DFz2 is required for a-Wave to connect to alternative downstream circuits (those inducing backward locomotion) and acquire an alternative motor command. Our results uncover a mechanism of how command function of segmentally homologous neurons can be diverged during development to realize various sensory-motor transformations.

Flexible modulation of motor commands by A-P axon guidance

Since the way in which the nervous system carries out sensory-to-motor transformation is different between animal species in order to meet their respective ecological niches, the connectivity must be able to change flexibly during the evolution of the nervous system. If and how such connectivity changes occur during evolution remains poorly understood (Katz, 2011, 2016; Tosches, 2017). While a few studies demonstrated that the evolution of nervous system functions is indeed accompanied by connectivity changes (Ardesch et al., 2019; Sakurai et al., 2011; Seeholzer et al., 2018), the underlying developmental mechanisms remain unknown. Since command neurons link specific sensory inputs to appropriate motor outputs, changes in their wiring are likely to be a powerful mechanism by which animals acquire new sensory-evoked behavioral strategies that match changing environments without perturbing the overall network stability. Here, we demonstrated a simple developmental mechanism that potentially mediates such evolutional process by showing that just rerouting the axon of a single command neuron (a-Wave) to an ectopic location (posterior neuromeres) is sufficient to change the behavior of the larvae. Our results suggest the presence of robust neural mechanisms that enable the “plug-and-play” modulation of motor commands as follows.

First, simply guiding the axon to a novel position appears to be sufficient for synapse formation with alternative downstream circuits. Since a-Wave neurons acquired the ability to induce fast forward locomotion in DFz2 KD animals, these neurons likely formed synapses with neural circuits that trigger the behavior, presumably the downstream targets of p-Wave. It is known that neurons have robust capacity to form synapses with non-target cells, for instance when placed in an ectopic position or when normal targets are deleted (Bekkers and Stevens, 1991; Cash et al., 1992; Hassan and Hiesinger, 2015; Shen and Bargmann, 2003; Xu et al., 2019). Furthermore, since a-Wave and p-Wave neurons are segmental homologues and likely share a large fraction of gene expression including those involved in synapse formation, a-Wave neurons once placed in the target region of p-Wave may readily form synapses with the p-Wave targets.

Second, there appears to be mechanism(s) that suppress functional connectivity to alternative downstream circuits so that only one behavioral output is induced. While a-Wave neurons in DFz2 KD animals form ectopic axon extension posteriorly, the original anterior axon extension, which normally connect to backward-inducing circuits, remains intact morphologically. Nonetheless, the ability of a-Wave to induce backward locomotion is greatly reduced and instead forward-inducing ability is conferred. This suggest that connectivity from a-Wave axons to backward-inducing circuits is functionally suppressed, possibly by weakening of functional synapses between the synaptic partners and/or via reciprocal inhibition between the antagonistic downstream circuits.

The finding that switching in motor commands can occur upon manipulation of a single gene in single class of neurons argues that the Wave circuitry can be easily modified through evolution (Kirschner and Gerhart, 1998) to meet the tactile ecological niches of respective species. Consistent with this notion, we observed that larval response to head touch, where Wave neurons play major roles (as discussed above), varies among closely related species of Drosophila (S. Takagi and A.N., unpublished data). These results suggest that there is a certain degree of flexibility in the command system that allows rapid evolution of behaviors. Thus, the present study not only shows how segment-specific motor command is established along the A-P axis during development, but also reveals a potential molecular mechanism that allows for the evolution of the command system. Since regulation of A-P axon guidance by Wnt/Fz-signaling is conserved across phyla, the present study provides a potentially universal principle for the formation and diversification of the command system in the nerve cord.

Acknowledgements

We would like to thank Shoya Ohura and Sawako Niki for the help in screening, Hiroshi Kohsaka for sharing the code for behavior analysis, James Truman for providing reagent identifier, and Matthias Landgraf for sharing unpublished observations. We thank Richard Benton and Michael P. Shahandeh for comments on the earlier version of the manuscript. We would also like to thank Gimena Alegre, Vivian Budnik, Andrea Brand, Tzumin Lee, Makoto Sato, Tetsuya Tabata, Travis Thomson, Bloomington Drosophila Stock Center, Vienna Drosophila Resource Center, Developmental Studies Hybridoma Bank, FlyORF team, and KYORIN-Fly for providing reagents.

Author contributions

S.Takagi and A.N. conceived the project. Experimental contributions were as follows: S.Takagi (Figures 1, 2, 3A-C, 4A-B, 5, Figure 1—figure supplement 1, Figure 1—figure supplement 2A-E, Figure 1—figure supplement 3), S.Takano (Figure 1—figure supplement 2F and F), Y.H. (Figure 1—figure supplement 2G and G), S.M. (Figures 3D-G and 6), X.Z. (Figure 1—figure supplement 2F and F’), A.N. (Figures 4C-F and Figure 4—figure supplement 1). S.Takagi and A.N. wrote the paper with inputs from all the other authors.

Funding information

This work was supported by MEXT/JSPS KAKENHI grants (15H04255, 18H05113, 19H04742, 20H05048, 21H02576, 21H05675, 22H05487, 22K19479, 23H04213, 24H01225 to A.N.; 18J10483 to S.Takagi).

Declaration of interests

The authors declare no competing interests.

Materials and methods

Resource availability

  • Lead contact

Further information and requests for resources should be directed to A.N. (nose@k.u-tokyo.ac.jp).

  • Materials availability

This study did not generate any new reagents.

  • Data and code availability

Raw data and analysis codes that are used for the present study will be made available for public download as of the date of publication (https://data.mendeley.com/datasets/66jh2hxz2w/draft?a=f4557904-a446-4786-a978-cdd1c2eab7b4; DOI: 10.17632/66jh2hxz2w.1). Confocal images, calcium imaging videos, and behavioral videos are shared upon request.

Experimental model and subject details

Drosophila melanogaster strains

The following fly strains were used in this study.

  • yw (Bloomington Drosophila Stock Center, #6598)

  • DWnt4C1 (Null allele of DWnt4 (Cohen et al., 2002), Bloomington Drosophila Stock Center, #6651)

  • DWnt4EMS23 (Null allele of DWnt4 (Cohen et al., 2002), Kyoto Stock Center, #108-974)

  • DWnt5400 (Null allele of DWnt5 (Fradkin et al., 2004). Bloomington Drosophila Stock Center, #64300)

  • DWnt6KO (Deletion of exon 1 of DWnt6 (Doumpas et al., 2013), Bloomington Drosophila Stock Center, #76311)

  • DWnt8KO1 (Knock-out allele of DWnt8 (a.k.a. wntD(Gordon et al., 2005), Bloomington Drosophila Stock Center, #38407)

  • UAS-CD4-tdGFP (A membrane-fused GFP, Bloomington Drosophila Stock Center, #35836)

  • UAS-CD4::GCaMP6f (A membrane-fused GCaMP, Takagi et al., 2017)

  • R57C10-FlpL;;pJFRC201-10XUAS-FRT > STOP > FRT-myr::smGFP-HA, pJFRC240-10XUASFRT > STOP > FRT-myr::smGFP-V5-THS-10XUAS-FRT > STOP > FRT-myr::smGFP-FLAG, pJFRC210-10XUAS-FRT > STOP > FRT-myr::smGFP-OLLAS (Named shortly as MCFO-6 in (Nern et al., 2015). Bloomington Drosophila Stock Center (#64090), RRID: BDSC_64090)

  • 20XUAS > dsFRT >-CsChrimson::mVenus (attP18), pBPhsFlp2::Pest (attP3); Express CsChrimson::mVenus under GAL4 control when the STOP cassette is removed by hsFlp2, a heat-shock-dependent recombinase that targets FRT, Takagi et al., 2017)

  • MB120B-spGAL4 (A combination of GAL4.AD and GAL4.DBD that specifically targets Wave neurons, Takagi et al., 2017)

  • R60G09-GAL4 (A GAL4 line that targets Wave neurons mainly in neuromeres A2-A6. Identified through visual screening of 6849 GAL4 driver lines registered in the FlyLight database (Li et al., 2014; Manning et al., 2012). Bloomington Drosophila Stock Center (#46441))

  • R77H11-GAL4 (A GAL4 line that targets Wave neurons mainly in neuromeres A1-A6. Described in Masson et al., 2020. Bloomington Drosophila Stock Center (#39983))

  • R77H11-LexA (A LexA version of R77H11 enhancer used for double labelling with MB120B-spGAL4 and R60G09-GAL4. Bloomington Drosophila Stock Center (#54720))

  • Wnt4MI03717-Trojan-GAL4 (A GAL4 insertion near the Wnt4 locus by MiMIC cassette recombination. Bloomington Drosophila Stock Center (#67449), RRID: BDSC_67449)

  • tub-LexA (Targets all cell (Lai and Lee, 2006). Used to image motor neuron activity in ex vivo preparation. Gift from Dr. Tzumin Lee)

  • elav-GAL43E1 (Targets all neurons. Used to knock down DFz2 in all neurons. Davis et al., 1997)

  • UAS-mCherry.VALIUM10 (A control stock for RNAi reporter lines using VALIUM10 or VALIUM20 vectors. Generated by the Transgenic RNAi Project (TRiP), Bloomington Drosophila Stock Center, #35787, RRID: BDSC_35787)

  • UAS-DFz-RNAi (An RNAi reporter line used to knock down DFz. Generated by the Transgenic RNAi Project (TRiP), Bloomington Drosophila Stock Center, #34321, RRID: BDSC_34321)

  • UAS-DFz2-RNAi (An RNAi reporter line used to knock down DFz2. Generated by the Transgenic RNAi Project (TRiP), Bloomington Drosophila Stock Center, #27568, RRID: BDSC_27568)

  • UAS-DFz3-RNAi (An RNAi reporter line used to knock down DFz3. Generated by the Transgenic RNAi Project (TRiP), Bloomington Drosophila Stock Center, #44468, RRID: BDSC_44468)

  • UAS-DFz4-RNAi (An RNAi reporter line used to knock down DFz4. Generated by the Transgenic RNAi Project (TRiP), Bloomington Drosophila Stock Center, #64990, RRID: BDSC_64990)

  • UAS-drl-RNAi (An RNAi reporter line used to knock down Drl. Generated by the Transgenic RNAi Project (TRiP), Bloomington Drosophila Stock Center, #39002, RRID: BDSC_39002)

  • UAS-Drl-2-RNAi [TRiP] (An RNAi reporter line used to knock down Drl-2. Generated by the Transgenic RNAi Project (TRiP), Bloomington Drosophila Stock Center, #55893, RRID: BDSC_55893)

  • UAS-Drl-2-RNAi [KK] (An RNAi reporter line used to knock down Drl-2. Generated by the VDRC genome-wide Drosophila RNAi project, Vienna Drosophila Resource Center, #102192)

  • UAS-smo-RNAi (An RNAi reporter line used to knock down Smo. Generated by the Transgenic RNAi Project (TRiP), Bloomington Drosophila Stock Center, #43134, RRID: BDSC_43134)

  • UAS-Corin-RNAi (An RNAi reporter line used to knock down Corin. Generated by the Transgenic RNAi Project (TRiP), Bloomington Drosophila Stock Center, #41721, RRID: BDSC_41721)

  • UAS-DFz2-RNAi [GD] (An alternative RNAi reporter line used to knock down DFz2. Included in the GD collection (P-element) generated by the VDRC genome-wide Drosophila RNAi resource. VDRC #44390)

  • UAS-DFz2-RNAi [KK] (An alternative RNAi reporter line used to knock down DFz2. Included in the KK collection (phiC31) generated by the VDRC genome-wide Drosophila RNAi resource. VDRC #108998)

  • UAS-DFz4-RNAi [KK] (An alternative RNAi reporter line used to knock down DFz4. Included in the KK collection (phiC31) generated by the VDRC genome-wide Drosophila RNAi resource. VDRC #102339)

  • UAS-DFz2-ORF (An ORF reporter line used for ectopic/overexpression of DFz2. Generated by the Zurich ORFeome Project, FlyORF, #F001187)

  • UAS-DFz4-ORF (An ORF reporter line used for ectopic/overexpression of DFz4. Generated by the Zurich ORFeome Project, FlyORF, #F001662)

Method details

Immunohistochemistry

Immunohistochemistry experiments for 3rd instar larvae were performed as done previously (Takagi et al., 2017).

For 12-16hAEL embryos in Figure 1—figure supplement 1B and C, whole-mount staining was performed. First, the animals were chemically dechorionated with 50% sodium hypochlorite solution, transferred into a glass vial containing 2 mL heptane (organic layer), and were fixed by 2 mL addition of 4% paraformaldehyde in PBS (water layer) for 30 min at room temperature with shaking. After removal of the water layer, half of the heptane was removed and 1 mL MeOH was added. The vial was vigorously shaken for 20 sec to facilitate cracking of the vitelline membrane. After removing the organic layer, the embryos were washed with MeOH twice, and with EtOH once. The embryos were then transferred into a plastic microtube, and thereafter the same protocol as in the larvae was applied.

For late-stage embryos in Figure 1—figure supplement 1D, Figure 4, and Figure 4—figure supplement 1, dissection was performed to increase staining efficacy. The dissection was performed by gluing the animal onto double-sided scotch tape and opening the dorsal part using a sharp needle.

The laser intensities used to quantify DWnt4 and DFz2 signals in Figure 4—figure supplement 1 were kept the same between control and mutant embryos for each group.

The list of the antibodies and the dilution is as follows:

  • rabbit anti-GFP (Af2020, Frontier Institute; 1:1000; RRID: AB 10615238)

  • mouse anti-Fas2 (1D4, Hybridoma Bank (University of Iowa); 1:10; RRID: AB 528235)

  • rat anti-Elav (7E8A10, Hybridoma Bank (University of Iowa); 1:10; RRID: AB 528218)

  • guinea pig anti-GFP (Af1180, Frontier Institute; 1:1000; RRID: AB 2571575)

  • rabbit anti-HA (C29F4, Cell Signaling Technology; 1:1000; RRID: AB 1549585)

  • mouse anti-V5 (R960-25, Invitrogen; 1:500; RRID: AB 2556564)

  • rabbit anti-DWnt4 (Cohen et al., 2002; 1:100; kindly provided by M. Sato)

  • rabbit anti-DFz2 (Packard et al., 2002; 1:100; kindly provided by G. Alegre, V. Budnik, and T. Thomson)

  • goat Alexa Fluor 488 or Cy3-conjugated anti-rabbit IgG (A-11034 or A-10520, Invitrogen Molecular Probes; 1:300; RRID: AB 2576217 or AB 10563288)

  • goat Alexa Fluor 555 or Cy5-conjugated anti-mouse IgG (A-21424 or A-10524, Invitrogen Molecular Probes; 1:300; RRID: AB 141780 or AB 2534033)

  • goat Cy5-conjugated anti-HRP (123-175-021, 1:300, Jackson ImmunoResearch Laboratories Inc.)

  • Alexa Fluor 647 AffiniPure Goat Anti-Horseradish Peroxidase (123-605-021, 1:300, Jackson ImmunoResearch Laboratories Inc., RRID: AB_2338967)

Samples of poor quality (due to damage during dissection and/or drift during confocal imaging) were excluded from further analyses.

Staging of embryos

Female and male flies of appropriate genotypes were kept in a vial for more than one day to allow copulation. The eggs were collected by trapping the parent flies on a yeast paste-coated apple plate, covered with a cup with small air holes. To prevent collecting withheld eggs (which are most likely pre-developed), the flies were allowed to lay their eggs on the plate for one hour. For experiments in Figure 1—figure supplement 1, we adopted the following procedure. The flies were transferred onto another fresh plate and were allowed to lay eggs for one hour. The plates were kept at 25°C until the embryos developed to the desired stage. The stages are indicated as hours after egg laying (hAEL), which includes an error of ±0.5 hours. The stages were further validated at the time of confocal imaging by observing the development of the gut (Campos-Ortega and Hartenstein, 1985), and animals that did not meet the standard were excluded.

For experiments in Figure 4 and Figure 4—figure supplement 1, the flies were transferred onto a fresh plate and were allowed to lay eggs for 18-24 hrs at 25°C. The stage (Stage 16) was confirmed by the development of the gut.

Identification and characterization of R60G09-GAL4 and embryonic Wave neurons

Since neurite outgrowth of larval neurons occurs during embryogenesis, we first searched for a GAL4 line that targets Wave neurons consistently from embryonic to larval stages, as the previously used GAL4 (MB120B-spGAL4) lacks expression at embryonic stages (animals with GFP-positive cells: n = 2 out of 70 animals). We identified in the FlyLight database a sparse GAL4 line, R60G09-GAL4, which targets Wave neurons in 3rd instar larvae (Figure 1—figure supplement 1E) with the exception of a single pair of ascending neurons in T2 in the VNC, and also drives expression in two pairs of segmental neurons in the embryo (Figure 1—figure supplement 1B and C). Stage-by-stage observation revealed that one of the GAL4-targeted embryonic neurons is a Wave neuron, which was continuously marked and thus can be traced through embryonic stages (10, 12, 16, 18, and 20 hAEL; Figure 1—figure supplement 1B, C, and D) to larval stages (3rd instar; Figure 1—figure supplement 1E). Another GAL4-targeted non-Wave neurons (that resides posteriorly to Wave with the cell size being larger) started to get fragmented and densely stained in 16hAEL (Figure 1—figure supplement 1C) and was extinct at later stages (Figure 1—figure supplement 1D and E) in segments anterior than A5, suggesting that this neuron is dMP2 (Miguel-Aliaga, 2004; Miguel-Aliaga et al., 2008). Although dMP2 neurons in segments A6-A8 are known to survive up to larval stages, the GAL4-driven expression in dMP2 neurons vanished in these stages (Figure 1—figure supplement 1E).

Primary RNAi/mutant tests

To visualize the Wave neurites, membrane-bound reporters (CD4-tdGFP or CD4-GCaMP6f, with the latter being brighter when stained) were expressed. The CNS was stained by anti-GFP and anti-Fas2 antibodies. Confocal stack images of the CNS were taken by using a confocal microscope (FV1000, Olympus).

For RNAi-based KD experiments (Figure 1—figure supplement 2D), female UAS-RNAi flies were crossed to R60G09-GAL4. UAS-CD4-GCaMP6f males and the larvae of the next generation were examined. The nine genes tested are known guidance cue receptors possibly involved in Wnt signaling: DFz, DFz2, DFz3, DFz4, drl, Drl-2, smo, and Corin. All the RNAi lines used here are from the Transgenic RNAi Project (TRiP), except for Drl-2 where TRiP was used for one sample and KK line for the other three.

For mutant-based knock-out experiments (Figure 1—figure supplement 2E), R77H11-GAL4, UAS-CD4-GCaMP6f (or MB120B-spGAL4, UAS-CD4-GCaMP6f for DWnt5 mutants) flies were used since the expression was nicely confined to Wave neurons (Masson et al., 2020).

Single-Wave labelling by heat-shock FlpOut (Figure 3D-G)

Female 20XUAS > dsFRT >-CsChrimson::mVenus, pBPhsFlp2::Pest; DWnt4EMS23 flies were crossed to DWnt4C1; R77H11-GAL4 males and housed in tubes with fly food. The tubes containing eggs and 1st-2nd instar larvae were placed into an incubator set to 37.5-38.7 °C for 1 hr. The tubes were put back to 25°C to raise the eggs up to the 3rd instar larvae. The CNS was dissected and Wave neurons were visualized by staining mVenus with anti-GFP antibody. The segment identities of Wave neurons were determined by observing the entry point of the neurite from the soma, based on anti-HRP staining.

Optogenetics in freely moving larvae (Figure 5)

UAS-CsChrimson female flies were crossed to R60G09-GAL4 or UAS-DFz2-RNAi [TRiP]; R60G09-GAL4 males. The larvae from the next generation were grown at 25°C. 2nd or 3rd instar larvae were picked, gently washed, and transferred onto an apple-juice agar plate coated with yeast paste, either containing 2 mM of all-trans retinal (ATR) or none (ATR concentration was calculated based on the volume of the dry yeast. Note that the same amount of distilled water was added to make yeast paste). The plate was covered with plastic cover and aluminum foil and placed at 25°C for one night. The behavioral experiment was conducted on an apple juice agar plate, which was placed on a heating plate to set the surface temperature of the agar within 25°C ± 1°C. The larvae were placed on the fresh apple-plate for over 5 min before the behavioral assays. 660 nm LED light at the density of 20∼25 μW/mm2 (THORLABS) was used for the stimulation of CsChrimson. The stimulation trials were delivered twice for each animal, with a duration of 10-15 s for each trial, and > 15 s intervals between each trial. Video recording was conducted under a stereomicroscope (SZX16, Olympus), while the background illumination was minimized so as not to activate CsChrimson.

Gentle touch assay (Figure 6)

The behavioral experiment was conducted on an apple juice agar plate, which was placed on a heating plate to set the surface temperature of the agar within 25°C ± 1°C. von Frey filament (Touch Test Sensory Evaluator (0.07 g), North Coast; #NC12775-04) was used to provide gentle head touch. Gentle touch was applied to the target site (dorsal side of T3 ± 1 segment) until the filament showed a mild bend, so that a consistent force was applied across trials. Trials with failed stimulation (wrong location, insufficient filament bend) were excluded from the analyses. Five trials were performed for eight animals in each group. The experiment was performed by mixing the identities of genetic groups to make their identities blind to the examiner. The genotypes are as follows: driver control (yw × R60G09-GAL4), TRiP effector control (yw × UAS-DFz2-RNAi[TRiP]), KK effector control (yw × UAS-DFz2-RNAi[KK]), GD effector control (yw × UAS-DFz2-RNAi[GD]), TRiP experimental (UAS-DFz2-RNAi[TRiP] × R60G09-GAL4), KK experimental (UAS-DFz2-RNAi[KK] × R60G09-GAL4), GD experimental (UAS-DFz2-RNAi[TRiP] × R60G09-GAL4).

Quantification and statistical analysis

Primary RNAi/mutant test (Figure 1—figure supplement 2)

The projection of Wave axons was manually examined with Fas2 reference as follows. For an axon, as it runs dorsally, one of the Fas2 tract TP1 was considered as a boundary (Landgraf et al., 2003a). The neuromere identity was determined starting from T3, where Fas2 tracts are uniquely identifiable. For analysis in Figure 1—figure supplement 2G and G, HRP staining was used as a reference and hence the criteria used was the same as in the clonal analysis (described below).

For examination of the Wave axon/dendrite projection region, three animals were examined for each RNAi strain. If GFP expression was not obtained for more than three neurons (due to GAL4 expression stochasticity), we added three to six animals until the sample size reached three.

Clonal analyses (Figures 1, 2, 3, Figure 1—figure supplement 2, and Figure 1—figure supplement 3)

Wave neurites were visualized by anti-V5/anti-HA (for MCFO) or by anti-GFP (for heat-shock FlpOut) antibody staining with the anti-HRP counterstain, which clearly stains the anterior commissure (AC) and posterior commissure (PC) in each neuromere. The segment identity was assigned starting from T3 which is uniquely identifiable. The boundary between neuromeres Ak and Ak+1 (k=1, 2,…, 7) is approximately the center line between the PC in neuromere Ak and AC in neuromere Ak+1 (Landgraf et al., 2003b). The presence of a neurite in a specific neuromere was determined as follows. For anterior projection, when the neurite crossed the PC in neuromere Ak, it was counted as being present in Ak. For posterior projection, when the neurite crossed the AC in neuromere Ak, it was counted as being present in Ak. These definitions were intended to exclude vague projections into a neuromere. Quantification of relative axon length is described in the following section.

Quantification of relative axon length (Figures 1, 2, 3, and Figure 1—figure supplement 2)

The relative position c (0 ≤ c < 1) of the axon landmarks (axon branching point, anterior end, and posterior end) was calculated as follows.

where point (x, y) denotes the pixel coordinate of a specific point in a confocal stack image taken from the dorsal side. The points of interest are:

(x, y): axon branching point, anterior end, or posterior end

(x0, y0): the anterior segmental border (calculated as the midpoint of the center of the dorsal posterior commissure (dPC) of the prior neuromere and the center of the dorsal anterior commissure (dAC) of the present neuromere, derived from anti-HRP staining)

(x1, y1): the posterior segmental border (calculated as the midpoint of the center of the dPC of the present neuromere and the center of the dAC of the next neuromere, derived from anti-HRP staining).

By adding relative position c to the neuromere identity n (n = 1,2,…,11 for neuromeres T1, T2, T3, A1,…, A8), normalized landmark positions c^(x, y) = c(x, y) + n(x, y) were defined and their distances were used to calculate relative axon lengths.

As relative positions of landmarks are critical for these analyses, images with drifts and/or perturbation were excluded.

Quantification of DWnt4/DFz2 expression (Figure 4 and Figure 4—figure supplement 1)

To quantify the florescence from immunohistochemistry images, ROIs were set to each hemisegment to calculate the mean intensity. The segment identity was assigned for each block of anterior and posterior commissures (AC and PC) in the neuropil starting from A8 (in embryos) or A1 (in larvae).

To quantify the anti-DWnt4 and anti-DFz2 signals, Z-stack images that extracted the maximum intensity pixels within the neuropil in each hemisegment were used. ROIs were set as circles that cover the lateral neurite-dense regions in left and right hemisegments. The signals from anti-DWnt4/DFz2 were normalized by the anti-HRP signals in the corresponding ROIs. Neuromere A1 was excluded from the analysis as many images did not cover this region. Samples with ambiguous A-P directionality were also excluded.

To quantify the GFP.nls and anti-Elav signals in embryos, the ROIs were set as polygons (drawn based on the anti-Elav image) that encircled the segmental bumps at the lateral edge and imaginary boundaries between segments (that appeared as arc-shaped dark ditches). Since the boundary was less evident posterior than A8, all the terminal segments were included and named as “A8/9”.

Quantification of larval behaviors (Figures 5 and 6)

Larval behaviors were manually quantified. Larval locomotion was counted when a complete sequence of muscle contraction across all segments was observed, with the direction from anterior to posterior being backward locomotion and the other way around being forward locomotion (Berni et al., 2012). Rolling was defined as a 360-degree rolling of larval body to the lateral direction.

In quantification of larval behaviors upon optogenetic stimulation (Figure 5), the first 10 secs just prior to and after stimulation onset in each trial were used (to avoid the effect of desensitization) and then summed across trials.

In quantification of stride durations (Figures 5 and 6), the duration between the start (landing of the posterior end of the larval body) and the end (landing of the anterior end of the larval body) of forward locomotion that occurred just prior to and after the first stimulation onset (Figure 5) or just after each gentle touch (Figure 6) was measured. In Figure 6, the trials where the larvae were outside the field of view when performing forward locomotion following the stimulus were excluded from the analyses.

In quantification of behaviors upon gentle touch (Figure 6), the Kernan scoring was performed by manually observing the recorded video. To minimize scoring bias, two independent analyses were performed (by S. M. and S. Takagi) and we confirmed that a consistent conclusion was obtained.

Statistical analyses

All statistical tests were performed using R-project (http://www.r-project.org). The statistical tests used are indicated in the respective figure legends or in the text.

In the primary RNAi analysis and the mutant analysis, the Chi-square test followed by Haberman’s adjusted residual analysis (Haberman, 1973) was applied to determine the statistical significance of each cell in the cross-classified table. To avoid multiple comparison problems, adjusted significance level was calculated in accord with Sidak, 1967, as is recommended in Beasley and Schumacker, 1995, as follows:

where k denotes the number of cells in the table. Here, we set a = 0.05.

R60G09-GAL4 consistently targets Wave neurons from embryonic to larval stages

(A) R60G09-GAL4 targets Wave neurons. Double labeling of MB120B-spGAL, a previously characterized Wave-specific GAL4, and newly identified R60G09-GAL4 and R77H11-LexA in 3rd instar larvae shows that these three lines commonly target Wave neurons (arrows). Scale bar = 50 μm. (B-D) R60G09-GAL4 consistently labels Wave neurons from embryonic to larval stages. (B) Expression driven by R60G09-GAL4 in 12 hr AEL (Stage 15) embryos.

At this stage, the expression is seen in Wave neurons (white arrows) and putative dMP2 neurons (black arrows), which undergo apoptosis at later stages (except in segments A6-A8, Miguel-Aliaga, 2004). Stacked image. Scale bar = 50 μm. (C) Expression in 16hAEL (Stage 16/17) embryos. White arrows: Wave neurons, black arrows: putative dMP2 neurons, gray arrows: degenerating corpses of putative dMP2 neurons. Stacked image. Scale bar = 50 μm. (D) Expression in 20hAEL (Stage 17) embryos. White arrows indicate Wave neurons. Note that dMP2 neurons (except in segments A6-A8) are no longer present and the GAL4-driven expression is now largely confined to Wave neurons at this stage. Stacked image. Scale bar = 50 μm. (E) Expression in 3rd instar larvae. In the VNC, the GAL4-driven expression is confined to Wave neurons (white arrows) and a pair of ascending neurons in T2 segment. Note that the GAL4-driven expression in dMP2 neurons (including A6-A8) is absent in larval stages. Stacked image. Scale bar = 50 μm.

Identification of candidate Wnt receptors and ligands that regulate A-P Wave axon guidance

(A-D) Identification of candidate receptors. R60G09-GAL4 was used to drive expression of UAS-RNAi constructs for Wnt receptors and CD4-GCaMP6f in Wave neurons. Since expression of CD4-GCaMP6f visualizes all Wave axons which fasciculate together to form an axon bundle, the morphology of individual Wave axons cannot be assessed in general by this method. However, since it is known from previous single-cell analyses that the most posterior part of the Wave axon bundle contains only the axon of A6-Wave (Takagi et al., 2017), we focused on this part of the axon bundle (white arrows) to study how manipulation of Wnt receptor expression affect it morphology. As compared to the control (A), DFz2 KD [TRiP] (B) results in posterior elongation while DFz4 KD [TRiP] (C) results in shortening of this axon branch. Arrowhead: cell body of A6-Wave. Dotted boxes indicate the abnormal extension/shortening of the axon. Scale bar = 50 μm. (D) Quantification of the ending points of A6-Wave (p-Wave) axon extension in R60G09-GAL4 > UAS-RNAi [TRiP] animals. p-values were calculated by Chi-square test (p = 2.38×10-6) followed by Haberman’s adjusted residual analysis (α = 0.0019; see Method details). (E) Identification of candidate ligands. Quantification of the ending points of A5-Wave (p-Wave) axon extension in each mutant line. MB120B-spGAL4 was used for DWnt5400 mutant and R77H11-GAL4 for all the other mutant lines to express CD4-GCaMP6f. p-values were calculated by Chi-square test (p = 0.024) followed by Haberman’s adjusted residual analysis (α = 0.0064). (F, F’) Ectopic posterior extension of A2-Wave axon by DFz2 KD with an independent RNAi line. (F) Lateral view of a single Wave clone in which DFz2 was knocked-down with the KK RNAi line, visualized by mosaic analyses in 3rd instar larvae. As was observed with the TRiP RNAi line (see Figures 1B, D), the axon was ectopically extended towards the posterior (dotted box). The green channel shows the Wave neuron, and the blue channel shows anti-HRP staining that visualizes the neuropil. White arrows indicate ectopic axon processes. Scale bar = 50 μm. (F’) Quantification of the ectopic extension. Normalized posterior axon lengths were quantified in A2-Wave and categorized into normal (length < 1) and abnormally extended (length > 1) neurons. p-value was calculated by one-tailed Fisher’s exact test (p = 0.0455). (G, G’) Posterior extension of A6-Wave is shortened by DFz4 KD with two RNAi lines (TRiP and KK). (G) A6-Wave (p-Wave) axon extension in control (left) and DFz4 KD (right, KK) animals. Note that the posterior extension of A6-Wave axons can be specifically examined in R60G09-GAL4 > CD4-tdGFP animals, since only A6 Wave neurons extend axons beyond A6. Arrowhead: cell body of A6-Wave. Scale bar = 50 μm. (G’) Quantification of the ending points of A6-Wave (p-Wave) axon extension in control, DFz4 KD (TRiP), and DFz4 KD (KK) animals. p-values were calculated by Chi-square test (p= 0.0053) followed by Haberman’s adjusted residual analysis (α = 0.0085).

Effect of DFz2 KD on Wave dendrite extension

Tiling profile of A2-Wave to A6-Wave dendrites in control and DFz2 knocked-down [TRiP] animals. n indicates the number of neurons. Tiling percentage indicate the fraction of samples (single Wave neurons) whose Wave dendrite innervated the corresponding neuromere.

Expression of DWnt4 and DFz2 is suppressed in mutants

(A, B) Expression of DWnt4 protein in the neuropil of each neuromere. (A) The fluorescence of anti-DWnt4 antibody in control (yw) and mutant (DWnt4EMS23) embryos are shown (with the same contrast for each channel in each group). Scale bar = 10 μm. (B) Comparison of DWnt4 signal between control (yw) and mutant (DWnt4EMS23) embryos in each neuromere. ***: p < 0.001, Welch’s t-test. (C, D) Expression of DFz2 protein in the neuropil of each neuromere. (C) The fluorescence of anti-DFz2 antibody in control (yw) and DFz2 KD (elav-GAL4 > UAS-DFz2-RNAi [KK]) embryos are shown (with the same contrast for each channel in each group). Scale bar = 10 μm. (D) Comparison of DFz2 signal between control (yw) and DFz2 KD (elav-GAL4 > UAS-DFz2-RNAi [KK]) embryos in each neuromere. *: p < 0.05, **: p < 0.01, ***: p < 0.001, Welch’s t-test.