Main

Ca2+ is an essential mineral that is strictly regulated in support of numerous physiological activities across all eukaryotes1,2. Extracellular fluid Ca2+ levels must be accurately maintained within a tight range to ensure a proper supply of Ca2+ to the cells3. Particularly in terrestrial vertebrates, which acquire Ca2+ solely from their diet, evolution has honed bone remodelling and endocrine systems related to Ca2+ metabolism to facilitate precise homeostatic Ca2+ regulation4. Among the endocrine factors regulating Ca2+ homeostasis, parathyroid hormone (PTH) is crucial for maintaining serum Ca2+ homeostasis during Ca2+ deficiency5,6. When serum Ca2+ levels drop, PTH secreted from the parathyroid glands acts primarily on the bones and kidneys to elevate serum Ca2+ levels. PTH deficiency leads to hypocalcaemia, which in turn causes neuronal and muscle dysfunction7. By contrast, most invertebrates, including terrestrial arthropods, lack bones for Ca2+ storage or PTH orthologues in their genomes. Yet somehow these boneless PTH-lacking terrestrial invertebrates still thrive, carrying out numerous Ca2+-dependent physiological activities that are evolutionarily conserved in vertebrates. This implies the existence of unknown but presumably endocrine mechanisms in terrestrial invertebrates that maintain homeostatic extracellular fluid Ca2+ levels.

The impact of hypocalcaemia on fly larvae

To investigate the endocrine mechanisms regulating Ca2+ homeostasis in terrestrial invertebrates, we used the fruit fly D. melanogaster as a model system. First, we examined the developmental and physiological effects of rearing larvae on food lacking dietary Ca2+. For this purpose, we modified a previously reported chemically defined diet for D. melanogaster, known as a holidic medium (HM)8, to create a Ca2+-free HM (CFHM) (Extended Data Fig. 1a and Supplementary Table 1). While standard fly food contains approximately 2.5 mM Ca2+ and standard HM (SHM) contains approximately 1.2 mM Ca2+, we could not detect any Ca2+ in CFHM (Extended Data Fig. 1a). Wandering third instar (L3; that is, the final instar) larvae reared on CFHM from the beginning of L3 exhibited approximately half the haemolymph Ca2+ of those reared on SHM (Fig. 1a,b), suggesting hypocalcaemia. CFHM-reared larvae also showed reduced locomotor activity (Fig. 1c and Supplementary Video 1). Moreover, larvae reared on CFHM from L3 showed a reduction in the intensity and frequency of skeletal muscle contraction characterized by changes in fluorescent signals from the Ca2+ probe GCaMP just before puparium formation (PF) (Extended Data Fig. 1b–d). This resulted in the formation of elongated pupae with an increased pupal axis ratio (that is, the ratio of pupal length to width) (Fig. 1d–f). Such elongated pupae are characteristic of mutants with impaired muscle function9,10, suggesting that the phenotype arises from Ca2+-deficiency-induced muscle dysfunction. In support of this interpretation, we observed similar elongated pupal phenotypes in animals with motor neuron-specific knockdown of voltage-gated Ca2+ channels (Extended Data Fig. 1e,f). Furthermore, we were able to induce elongated pupae by injecting the Ca2+ chelator ethylene glycol tetraacetic acid (EGTA) into the larval haemolymph just before PF (Extended Data Fig. 1g). These findings suggest that the underlying cause of the elongated pupal phenotype is neuromuscular Ca2+ deficiency resulting from decreased haemolymph Ca2+ concentration.

Fig. 1: Physiological response to Ca2+ deficiency during larval development in D. melanogaster.
Fig. 1: Physiological response to Ca2+ deficiency during larval development in D. melanogaster.The alternative text for this image may have been generated using AI.
Full size image

a, Schematic of the methods of rearing larvae on SHM (+) or CFHM (−) from various larval stages. bf, Larvae reared on CFHM showed reduced haemolymph Ca2+ levels and locomotor activity, along with elongated pupal phenotypes that correlated inversely with haemolymph Ca2+ concentration. bd, The haemolymph Ca2+ concentration (b) and locomotor activity (c) of wandering L3 larvae and the pupal axis ratio (length/width; d) of pupae reared on SHM (+) or CFHM (−) from various larval stages. e, Representative images of wandering L3 larvae and pupae reared on SHM or CFHM from 0 h after L3 ecdysis (0 h AL3E). Scale bar, 1 mm. f, Representative images of skeletal muscles in white prepupae reared on SHM or CFHM from 0 h AL3E. Mhc-GFP was used to visualize skeletal muscles. Enlarged images correspond to the boxed areas. Scale bar, 1 mm. gi, Larvae reared on HM containing low Ca2+ (0.2 mM) maintain normal circulating Ca2+ levels and form puparia with normal pupal axis ratios. g, Schematic of rearing larvae on HM containing varying amounts of Ca2+ from 0 h AL3E. h,i, The haemolymph Ca2+ concentration of wandering L3 larvae (h) and the pupal axis ratio of pupae (i) reared on HM containing varying amounts of Ca2+ from 0 h AL3E. w1118 flies were used in all of the experiments except for in f. Data are mean ± s.d. Sample sizes (n) and P values (P < 0.05) are shown in the graphs. Statistical analysis was performed using two-tailed Mann-Whitney U-tests in comparison to the SHM (+) group (bd) and one-way analysis of variance (ANOVA) with Tukey’s multiple-comparisons test (h and i); *P < 0.0001; NS, not significant (P > 0.05).

Source Data

To assess the effects of more severe Ca2+ deficiency on larval development and physiology, we reared larvae on CFHM from earlier instar stages (that is, the first or second instars, L1 or L2) (Fig. 1a). Under these conditions, the larvae exhibited increased mortality proportional to CFHM rearing duration (Extended Data Fig. 1h,i). Moreover, surviving escapers reared on CFHM from early instars showed marked reductions in haemolymph Ca2+ and locomotor activity (Fig. 1b,c and Supplementary Video 1), along with elongated pupal phenotypes that correlated inversely with haemolymph Ca2+ levels (Fig. 1d and Extended Data Fig. 1j). We were surprised to see any larvae achieve successful PF when reared on CFHM from L1 (Extended Data Fig. 1h–j). By contrast, when we reared larvae in HM lacking Mg2+, another divalent alkaline earth metal cation, most died at an early stage and the few that did escape did not produce elongated pupae (Extended Data Fig. 1h,i,k). Considering the necessity of Ca2+, these results suggest the existence of both a Ca2+ reservoir and a mobilization system in D. melanogaster that can help to compensate for dietary Ca2+ deficiency.

To further explore such a mechanism that helps larvae cope with reduced Ca2+ conditions, we measured haemolymph Ca2+ concentrations in larvae reared on HM containing varying amounts of Ca2+ from the onset of the L3 (Fig. 1g,h). As described above, larvae reared on CFHM (0 mM) exhibited hypocalcaemia. By contrast, those raised on diets containing 0.2 mM Ca2+, a concentration lower than one-tenth of standard fly food (Extended Data Fig. 1a), maintained haemolymph Ca2+ levels comparable to those reared on 1.0 or 5.0 mM Ca2+ diets (Fig. 1h). They also formed pupae with normal axial ratios and survival rates (Fig. 1i and Extended Data Fig. 1l,m). These observations strongly support the existence of an internal Ca2+ mobilization system in D. melanogaster that buffers against fluctuations in dietary Ca2+ availability.

Capa from VaNs regulates haemolymph Ca2+

On the basis of the observations above, we hypothesized that knockdown of a hypothetical PTH-like Ca2+ mobilization factor—if it exists in D. melanogaster—should reduce haemolymph Ca2+ and motor activity while also triggering the induction of elongated pupae. We therefore conducted an in vivo RNA interference (RNAi) screen for genes encoding neuropeptides and peptide hormones of which knockdown leads to elongated pupal phenotypes. Using a ubiquitous driver (TubP-Gal4), we knocked down 51 genes encoding neuropeptides or peptide hormones specifically in the L3 stage and then analysed their resulting pupal axis ratios (Fig. 2a,b and Supplementary Table 2). Among all of the genes tested, knockdown of Capability (Capa) substantially increased the pupal axis ratio (Fig. 2b and Extended Data Fig. 2a,b), leading to elongated pupal phenotypes like those of CFHM-reared animals (Fig. 1d,e and Extended Data Fig. 1j). We confirmed recent reports that knockdown of insulin-like peptide 8 (ilp8) or Hugin (Hug) increased the pupal axis ratio11,12, but neither increase was as large as the increase induced by knockdown of Capa (Fig. 2b). Moreover, Capa RNAi larvae showed significantly less locomotor activity compared with the controls (Extended Data Fig. 2c and Supplementary Video 2). We were able to confirm the elongated pupal phenotype across multiple independent Capa RNAi lines (Extended Data Fig. 2a,b), and we observed reduced haemolymph Ca2+ in Capa RNAi larvae (Extended Data Fig. 2d). On the basis of these results, we focused on Capa as a candidate endocrine factor regulating haemolymph Ca2+ in D. melanogaster.

Fig. 2: Capa produced by VaNs regulates haemolymph Ca2+.
Fig. 2: Capa produced by VaNs regulates haemolymph Ca2+.The alternative text for this image may have been generated using AI.
Full size image

a,b, In vivo RNAi screen to identify endocrine regulators of haemolymph Ca2+. a, Schematic of the in vivo RNAi screen. b, The pupal axis ratio of pupae with knockdown of genes encoding neuropeptides and peptide hormones. TubP-Gal4TS>UAS-dicer2 was used as a ubiquitous driver. c, The relative expression levels of Capa in various tissues, as assessed using quantitative PCR with reverse transcription (RT–qPCR). Car, carcass; FB, fat body; ID, imaginal discs; SG, salivary glands; Tra, tracheae; WB, whole body. d,e, Expression of Capa-2A-Gal4 (d) and a VaN-specific driver (R18D09R54A09-Gal4TS) (e) in the CNS of wandering L3 larvae. Gal4 drivers were crossed to UAS-myr::GFP flies. The white arrows and arrowheads indicate the SEGNs and VaNs, respectively. The yellow arrow indicates the CC, and the yellow arrowhead indicates the TVNs. The two rightmost images show a magnified view of the region within the dotted square. Nuclei were stained with DAPI (magenta). Capa-producing neurons were labelled with the Capa precursor (P) antibody (yellow; e). For d and e, scale bars, 100 µm. f, VaN-specific Capa knockdown (Capa-i; UAS-Capa RNAi, UAS-dicer2) reduced the locomotor activity of wandering L3 larvae. gi, Genetic manipulations of the VaN affected pupal morphology and Ca2+ concentration. Representative images (g) and the pupal axis ratio (h) of pupae, and the haemolymph Ca2+ concentration of wandering L3 larvae (i) after VaN-specific Capa knockdown (Capa-i), genetic ablation (grim), inactivation (Kir2.1) and activation (TrpA1). For g, scale bar, 1 mm. R18D09R54A09-Gal4TS was used as a VaN-specific driver. Data are mean ± s.d. Sample sizes (n) and P values (P < 0.05) are shown in the graphs. Statistical analysis was performed using one-way ANOVA with Dunnett’s multiple-comparisons test in comparison to the control group (b, h and i) and two-tailed Mann–Whitney U-tests in comparison to the control group (f); *P < 0.0001; NS, not significant (P > 0.05).

Source Data

Analysis of tissue-specific expression of Capa revealed its specific expression in the central nervous system (CNS) (Fig. 2c). Using Capa-2A-Gal4, which mimics endogenous Capa expression, we were able to observe Capa expression only in a restricted set of neurons in the CNS (Fig. 2d and Extended Data Fig. 2e). Consistent with previous reports13,14, two neural clusters within the CNS—a pair of suboesophageal ganglion neurons (SEGNs) and three pairs of ventroabdominal neurons (VaNs)—express high levels of Capa (Fig. 2d and Extended Data Fig. 2e,f). The SEGNs extend axons to the corpora cardiaca (CC), while the VaNs extend axons to the transverse nerves (TVNs), which are known neurohemal release sites located outside the CNS in Drosophila larvae14,15,16 (Fig. 2d). This suggests that Capa peptides are secreted into the haemolymph from these axons. To assess the importance of each Capa-expressing neural cluster in determining the elongated pupal phenotype, we selected several different Gal4 drivers for the SEGNs and VaNs from the FlyLight database (https://www.janelia.org/project-team/flylight) (Extended Data Fig. 3a–d). We observed elongated pupae with Capa knockdown using drivers expressed in the VaNs, but not using drivers expressed in the SEGNs (Extended Data Fig. 3e). To confirm this, we next used the Gal80 system to analyse tissue- and neuron-specific requirements for Capa17. We found that pan-neuronal Gal80 (nSyb-Gal80) suppressed the elongated pupal phenotype observed after ubiquitous knockdown of Capa (TubP-Gal4) (Extended Data Fig. 2g). Furthermore, VaN Gal80 (R18D09-LexA>LexAop-Gal80) suppressed the elongated pupal phenotype induced by Capa knockdown through either pan-neuronal (nSyb-Gal4) or VaN (R54A09-Gal4) drivers (Extended Data Fig. 2g–i). These results indicate that Capa expressed in the VaNs is responsible for the elongated pupal phenotype.

To further demonstrate the importance of Capa secreted from the VaNs, we generated a VaN-specific driver, R18D09R54A09-Gal4 (that is, αTub84B-FRT.Gal80.FRT, R18D09-LexA>LexAop-FLP, R54A09-Gal4) through the genetic intersection of two VaN drivers (R18D09-LexA and R54A09-Gal4) using the flip-out recombinase technique18 (Fig. 2e). We were able to confirm a VaN-specific loss of Capa production when using this driver to knock down Capa (Extended Data Fig. 2j). Importantly, we found that a loss of Capa production in only three pairs of VaNs reduced larval locomotion and induced the elongated pupal phenotype (Fig. 2f–h and Supplementary Video 3). We next ablated the VaNs by overexpressing the proapoptotic gene grim and inactivated them by overexpressing the strong inward rectifier potassium channel Kir2.1. We found that both VaN ablation and inactivation led to the formation of elongated pupae like those observed after induction of Capa RNAi (Fig. 2g,h). However, VaN activation through expression of the heat-sensitive channel TrpA1 did not alter the pupal axis ratio (Fig. 2g,h). Notably, we found that knockdown of Capa, VaN ablation and VaN inactivation reduced haemolymph Ca2+ levels, while VaN activation slightly increased haemolymph Ca2+ levels (Fig. 2i). These results indicate that Capa secreted from VaN is responsible for regulating haemolymph Ca2+.

CapaR in IS regulates haemolymph Ca2+

Capa encodes the Capa precursor, which is cleaved into three PRX-amide peptides—Capa-1, Capa-2 and Pyrokinin-1 (PK-1)13,14 (Extended Data Fig. 4a). PRX-amide peptides are evolutionarily conserved, and neuromedin U (NmU) is a well-known example of a vertebrate PRX-amide that exists even in mammals19. Capa-1 and Capa-2 act specifically on the Capa receptor (CapaR), while PK-1 acts on the Pyrokinin 1 receptor (PK1-R)20,21,22 (Extended Data Fig. 4a). Furthermore, a direct peptide profiling analysis suggested that, although Capa-1, Capa-2 and PK-1 are all secreted from the VaN into the haemolymph, only PK-1 is secreted from the SEGNs15. Considering the role of the VaNs in regulating haemolymph Ca2+ levels (Fig. 2i), we expect that Capa-1 and Capa-2 act through CapaR to regulate Ca2+ levels. As expected, we found that ubiquitous knockdown of CapaR reduced larval locomotion and induced the formation of elongated pupae (Extended Data Fig. 4b–d and Supplementary Video 4). We also found that CapaR RNAi larvae exhibited significantly reduced haemolymph Ca2+ levels (Extended Data Fig. 4e). By contrast, we did not observe any of these phenotypes after knockdown of PK1-R (Extended Data Fig. 4c–e). These results strongly suggest that Capa-1 and Capa-2 secreted from the VaNs regulate haemolymph Ca2+ concentration through CapaR.

To determine the tissues targeted by Capa-1 and Capa-2, we examined the expression pattern of CapaR and found predominant expression in the Malpighian tubules (MT) (Fig. 3a). The MT is a pair of tubular tissues extending anteriorly and posteriorly from the gut that act as functional equivalents of mammalian kidneys23. We found strong CapaR-Gal4 expression in the distal region of the anterior MT (A-MT) called the initial segments (IS) (Fig. 3b). When we further examined the localization of endogenous CapaR tagged with eGFP (CapaR-eGFP), we found specific localization to the basal membranes of the principal cells in the IS but not in the main segments (Fig. 3c). To analyse the role of CapaR in the IS, we knocked down CapaR using multiple drivers expressed in the MT24,25,26 (Fig. 3d and Extended Data Fig. 4f–i). Knockdown of CapaR using drivers expressed in the principal cells of the IS (CapaR-Gal4, NP1093-Gal4 and Debcl-Gal4) resulted in the elongated pupal phenotype, whereas neither the knockdown of CapaR using drivers expressed in the principal cells of the main segment (Uro-Gal4) nor in the stellate cells (c724-Gal4) produced any obvious phenotype (Fig. 3d,e and Extended Data Fig. 4f–i). Furthermore, we did not observe the elongated pupal phenotype after silencing CapaR expression in other tissues (Extended Data Fig. 4j), including the CC and muscles, which reportedly require CapaR in adult flies27,28. Moreover, we confirmed that knockdown of CapaR, specifically in the principal cells of the IS, reduced larval locomotion and the haemolymph Ca2+ concentration (Fig. 3f,g and Supplementary Video 5). These results clearly indicate that CapaR is required in the IS of the A-MT for haemolymph Ca2+ regulation. Notably, although the TVN terminals extending from the Capa-producing VaNs did not project directly into the IS of the A-MT, they terminated nearby (Extended Data Fig. 5a–c), suggesting the secretion of Capa peptides in the vicinity of the IS of the A-MT.

Fig. 3: CapaR in the IS of the A-MT regulates haemolymph Ca2+.
Fig. 3: CapaR in the IS of the A-MT regulates haemolymph Ca2+.The alternative text for this image may have been generated using AI.
Full size image

ac, CapaR was predominantly expressed in the IS of the A-MT. a, The relative expression levels of CapaR in various tissues, as assessed using RT–qPCR. b, The CapaR-Gal4 expression pattern in wandering L3 larvae. The left image shows all internal tissues, and the right image shows an isolated A-MT. The white arrows indicate the A-MT, and the yellow arrow indicates the posterior MT. The Gal4 driver was crossed to UAS-myr::GFP flies. Nuclei were stained with DAPI (magenta). Scale bars, 500 µm. c, The localization of endogenous CapaR tagged with eGFP (CapaR-eGFP). CapaR–eGFP was localized to the basal membrane of principal cells (PC) in the IS but not in the main segment. No GFP signal was observed in stellate cells (SC). Cell membranes were stained with phalloidin (F-actin, yellow), and nuclei were stained with DAPI (magenta). Scale bars, 25 µm. d,e, CapaR knockdown in the principal cells of the IS led to the induction of elongated pupae. d, Schematic of the expression patterns of various Gal4 drivers expressed in the MT. e, The pupal axis ratio of pupae with CapaR RNAi under the control of various Gal4 drivers. f,g, Specific knockdown of CapaR in the IS reduced locomotor activity (f) and haemolymph Ca2+ concentration (g) in wandering L3 larvae. CapaR-Gal4TS>UAS-dicer2 was used as an IS driver. Data are mean ± s.d. Sample sizes (n) are shown in the graphs. Statistical analysis was performed using one-way ANOVA with Dunnett’s multiple-comparison test in comparison to the control group (e and g) and two-tailed Mann–Whitney U-tests in comparison to the control group (f); *P < 0.0001; NS, not significant (P > 0.05).

Source Data

IS of the A-MT as a major Ca2+ reservoir

We next examined the role of the IS of the A-MT. The lumen of the MT reportedly contains mineralized granules in many insect species29,30, including Diptera31,32,33,34,35,36,37. Indeed, we observed abundant white granules in the lumen of the IS in wandering L3 larvae in D. melanogaster (Fig. 4a,b). We also found that the IS of the A-MT contained approximately half of the Ca2+ in the whole body (Fig. 4c). Scanning electron microscopy (SEM) analysis revealed a pearl-like appearance for these white granules in the lumen of the IS (Fig. 4d). Further analysis using an electron probe microanalyser (EPMA) revealed that the granules were primarily composed of Ca2+, but they also included phosphorus, oxygen and carbon (Fig. 4e). This is consistent with previous reports suggesting that many dipterans, including Drosophilidae species, store Ca2+ in the MT in the form of calcium phosphate and calcium carbonate34,35,36,37. These results indicate that the IS of the A-MT in D. melanogaster is a specialized tissue for storing Ca2+ as pearl-like calcium granules (PCGs).

Fig. 4: Capa-1 and Capa-2 act directly on the IS of the A-MT to mobilize stored Ca2+.
Fig. 4: Capa-1 and Capa-2 act directly on the IS of the A-MT to mobilize stored Ca2+.The alternative text for this image may have been generated using AI.
Full size image

a,b, The lumen of the IS was filled with white granules. a, Representative image of the A-MT of a wandering L3 larva. Scale bar, 250 µm. b, Cross-sectional image of the IS. Cell membranes were stained with phalloidin (F-Actin, green), and nuclei were stained with DAPI (magenta). Differential interference contrast (DIC) image showing the lumen packed with granules. Scale bars, 25 µm. c, The Ca2+ content per larva in the whole body or in various regions of the MT. P-MT, posterior MT. d, SEM images of PCGs within the lumen of the IS. Scale bars, 10 µm (top) and 1 µm (bottom). e, PCG ionic composition as analysed by EPMA. w1118 flies were used in ae. f,g, The effects of Capa peptides on ex vivo cultured A-MT. f, Schematic of ex vivo A-MT culture. The two tubules from the same larva (24 h AL3E) were separated so that one could be cultured as a control (−) and the other with Capa peptides (Capa-1, Capa-2 and PK-1) for 30 min. g, Ca2+ content in the MT from control and CapaR RNAi flies after ex vivo culture. h, Specific knockdown of CG17759 or Pkc98E in the IS reduced the haemolymph Ca2+ concentration in wandering L3 larvae. i, The Ca2+ content in the MT from control, CG17759 RNAi and Pkc98E RNAi after ex vivo culture. CapaR-Gal4TS>UAS-dicer2 was used as an IS driver. Data are mean ± s.d. Sample sizes (n) and P values (P < 0.05) are shown in the graphs. Statistical analysis was performed using two-tailed Mann-Whitney U-tests in comparison to the negative control group (g and i) and one-way ANOVA with Dunnett’s multiple-comparison test in comparison to the control group (h); *P < 0.0001; NS, not significant (P > 0.05).

Source Data

Next, we examined whether Capa peptides directly reduced the Ca2+ stored in the MT. To test this, we dissected a pair of A-MTs, culturing one as a negative control and the other with Capa peptides (Capa-1, Capa-2 and PK-1) (Fig. 4f). After 30 min of ex vivo culture, Capa-1 and Capa-2, but not PK-1, significantly reduced the amount of Ca2+ stored in the tubules (Fig. 4g). Furthermore, we found that CapaR knockdown in the IS counteracted this effect (Fig. 4g), indicating that Capa-1 and Capa-2 act directly through CapaR expressed in the IS to mobilize stored Ca2+.

To elucidate the downstream signalling components of CapaR that mediate Ca2+ mobilization in the IS, we conducted an in vivo RNAi screen targeting Gα proteins and protein kinases in D. melanogaster (Supplementary Tables 3 and 4). Tissue-specific knockdown of CG17759 (encoding Gαq) and Pkc98E (encoding protein kinase C epsilon, PKCε) in the IS of the MT resulted in elongated pupae and reduced Ca2+ levels in the haemolymph (Fig. 4h and Extended Data Fig. 6). Notably, the Ca2+-mobilizing effect of Capa peptides was abolished in A-MTs after IS-specific knockdown of CG17759 or Pkc98E (Fig. 4i). These findings strongly suggest that Capa peptides activate the CapaR–Gαq–PKC signalling cascade in the IS, leading to mobilization of luminal Ca2+ into the haemolymph.

Capa–CapaR mobilizes Ca2+ under deficiency

Our findings suggest that Capa peptides secreted from the VaNs act directly on the IS of the A-MTs to mobilize stored Ca2+. Notably, despite the Ca2+ independence of Capa expression (Extended Data Fig. 7a,b), mature Capa peptide immunoreactivity in the VaNs was reduced in flies reared on CFHM compared with those reared on SHM (Extended Data Fig. 7c–e). As the immunoreactivity of peptide hormones, including Capa, is inversely correlated with their secretion in D. melanogaster28,38, this observation suggests that Ca2+ deficiency promotes Capa secretion from the VaNs.

To determine whether the Ca2+ stored in the MT is indeed mobilized when larvae experience Ca2+ deficiency, we transferred larvae to CFHM at various larval stages and analysed the resulting levels of Ca2+ stored in the A-MT. As a result, the stored Ca2+ levels in the A-MT substantially decreased depending on the CFHM rearing duration (Extended Data Fig. 8a–c). This decrease was suppressed by knocking down CapaR specifically in the IS (Fig. 5a,b), indicating that the mobilization of stored Ca2+ from the MT is Capa–CapaR dependent. When we reared CapaR RNAi larvae on CFHM, both dietary and stored Ca2+ were unavailable, reducing haemolymph Ca2+ levels even further (Extended Data Fig. 8d,e). Not only did this cause a considerable increase in larval mortality (Fig. 5c), but the few escaping survivors produced pupae that were even more elongated (Extended Data Fig. 8f,g). These results imply that the neuroendocrine mobilization of stored Ca2+ through the action of Capa is crucial to surviving Ca2+ deficiency.

Fig. 5: Mobilization of stored Ca2+ through Capa–CapaR is crucial to surviving Ca2+ deficiency.
Fig. 5: Mobilization of stored Ca2+ through Capa–CapaR is crucial to surviving Ca2+ deficiency.The alternative text for this image may have been generated using AI.
Full size image

ac, Ca2+ stored in the MT was mobilized in a CapaR-dependent manner under Ca2+-deficient conditions. a, Schematic of rearing larvae on SHM or CFHM from 0 h AL3E. b,c, The A-MT Ca2+ content (b) and survival rate (PF rate) (c) for control or CapaR RNAi (CapaR-i) larvae reared on SHM or CFHM. df, Specific knockdown of Capa in the VaNs disrupted haemolymph Ca2+ homeostasis in wandering L3 larvae. d, Schematic of rearing larvae on HM containing varying amounts of Ca2+ from 0 h AL3E. e,f, The haemolymph Ca2+ concentration (e) and survival rate (PF rate) (f) for control or Capa RNAi larvae reared on HM containing varying amounts of Ca2+. gj, Feeding larvae a high-Ca2+ diet rescued the elongated pupal phenotype induced by Capa RNAi. g, Schematic of rearing larvae on standard fly food (SFF), high-Ca2+ food (HCF) and high-Mg2+ food (HMF) from 0 h AL3E. h, Representative images of control or Capa RNAi pupae reared on SFF or food supplemented with 50 mM CaCl2 (HCF) or 50 mM MgCl2 (HMF). Scale bar, 1 mm. i, The pupal axis ratio of control or Capa RNAi pupae reared on SFF (0 mM) or food supplemented with 10, 25 or 50 mM CaCl2. j, The haemolymph Ca2+ concentrations for control or Capa RNAi wandering L3 larvae reared on SFF or food supplemented with 50 mM CaCl2 (HCF). CapaR-Gal4TS>UAS-dicer2 was used as an IS driver, and R18D09R54A09-Gal4TS was used as a VaN-specific driver. Data are mean ± s.d. Sample sizes (n) and P values (P < 0.05) are shown in the graphs. Statistical analysis was performed using two-way (b, c, e, f and i) and one-way (j) ANOVA with Tukey’s multiple-comparison test; *P < 0.0001; NS, not significant (P > 0.05).

Source Data

If Capa–CapaR is involved in maintaining Ca2+ homeostasis, its absence should cause aberrant fluctuations in haemolymph Ca2+ levels when the dietary Ca2+ concentration varies. Consistent with this hypothesis, control larvae maintained stable haemolymph Ca2+ levels regardless of the dietary Ca2+ concentration (0.2, 1.0 or 5.0 mM) (Fig. 5d,e and Extended Data Fig. 9a,b), as shown in wild-type (w1118) larvae (Fig. 1h). By contrast, Capa and CapaR RNAi larvae exhibited disruption of haemolymph Ca2+ homeostasis, leading to a direct correlation between dietary and haemolymph Ca2+ levels (Fig. 5e and Extended Data Fig. 9b). These RNAi larvae also showed a marked reduction in survival rates in larvae reared on low-Ca2+ HM (Fig. 5f and Extended Data Fig. 9c). Thus, Capa–CapaR-dependent Ca2+ mobilization is essential for the maintenance of haemolymph Ca2+ homeostasis.

Importantly, we found that both haemolymph Ca2+ levels and survival rates of Capa and CapaR RNAi larvae were restored by rearing them on high-Ca2+ HM (25 mM) (Fig. 5e,f and Extended Data Fig. 9b,c). Thus we finally examined whether high dietary Ca2+ intake can indeed reduce the severity of Capa/CapaR loss-of-function phenotypes. The Ca2+ concentration of standard fly food (approximately 2.5 mM) is lower than that of the haemolymph of wandering L3 larvae (approximately 5 mM) (Extended Data Fig. 1a). Thus, in this analysis, we examined the response to diets with Ca2+ concentrations (10 mM or higher) higher than those of the haemolymph. We found that a dietary Ca2+-concentration-dependent rescue of the elongated pupal phenotype was associated with both Capa and CapaR RNAi using food containing increasing levels of CaCl2 (Fig. 5g–i and Extended Data Fig. 9d–f), concomitant with the restoration of haemolymph Ca2+ levels (Fig. 5j and Extended Data Fig. 9g). By contrast, diets enriched with MgCl2 did not rescue the elongated pupal phenotype (Fig. 5h and Extended Data Fig. 9e,h,i). These results demonstrate that the elongated pupal phenotype associated with Capa/CapaR deficiency is due to Ca2+ deficiency.

Notably, larvae reared on diets of higher Ca2+ concentration maintained haemolymph Ca2+ levels of around 5.0 mM regardless of dietary Ca2+ content (Fig. 5e,j and Extended Data Fig. 9b,g). We also observed this Ca2+ buffering in Capa and CapaR RNAi larvae. These results suggest the existence of an unidentified, Capa–CapaR-independent mechanism that acts to prevent excess Ca2+ accumulation in the haemolymph.

Discussion

Terrestrial animals, in contrast to those dwelling in mineral-rich water, rely on dietary intake and internal storage to replenish Ca2+. Consequently, terrestrial vertebrates have evolved endocrine systems that control the use of Ca2+ stored in the bones during periods of Ca2+ deficiency4. While invertebrates lacking bones, and therefore bone Ca2+ stores, are widely distributed on land, their endocrine systems that regulate Ca2+ mobilization remain largely unknown. Here, we identified a neuroendocrine mechanism that regulates extracellular fluid Ca2+ in the fruit fly D. melanogaster (Extended Data Fig. 10). Specifically, in D. melanogaster larvae, the IS of the A-MT functions as a specialized Ca2+ storage organ. The neuroendocrine hormones Capa-1 and Capa-2 act directly on CapaR in this Ca2+ reservoir, activating the PKC pathway to trigger Ca2+ release into the haemolymph. Capa peptides were first identified as cardioacceleratory peptides in the tobacco hornworm Manduca sexta39, and the gene Capa is currently designated Capability in D. melanogaster13. We propose that Capa can also act as an abbreviation for Ca2+-regulatory PRX-amide. Although we used D. melanogaster larvae as a model in this study, a similar Ca2+ regulatory endocrine system likely exists in adult D. melanogaster and in other insect species. Indeed, high CapaR expression was also observed in the IS of adult D. melanogaster25. Considering the diversity of terrestrial habitats, it will be interesting to investigate whether adult D. melanogaster and other insect species use similar mechanisms for Ca2+ regulation.

Mineralized granules were first observed in the MT of various insects, including Diptera, over a century ago31. Our analysis of the ion composition of these granules in D. melanogaster larvae was consistent with studies of other dipteran larvae34,35,36,37 and indicated that, like vertebrate bone, they are composed primarily of calcium phosphate and calcium carbonate. In the dipteran face fly Musca autumnalis, Ca2+ stored in the MT is transported to the cuticle through haemolymph to harden the puparium40. While Drosophilidae species do not use Ca2+ for puparium hardening36, we found that Ca2+ mobilization from PCGs to the haemolymph is important in maintaining Ca2+ homeostasis. Although it remains unclear how Capa peptides induce Ca2+ flux from PCGs to the haemolymph, previous research suggests direct Ca2+ efflux from the distal IS of the MT into the haemolymph in D. melanogaster larvae41, suggesting that Capa–CapaR signalling may trigger dissolution of PCGs. Given that PCGs dissolve under acidic conditions, we hypothesized that Capa–CapaR signalling through PKC activation may regulate the activity or localization of channels that acidify the luminal environment, as well as transporters involved in Ca2+ mobilization. Notably, Pkc98E—the protein kinase that we identified acting downstream of Capa–CapaR—belongs to the PKC family, specifically PKCε, which is activated in a Ca2+-independent manner42. Considering the specialized role of IS cells in Ca2+ transport, they probably use robust signalling mechanisms that can be enhanced independent of Ca2+. By contrast, in the main segment of the adult MT, Capa signalling promotes diuresis through a different mechanism, activating the nitric oxide–cGMP–PKG pathway through intracellular Ca2+ elevation27,43. This functional divergence within a single organ suggests spatially distinct Capa–CapaR signalling pathways: Ca2+ mobilization in the IS versus fluid secretion in the main segment.

The Capa–CapaR endocrine system regulating Ca2+ in invertebrates is similar to the PTH–PTHR system in vertebrates, which mobilizes Ca2+ during hypocalcaemia5. Our results suggest Ca2+ depletion triggers the release of Capa peptides from the VaNs (Extended Data Fig. 7), although the mechanism sensing haemolymph Ca2+ remains unclear. The fruit fly lacks any orthologues of Ca2+-sensing receptor (CaSR)44, which regulates PTH secretion from the parathyroid glands in vertebrates3, suggesting the existence of an alternative Ca2+-sensing mechanism. As the Ca2+ concentration of the CNS differs from that of the haemolymph due to the presence of the blood–brain barrier45, peripheral tissues may sense haemolymph Ca2+ and transmit signals to the VaNs, which lie within the CNS. Alternatively, Ca2+ sensing may occur at TVN axon terminals, which are neurohemal release sites that extend from the VaNs. Future research will be necessary to identify the Ca2+-sensing systems of D. melanogaster and other invertebrates.

The phenotypes induced by Capa/CapaR loss of function are reminiscent of the symptoms of human hypoparathyroidism, which is associated with neuronal and muscular abnormalities7. In hypoparathyroidism, Ca2+ supplements are used clinically to increase and maintain serum Ca2+ concentrations7. We similarly found that the Capa and CapaR knockdown phenotypes are rescued by dietary Ca2+ supplementation (Fig. 5g–j and Extended Data Fig. 9d–g). This strongly supports the hypothesis that the Capa–CapaR system is crucial for maintaining physiological Ca2+ homeostasis. In contrast to vertebrate PTH, which acts on multiple organs including bone, kidney and intestine5, Capa appears to act primarily on the IS of the MT to regulate Ca2+ mobilization. The absence of a phenotype after CapaR knockdown in the gut and other tissues (Extended Data Fig. 4j), along with the consistent phenotypic similarity between VaN-specific Capa RNAi and IS-specific CapaR RNAi, support the conclusion that Capa-mediated Ca2+ regulation is IS specific.

Despite the functional similarity between Capa peptides and vertebrate PTH, they belong to structurally and evolutionarily distinct peptide families. Capa peptides belong to the PRX-amide family, which includes the vertebrate neuropeptide NmU19. NmU regulates various physiological functions, including feeding behaviour, muscle contraction and bone remodelling46. Although it remains unclear whether NmU’s role in bone remodelling is direct or indirect47,48,49, a recent study associated nucleotide polymorphisms in NmU with bone density and serum Ca2+ levels in children50. It is therefore possible that the evolutionary origin of the function of PRX-amide peptides, including NmU, may relate to extracellular fluid Ca2+ regulation. Collectively, we conclude that, although it seems to have evolved independent of the PTH–PTHR system in vertebrates, the Capa–CapaR system functions as an endocrine mechanism through which terrestrial invertebrates regulate Ca2+ levels even in the absence of bone Ca2+ stores.

Methods

Fly stocks and husbandry

w1118 (BDSC, 5905; the control strain), Akh-Gal4 (BDSC, 25684), btl-Gal4 (BDSC, 78328), c57-Gal4 (BDSC, 32556), c179-Gal4 (BDSC, 6450), CaLexA (BDSC, 66542), Capa-2A-Gal4 (BDSC, 84597), Capa-2A-LexA (BDSC, 84358), Cg-Gal4 (BDSC, 7011), Debcl-Gal4 (BDSC, 81163), Eip71CD-Gal4 (BDSC, 6871), LexAop-FLP (BDSC, 55819), LexAop-Gal80 (BDSC, 32214), LexAop-myr::GFP (BDSC, 32209), Mef2-Gal4 (BDSC, 27390), Mhc-GFP (BDSC, 38462), nSyb(R57C10)-Gal4 (BDSC, 90854), OK6-Gal4 (BDSC, 64199), R9F03-Gal4 (BDSC, 40734), R16E04-Gal4 (BDSC, 47326), R18D09-Gal4 (BDSC, 48814), R18D09-LexA (BDSC, 54752), R20C04-Gal4 (BDSC, 48882), R22H11-Gal4 (BDSC, 48043), R53E05-Gal4 (BDSC, 48196), R54A09-Gal4 (BDSC, 50460), R82E06-Gal4 (BDSC, 40149), αTub84B-FRT.Gal80.FRT (BDSC, 38879), TubP-Gal4 (BDSC, 5138), TubP-Gal80TS (on the third chromosome) (BDSC, 7017), TubP-Gal80TS (on the second chromosome) (BDSC, 7019), UAS-Ca-α1D RNAi (BDSC, 33413), UAS-Ca-α1T RNAi (BDSC, 39029), UAS-Ca-β RNAi (BDSC, 43292), UAS-cac RNAi (BDSC, 77174), UAS-Capa RNAi (3) (BDSC, 28345), UAS-GCaMP6s (BDSC, 42746), UAS-Kir2.1 (BDSC, 6596), UAS-mCD8::RFP (BDSC, 32219), UAS-myr::GFP (on the second chromosome) (BDSC, 32198), UAS-myr::GFP (on the third chromosome) (BDSC, 32197), UAS-PK1-R RNAi (BDSC, 27539), UAS-TrpA1 (BDSC, 26263) and Vglut (OK371)-Gal4 (BDSC, 26160) flies were obtained from the Bloomington Drosophila Stock Center (BDSC). UAS-Capa RNAi (1) (VDRC, 41124; unless otherwise noted, this line was used in all Capa RNAi experiments), UAS-Capa RNAi (2) (VDRC, 101705), UAS-CapaR RNAi (1) (VDRC, 330441; unless otherwise noted, this line was used in all CapaR RNAi experiments), UAS-CapaR RNAi (2) (VDRC, 105556), UAS-dicer2 (on the second chromosome) (VDRC, 60008) and UAS-dicer2 (on the third chromosome) (VDRC, 60009) flies were obtained from the Vienna Drosophila Resource Center (VDRC). Myo1A-Gal4 (DGRC, 112001) and NP1093-Gal4 (DGRC, 103880) flies were obtained from the Kyoto Stock Center (Department of Drosophila Genomics and Genetic Resources, Kyoto Institute of Technology). CapaR-Gal427, tsh(c724)-Gal451 and Uro-Gal452 flies were obtained from T. Koyama and K. Halberg. elav-Gal4(3A3), phm22-Gal4 and UAS-grim flies were obtained from Na. Yamanaka. nSyb(R57C10)-Gal80 was obtained from James W. Truman (University of Washington). All of the RNAi lines used for the in vivo RNAi screens are listed in Supplementary Table 24. CapaR-eGFP flies were generated through CRISPR-mediated mutagenesis as described below.

All fly stocks were maintained on standard fly food containing 5.5 g agar (Daishin, P700), 100 g glucose (Showa Sangyo), 40 g dry yeast (Asahi Beer, HB-P02), 90 g cornmeal (Sunny Maize, Yellow-No.4 M), 3 ml propionic acid (Nacalai Tesque, 29018-55), 3.5 ml 10% butylparaben (in 70% ethanol) (Nacalai Tesque, 06327-15) and 1 l of water. All of the experiments were conducted under non-crowded conditions.

For all of the knockdown experiments except for those in Extended Data Fig. 1f, larvae carried the TubP-Gal80TS transgene, which encodes a temperature-sensitive transcriptional repressor17. Unless otherwise specified, these larvae were raised at 18 °C during the early instar stages (L1 or L2). The larvae were then shifted to 29 °C from 0 h AL3E to induce RNAi from L3. For the genetic manipulation of the VaNs, the larvae were reared at 18 °C during the early larval stages and shifted to 29 °C from 12 h after L2 ecdysis to induce grim expression and from 24 h AL3E to induce expression of Kir2.1 or TrpA1.

Unless otherwise specified, progeny from crosses between w1118 and either Gal4 lines or UAS RNAi lines were used as controls.

Preparation of a Ca2+-free HM

A Ca2+-free diet was prepared by modifying the components of the chemically defined diet for D. melanogaster known as HM8,53,54. Agar, commonly used in the preparation of standard fly food and HM, is rich in minerals, including Ca2+. When we prepared HM using standard agar (Daishin, P700), we detected high levels of Ca2+ even after excluding CaCl2·2H2O from the ingredients (Extended Data Fig. 1a). We therefore measured the Ca2+ concentrations of several purified agar/agarose products (product-A: Nacalai Tesque, 01028-85; product-B: Nacalai Tesque, 01162-15; product-C: Nacalai Tesque, 01163-05; and product-D: Sigma-Aldrich, A9539). We then prepared HM using product-D (Sigma-Aldrich, A9539), which did not contain detectable Ca2+ (Extended Data Fig. 1a). Moreover, we used sodium pantothenate as a substitute for calcium pantothenate. As Ca2+ was undetectable in the resulting HM when we excluded CaCl2·2H2O, we defined it as CFHM. Mg2+-free HM was prepared by excluding MgSO4·7H2O. A complete list of the components used in the preparation of HM is provided in Supplementary Table 1.

Measuring Ca2+ concentrations

For haemolymph samples, wandering L3 larvae were rinsed in Milli-Q water and wiped on Kimwipes. The larval cuticle was carefully torn to release the haemolymph onto a parafilm membrane. Haemolymph (2 µl) was collected from 5 larvae, mixed with 8 µl of ice-cold UltraPure distilled water (Thermo Fisher Scientific, 10977015) and centrifuged at 4 °C for 10 min. The resulting supernatant was stored at −80 °C for later use in the Ca2+ assay.

For whole-body samples, wandering L3 larvae were rinsed in Milli-Q water, wiped onto Kimwipes, transferred individually into tubes, immediately flash-frozen in liquid nitrogen and stored at −80 °C. Dissected tissues or ex vivo cultured tissues were rinsed in UltraPure distilled water and immediately collected in tubes along with UltraPure distilled water. MT samples were collected individually in tubes along with 9 μl of UltraPure distilled water. Other tissues were collected in 45 µl of UltraPure distilled water, flash-frozen in liquid nitrogen and stored at −80 °C until use. Before the calcium assay, whole-body samples were homogenized for 3 min with 50 µl of 0.1 M HCl (diluted with UltraPure distilled water). MT samples were vortexed for 3 min after adding 1 µl of 1.0 M HCl (diluted with UltraPure distilled water to a total of 10 µl). Other tissues were homogenized for 3 min after adding 5 µl of 1.0 M HCl (diluted with UltraPure distilled water to a total of 50 µl). The samples were centrifuged at 4 °C for 10 min, and the resulting supernatants were used for the Ca2+ assay.

Fly food, agar and agarose samples were weighed, placed into sample tubes, melted at 50 °C and used for the Ca2+ assay.

Ca2+ concentrations were measured with the QuantiChrom Calcium Assay kit (Funakoshi, DICA-500) according to the manufacturer’s instructions with the included Ca2+ solution as a standard. Then, 2 μl of each sample and the standard samples were added to a 96-well plate (Thermo Fisher Scientific, 269620) with 100 µl of working solution. After incubation for 3 min at room temperature, the optical density at 612 nm was measured using the Multiskan GO (Thermo Fisher Scientific). For fly food, agarose and agar samples, the assay was performed using prewarmed working solution to prevent solidification. Multiple samples were collected in duplicate and included in the analysis for each experiment.

Analysis of pupal axis ratio

Pupae were affixed to glass slides using double-sided tape, dorsal side up. Images were captured alongside a ruler under a dissecting microscope equipped with a Flexacam C3 12MP microscope camera (Leica). The pupal length and width were analysed using Fiji (ImageJ2, v.2.16.0, National Institute of Health; https://imagej.net/fiji)55. The pupal length was measured from the anterior-most point to the junction of the posterior spiracles. The pupal width was measured along the plane perpendicular to the midpoint of the pupal length axis. Although female pupae were slightly larger than males, we did not consider animal sex because both males and females are known to exhibit equal pupal axis ratios11.

Analysis of muscle contraction activity

Larvae (Mef2-Gal4>UAS-GCaMP6s) were reared on either SHM or CFHM containing red dye (Kyoritsu Foods, 4901325001245) from 0 h AL3E. Prepupal wandering L3 larvae, from which red dye food had been completely purged from the gut, were then used for analysis. Larvae were rinsed with Milli-Q water and dried using Kimwipes. One larva reared on SHM and one larva reared on CFHM were placed side by side on a 35-mm glass-bottom dish (IWAKI, 3910-035, 27 mm glass), and GCaMP imaging was performed simultaneously for 5 min using a Nikon SMZ25 stereomicroscope equipped with a Digital Sight 10 camera (Nikon). At least three independent experiments were performed, with different larvae used for each recording. Only larvae that underwent PF within 1 h after imaging were included in the analysis. In the Ca2+ imaging time-series data, the onset times of body wall peristaltic waves, propagating from posterior to anterior or vice versa, were labelled through visual observation using ImageJ. Propagations across more than three segments were classified as peristaltic waves. The wave frequency was calculated by taking the inverse of the time interval between the onsets of two successive waves. The maximal GCaMP fluorescence signal intensity within the larval body for each wave was measured using Fiji (v.2.16.0) and R (v.4.4.2).

EGTA injections

Larvae (w1118) were reared on standard fly food containing red dye (Kyoritsu Foods, 4901325001245) from 0 h AL3E. Then, prepupal wandering L3 larvae, from which red dye food had been completely purged from the gut, were used for injection. To confirm the injection of the solution into the larval body, 1x phosphate-buffered saline (PBS) (Nacalai Tesque, 27575-31) was coloured blue by adding Erioglaucine disodium salt (final conc. 0.1 g per 10 ml) (Sigma-Aldrich, 861146). Under a dissecting microscope, wandering L3 larvae affixed to glass slides with double-sided tape were injected with EGTA (BMS, BR-401201271) diluted in the blue-coloured PBS. Glass needles were made from glass capillary filament (Narishige, GD-1) using a puller (Narishige, PC-10), and the tips were sharpened using a microgrinder (Narishige, EG-401). Although the exact volume could not be controlled due to injector limitations, each larva was injected with a volume of approximately 100–200 nl. After the injected larvae were rinsed with water to remove any residual glue, they were transferred to vials containing standard fly food and those that successfully formed pupae were analysed to determine their pupal axis ratios.

Larval locomotion assay

Wandering L3 larvae were rinsed in Milli-Q water and wiped on Kimwipes to dry them. Subsequently, 10 larvae were placed together in the centre of a 1% agar plate with a 9-cm diameter (Sansei Medical, 01-013). Water (10 μl) was then added to the larval aggregate in the centre of the plate. The entire plate was recorded for 3 min from above using a fixed-position video camera (SONY, FDR-AX45) with an in-frame ruler. At least three independent experiments were conducted for each genotype, with ten larvae recorded simultaneously in each experiment. Different larvae were used for each recording, resulting in a minimum of 30 larvae recorded for each genotype. The resulting video files were edited using iMovie (v.10.3.5; Apple), Adobe Photoshop (v.24.7.4) and Adobe Premiere Rush (v.2.10.0). The coordinates of the centres of individual larvae in the binarized videos were recorded. Except for the larvae reared on the Ca2+-free diet from the first instar, individual larvae were tracked using the FIMTrack software56. For the larvae reared on the Ca2+-free diet from the first instar, the centres of the larvae were labelled manually using Fiji (ImageJ2, v.2.16.0). This was required because the larvae had such low locomotor activity that they did not separate well enough for FIMTrack to detect individual larvae. Larval locomotor speed was obtained by dividing the distance each larva moved in 10 s by 10 s. The speed of individual larvae was calculated using Python 3.9 by averaging 2–4 speed measurements along a consecutive trajectory.

Analysis of the larval survival rate

The larval survival rate was calculated as the proportion of larvae developed into the pupal stage in each vial. Larvae were transferred into small food vials containing HM at a density of 25 larvae per vial for newly moulted L2 and L3, or 50 larvae per vial for newly hatched L1. The vials were maintained in a humidified incubator, and the number of individuals that successfully formed pupae in each vial was recorded.

Total RNA extraction and RT–qPCR analysis

Animals or dissected tissues from white prepupae (w1118) were collected in 1.5 ml tubes and immediately flash-frozen in liquid nitrogen. Total RNA from animals or tissues was extracted using TRIzol (Thermo Fisher Scientific, 15596-026) according to the manufacturer’s instructions. cDNA was generated from purified total RNA using ReverTra Ace qPCR RT Master Mix with gDNA Remover (TOYOBO, FSQ-301) according to the manufacturer’s instructions. RT–qPCR was performed on the CFX Duet Real-Time PCR machine (Bio-Rad) using THUNDERBIRD Next SYBR qPCR Mix (TOYOBO, QPX-201). For absolute mRNA quantification, serial dilutions of pGEM-T (Promega, A362A) plasmids containing the coding sequences of a target gene or of rp49 were used for standards. After the molar amounts were calculated, the transcript levels of each target mRNA were normalized to the rp49 levels in the same samples. Three separate samples were collected for each experiment and duplicate measurements were conducted. The following primers were used: Capa forward, 5’-AGAAGAACCGTGACCGTTCCGAGG-3’; Capa reverse, 5’-TCGTGGTCCGTCTCAGCTGTACTG-3’; CapaR forward, 5’-TTCGTGTGCTGGTTCCCGTTCCAC-3’; CapaR reverse, 5’-TCCCGCAATCGAGAAGAGTGCCTC-3’. The primers to detect rp49 levels were previously reported57.

Immunostaining

Tissues were dissected in 1× PBS (Nacalai Tesque, 27575-31), fixed with 4% paraformaldehyde (PFA) (Nacalai Tesque, 02890-45) in PBS (4% PFA/PBS) containing 0.1% Triton X-100 for 20 min at room temperature and then washed multiple times with PBS containing 0.1% Triton X-100 (PBST). Tissues were blocked with 5% normal goat serum (NGS) (Sigma-Aldrich, G9023) in PBST for at least 1 h at room temperature, incubated overnight at 4 °C with primary antibodies mixed in PBST containing 5% NGS, washed multiple times with PBST, incubated for 2 h at room temperature with secondary antibodies mixed in PBST containing 5% NGS and again washed multiple times with PBST. When necessary, DNA was stained with DAPI (Sigma-Aldrich, D9542) at 1:2,000 and F-actin was stained with Alexa Fluor 488 or 568 Phalloidin (Thermo Fisher Scientific, A12379 or A12380) at 1:200 for 30 min at room temperature. After washing, tissues were mounted in Vectashield H-1000 (Vector Laboratories) and observed using the Zeiss Axio Imager M2 equipped with ApoTome.2 or the Zeiss LSM 700 confocal microscope. The specificity of the signals was established by comparison with appropriate controls.

Chicken anti-GFP (1:2,000 dilution, Abcam, ab13970) and rabbit anti-RFP (1:2,000, Medical and Biological Laboratories, PM005) were used as primary antibodies. Rabbit anti-Capa precursor antibodies (1:2,000) and guinea pig anti-Capa mature peptide antibodies (1:500) were generated by BioGate. The rabbit anti-Capa precursor antibodies were generated against the peptide NH2-LDGIYGDASQEDYNEADFQ-COOH. The guinea pig anti-Capa mature peptide antibodies were generated against the peptide NH2-GLYAFPRV-CONH2, which is identical to Capa-1 and matches all of Capa-2 except for one amino acid (Y), suggesting that the resulting antibodies can recognize both Capa-1 and Capa-2. Alexa Fluor 488 goat anti-chicken (1:1,000, Thermo Fisher Scientific, A32931), Alexa Fluor 555 goat anti-rabbit (1:1,000, Thermo Fisher Scientific, A32732) and Alexa Fluor 555 goat anti-guinea pig (1:1,000, Thermo Fisher Scientific, A21435) were used as secondary antibodies.

Generation of a C-terminal eGFP-tagged CapaR CRISPR knock-in line

An eGFP-tagged CapaR line (CapaR-eGFP) was generated by WellGenetics using a slightly modified published method58. In brief, gRNA sequences (AAGGTTGTTCTCGACGTCCT[TGG]) were cloned into U6 promoter plasmids. Two homology arms and an eGFP-3xP3-RFP cassette containing eGFP and a floxed 3xP3-RFP were cloned into pUC57-Kan as a repair donor template. CapaR-targeting gRNAs and hs-Cas9 were supplied in DNA plasmids, together with the donor plasmid, for microinjection into embryos of a w1118 control strain (LWG228). F1 flies carrying the selection marker indicating the presence of 3xP3-RFP were further validated by genomic PCR and sequencing. CRISPR generated a break in CapaR that was then repaired by replacement with the eGFP-3xP3-RFP cassette. The resulting eGFP-tagged CapaR line was homozygous viable and did not exhibit an elongated pupal phenotype, suggesting that the tagged CapaR remained functional.

SEM analysis of MT granules and analysing their ion composition using EPMA

A-MTs were dissected in 1× PBS, rinsed with UltraPure water and immediately collected on a carbon-coated film along with UltraPure water. The initial segment of the A-MT was carefully torn to release the granules in its lumen. Then, after discarding the A-MT tissue, the granules were immediately dried on a carbon-coated film. Before analysis, the granules on carbon-coated film attached to a copper grid were vacuum processed and coated with carbon. The granules were analysed using SEM and ion-composition analysis using a field emission electron probe microanalyzer (FE-EPMA) (JEOL, JXA-8530F) operated at a voltage of 10.0 kV. This analysis revealed the ion composition of the granules, excluding their oxygen and carbon content. Each measurement was performed at least three times on different granules. For the oxygen and carbon composition analysis, samples were collected on copper-coated films without adding a carbon coating. The measured Ca2+ values were used as standard values, and the measured oxygen and carbon values were included in a recalculation of the composition of all ions.

Peptide synthesis and ex vivo culture of MTs

Mature amidated Capa peptides in D. melanogaster—Capa-1 (NH2-GANMGLYAFPRV-CONH2), Capa-2 (NH2-ASGLVAFPRV-CONH2) and PK-1 (NH2-TGPSASSGLWFGPRL-CONH2)—were synthesized by Eurofins Genomics.

Control and CapaR RNAi larvae were reared at 18 °C and shifted to 29 °C from 0 h AL3E to induce RNAi from L3. After 24 h of RNAi induction (24 h AL3E), the larvae were washed with 1× PBS. Then, the two A-MTs and the gut were carefully dissected in Schneider’s Drosophila medium (SDM) (Thermo Fisher Scientific, 21720024) supplemented with 10% FBS (Thermo Fisher Scientific, 10270106). Fat bodies attached to the MTs were carefully removed, and the dissected MT–gut complexes were pre-incubated in SDM containing 10% FBS in a Petri dish (AS ONE, 1-8549-01) for 10 min. Only intact MTs were selected for analysis to prevent leakage of Ca2+ granules from MTs ruptured during the dissection process. After pre-incubation, the MTs were severed at the base where they connect to the gut. Both MTs obtained from the same larva were transferred to separate wells of a 24-well clear flat-bottom tissue culture plate (TPP, 92424). To avoid damaging the MTs during transfer, each MT was transferred along with medium. Finally, six MTs per well were placed in a total of 450 µl of medium. Synthetic Capa peptides (Capa-1, Capa-2 and PK-1) in SDM with 10% FBS were added to a final concentration of 10 μM (50 μl per peptide; total volume, 500 μl per well) and incubated at 25 °C for 30 min. After the incubation, the MTs were washed twice with UltraPure distilled water (Thermo Fisher Scientific, 10977015) and collected individually in tubes along with 9 μl of UltraPure distilled water before being frozen at −80 °C.

Statistics and reproducibility

All statistical analyses were carried out using GraphPad Prism (v.9.5.1). Pairwise comparisons were made using the two-tailed Mann–Whitney U-tests, and multiple samples were compared using the one-way ANOVA with Dunnett’s or Tukey’s multiple-comparison test. In some cases, the two-way ANOVA with Tukey’s multiple-comparison test was performed to examine interactions between variables. All of the experiments were performed independently at least twice using independently reared populations. In each experiment, we analysed three or more specimens. Animals and samples were randomly assigned to experimental groups. Representative images were chosen from at least three options. Data collection and analysis were not performed blinded to the experimental conditions. Although no statistical method was used to predetermine sample size, sample sizes were determined based on significance obtained from previous studies with similar experimental setups. Comparable sample sizes were used in each experiment. No datapoints or animals were excluded from analyses.

Reporting summary

Further information on research design is available in the Nature Portfolio Reporting Summary linked to this article.