Magnesium efflux from Drosophila Kenyon cells is critical for normal and diet-enhanced long-term memory

  1. Yanying Wu
  2. Yosuke Funato
  3. Eleonora Meschi
  4. Kristijan D Jovanoski
  5. Hiroaki Miki
  6. Scott Waddell  Is a corresponding author
  1. Centre for Neural Circuits and Behaviour, The University of Oxford, Tinsley Building, United Kingdom
  2. Department of Cellular Regulation, Research Institute for Microbial Diseases, Osaka University, Japan

Abstract

Dietary magnesium (Mg2+) supplementation can enhance memory in young and aged rats. Memory-enhancing capacity was largely ascribed to increases in hippocampal synaptic density and elevated expression of the NR2B subunit of the NMDA-type glutamate receptor. Here we show that Mg2+ feeding also enhances long-term memory in Drosophila. Normal and Mg2+-enhanced fly memory appears independent of NMDA receptors in the mushroom body and instead requires expression of a conserved CNNM-type Mg2+-efflux transporter encoded by the unextended (uex) gene. UEX contains a putative cyclic nucleotide-binding homology domain and its mutation separates a vital role for uex from a function in memory. Moreover, UEX localization in mushroom body Kenyon cells (KCs) is altered in memory-defective flies harboring mutations in cAMP-related genes. Functional imaging suggests that UEX-dependent efflux is required for slow rhythmic maintenance of KC Mg2+. We propose that regulated neuronal Mg2+ efflux is critical for normal and Mg2+-enhanced memory.

eLife digest

The proverbial saying ‘you are what you eat’ perfectly summarizes the concept that our diet can influence both our mental and physical health. We know that foods that are good for the heart, such as nuts, oily fish and berries, are also good for the brain. We know too that vitamins and minerals are essential for overall good health. But is there any evidence that increasing your intake of specific vitamins or minerals could help boost your brain power?

While it might sound almost too good to be true, there is some evidence that this is the case for at least one mineral, magnesium. Studies in rodents have shown that adding magnesium supplements to food improves how well the animals perform on memory tasks. Both young and old animals benefit from additional magnesium. Even elderly rodents with a condition similar to Alzheimer’s disease show less memory loss when given magnesium supplements. But what about other species?

Wu et al. now show that magnesium supplements also boost memory performance in fruit flies. One group of flies was fed with standard cornmeal for several days, while the other group received cornmeal supplemented with magnesium. Both groups were then trained to associate an odor with a food reward. Flies that had received the extra magnesium showed better memory for the odor when tested 24 hours after training.

Wu et al. show that magnesium improves memory in the flies via a different mechanism to that reported previously for rodents. In rodents, magnesium increased levels of a receptor protein for a brain chemical called glutamate. In fruit flies, by contrast, the memory boost depended on a protein that transports magnesium out of neurons. Mutant flies that lacked this transporter showed memory impairments. Unlike normal flies, those without the transporter showed no memory improvement after eating magnesium-enriched food. The results suggest that the transporter may help adjust magnesium levels inside brain cells in response to neural activity.

Humans produce four variants of this magnesium transporter, each encoded by a different gene. One of these transporters has already been implicated in brain development. The findings of Wu et al. suggest that the transporters may also act in the adult brain to influence cognition. Further studies are needed to test whether targeting the magnesium transporter could ultimately hold promise for treating memory impairments.

Introduction

Magnesium (Mg2+) plays a critical role in cellular metabolism and is considered to be an essential co-factor for more than 350 enzymes (Romani and Scarpa, 2000; Vink and Nechifor, 2011). As a result, alterations of Mg2+ homeostasis are associated with a broad range of clinical conditions, including those affecting the nervous system, such as glaucoma (DeToma et al., 2014), Parkinson’s disease (Hermosura et al., 2005; Hermosura and Garruto, 2007; Lin et al., 2014; Shindo et al., 2016), Alzheimer’s disease (Andrási et al., 2000; Andrási et al., 2005; Cilliler et al., 2007; Durlach et al., 1997; Glick, 1990; Lemke, 1995; Chui et al., 2011; Vural et al., 2010), anxiety (Sartori et al., 2012), depression (Whittle et al., 2011; Murck, 2002; Murck, 2013; Rasmussen et al., 1990; Ghafari et al., 2015), and intellectual disability (Arjona et al., 2014).

Perhaps surprisingly, increasing brain Mg2+ through diet can enhance neuronal plasticity and memory performance of young and aged rodents, measured in a variety of behavioral tasks (Slutsky et al., 2010; Landfield and Morgan, 1984; Mickley et al., 2013; Abumaria et al., 2013). In addition, elevated Mg2+ reduced cognitive deficits in a mouse model of Alzheimer’s disease (Li et al., 2013) and enhanced the extinction of fear memories (Abumaria et al., 2011). These apparently beneficial effects have led to the proposal that dietary Mg2+ may have therapeutic value for patients with a variety of memory-related problems (Billard, 2011).

Despite the large number of potential sites of Mg2+ action in the brain, the memory-enhancing property in rodents has largely been attributed to increases in hippocampal synaptic density and the activity of N-methyl-D-aspartate glutamate receptors (NMDARs). Extracellular Mg2+ blocks the channel pore of the NMDAR and thereby inhibits the passage of other ions (Mayer et al., 1984; Bekkers and Stevens, 1993; Jahr and Stevens, 1990; Nowak et al., 1984). Importantly, prior neuronal depolarization, driven by other transmitter receptors, is required to release the Mg2+ block on the NMDAR and permit glutamate-gated Ca2+ influx. The NMDAR therefore plays an important role in neuronal plasticity as a potential Hebbian coincidence detector. Acute elevation of extracellular Mg2+ concentration ([Mg2+]e) within the physiological range (0.8–1.2 mM) can antagonize induction of NMDAR-dependent long-term potentiation (Dunwiddie and Lynch, 1979; Malenka et al., 1992; Malenka and Nicoll, 1993; Slutsky et al., 2004). In contrast, increasing [Mg2+]e for several hours in neuronal cultures leads to enhancement of NMDAR mediated currents and facilitation of the expression of LTP (Slutsky et al., 2004). The enhancing effects of increased [Mg2+]e were also observed in vivo in the brain of rats fed with Mg2+-L-threonate (Slutsky et al., 2010). Hippocampal neuronal circuits undergo homeostatic plasticity (Turrigiano, 2008) to accommodate the increased [Mg2+]e by upregulating expression of NR2B subunit containing NMDARs (Slutsky et al., 2004; Slutsky et al., 2010). The higher density of hippocampal synapses with NR2B containing NMDARs are believed to compensate for the chronic increase in [Mg2+]e by enhancing NMDAR currents during burst firing. In support of this model, mice that are genetically engineered to overexpress NR2B exhibit enhanced hippocampal LTP and behavioral memory (Tang et al., 1999).

Olfactory memory in Drosophila involves a heterosynaptic mechanism driven by reinforcing dopaminergic neurons, which results in presynaptic depression of cholinergic connections between odor-activated mushroom body (MB) Kenyon cells (KCs) and downstream mushroom body output neurons (MBONs) (Schwaerzel et al., 2003; Aso et al., 2010; Aso et al., 2012; Claridge-Chang et al., 2009; Burke et al., 2012; Liu et al., 2012; Plaçais et al., 2013; Owald et al., 2015; Hige et al., 2015; Barnstedt et al., 2016; Perisse et al., 2016; Aso et al., 2014; Owald and Waddell, 2015). In addition, olfactory information is conveyed to KCs by cholinergic transmission from olfactory projection neurons (Yasuyama et al., 2002; Leiss et al., 2009). Although it is conceivable that glutamate is delivered to the MB network via an as yet to be identified route, there is currently no obvious location for NMDAR-dependent plasticity in the known architecture of the cholinergic input or output layers (Barnstedt et al., 2016). The fly therefore provides a potential model to investigate other mechanisms through which dietary Mg2+ might enhance memory.

The reinforcing effects of dopamine depend on the Dop1R D1-type dopamine receptor (Kim et al., 2007; Qin et al., 2012Handler et al., 2019), which is positively coupled with cAMP production (Tomchik and Davis, 2009; Boto et al., 2014). Moreover, early studies in Drosophila identified the dunce and rutabaga encoded cAMP phosphodiesterase and type I Ca2+-stimulated adenylate cyclase, respectively, to be essential for olfactory memory (Dudai et al., 1976; Byers et al., 1981; Dudai and Zvi, 1984; Chen et al., 1986; Livingstone et al., 1984; Levin et al., 1992). Studies in mammalian cells have shown that hormones or agents that increase cellular cAMP level often elicit a significant Na+-dependent extrusion of Mg2+ into the extracellular space (Romani and Scarpa, 1990b; Romani and Scarpa, 1990a; Romani and Scarpa, 2000; Vink and Nechifor, 2011; Vormann and Günther, 1987). However, it is unclear whether Mg2+ extrusion plays any role in memory processing.

Here we demonstrate that Drosophila long-term memory (LTM) can be enhanced with dietary Mg2+ supplementation. We find that the unextended (uex) (Maeda, 1984; Coulthard et al., 2010) gene, which encodes a functional fly ortholog of the mammalian Cyclin M2 Mg2+-efflux transporter (CNNM) proteins, is critical for the memory enhancing property of Mg2+. UEX function in MB KCs is required for LTM and functional restoration of uex reveals the MB to be the key site of Mg2+-dependent memory enhancement. Chronically changing cAMP metabolism by introducing mutations in the dnc or rut genes alters the cellular localization of UEX. Moreover, mutating the conserved cyclic nucleotide-binding homology (CNBH) domain in UEX uncouples an essential role for uex from its function in memory. UEX-driven Mg2+ efflux is required for slow rhythmic maintenance of KC Mg2+ levels suggesting a potential role for Mg2+ flux in memory processing.

Results

Mg2+ feeding enhances LTM of wild-type flies

Prior studies reported that feeding rats with food containing a high concentration of Mg2+-enhanced their learning and memory capability (Slutsky et al., 2010; Landfield and Morgan, 1984; Abumaria et al., 2011; Mickley et al., 2013; Abumaria et al., 2013). We therefore tested whether similar effects exist in flies by feeding them with food containing a high concentration of Mg2+ before training. Surprisingly, wild-type flies fed for 4 days before training with food supplemented with additional magnesium chloride (MgCl2) exhibited significantly enhanced 24 hr memory performance. Memory enhancement depends on concentration and was maximal when food was supplemented with 80 mM MgCl2 (Figure 1A). Immediate memory performance was not obviously enhanced (Figure 1B). The enhancing effect of MgCl2 was also observed in flies fed with magnesium sulfate (MgSO4) but not calcium chloride (CaCl2) (Figure 1C). In addition, feeding flies for 4 days with food containing between 5 and 80 mM strontium chloride (SrCl2) resulted in high levels of mortality and flies that survived 5 mM SrCl2 feeding did not show enhanced immediate or 24 hr memory performance (data not shown). The memory enhancing effects can therefore be specifically attributed to dietary supplementation of divalent Mg2+.

Figure 1 with 1 supplement see all
Dietary Mg2+ supplementation enhances Drosophila long-term memory.

(A) Wild-type flies were trained and tested for 24 hr appetitive memory after 1–5 days of ad libitum feeding on food supplemented with Mg2+. Memory was significantly enhanced in flies fed for 4 days with 80 mM MgCl2, as compared to those fed with 1 mM. 80 mM MgCl2 produced marginally higher performance than 50 mM or 100 mM and so was considered optimal (asterisks denote p<0.05, t-test between 1 mM and 80 mM groups for each time point, n = 6–8). (B) 4 days of 80 mM MgCl2 food did not enhance immediate memory. (C) Appetitive 24 hr memory was enhanced by feeding wild-type flies for 4 days with MgCl2 and MgSO4, but not CaCl2. Asterisks denote significant differences (p<0.05, ANOVA, n = 6) between Mg2+ fed and plain groups. (D) RT-qPCR showed no significant differences in glutamate receptor mRNA expression between 1 mM and 80 mM fed flies (t-test, n = 5). (E) c739-GAL4; UAS-MagFRET-1 flies were fed for 4 days on food supplemented with Mg2+. Brains were dissected and fixed and a fluorescence emission ratio measurement (Citrine/Cerulean) was taken as an indicator of [Mg2+]i. The MagFRET signal was significantly greater in the αβ lobes of flies fed with 80 mM MgCl2 than those fed with 1 mM MgCl2 (p<0.05, t-test, n = 52–60). Unless otherwise noted, all data are mean ± standard error of mean (SEM). Asterisks denote significant differences (p<0.05), individual data points displayed as open circles.

Mg2+-enhanced memory is independent of NMDAR in the mushroom bodies

Since magnesium-L-threonate enhanced memory in rats was correlated with an upregulation of hippocampal NR2B subunit-containing NMDARs (Slutsky et al., 2010), we tested for changes in glutamate receptor expression in flies fed with MgCl2. RT-qPCR analyses did not reveal a significant difference in the abundance of mRNAs for the putative NMDA (Nmdar1, Nmdar2), AMPA (GluRIA), or kainate-type (GluRIIA) receptors in heads taken from flies fed for 4 days with 80 mM MgCl2 versus those fed with 1 mM MgCl2 (Figure 1D).

We next directly tested whether Mg2+-enhanced memory required NMDAR function, by knocking down expression of the Nmdar1 or Nmdar2 genes using transgenic UAS-driven RNA interference (RNAi) constructs (Dietzl et al., 2007; Perkins et al., 2015). Of the two independent UAS-Nmdar1RNAi and four UAS-Nmdar2RNAi lines we tested, only one Nmdar1RNAi (BDSC 25941) line, when driven in all neurons by neuronal Synaptobrevin (nSyb)-GAL4, exhibited significantly decreased 24 hr memory performance, as compared to that of heterozygous control flies (Figure 1—figure supplement 1A). In contrast, more selective expression of this UAS-Nmdar1RNAi in LTM-relevant αβ KCs using c739-GAL4 did not significantly impair 24 hr memory performance (Figure 1—figure supplement 1B). Moreover, flies expressing Nmdar1RNAi in αβ neurons retained robust Mg2+-enhanced memory (Figure 1—figure supplement 1C). These results suggest that Mg2+-enhanced memory does not alter expression of glutamate receptors, or require NMDAR function in αβ KCs.

Mg2+ concentration in αβ neurons is elevated in flies fed high Mg2+

We used MagFRET, the first genetically encoded fluorescent Mg2+ sensor (Lindenburg et al., 2013), to test whether Mg2+ feeding altered the intracellular Mg2+ concentration ([Mg2+]i). We constructed flies harboring a UAS-MagFRET-1 transgene and combined it with c739-GAL4 to express MagFRET-1 in αβ KCs. We compared the FRET signals in fixed brains from c739; UAS-MagFRET-1 flies fed with either 1 mM or 80 mM MgCl2 food for 4 days. The MagFRET signal was significantly higher in both the α and β collaterals of αβ KCs of flies fed with 80 mM, than in those fed with 1 mM (Figure 1E). This result indicates that Mg feeding elevates neuronal [Mg2+]i. Given the affinity of MagFRET-1 (Kd = 148 µM) and the ~50% increase in FRET signal upon Mg2+ binding (Lindenburg et al., 2013), we estimate that the ~8% enhancement of the MagFRET signal measured in flies fed 80 mM MgCl2 corresponds approximately to a 50 µM increase of αβ KC [Mg2+]i on average.

The unextended encoded CNNM-type Mg2+ transporter has a role in memory

We identified unextended (uex; Maeda, 1984; Coulthard et al., 2010) as a gene altering appetitive olfactory LTM, reinforced with sucrose reward. Flies with the uexMI01943 MiMIC insertion (Venken et al., 2011) showed a strong defect in 24 hr memory, but their performance immediately after training was indistinguishable from that of wild-type controls. More detailed analysis of uexMI01943 flies revealed a steady decay of memory that first became significantly different to that of wild-type flies 12 hr after training (Figure 2A). No memory defect was evident in heterozygous uexMI01943/+ flies, demonstrating that this putative uex allele is recessive.

Figure 2 with 2 supplements see all
uexMI01943 mutant flies have defective long-term memory (LTM).

(A) Appetitive memory retention was tested at various times after training. Flies homozygous for uexMI01943 showed a significant defect in memory from 12 hr after training, as compared to the performance of heterozygous uexMI01943/+ and wild-type control flies (p<0.05, ANOVA, n = 6–10). (B) The uex locus lies on chromosome 2R between 3,900,285 and 3,949,425 (light blue bar). The four alternate uex transcripts, uex-RE, uex-RG, uex-RH, and uex-RF, all encode the same protein. The uexMI01943 MiMIC (blue triangle) resides ~17 kb downstream of the uex coding region. The CRISPR/Cas9 edited uexΔ allele replaces a 3047 bp fragment, including Exon 7 of uex with a STOP signal (termination codon in all three reading frames) and a GFP cassette, truncating the uex reading frame (dark blue bar). (C) Precise excision of the uexMI01943 MiMIC restores normal 24 hr memory to uexMI01943.ex1 and uexMI01943.ex2 flies (p<0.05, ANOVA, n = 8–11). (D) uexΔ fails to complement the 24 hr memory defect of uexMI01943 (p<0.05, ANOVA, n = 6–8). (E) Flies homozygous for uexMI01943 showed a significant defect in aversive LTM, as compared to the performance of heterozygous uexMI01943/+ and wild-type control flies (p<0.05, ANOVA, n = 8–12). An LTM defect was also observed following five cycles of aversive spaced training and a 16 hr fasting facilitated one-cycle training protocol. Immediate aversive memory was unaffected in uexMI01943 homozygous mutant flies.

Figure 2—source data 1

Table of sugar and olfactory sensory acuity controls for all behavioral experiments in this manuscript.

https://cdn.elifesciences.org/articles/61339/elife-61339-fig2-data1-v2.xlsx

uex piqued our attention because it is the single fly ortholog of the four human CNNM genes that encode Mg2+ transporters (Ishii et al., 2016), and it also contains a putative CNBH domain that is structurally related to those in cyclic nucleotide-gated channels (Zagotta et al., 2003; Flynn et al., 2007; Kesters et al., 2015). Alignment of the 834 amino acid UEX sequence with CNNM1-4 reveals particularly high sequence conservation with CNNM2 and CNNM4 in the DUF21, CBS pair, and CNBH domains (Figure 2—figure supplement 1A–C). We therefore hypothesized that UEX had potential to link the memory-enhancing effects of dietary Mg2+ with cAMP-dependent neuronal plasticity.

Although uexMI01943 is assigned to the uex gene, the MiMIC element is annotated to lie 17 kb downstream of the uex coding region (Venken et al., 2011; Figure 2B). RYa (Yoon et al., 2016) is the next nearest gene to uexMI01943 but is >230 kb further away. We first confirmed the MiMIC location by inverse PCR (Attrill et al., 2016). Importantly, no additional MiMIC insertion was detected in these flies. We next tested whether uexMI01943 was responsible for the memory defect by precisely removing the MiMIC element by Minos transposase-mediated excision (Arcà et al., 1997; Figure 2—figure supplement 2A and B). MiMIC removal in uexMI01943.ex1 and uexMI01943.ex2 flies restored normal 24 hr memory performance, demonstrating that the MiMIC insertion is required for the uexMI01943 memory defect (Figure 2C).

Both qRT-PCR of mRNA and western blot analysis of protein extracts from fly heads failed to reveal a significant difference in uex/UEX expression in uexMI01943 flies. We therefore used CRISPR to introduce a stop codon into the fifth coding exon of the uex locus (Figure 2B and Figure 2—figure supplement 2C). Flies homozygous for the resulting uexΔ mutation were not viable as adults, dying at the larval stage. In contrast, heterozygous uexMI01943/uexΔ flies were viable, but their 24 hr appetitive memory was significantly impaired (Figure 2D). These data demonstrate that uex is an essential gene and that uexMI01943 is a viable hypomorphic allele of uex.

We also tested the aversive memory performance of uexMI01943 mutant flies. Homozygous uexMI01943 flies exhibited immediate memory that was indistinguishable from that of heterozygous and wild-type controls (Figure 2E). However, their 24 hr memory, formed following either five trials of aversive spaced training (Tully et al., 1994; Jacob and Waddell, 2020), or one trial of fasting facilitated training (Hirano et al., 2013), was significantly impaired (Figure 2E). These experiments suggest that uexMI01943 flies are more generally compromised in their ability to form LTM. Unless otherwise specified, all subsequent analyses of memory in this study use appetitive sugar-rewarded conditioning.

A role for uex in the mushroom bodies

To localize uex in the brain we first took advantage of VT23256-GAL4 transgenic flies, in which GAL4 is driven by an 853 bp sequence from the first intron of uex (Kvon et al., 2014). VT23256-driven UAS-EGFP revealed restricted expression in αβ KCs with particularly strong label in αβ core (αβc) neurons (Figure 3A). We also used CRISPR to insert a C-terminal HA-epitope tag into the uex open reading frame (Figure 3—figure supplement 1A). These flies were viable as homozygotes indicating that the resulting UEX::HA fusion protein retains function. Immunostaining flies harboring this uex::HA locus with an anti-HA antibody revealed prominent labeling of all the major KC classes in the MB, in addition to lower expression throughout the brain (Figure 3B). This uex expression profile is also supported by single-cell sequencing analyses (Figure 3—figure supplement 1B; Croset et al., 2018; Davie et al., 2018). Given the established role for αβ KCs in olfactory LTM (Pascual and Préat, 2001; Yu et al., 2006; Krashes et al., 2007; Krashes and Waddell, 2008), we reasoned that a mnemonic role for UEX may involve expression in KCs.

Figure 3 with 1 supplement see all
Knocking down uex expression in αβ Kenyon cells (KCs) impairs LTM.

(A) A uex promoter fragment-GAL4 directs GFP expression in αβc KCs. Anti-GFP immunostained uex-GAL4 (VT23256); UAS-EGFP line. (B) Anti-HA immunostaining of brains harboring the CRISPR/Cas9-edited uex::HA locus shows strong labeling of UEX in all the major subdivisions of the mushroom body (MB). Scale bars 20 µm. (C) RNAi knockdown of uex in all αβ (c739-GAL4) or just αβc (NP7175-GAL4) KCs specifically impaired 24 hr memory. αβs (0770-GAL4) or α′β′ (c305a-GAL4) KC expression had no effect (p<0.05, ANOVA, n = 6–10 for immediate and n = 8–14 for 24 hr memory). (D) Defective LTM was observed if uexRNAi expression was confined to αβ KCs of adult flies using GAL80ts-mediated temporal control. (E) LTM performance was unaffected if the uexRNAi was kept suppressed throughout and (F) LTM performance was restored to normal levels if expression of uexRNAi was re-suppressed for 3 days (p<0.05, ANOVA, n = 6 for immediate and n = 8 for 24 hr memory). (G) Immunostaining shows the effectiveness of uexRNAi. Fluorescence intensity in the αβ and γ lobes of uex::HA flies decreased significantly when UAS-uexRNAi was expressed with MB247-GAL4. Scale bars 20 µm. (H) Quantification of fluorescence intensity in G (p<0.05, t-test, n = 6–8).

We next used GAL4-directed expression of RNAi to test whether 24 hr memory performance required uex in the MB. Flies expressing uexRNAi (Perkins et al., 2015) in all αβ KCs (c739-GAL4; Yang et al., 1995; Perisse et al., 2013) or only in αβc KCs (NP7175-GAL4; Tanaka et al., 2008) showed normal immediate memory but significantly impaired 24 hr memory (Figure 3C). In contrast, uexRNAi expression in αβ surface (αβs, 0770-GAL4; Perisse et al., 2013) or α′β′ KCs (c305a-GAL4; Krashes et al., 2007) did not significantly alter immediate or LTM performance. Normal 24 hr appetitive memory performance is therefore particularly sensitive to uex expression in αβc neurons. To reduce the likelihood that the uexRNAi associated memory defect results from a developmental consequence, we also restricted UAS-uexRNAi expression to adulthood using GAL80ts-mediated temporal control (McGuire et al., 2003). At permissive 18°C, GAL80ts binds to GAL4 and suppresses its transcriptional activator function. At restrictive 30°C, GAL80ts can no longer bind to GAL4, which frees GAL4 to direct expression of the UAS-uexRNAi transgene. Flies were raised through development at 18°C and moved to 30°C after eclosion. Restricting UAS-uexRNAi expression to αβ KCs in adult flies using c739-GAL4 with GAL80ts produced a similar 24 hr specific memory defect to that observed when UAS-uexRNAi was expressed without temporal control (Figure 3D–F). We assessed the efficacy of the UAS-uexRNAi knockdown using our tagged uex::HA locus. Brains from heterozygous uex::HA flies expressing uexRNAi in the αβ and γ KCs with MB247-GAL4 (Zars et al., 2000) were immunostained using anti-HA antibody. Comparing the intensity of immunolabeling in brains from uex::HA; MB247-GAL4/uexRNAi flies with that from uex::HA; MB247-GAL4/+ flies showed that uexRNAi expression significantly reduced anti-HA signal in the αβ and γ KCs (Figure 3G and H). This result demonstrates the efficiency of the uexRNAi transgene and the utility of the CRISPR/Cas9 edited uex::HA locus.

We next tested whether expression in specific KCs of an UAS-uex transgene could restore 24 hr memory capacity to uexMI01943 flies. Memory performance of uexMI01943 flies expressing UAS-uex in αβ and γ KCs (MB247-GAL4; Zars et al., 2000) or only the αβ KCs (c739-GAL4) was significantly improved over that of uexMI01943 flies, and was statistically indistinguishable from that of controls with an intact uex locus (Figure 4A). In contrast, UAS-uex expression in α′β′, αβc, or αβs KCs did not restore memory performance to uexMI01943 flies and overexpressing uex in αβ KCs of wild-type flies did not augment 24 hr memory (Figure 4A and B). Normal 24 hr memory performance could also be restored to uexMI01943 flies if UAS-uex expression was confined to c739-GAL4 neurons (all αβ KCs) in adulthood using GAL80ts-mediated temporal control (Figure 4C and D). Together, these loss-of-function RNAi and restoration experiments establish that UEX plays an important role in adult αβ KCs. Finding that αβc RNAi knockdown of uex produces a memory defect (Figure 3C) but UAS-uex expression in αβc does not rescue the uexMI01943 mutant defect (Figure 4A) suggests that UEX function in αβc KCs is essential for appetitive LTM, whereas both the αβc and αβs KCs need to have functional UEX to support LTM. In addition, the ability of UAS-uex to restore performance to uexMI0194 flies provides further support that uex is responsible for the memory impairment in uexMI01943 flies.

Figure 4 with 1 supplement see all
Rescue of the LTM defect in uexMI01943 flies.

Restoring expression of UAS-uex in αβ and γ (MB247-GAL4) or αβ Kenyon cells (KCs) rescued 24 hr memory performance of uexMI01943 flies, whereas expression in αβc, αβs or α′β′ KCs did not (p<0.05, ANOVA and t-test, n = 8–12). (B) Overexpression of UAS-uex in αβ KCs did not enhance 24 hr memory performance in wild-type flies (ANOVA, n = 8–12). (C) Defective LTM was rescued if UAS-uex expression was confined to αβ KCs of adult flies using GAL80ts mediated temporal control (p<0.05, ANOVA, n = 6 for immediate and n = 8 for 24 hr memory) but (D) remained defective if UAS-uex expression was not released. (E) Memory enhancement with dietary Mg2+ is supported by UEX in αβ KCs. Memory of flies expressing UAS-uexRNAi in the αβ KCs cannot be enhanced with Mg2+ feeding (t-test, n = 8). (F) Memory of uexMI01943 mutant flies cannot be enhanced with Mg2+ feeding, but enhancement was restored by expressing UAS-uex in αβ KCs (p<0.05, t-test, n = 8–12). (G) Memory of wild-type flies was not sensitized to Mg2+ enhancement by overexpressing UAS-uex in αβ KCs. Memory was enhanced if the flies were fed with 80 mM MgCl2, but not with suboptimal 40 mM MgCl2 (p<0.05, ANOVA, n = 8).

uex expression in the MB supports Mg2+-enhanced memory

We next investigated whether Mg2+ feeding (4 days with 80 mM MgCl2) could improve memory performance in flies with compromised uex function. Flies carrying the uexMI01943 allele (Figure 4F) or those expressing UAS-uexRNAi in the αβ KCs with c739-GAL4 (Figure 4E) did not show enhanced memory when fed with 80 mM MgCl2, as compared to flies fed with 1 mM MgCl2. Moreover, the Mg2+-enhanced memory was recovered in uexMI01943 mutant flies when uex expression was restored to the αβ KCs (Figure 4F). All control flies (c739-GAL4, UAS-uexRNAi, and UAS-uex) with unperturbed uex expression exhibited significantly enhanced memory when fed with 80 mM as compared to 1 mM MgCl2. Overexpressing UAS-uex in αβ KCs with c739-GAL4 in flies with a wild-type genetic background neither enhanced regular 24 hr memory (Figure 4B), or that in flies fed for 4 days with 40 or 80 mM MgCl2 (Figure 4G). We also tested whether 4 days of 80 mM MgCl2 supplementation enhanced 24 hr memory performance following aversive spaced training. Again, memory of wild-type, but not uexMI01943 mutant flies showed enhancement (Figure 4—figure supplement 1). Together these results indicate that optimal memory enhancement with Mg2+ feeding requires, and can be fully supported by, UEX function in αβ KCs.

UEX is a functionally conserved magnesium transporter

Given the strong sequence conservation of UEX with mammalian CNNM2/4 we tested whether CNNM2 could functionally substitute for UEX and restore the LTM defect of uexMI01943 flies. Several point mutations in CNNM2 have been identified in human patients with hypomagnesemia, which is associated with brain malformation and intellectual disability (Arjona et al., 2014). Introduction of the equivalent mutations into mouse CNNM2 (CNNM2E357K, CNNM2T568I, CNNM2S269W, and CNNM2E122K) showed that these patient-derived lesions impair magnesium transport (Arjona et al., 2014). We constructed flies carrying wild-type and these mutant variant UAS-CNNM2 transgenes (Figure 5A). Staining for an associated C-terminal HA-tag revealed clear expression of all UAS-CNNM2::HA variants in αβ neurons when driven with c739-GAL4 (Figure 5—figure supplement 1). However, only expression of wild-type CNNM2, and not point-mutant forms, in αβ KCs of uexMI01943 mutant flies restored 24 hr memory performance (Figure 5B).

Figure 5 with 2 supplements see all
uex encodes an evolutionarily conserved Mg2+ transporter.

(A) Model of CNNM2 protein structure showing clinically relevant point mutations. Adapted and modified from Arjona et al., 2014. (B) Overexpression of wild-type, but not mutant, CNNM2 in αβ Kenyon cells rescues the memory defect of uexMI01943 mutant flies (p<0.05, ANOVA, n = 6–8 for immediate and n = 8–12 for 24 hr memory).

We also tested whether UEX can mediate Mg2+ extrusion. UEX expressed in HEK293 cells localized to the plasma membrane and cells loaded with Mg2+ and the Mg2+ indicator Magnesium Green showed rapid Mg2+ efflux (Figure 5—figure supplement 2 and Video 1), as compared to cells transfected with empty vector. Mg2+ extrusion driven by UEX was noticeably less efficient than in cells expressing Human CNNM4 (Figure 5—figure supplement 2), which is known to have similar efficiency to CNNM2 (Hirata et al., 2014). However, we do not know if UEX and CNNM4 expression is equivalent. Nevertheless, demonstration of cross-species complementation and Mg2+ efflux activity defines UEX as a functional homolog of mammalian CNNM2/4.

Video 1
UEX promotes Mg2+-efflux from HEK293 cells.

Representative movies showing Mg2+-efflux from HEK293 cells transfected with different expression vectors. Imaging protocol is described in Yamazaki et al., 2013. The cells indicated with asterisks in the first frame of each movie are the cells expressing the anti-FLAG immunostained CNNM4 or UEX, which were identified after each live-imaging experiment. Empty vector control is shown in the upper left. The fluorescence signal of CNNM4-FLAG and UEX-FLAG expressing cells decreases rapidly when extracellular Mg2+ is depleted, which was performed between the third and fourth frames in each movie.

An intact CNBH domain is required for memory

Given the established role for cAMP signaling in memory-relevant plasticity in invertebrates and mammals (Kandel, 2012), we tested the importance of the CNBH domain in UEX. We constructed flies carrying a point-mutated CNBH UAS-uexR622K transgene (Figure 6A). The equivalent R622K amino acid substitution abolishes cAMP binding in the regulatory subunit of cAMP-dependent protein kinase, PKA (Bubis et al., 1988). Expressing UAS-uexR622K in αβ neurons with c739-GAL4 did not restore 24 hr memory performance, or alter the immediate memory performance, of uexMI01943 mutant flies (Figure 6B).

The cyclic nucleotide-binding homology (CNBH) domain of UEX is required for memory.

(A) Schematic showing sequence detail of the CNBH domain in UEX, and the amino acid changes made in uexR622K and uexT626NRR. (B) Expressing a UAS-uexR622K transgene in αβ Kenyon cells did not rescue the LTM defect of uexMI01943 mutant flies (p<0.05, ANOVA, n = 8). Immediate memory was also unaffected. (C) Flies homozygous for uexT626NRR have defective short- and long-term memory, while trans-heterozygous uexT626NRR/uexMI01943 flies only exhibit impaired LTM (*p<0.05, ANOVA, n = 8). (D) Dietary Mg2+ did not enhance memory of homozygous uexT626NRR/ uexT626NRR flies (p<0.05, t-test, n = 8). (E) Western blot analysis of UEX protein expression in fly head extracts. Genotype from left to right: wild-type, uexT626NRR/uexT626NRR, uexT626NRR/+, uexT626NRR/uexMI01943, uexMI01943/+. The blot was first probed with anti-UEX antibody (upper panel), and then stripped and re-probed with anti-Tubulin antibody (lower panel) as a loading control.

We also used CRISPR to attempt to introduce the R622K mutation into the CNBH of the native uex locus (Bassett et al., 2013; Gratz et al., 2013; Yu et al., 2013). Unexpectedly, this approach did not introduce the R622K substitution but instead replaced T626 in the CNBH with NRR. Fortuitously, flies homozygous for this uexT626NRR allele were viable as adults, unlike those homozygous for uexΔ, suggesting that the uexT626NRR encoded UEX retains function. However, flies homozygous for uexT626NRR or heterozygous uexT626NRR/ uexMI01943 flies exhibited a strong 24 hr memory defect (Figure 6C). Immediate memory was also impaired in homozygous uexT626NRR flies, unlike flies carrying all other combinations of uex alleles. In addition, memory of uexT626NRR flies could not be enhanced with Mg2+ feeding (Figure 6D). The uexT626NRR mutation therefore uncouples the essential role for uex from a function in memory and suggests that cyclic nucleotide regulated activity is critical for UEX to support normal and Mg2+-enhanced memory. Although we confirmed using western blotting that a full-length protein is expressed in uexT622NRR flies (Figure 6E), our antibody did not permit us to verify that the UEXT626NRR protein localizes appropriately in the brain. Further work is therefore required to characterize the cellular localization, cAMP binding, and Mg2+ transport function of the protein encoded by this serendipitous uexT626NRR allele.

Chronic cAMP manipulation alters UEX localization in KCs

We tested whether cAMP could acutely alter UEX activity by applying forskolin to UEX-expressing HEK293 cells. However, no obvious change in the UEX-dependent Mg2+ efflux dynamic was observed (data not shown). We therefore tested whether KC expression of UEX::HA was altered in flies with chronic alterations of cAMP metabolism, by introducing learning-relevant mutations in the rutabaga-encoded Ca2+-stimulated adenylate cyclase, or the dunce-encoded cAMP-specific phosphodiesterase. Anti-HA immunostaining of brains from rut2080; uex::HA and dnc1; uex::HA flies revealed a striking change in UEX localization (Figure 7A and B and Videos 24). Whereas UEX::HA is usually detected in the lobes of all KCs at a roughly equivalent level in wild-type flies, labeling was lower in the MB γ lobe and more pronounced in the αβc KCs in rut2080 and dnc1 mutant backgrounds (Figure 7C), although the overall MB expression of UEX::HA is similar between wild-type and mutant flies (Figure 7D). In addition, western blot analyses of protein extracted from heads of these flies did not reveal a significant difference in overall UEX::HA expression levels (data not shown). These data are therefore consistent with cAMP regulating UEX function and perhaps its cellular localization in KCs.

Kenyon cell (KC) uex expression is altered in rutabaga and dunce mutant flies.

(A) Anti-HA stained brains reveal UEX::HA protein localization is altered in rut2080; uex::HA and dnc1; uex::HA flies, becoming more prominent in αβc KCs (arrows). Scale bars 20 µm. (B) Enlarged images of the mushroom bodies (MBs) highlighting αβc KC expression in rut2080 and dnc1 mutant flies, as compared with wild-type uex::HA flies. Scale bars 20 µm. (C) Quantification of fluorescence intensity. Left, micrograph with a measurement line through the α lobe tip and rectangular ROIs for the γ lobe and a control area. Middle, relative fluorescence intensity profiles across the α lobe tip show significantly higher signal in rut2080 and dnc1 mutant flies in the center region occupied by the αβ core KCs (*p<0.05, ANOVA, n = 6–10). Right, the relative intensity in the γ lobe was significantly lower in rut2080 and dnc1 mutant flies, as compared to wild-type controls (*p<0.05, ANOVA, n = 6–10). Scale bars 10 µm. (D) Left, micrograph showing circular ROIs. Right, quantification. Total intensity over all six ROIs on the MBs was not significantly different between the rut2080, dnc1 and wild-type brains (p>0.13; ANOVA, n = 6–10).

Video 2
Expression of UEX in a wild-type Drosophila brain.

Confocal Z-stack of a uex::HA fly brain stained with anti-HA antibody.

Video 3
Expression of UEX in a rut2080Drosophila brain.

Confocal Z-stack of a brain from a rut2080; uex::HA fly stained with anti-HA antibody. The αβc Kenyon cells label more prominently than in the wild-type uex::HA brain in Video 2.

Video 4
Expression of UEX in a dnc1Drosophila brain.

Confocal Z-stack of a brain from a dnc1; uex::HA fly stained with anti-HA antibody. The αβc Kenyon cells label more prominently than in the wild-type uex::HA brain in Video 2.

UEX is required to maintain a fluctuating [Mg2+]i in αβ KCs

Although MagFRET can report [Mg2+] it does not respond quickly enough to record stimulus-evoked signals. We therefore constructed flies harboring UAS-transgenes for two newer genetically encoded Mg2+ sensors, MagIC (non-FRET based; Koldenkova et al., 2015) and MARIO (FRET based; Maeshima et al., 2018). We were unable to detect UAS-MARIO expression in the fly brain and therefore could only use UAS-MagIC. MagIC was reported to respond most strongly to Mg2+ but also to a lesser extent to Ca2+ (Koldenkova et al., 2015). We therefore first verified the specificity of MagIC responses in a cell-permeabilized ex vivo fly brain preparation. Brains were removed from flies expressing UAS-MagIC in αβ KCs with c739-GAL4 (Figure 8A), incubated in a dish with saline (Barnstedt et al., 2016) and changes in fluorescence were monitored before and after bath application of chemicals. Whereas application of MgCl2 evoked a dose-dependent increase in the MagIC response, chelation of Mg2+ with EDTA produced a dose-dependent decrease (Figure 8B and Videos 5 and 6). In comparison, CaCl2 only registered a slight increase at the highest concentrations whereas the more Ca2+-selective chelator EGTA had little effect (Figure 8B). These results demonstrate that UAS-MagIC can monitor [Mg2+]i in the αβ KCs in the fly brain.

Figure 8 with 1 supplement see all
UEX limits a rise in [Mg2+]i and supports a slow oscillation in αβ Kenyon cells (KCs).

(A) Explant fly brain expressing UAS-MagIC driven by c739-GAL4. Upper panel, wide-field phase contrast view; middle panels, fluorescence views of Venus and mCherry channels; lower panel, confocal section at the level of the KC somata showing Venus and mCherry channels. Scale bars 20 µm. (B) MagIC selectively responds to changes in [Mg2+]i in KCs. Traces of MagIC ratio following bath application of 10, 20, or 40 mM MgCl2 or CaCl2; 5, 10, or 20 mM EDTA or EGTA. (C) Representative trace of MagIC ratio following application of FSK shows an initial wave followed by a gradual rise and the development of a slow oscillation. (D) The primary responses result from changes in the Mg2+-sensitive Venus signal. (E) The mCherry signal exhibits a steady decay. (F) FSK-evoked MagIC responses are greater in uex mutant flies. Averaged MagIC responses show that FSK induced a significantly greater increase in uexMI01943 mutant than in wild-type flies. (G). Averaged saline-evoked MagIC responses were not significantly altered in uex mutant flies. (H) Individual Venus (green) and mCherry (red) channel traces showing that the slow oscillation is only evident in the Venus channel of wild-type, but not uex mutant, flies. (I) Power spectral density (PSD) analysis of the time series from 200 to 900 s of all data shows that traces from wild-type flies have significantly more oscillatory activity, centered around 0.015 Hz, than those from uex mutant flies.

Video 5
KC-expressed MagIC responds to Mg2+ application.

Confocal time-series recording from a c739/+; UAS-MagIC/+ fly brain shows an increase in Venus, but not mCherry, fluorescence signal in response to 20 mM MgCl2 application.

Video 6
KC-expressed MagIC responds to Mg2+ chelation.

Confocal time-series recording from a c739/+; UAS-MagIC/+ fly brain shows a strong decrease in Venus and a weak decrease in mCherry fluorescence signal in response to 10 mM EDTA application.

Increasing intracellular cAMP has been shown to elicit Mg2+ flux from mammalian cells (Romani and Scarpa, 2000; Vormann and Günther, 1987; Jakob et al., 1989; Romani and Scarpa, 1990b; Romani and Scarpa, 1990a; Vormann and Günther, 1987; Günther et al., 1990; Howarth et al., 1994). Since our experiments also indicated that cAMP might regulate UEX, we next tested whether stimulating cAMP synthesis with forskolin (FSK) might alter MagIC signals in αβ KCs. For these experiments we again used an ex vivo brain preparation but this time the cells were not permeabilized. 30 μM FSK has been shown to evoke a peak increase in cAMP in KCs that approximates that observed following appetitive conditioning (Louis et al., 2018). Applying 30 μM FSK to c739-GAL4; UAS-MagIC brains evoked a consistent dynamic in MagIC fluorescence. After a sharp initial rise, responses slowly decayed back toward baseline before again rising slowly to a point at which the signal started to fluctuate. (Figure 8C and D and Video 7). The key signatures of this response were only recorded in the Mg2+-sensitive Venus signal (Figure 8D). In contrast mCherry fluorescence did not fluctuate but steadily decreased across the time course of the recording (likely a result of photo-bleaching), demonstrating that the fluctuation in the Venus signal is not a movement artifact (Figure 8E). Importantly, FSKinduced MagIC responses were greater than those following application of saline (Figure 8—figure supplement 1A). However, a fluctuating response also developed after saline applications (Figure 8—figure supplement 1B) suggesting that the rhythmic MagIC signal may be a general response to an increase in [Mg2+]i that follows cellular perturbation.

Video 7
KC-expressed MagIC reveals slow oscillation of intracellular Mg2+.

Confocal time-series recording from a c739/+; UAS-MagIC/+ fly brain shows a slow oscillation in Venus, but not mCherry, fluorescence signal in response to 30 μM forskolin.

The Drosophila MB has previously been reported to exhibit a slow (0.004 Hz) Ca2+ oscillation in ex vivo brains whereas a much faster 20 Hz oscillation is evoked by odors in the locust MB (Laurent and Naraghi, 1994; Rosay et al., 2001). Although our initial characterization of MagIC in the fly brain indicated a preferential response to Mg2+ (Figure 8B), we nevertheless explicitly tested whether FSK induced fluctuation of the [Ca2+]i of αβ KCs, using expression of UAS-GCaMP6f (Chen et al., 2013). FSK induced a delayed increase in the GCaMP response but no clear oscillatory activity was observed (Figure 8—figure supplement 1C–E).

Lastly, we tested whether the observed MagIC responses were sensitive to the status of the uex gene. We generated uexMI01943 flies that also harbored c379-GAL4 and UAS-MagIC and compared their FSK- and saline-induced MagIC responses to those of flies with a wild-type uex locus. The uexMI01943 mutant flies showed an increased FSK response to that of wild-type flies, whereas saline-evoked responses were indistinguishable (Figure 8F and G). Responses evoked by the inactive FSK analogue, ddFSK, were also insensitive to the status of uex (Figure 8—figure supplement 1F). Mutation of uex therefore selectively increases mean FSK-evoked MagIC responses.

We also noticed that MagIC traces from uex mutant flies did not exhibit a fluctuating signal (Figure 8H and Figure 8—figure supplement 1G). To quantify this difference we calculated the mean power spectral density (PSD) of traces from uexMI01943 and wild-type flies treated with FSK or saline. In both conditions the mean PSD was significantly left-shifted toward lower frequencies in the uexMI01943 mutants compared to the wild-type controls (Figure 8I). Wild-type fly brains had significantly more oscillatory activity centered around 0.015 Hz than those from uexMI01943 mutants. These data therefore suggest that UEX is required for slow rhythmic maintenance of KC [Mg2+]i. Importantly, finding that MagIC signals are elevated and altered in uex mutants confirms that the observed MagIC responses are Mg2+-dependent. Moreover, they suggest that the KC expressed UEX limits Mg2+ accumulation, consistent with a role in extrusion.

Discussion

We observed an enhancement of olfactory LTM performance when flies were fed for 4 days before training with food supplemented with 80 mM [Mg2+]. This result resembles that reported in rats, although longer periods of feeding were required to raise brain [Mg2+] to memory-enhancing levels (Slutsky et al., 2010). A difference in optimal feeding time may reflect the size of the animal and perhaps the greater bioavailability of dietary Mg2+ in Drosophila. Whereas Mg2+-L-threonate (MgT) was a more effective means of delivering Mg2+ than magnesium chloride in rats (Slutsky et al., 2010), we observed a similar enhancement of memory performance when flies were fed with magnesium chloride, magnesium sulfate, or MgT (data not shown).

Elevating [Mg2+]e in the rat brain leads to a compensatory upregulation of expression of the NR2B subunit of the NMDAR and therefore an increase in the proportion of postsynaptic NR2B-containing NMDARs. This class of NMDARs have a longer opening time (Chen et al., 1999; Erreger et al., 2005) suggesting that this switch in subunit composition represents a homeostatic plasticity mechanism (Turrigiano, 2008) to accommodate for the increased NMDAR block imposed by increasing [Mg2+]e. Moreover, overexpression of NR2B in the mouse forebrain can enhance synaptic facilitation and learning and memory performance (Tang et al., 1999), supporting an increase in NR2B being an important factor in Mg2+-enhanced memory. However, even in the original in vitro study of Mg2+-enhanced synaptic plasticity (Slutsky et al., 2004), it was noted that NMDAR currents were insufficient to fully explain the observed changes.

Our NMDAR subunit loss-of-function studies in the Drosophila KCs did not impair regular or Mg2+-enhanced memory. Furthermore, we did not detect an obvious change in the levels of brain-wide expression of glutamate receptor subunits in Mg2+-fed flies. Although NMDAR activity has previously been implicated in Drosophila olfactory memory, the effects were mostly ascribed to function outside the MB (Xia et al., 2005; Wu et al., 2007). In addition, overexpressing Nmdar1 in all neurons, or specifically in all KCs, did not alter STM or LTM. Ectopic overexpression in the MB of an NMDARN631Q version, which cannot be blocked by Mg2+, impaired LTM (Miyashita et al., 2012). However, this mutation permits ligand-gated Ca2+ entry, without the need for correlated neuronal depolarization, which may perturb KC function in unexpected ways. It is perhaps most noteworthy that learning-relevant synaptic depression in the MB can be driven by dopaminergic teaching signals delivered to cholinergic output synapses from odor-responsive KCs to specific MBONs (Claridge-Chang et al., 2009; Aso et al., 2012; Burke et al., 2012; Liu et al., 2012; Owald et al., 2015; Hige et al., 2015; Barnstedt et al., 2016; Perisse et al., 2016; Aso et al., 2014; Owald and Waddell, 2015Handler et al., 2019). It is conceivable that KCs receive glutamate, from a source yet to be identified, but there is currently no obvious place in the MB network for NMDAR-dependent plasticity. Evidence therefore suggests that normal and Mg2+-enhanced Drosophila LTM is independent of NMDAR signaling in KCs. In addition, our MagFRET measurements indicate that Mg2+ feeding also increases the [Mg2+]i of αβ KCs by approximately 50 µM.

We identified a role for uex, the single fly ortholog of the evolutionarily conserved family of CNNM-type Mg2+ efflux transporters (Ishii et al., 2016). There are four distinct CNNM genes in mice and humans, five in C. elegans, and two in zebrafish (Ishii et al., 2016; Arjona et al., 2013). The uex locus produces four alternatively spliced mRNA transcripts, but all encode the same 834 aa protein. The precise role of CNNM proteins in Mg2+ transport is somewhat contentious (Funato et al., 2018a; Arjona and de Baaij, 2018; Funato et al., 2018b; Giménez-Mascarell et al., 2019). Some propose that CNNM proteins are direct Mg2+ transporters, whereas others favor that they function as sensors of intracellular Mg2+ concentration [Mg2+]i and/or regulators of other Mg2+ transporters. We found that ectopic expression of Drosophila UEX enhances Mg2+ efflux in HEK293 cells and that endogenous UEX limits [Mg2+]i in αβ KCs in the fly brain. Therefore, if UEX is not itself a Mg2+ transporter, it must be able to interact effectively with human Mg2+ efflux transporters and to influence Mg2+ extrusion in Drosophila. Since UEX is the only CNNM protein in the fly, it may serve all the roles of the four individual mammalian CNNMs. However, the ability of mouse CNNM2 to restore memory capacity to uex mutant flies suggests that the memory-relevant UEX function can be substituted by that of CNNM2.

Interestingly, none of the disease-relevant variants of CNNM2 were able to complement the memory defect of uex mutant flies. The CNNM2 T568I variant substitutes a single amino acid in the second CBS domain (Arjona et al., 2014). The oncogenic protein tyrosine phosphatases of the PRL (phosphatase of regenerating liver) family bind to the CBS domains of CNNM2 and CNNM3 and can inhibit their Mg2+ transport function (Hardy et al., 2015; Giménez-Mascarell et al., 2017; Zhang et al., 2017). It will therefore be of interest to test the role of the UEX CBS domains and whether fly PRL-1 regulates UEX activity.

RNA-seq analysis reveals that uex is strongly expressed in the larval and adult fly digestive tract and nervous systems, as well as the ovaries (Gelbart and Emmert, 2010; Croset et al., 2018; Davie et al., 2018) suggesting that many uex mutations will be pleiotropic. Our uexΔ allele, which deletes 272 amino acids (including part of the second CBS and the entire CNBH domain) from the UEX C-terminus, results in developmental lethality when homozygous, demonstrating that uex is an essential gene. Mammalian CNNM4 is localized to the basolateral membrane of intestinal epithelial cells (Yamazaki et al., 2013). There it is believed to function in transcellular Mg2+ transport by exchanging intracellular Mg2+ for extracellular Na+ following apical entry through TRPM7 channels. Lethality in Drosophila could therefore arise from an inability to absorb sufficient Mg2+ through the larval gut. However, neuronally restricted expression of uexRNAiwith elav-GAL4 also results in larval lethality (data not shown), suggesting UEX has an additional role in early development of the nervous system, like CNNM2 in humans and zebrafish (Arjona et al., 2014; Accogli et al., 2019). Perhaps surprisingly, flies carrying homozygous or trans-heterozygous combinations of several hypomorphic uex alleles have defective appetitive and aversive memory performance, yet they seem otherwise unaffected.

Genetically engineering the uex locus to add a C-terminal HA tag to the UEX protein allowed us to localize its expression in the brain. Labeling is particularly prominent in all major classes of KCs. Restricting knockdown of uex expression to all αβ KCs of adult flies, or even just the αβc subset reproduced the LTM defect. The LTM impairment was evident if uexRNAi expression in αβ neurons was restricted to adult flies, suggesting UEX has a more sustained role in neuronal physiology. In contrast, knocking down uex expression in either the αβs or α′β′ neurons did not impair LTM. Activity of α′β′ neurons is required after training to consolidate appetitive LTM (Krashes and Waddell, 2008), whereas αβc and αβs KC output, together and separately, is required for its expression (Krashes and Waddell, 2008; Perisse et al., 2013). Therefore, observing normal LTM performance in flies with uex loss-of-function in αβs and α′β′ neurons argues against a general deficiency of αβ neuronal function when manipulating uex.

Dietary Mg2+ could not enhance the defective LTM performance of flies that were constitutively uex mutant, or harbored αβ KC-restricted uex loss-of-function. However, expressing uex in the αβ KCs of uex mutant flies restored the ability of Mg2+ to enhance performance. Therefore, the αβ KCs are the cellular locus for Mg2+-enhanced memory in the fly.

It perhaps seems counterintuitive that UEX-directed magnesium efflux is required in KCs to support the memory-enhancing effects of Mg2+ feeding, when dietary Mg2+ elevates KC [Mg2+]i. At this stage, we can only speculate as to why this is the case. We assume that the brain and αβ KCs, in particular, have to adapt in a balanced way to the higher levels of intracellular and extracellular Mg2+ that result from dietary supplementation. Our live-imaging of KC [Mg2+]i in wild-type and uex mutant brains suggests that UEX-directed efflux is likely to be an essential factor in the active, and perhaps stimulus-evoked, homeostatic maintenance of these elevated levels.

A number of mammalian cell-types extrude Mg2+ in a cAMP-dependent manner, a few minutes after being exposed to β-adrenergic stimulation (Romani and Scarpa, 2000; Vormann and Günther, 1987; Jakob et al., 1989; Romani and Scarpa, 1990b; Romani and Scarpa, 1990a; Vormann and Günther, 1987; Günther et al., 1990; Howarth et al., 1994). The presence of a CNBH domain suggests that UEX and CNNMs could be directly regulated by cAMP. We tested the importance of the CNBH by introducing an R622K amino acid substitution that should block cAMP binding in the UEX CNBH. This subtle mutation abolished the ability of the uexR622K transgene to restore LTM performance to uex mutant flies. We also used CRISPR to mutate the CNBH in the native uex locus. Although deleting the CNBH from CNNM4 abolished Mg2+ efflux activity (Chen et al., 2018), flies homozygous for the uexT626NRR lesion were viable, demonstrating that they retain a sufficient level of UEX function. However, these flies exhibited impaired immediate and long-term memory. In addition, the performance of uexT626NRR flies could not be enhanced by Mg2+ feeding. These data demonstrate that an intact CNBH is a critical element of memory-relevant UEX function. Binding of clathrin adaptor proteins to the CNNM4 CNBH has been implicated in basolateral targeting (Hirata et al., 2014), suggesting that UEXT626NRR might be inappropriately localized in KCs. Furthermore, KC expression of the CNNM2 E122K mutant variant, which retains residual function but has a trafficking defect (Arjona et al., 2014), did not restore the uex LTM defect.

Although it has been questioned whether the CNNM2/3 CNBH domains bind cyclic nucleotides (Chen et al., 2018), we found that FSK evoked an increase in αβ KC [Mg2+]i that was sensitive to uex mutation, and that UEX::HA was mislocalized in rut2080 adenylate cyclase (Han et al., 1992) and dnc1 phosphodiesterase (Dudai et al., 1976) learning defective mutant flies. Whereas UEX::HA label was evenly distributed in γ, αβc, and αβs KCs in wild-type flies, UEX::HA label was diminished in the γ and αβs KCs and was stronger in αβc neurons in rut2080 and dnc1 mutants. The chronic manipulations of cAMP in the mutants are therefore consistent with cAMP impacting UEX localization, perhaps by interacting with the CNBH. In addition, altered UEX localization may contribute to the memory defects of rut2080 and dnc1 flies.

Our physiological data using Magnesium Green in mammalian cell culture and the genetically encoded MagIC reporter in αβ KCs demonstrate that fly UEX facilitates Mg2+efflux. Stimulating the fly brain with FSK evoked a greater increase in αβ KC [Mg2+]i in uex mutant brains than in wild-type controls which provides the first evidence that UEX limits a rise in [Mg2+]i in Drosophila KCs. Our MagIC recordings also revealed a slow oscillation (centered around 0.015 Hz, approximately once a minute) of αβ KC [Mg2+]i that was dependent on UEX. We do not yet understand the physiological function of this [Mg2+]i fluctuation although it likely reflects a homeostatic systems-level property of the cells. Biochemical oscillatory activity plays a crucial role in many aspects of cellular physiology (Novák and Tyson, 2008). Most notably, circadian timed fluctuation of [Mg2+]i links dynamic cellular energy metabolism to clock-controlled translation through the Mg2+ sensitive mTOR (mechanistic target of rapamycin) pathway (Feeney et al., 2016). It is therefore possible that slow Mg2+ oscillations could unite roles for cAMP, UEX, energy flux (Plaçais et al., 2017), and mTOR-dependent translation underlying LTM-relevant synaptic plasticity (Casadio et al., 1999; Huber et al., 2000; Beaumont et al., 2001; Hou and Klann, 2004; Hoeffer et al., 2008).

Materials and methods

Key resources table
Reagent type
(species)
or resource
DesignationSource or
reference
IdentifiersAdditional
information
Genetic reagent (Drosophila melanogaster)Canton-SOriginally from W.G.Quinn labCanton-SWaddell
Lab stock
Genetic reagent (D. melanogaster)UAS-EGFPBloomington Drosophila Stock CenterRRID:BDSC_5431
Genetic reagent (D. melanogaster)c739-GAL4McGuire et al., 2001c739-GAL4Lab stock
Genetic reagent (D. melanogaster)c305a-GAL4Krashes et al., 2007c305a-GAL4Lab stock
Genetic reagent (D. melanogaster)NP7175-GAL4Tanaka et al., 2004NP7175-GAL4Lab stock
Genetic reagent (D. melanogaster)0770-GAL4Gohl et al., 20110770-GAL4Lab stock
Genetic reagent (D. melanogaster)MB247-GAL4Zars et al., 2000MB247-GAL4Lab stock
Genetic reagent (D. melanogaster)nSyb-GAL4Bloomington Drosophila Stock CenterRRID:BDSC_51635Gift from
J. Simpson
Genetic reagent (D. melanogaster)elav-GAL4Bloomington Drosophila Stock CenterRRID:BDSC_8765
Genetic reagent (D. melanogaster)tubPGAL80tsMcGuire et al., 2003tubP-GAL80tsLab stock
Genetic reagent (D. melanogaster)UAS-Nmdar1RNAiBloomington Drosophila Stock CenterRRID:BDSC_25941
Genetic reagent (D. melanogaster)nos-Cas9.PBloomington Drosophila Stock CenterRRID:BDSC_54591
Genetic reagent (D. melanogaster)nos-Cas9(X)Fly Stocks of National Institute of GeneticsCAS0002
Genetic reagent (D. melanogaster)lig4 KO vasa-Cas9Zimmer et al., 2016lig4 KO vasa-Cas9Gift from
C. Zimmer
Genetic reagent (D. melanogaster)PhsILMiTBloomington Drosophila Stock CenterRRID:BDSC_24613
Genetic reagent (D. melanogaster)rut2080Han et al., 1992rut2080Lab stock
Genetic reagent (D. melanogaster)dnc1Dudai et al., 1976dnc1Lab stock
Genetic reagent (D. melanogaster)uexMI01943Bloomington Drosophila Stock CenterRRID:BDSC_32805
Genetic reagent (D. melanogaster)uexNC1Bloomington Drosophila Stock CenterRRID:BDSC_7176
Genetic reagent (D. melanogaster)UAS-uexRNAiBloomington Drosophila Stock Center
Perkins et al., 2015
RRID:BDSC_36116
Genetic reagent (D. melanogaster)uex-GAL4Vienna Drosophila Resource CenterVT23256
Genetic reagent (D. melanogaster)UAS-GCaMP6fBloomington Drosophila Stock CenterRRID:BDSC_42747
Genetic reagent (D. melanogaster)uexMI01943.ex1This studyuexMI01943.ex1See Methods and Figure 2—figure supplement 2A and B
Genetic reagent (D. melanogaster)uexMI01943.ex2This studyuexMI01943.ex2See Methods and Figure 2—figure supplement 2A and B
Genetic reagent (D. melanogaster)uexΔThis studyuexΔSee Methods and Figure 2—figure supplement 2C
Genetic reagent (D. melanogaster)uex::HAThis studyuex::HASee Methods and Figure 3—figure supplement 1
Genetic reagent (D. melanogaster)uexT626NRRThis studyuexT626NRRSee Methods and Figure 6A
Genetic reagent (D. melanogaster)UAS-uexThis studyUAS-uexSee Methods
Genetic reagent (D. melanogaster)UAS-uexR622KThis studyUAS-uexR622KSee Methods and Figure 6A
Genetic reagent (D. melanogaster)UAS-CNNM2WTThis studyUAS-CNNM2WTSee Methods and Figure 5A
Genetic reagent
(D. melanogaster)
UAS-CNNM2E357KThis studyUAS-CNNM2E357KSee Methods and Figure 5A
Genetic reagent (D. melanogaster)UAS-CNNM2T568IThis studyUAS-CNNM2T568ISee Methods and Figure 5A
Genetic reagent (D. melanogaster)UAS-CNNM2S269WThis studyUAS-CNNM2S269WSee Methods and Figure 5A
Genetic reagent (D. melanogaster)UAS-CNNM2E122KThis studyUAS-CNNM2E122KSee Methods and Figure 5A
Genetic reagent (D. melanogaster)UAS-MagFRET-1This studyUAS-MagFRET-1See Methods
Genetic reagent (D. melanogaster)UAS-MARIOThis studyUAS-MARIOSee Methods
Genetic reagent (D. melanogaster)UAS-MagICThis studyUAS-MagICSee Methods
AntibodyAnti-GFP (Rabbit polyclonal)InvitrogenCat# A-11122,
RRID:AB_221569
IF (1:250)
AntibodyAnti-HA (Rabbit
monoclonal)
New England BiolabsCat# 3724TIF (1:250)
AntibodyAnti-FLAG (Rabbit polyclonal)Sigma-AldrichCat# F-7425, RRID:AB_439687IF (1:250)
AntibodyAnti-UEX (Rabbit polyclonal)EurogentecCat# ZGB-15047WB (1:2000)
AntibodyAnti-Tubulin (Mouse monoclonal)Sigma-AldrichCat# T-6199, RRID:AB_477583WB (1:2000)
AntibodyAnti-rabbit IgG (Alexa 488 goat polyclonal)InvitrogenCat# A-11034, RRID:AB_2576217IF (1:250)
AntibodyAnti-rabbit IgG (HRP-conjugated goat polyclonal)Thermo FisherCat# 32260, RRID:AB_1965959WB (1:5000)
AntibodyAnti-mouse IgG (HRP-conjugated goat polyclonal)Thermo FisherCat# 32230, RRID:AB_1965958WB (1:5000)
Recombinant DNA reagentpUAST-uex (plasmid)This studypUAST vector containing uex cDNA
Recombinant DNA reagentpUAST- uexR622K(plasmid)This studypUAST vector containing uexR622KcDNA
Recombinant DNA reagentpUAST- CNNM2WT(plasmid)This studypUAST vector containing mouse CNNM2WT cDNA
Recombinant DNA reagentpUAST- CNNM2E122K(plasmid)This studypUAST vector containing mouse CNNM2E122K cDNA
Recombinant DNA reagentpUAST- CNNM2E357K(plasmid)This studypUAST vector containing mouse CNNM2E357K cDNA
Recombinant DNA reagentpUAST- CNNM2S269W(plasmid)This studypUAST vector containing mouse CNNM2S269W cDNA
Recombinant DNA reagentpUAST- CNNM2T568I(plasmid)This studypUAST vector containing mouse CNNM2T568I cDNA
Recombinant DNA reagentpJFRC-MUH- MagFRET-1 (plasmid)This paperpJFRC-MUH vector containing MagFRET-1 CDS
Recombinant DNA reagentpTW-MARIO (plasmid)This paperpTW vector containing MARIO CDS
Recombinant DNA reagentpTW-MagIC (plasmid)This paperpTW vector containing MagIC CDS
Recombinant DNA reagentpCFD3-dU6:3gRNA vectorAddgeneRRID:Addgene_49410
Recombinant DNA reagentpCMVMagFRET-1AddgeneRRID:Addgene_50742
Recombinant DNA reagentpScarlessHD-2xHA-DsRedAddgene80822Gift to Addgene from Kate O’Connor-Giles
Recombinant DNA reagentgRNA constructs for uexΔGenetiVisionY17.C253.Q002Generated by GenetiVision for this study
Recombinant DNA reagentDonor construct for uexΔGenetiVisionY17.C253.Q002Generated by GenetiVision for this study
Recombinant DNA reagentgRNA construct for uex::HAWellGeneticsWG-16107 gRNAGenerated by WellGenetics for this study
Recombinant DNA reagentDonor construct for uex::HAWellGeneticsPWG1521 pUC57-Kan-16107 donorGenerated by WellGenetics for this study
Recombinant DNA reagentgRNA construct for uexT626NRRThis study
Sequence-based reagentGipc1_FThis studyPCR primersGGGAAAGGACAAAAGGAACCC
Sequence-based reagentuex CDS, ForwardThis studyPCR primersATCGCCGCGGATGAACACATATTTCATATCATTTATTAC
Sequence-based reagentuex CDS, ReverseThis studyPCR primersATCGCTCGAGTTAGGGCTTACTTTGCTTGCTC
Sequence-based reagentuexR622K, fragment 1, ForwardThis studyPCR primersATGAACACATATTTCATATCATTTATTACAATAATTA
Sequence-based reagentuexR622K, fragment 1, ReverseThis studyPCR primersGTGACTTCTACTTTACCCTCCAAAATAAG
Sequence-based reagentuexR622K, fragment 2, ForwardThis studyPCR primersGTACTTATTTTGGAGGGTAAAGTAGAAGTCACAATTGGC
Sequence-based reagentuexR622K, fragment 2, ReverseThis studyPCR primersTTAGGGCTTACTTTGCTTGCTCTCGAATTTG
Sequence-based reagentCNNM2 cDNA, ForwardThis studyPCR primersATCGCTCGAGATGATTGGCTGTGGCGCTTGTG
Sequence-based reagentCNNM2 cDNA, ReverseThis studyPCR primersATCGTCTAGACTATGCGTAGTCTGGCACGTCG
Sequence-based reagentMagFRET-1 CDS, ForwardThis studyPCR primersATCGCTCGAGGCCACCATGGGCCATATGGTGAGC
Sequence-based reagentMagFRET-1 CDS, ReverseThis studyPCR primersATCGTCTAGATTACTTGTACAGCTCGTCCATGCCGAG
Sequence-based reagentMagIC CDS, ForwardThis studyPCR primersCACCAGGATGGCCATCATCAAGGAGTTCATG
Sequence-based reagentMagIC CDS, ReverseThis studyPCR primersCCGTTACTCGATGTTGTGGCGGATCTTGAA
Sequence-based reagentMARIO CDS, ForwardThis studyPCR primersCACCAGGGCTTGGTACCGAGCTCGGAT
Sequence-based reagentMARIO CDS, ReverseThis studyPCR primersCCGCCACTGTGCTGGATATCTGCAGAATTCTTA
Sequence-based reagentInverse PCR of uexMI01943, Set 1, ForwardThis studyPCR primersATGATAGTAAATCACATTACG3
Sequence-based reagentInverse PCR of uexMI01943, Set 1, ReverseThis studyPCR primersCAATAATTTAATTAATTTCCC3
Sequence-based reagentInverse PCR of uexMI01943, Set 2, ForwardThis studyPCR primersCAAAAGCAACTAATGTAACGG
Sequence-based reagentInverse PCR of uexMI01943, Set 2, ReverseThis studyPCR primersTTGCTCTTCTTGAGATTAAGGTA
Sequence-based reagentqPCR of Nmdar1, ForwardThis studyPCR primersATCCCTCGACGTACAACATTGG
Sequence-based reagentqPCR of Nmdar1, ReverseThis studyPCR primersGAGGTGCTTTATTGTGGTGCTAA
Sequence-based reagentqPCR of Nmdar2, ForwardThis studyPCR primersACTGCTGGGCAACCTGAG
Sequence-based reagentqPCR of Nmdar2, ReverseThis studyPCR primersGATTTCCGTCTTGTACGACCA
Sequence-based reagentqPCR of GluRIA, ForwardThis studyPCR primersTTTTCTGGCCGGAATTTAGTT
Sequence-based reagentqPCR of GluRIA, ReverseThis studyPCR primersCCTGTTCGAAGATTGCACCT
Sequence-based reagentqPCR of GluRIIA, ForwardThis studyPCR primersAACCACCAGATGTCCATCAATG
Sequence-based reagentqPCR of GluRIIA,
Reverse
This studyPCR primersGAAGGTGCGCCACTCATAGT
Sequence-based reagentqPCR of Gapdh, ForwardThis studyPCR primersCTTCTTCAGCGACACCCATT
Sequence-based reagentqPCR of Gapdh, ReverseThis studyPCR primersACCGAACTCGTTGTCGTACC
Sequence-based reagentqPCR of Tbp, ForwardThis studyPCR primersACAGGGGCAAAGAGTGAGG
Sequence-based reagentqPCR of Tbp, ReverseThis studyPCR primersCTTAAAGTCGAGGAACTTTGCAG
Sequence-based reagentqPCR of Ef1α100E, ForwardThis studyPCR primersGCGTGGGTTTGTGATCAGTT
Sequence-based reagentqPCR of Ef1α100E, ReverseThis studyPCR primersGATCTTCTCCTTGCCCATCC
Sequence-based reagentuexMI01943 Minos excision, ForwardThis studyPCR primersGTGCCAGACCACTGCACCATC
Sequence-based reagentuexMI01943 Minos excision, ReverseThis studyPCR primersCCGTACCTATGTCGATTCCCACCTC
Sequence-
based reagent
uexΔ lesionThis studyCRISPR gRNA1ACTTTCCAGTACCTTAGCAC [TGG]
Sequence-based reagentuexΔ lesionThis studyCRISPR gRNA2GTCACTCCTCGCGGTACCAC [TGG]
Sequence-based reagentVerification of uexΔ, set 1, ForwardThis studyPCR primersAAGACATGGATTGGCGATTG
Sequence-based reagentVerification of uexΔ, set 1, ReverseThis studyPCR primersAAGTCGCCATGTTGGATCG
Sequence-based reagentVerification of uexΔ, set 2, ForwardThis studyPCR primersCTGGGCATGGATGAGCTGTA
Sequence-based reagentVerification of uexΔ, set 2, ReverseThis studyPCR primersCTGGAGCGCAACAATTCTCT
Sequence-based reagentuexT626NRR lesionThis studyCRISPR gRNAGGTCGTGTAGAAGTCACAAT [TGG]
Sequence-based reagentuexT626NRR lesionThis studyssODNGTCTTTATATTTTCACTCAAGGAAAAGCTGTCGACTTTTTTGTACTTATTTTGGAGGGTAAAGTAGAAGTCACAATTGCCAAGGAAGCGCTTATGTTTGAAAGCGGGCCCTTTACTTATT
Sequence-based reagentScreen for uexT626NRR, set 1, ForwardThis studyPCR primersGGTTATTCTCGTATTCCAGTGTACGATGG
Sequence-based reagentScreen for uexT626NRR, set 1, ReverseThis studyPCR primersGAGATTCAGCATCTAGAGACAAAGACGCAG
Sequence-based reagentScreen for uexT626NRR, set 2, ForwardThis studyPCR primersCGGTCGGGTTAGTTACTCTGGAAGATG
Sequence-based reagentScreen for uexT626NRR, set 2, ReverseThis studyPCR primersCGCGTAAGCATTCACACTAGCTGAGTAAC
Sequence-based reagentScreen for uexT626NRR, set 3, ForwardThis studyPCR primersGGCTACTTTCCAGTACCTTAGCACTGG
Sequence-based reagentScreen for uexT626NRR, set 3, ReverseThis studyPCR primersCGCGTAAGCATTCACACTAGCTGAGTAAC
Sequence-based reagentScreen for uexT626NRR, set 4, ForwardThis studyPCR primersCGGAGGTTACTCAATCAAGACGTGTTTC
Sequence-based reagentScreen for uexT626NRR, set 4, ReverseThis studyPCR primersCGCGTAAGCATTCACACTAGCTGAGTAAC
Commercial assay or kitDirect-zol RNA MiniPrepCambridge BioscienceR2050
Commercial assay or kitSuperScript III First-Strand Synthesis SuperMixInvitrogen18080400
Commercial assay or kitLightCycler 480 SYBR Green I MasterRoche04707516001
Commercial assay or kitpENTR/D-TOPO cloning kitInvitrogenK240020
Commercial
assay or kit
Gateway LR ClonaseTM II Enzyme mixInvitrogen11791020
Commercial assay or kitNEBuilder HiFi DNA Assembly Master MixNew England BiolabsE2621S
Commercial assay or kitExoSAP-IT PCR Product Cleanup ReagentThermo Fisher78201
Chemical compound, drugMgCl2Sigma-AldrichM1028
Chemical compound, drugMgSO4Sigma-AldrichM3409
Chemical compound, drugCaCl2Sigma-Aldrich21115
Chemical compound, drugKClSigma-Aldrich60142
Chemical compound, drugEDTASigma-Aldrich324504
Chemical compound, drugForskolinSigma-AldrichF6886
Chemical compound, drug1,9-DideoxyforskolinSigma-AldrichD3658
Chemical compound, drugMagnesium GreenInvitrogenM3733
Chemical compound, drugSucroseSigma-AldrichS0389
Chemical compound, drugMineral oilSigma-AldrichM5904
Chemical compound, drug3-OctanolSigma-Aldrich218405
Chemical compound, drug4-Methyl-CyclohexanolSigma-Aldrich66360
Chemical compound, drugParaformaldehydeFisher Scientific15713
Chemical compound, drugPhosphate buffered saline tabletsFisher Scientific1282–1680
Chemical compound, drugTriton X-100Sigma-AldrichT9284
Chemical compound, drugVectashield antifade mounting mediumVector LaboratoriesH1000
Chemical compound, drugTRIzol RNA isolation reagentsThermo Fisher15596018
Software, algorithmPrism 6.0GraphPadRRID:SCR_002798https://www.graphpad.com
Software, algorithmSnapGene Viewer 4.1SnapGeneRRID:SCR_015052https://www.snapgene.com
Software, algorithmGeneious R10.2GeneiousRRID:SCR_010519https://www.geneious.com
Software, algorithmFiji/ImageJ 1.4NIHRRID:SCR_002285https://imagej.nih.gov
Software, algorithmMATLAB R2017bMathworksRRID:SCR_013499https://www.mathworks.com
Software, algorithmPython 3.7Python Software FoundationRRID:SCR_008394https://www.python.org
Software, algorithmVisual Studio Code 1.42Microsofthttps://code.visualstudio.com
Software, algorithmAdobe Illustrator CCAdobe SystemsRRID:SCR_010279https://www.adobe.com
Software, algorithmInterProEMBL-EBIRRID:SCR_005829https://www.ebi.ac.uk/interpro
Software, algorithmPhyre2Genome3Dhttp://www.sbg.bio.ic.ac.uk/~phyre2
Software, algorithmTM-alignZhang Labhttps://zhanglab.ccmb.med.umich.edu/TM-align/
Software, algorithmChimera 1.11UCSFRRID:SCR_004097https://www.cgl.ucsf.edu/chimera/

Contact for reagent and resource sharing

Request a detailed protocol

A full list of reagents can be viewed in the Key Resources Table.

Further information and requests for resources and reagents should be directed to and will be fulfilled by the Lead Contact, Scott Waddell (scott.waddell@cncb.ox.ac.uk).

Experimental model and subject details

Fly strains

Request a detailed protocol

Unless stated otherwise, flies were raised on standard cornmeal food under a 12 hr light–dark cycle at 60% humidity and 25°C. Test and control flies for GAL80ts experiments were raised at 18°C. Mixed sex flies 1–7-days-old were used in experiments.

Canton-S was the wild-type strain. The GAL4 driver lines used in this study are c739-GAL4 (McGuire et al., 2001), c305a-GAL4 (Krashes et al., 2007), NP7175-GAL4 (Tanaka et al., 2004), 0770-GAL4 (Gohl et al., 2011), MB247-GAL4 (Zars et al., 2000), nSyb-GAL4 (Bloomington Drosophila Stock Centre, BDSC 51635), elav-GAL4 (BDSC, 8765), and uex-GAL4 (Kvon et al., 2014); Vienna Drosophila Resource Center, VDRC, VT23256-GAL4). The UAS lines obtained from the stock center are UAS-CD8::GFP (BDSC, 5136), UAS-NmdarRNAi (BDSC, 25941), and UAS-uexRNAi (BDSC, 36116). The various mutant and transgenic lines are described, uexMI01943 (Venken et al., 2011; BDSC, 32805), uexNC1 (BDSC, 7167), rut2080 (Han et al., 1992), and dnc1 (Dudai et al., 1976), tubP-GAL80ts (McGuire et al., 2003) and PhsILMiT (BDSC, 24613). The uexMI01943.ex1 and uexMI01943.ex2 Minos excision lines were generated using the procedure described in Arcà et al., 1997. The detailed mating scheme is shown in Figure 2—figure supplement 2A. Potential excision lines were established from individual flies exhibiting the yellow body color phenotype. Genomic DNA was extracted from six such lines and DNA flanking the uexMI01943 MiMIC was amplified by PCR and sequenced. The uexMI01943.ex1 and uexMI01943.ex2 lines were identified to harbor precise excisions, having restored the wild-type genomic sequence. See Resource Table for PCR and sequencing primer sequences. Schematic of the sequence detail of the uexMI01943 MiMIC insertion and in the excisions is shown in Figure 2—figure supplement 2B. To construct UAS-uex transgenic flies a full-length uex coding sequence (CDS) was cloned by RT-PCR. Total RNA was isolated from wild-type flies using TRIZOL (Thermo Fisher, 15596018) and reverse transcribed into cDNA using SuperScript III first-strand synthesis system (Invitrogen, 18080400). This total cDNA mix was used as a template to amplify the uex CDS. See Resource Table for primer sequences. The PCR product was digested with SacII and XhoI and then ligated into the complementary sites of pUAST (Brand and Perrimon, 1993). The pUAST cloned uex CDS was fully sequenced and verified to represent the 2505 bp of the wild-type uex cDNA reading frame (note, all four possible uex mRNA isoforms, FlyBase Release 6, encode the same 834 amino acid protein). UAS-uex transgenic flies were generated commercially (Bestgene) by transformation with the pUAST-uex vector. We mapped the UAS-uex chromosome insertion of 10 independent transgenic lines and behaviorally tested three lines, denoted UAS-uex3M, UAS-uex5M and UAS-uex8M, with an insert on the third chromosome. UAS-uex3M flies were those used throughout the study and referred to as UAS-uex in the manuscript.

UAS-uexR622K transgenic flies were generated similar to UAS-uex flies. A missense mutation was introduced at codon 622 of UEX within the CNBH domain, mimicking that previously engineered in the cAMP-binding domain of the regulatory subunit of protein kinase A (Bubis et al., 1988). The mutation changes the CGT codon encoding Arg into AAA encoding Lys. The mutation was introduced into the wild-type uex CDS using Gibson Assembly Master Mix (New England Biolabs, E2621S) as described in ‘Improved methods for site-directed mutagenesis using Gibson Assembly Master Mix’ (NEB Application Note). The primer sets used are detailed in the Resource Table. The product of Gibson assembly was further amplified by PCR and the resulting product was cloned into the pUAST vector and sequenced. Transgene insertions were mapped as for UAS-uex and one of two insertions mapped to the third chromosome was used in behavior experiments.

UAS-CNNM2, UAS-CNNM2E122K, UAS-CNNM2E357K, UAS-CNNM2S269W, and UAS-CNNM2T568I transgenic fly lines were generated by transformation with pUAST constructs containing wild-type or point mutated versions of a mouse CNNM2 cDNA tagged with HA (mCNNM2::HA), described in Arjona et al., 2014. Wild-type or mutated versions of CNNM2 were amplified from original mCNNM2::HA clones in pCiNEO_IRES_GFP plasmids (Arjona et al., 2014). Primers are detailed in the Resource Table. PCR products were digested with XhoI and XbaI and ligated into the complementary sites in pUAST. Insertions of each construct on the third chromosome were identified by mapping as described above and were used in the behavior experiments. Note that all CNNM2 encoding constructs used in the study are HA tagged, although the notation is often omitted for brevity.

UAS-MagFRET-1 transgenic fly lines were generated by transformation with pJFRC-MUH constructs containing MagFRET-1 CDS, which was sub-cloned from the pCMVMagFRET-1 plasmid, described in Lindenburg et al., 2013. Primers are detailed in the Resource Table. PCR products were digested with XhoI and XbaI and ligated into the complementary sites in pJFRC-MUH. Insertion of the construct was mediated by the site-specific transgenesis system and the landing site is attP2 (on the third chromosome).

UAS-MagIC and UAS-MARIO transgenic fly lines were generated by transformation with pTW constructs containing the MagIC/MARIO CDS, which were sub-cloned from the plasmids MagIC/pcDNA3 and MARIO/pcDNA3, kindly provided by T. Nagai: (Maeshima et al., 2018 and Koldenkova et al., 2015). MagIC/MARIO CDS were first PCR amplified from MARIO/pcDNA3 and MagIC/pcDNA3 respectively and were cloned into the pENTR/D-TOPO vector. Primers are detailed in the Resource Table. Note that the MARIO sense primer was designed to overlap with the sequence of pcDNA3 at the insertion site of MARIO. MagIC/MARIO CDS were further cloned into the Gateway destination vector pTW (Drosophila Gateway Vector Collection).

The CRISPR/Cas9 edited uexΔ locus was generated commercially by GenetiVision. The editing scheme is shown in Figure 2—figure supplement 2C. The uex locus sits in reverse orientation on chromosome 2R, spanning a 49,141 bp region between position 3,900,285 and 3,949,425 (FlyBase, Release 6). The following description relates to these coordinates within the uex locus. To generate uexΔ, two gRNA plasmids and one double strand DNA donor (dsDNA) plasmid were constructed and injected into nos-Cas9 embryos (BDSC, 54591). As indicated in Figure 2—figure supplement 2C and detailed in the Resource Table, the upstream gRNA1 lies in Exon 6 and targets sequence 30,930.30,952. The corresponding downstream gRNA2 lies between Exon 7 and Exon 8 between 33,988 and 34,010. Both gRNAs were individually cloned into pCFD3-dU63gRNA (Addgene, 49410). The cut site of gRNA1 should be between 30,946 and 30,947 while gRNA2 should lead to a cut between 33,993 and 33,994. A 795 bp upstream homology arm (30,152.30,946) and 977 bp downstream homology arm (33,994.34,970) were cloned into the donor DNA plasmid. A termination codon (STOP, in all three reading frames) was inserted between the two homology arms and followed by a GFP cassette driven by a 3xP3 promoter. The donor DNA backbone was engineered by GenetiVision and the complete donor sequence for the uexΔ line is available upon request. Successful editing was identified by expression of GFP in the fly eyes and confirmed by genomic PCR and sequencing. In the uexΔ flies, a 3047 bp fragment from 30,947 to 33,993 was replaced by the sequence between the two homology arms in the donor plasmid, mainly the STOP signal and GFP cassette. The uexΔ allele truncates the uex ORF. Primers used for genomic PCR verification are detailed in the Resources Table. The nos-Cas9 transgene (on X chromosome) was removed by crossing.

CRISPR/Cas9-edited uex::HA flies were generated by WellGenetics using the ScarlessDsRed system developed by Kate O’Connor-Giles' lab (unpublished, original plasmid donated to Addgene, #80822). A 6XHA tag was fused in frame to the carboxy-terminus of UEX by inserting the 6XHA-coding sequence immediately prior to the native STOP codon in the uex locus (Figure 3—figure supplement 1A). The process involved two main steps. In step 1, a 6XHA tag together with a pBAC transposon containing a DsRed cassette were inserted in frame with the STOP codon of uex using CRISPR/Cas9-mediated genome editing by homology-directed repair (HDR) using 1 gRNA and one dsDNA plasmid donor. The gRNA lies −50 bp from the uex STOP codon and should direct a cut between 48,587 and 48,588. The gRNA was cloned into a pCFD3-dU63gRNA plasmid. A 1,200 bp upstream arm (47,438.48,637) and 1,033 bp downstream arm (48,641.49,673) were cloned into the donor DNA plasmid with the pUC57-Kan (2579 bp) backbone. See Resource Table for gRNA and primer sequences. A Protospacer Adjacent Motif (PAM) mutation (TCC to TCG, 48,581.48,583) was introduced in the donor to promote HDR. A 6XHA tag, followed by a pBAC transposon containing a 3XP3 promoter-driven DsRed cassette, was inserted between the two homology arms. A pBAC recognition motif TTAA is embedded in the STOP codon of 6XHA. The complete donor sequence is available upon request. Donor and gRNA plasmids were injected into nos-Cas9 embryos (NIG-FLY, CAS0002). Successful editing was identified by expression of DsRed in the fly eyes and confirmed by genomic PCR and sequencing. Six independent positive lines were identified and four passed PCR validation. Of these four lines, one further passed sequencing validation and is the intermediate line represented in Figure 3—figure supplement 1A. Four isogenized and balanced stocks were established from this line. In step 2, the DsRed selection marker was excised by PiggyBac (PBac) transposition with the helper line Tub-PBac (BDSC, 8285). Five homozygous viable lines with successful excision were validated by genomic PCR and sequencing. One designated uex::HA was used in experiments in the manuscript.

To construct the CRISPR/Cas9-edited uexT626NRR flies, we designed and cloned a gRNA and designed and ordered (Sigma) a single-stranded oligo-deoxynucleotide (ssODN). gRNA and ssODN sequences are detailed in the Resource Table. As we planned to make a single amino acid substitution R622K in the UEX CNBH domain, the 120 bp ssODN donor was centered on codon R622 and carries the codon change CGT to AAA (at 31,179.31,181) corresponding to R622K. The expected cut site of the gRNA (between 31,192 and 31,193) is only 11 bp away from the expected mutation point. To enhance the likelihood of HDR, which is reportedly low using ssODN as donor, we commercially (GenetiVision) injected editing material into 250 lig4 KO vasa-Cas embryos (Zimmer et al., 2016). We obtained 37 viable G0 flies from the injected embryos. A total of 224 G1 flies were subjected to single fly genomic PCR and sequencing to screen for the expected mutation. Primers detailed in Resource Table. We identified 59 putative edited lines from first-round screening, and of these 12 were confirmed. Despite using lig4 KO vasa-Cas9, we detected only non-homologous end joining (NHEJ) events instead of HDR-mediated point mutations. Of the 12 edited lines, six were homozygous lethal and the other six were viable. In four of the homozygous viable lines, we found a replacement of G with T at position 31,192 together with a 6 bp in frame insertion of ATCTTC between 31,192 and 31,193. This NHEJ editing corresponds to the T626 → NRR change in the protein sequence of UEX (Figure 5A). The X chromosome vasa-Cas9 was removed from these lines by crossing and one line referred to as uexT626NRR was used in the behavior experiments in the manuscript.

Method details

Behavioral experiments

Request a detailed protocol

For behavioral T-maze experiments, 1–7-day-old mixed sex flies were used. Odors were 4-methylcyclohexanol (MCH) and 3-octanol (OCT), diluted ~1:103 (specifically, 9 μl MCH or 7 μl OCT in 8 ml mineral oil). All experiments were performed at 23°C and 55–65% relative humidity.

Appetitive immediate and later memory experiments were performed essentially as described (Krashes and Waddell, 2008; Perisse et al., 2013). Batches of 100–120 flies were starved for 21–23 hr before training in 35 ml starvation vials containing ~2 ml 1% agar (as a water source) and a 2 cm × 4 cm filter paper. Sugar papers (5 cm × 7.5 cm) for training were prepared by soaking with 4 ml of 2 M sucrose and drying overnight. Water papers of same size were soaked with water and left overnight. For appetitive training, flies were transferred from a starvation tube to a training tube with a dry ‘water’ paper, and immediately attached to the training arm of the T-maze and exposed to the CS− odor for 2 min, followed by 30 s of clean air. Flies were then transferred to another training tube with dry sugar paper, attached to the T-maze and exposed to the CS+ odor for 2 min. Immediate memory was tested by transporting flies to the T-choice point and allowing them 2 min to choose between the two odor streams. To assay 24 hr memory, flies were removed from the training tube and transferred to standard cornmeal food vials for 1 hr, then transferred back into starvation vials for 23 hr until testing. Performance Index was calculated as the number of flies in the CS+ arm minus the number in the CS− arm, divided by the total number of flies. MCH and OCT were alternately used as CS+ or CS− and a single sample, or n, represents the average Performance Index from two reciprocally trained groups.

For behavior tests after Mg2+ feeding, 1–2-day-old flies were housed in vials with Mg2+ supplemented food for 1–5 days before being starved for appetitive training and testing, as described above. To make 80 mM [Mg2+] food, 40 ml of 1 M MgCl2 solution was added to 460 ml of normal liquid fly food; 1 mM [Mg2+] food was made by diluting 0.5 ml 1 M MgCl2 in 39.5 ml MilliQ water and adding it to 460 ml liquid food. Food was aliquoted and cooled to solidify. MgSO4 and CaCl2 supplemented food was prepared the same way.

Aversive immediate and 24 hr memory experiments were conducted as previously described (Hirano et al., 2013; Perisse et al., 2016; Tully and Quinn, 1985). Groups of 100–120 flies were trained with either one cycle of aversive training, or five cycles spaced by 15 min inter-trial intervals (spaced training). For aversive immediate memory, flies were tested after one-cycle training. Aversive 24 hr memory was tested using two different protocols. In the fasting-facilitated protocol, flies were starved for 16 hr before one-cycle training (Hirano et al., 2013). For spaced training, flies were not starved before training. Flies were fed on normal fly food for 24 hr after fasting-facilitated and spaced training, before being tested for memory performance. During each aversive training cycle, flies were exposed for 1 min to a first odor (CS+) paired with twelve 90 V electric shocks at 5 s intervals. Following 45 s of clean air, a second odor (CS−) was presented for 1 min without shock. Performance Index was calculated as the number of flies in the CS− arm minus the number in the CS+ arm, divided by the total number of flies. MCH and OCT were alternately used as CS+ or CS− and a single sample, or n, represents the average Performance Index from two reciprocally trained groups.

Sensory acuity tests (Figure 2—source data 1) were performed as described (Keene et al., 2004; Keene et al., 2006; Schwaerzel et al., 2003) with modifications. To test olfactory acuity, untrained flies were given 2 min to choose between a diluted odor as used in conditioning and air bubbled through mineral oil in the T maze. An Avoidance Index was calculated as the number of flies in the air arm minus the number in the odor arm, divided by the total number of flies. Electric shock avoidance was performed and calculated similarly. Untrained flies chose for 1 min between two tubes containing electric grids, but only one was connected to the power source. An avoidance index was calculated as the number of flies in the non-electrified arm minus the number in the electrified arm, divided by the total number of flies. To assess sugar acuity, starved flies were given 2 min to choose between an arm of the T-maze containing a dried sugar paper and the other containing a dried ‘water’ filter paper. Both papers were prepared as in the appetitive memory assays. A Preference Index was calculated as the number of flies in the sugar arm minus that in the other arm, divided by the total number of flies. We found that keeping the light on in the behavioral room and having air flow running through the testing tubes greatly enhanced the Preference Index in wild-type flies and therefore applied those conditions for all sugar preference testing.

Anti-UEX antibody and western blot

Request a detailed protocol

A polyclonal UEX antibody was developed commercially by Eurogentec. Two peptides were synthesized as antigens: Peptide 1 H-CLPKLDDKFESKQSKP-OH (16aa) and Peptide 2 H-CVDNRTKTRRNRYKKA-NH2 (16aa) and injected into rabbits. Only Peptide 2 induced a robust immune response and was processed further. The final serum was purified against Peptide 2 and used for western blot analysis as a 1:2000 dilution.

For each sample in western blot, proteins were extracted from 20 fly heads by homogenizing thoroughly in 120 µl of protein sample buffer containing a mixture of 30 μl 2-mercaptoethanol (BioRad), 270 µl 4× Laemmli sample buffer (BioRad), and 900 µl Nuclease Free Water (Invitrogen). Samples were then boiled on a 100°C heat block for 3 min and centrifuged for 10 min before loading. A sample volume equivalent to four heads was loaded into each SDS-PAGE gel lane. Proteins were transferred to PVDF membrane and blocked in 5% skim milk for 1 hr at 25°C with 35 rpm agitation. Membrane was then incubated in anti-UEX solution (1:2000 rabbit anti-UEX in 5% skim milk) overnight at 4°C with 35 rpm agitation. Membrane was washed quickly three times followed by 3 × 10 min washes in TBST solution (100 ml of TBS 10× solution, BioRad, diluted in 900 ml of MilliQ water, with 0.1% Tween 20) and then incubated with HRP-conjugated secondary antibody solution (1:5000 of goat anti-rabbit in 5% skim milk) for 1–2 hr at 25°C with 35 rpm agitation. The membrane was again washed quickly for three times followed by 3 × 10 min washes in TBST. Protein bands were visualized using Pierce ECL western blotting substrate (Life technologies, 32134). Membrane was then stripped using Millipore ReBlot Plus Mild solution (Merck, 2502), blocked again in 5% skim milk, and probed with mouse anti-Tubulin primary antibody (1:2000, Sigma, T6199) and corresponding HRP conjugated goat anti-mouse secondary antibody (1:5000) following the protocol detailed above.

Immunostaining

Request a detailed protocol

Immunostaining was performed as described (Wu and Luo, 2006). Brains from 1- to 5-day-old adult flies were dissected in PBS and fixed for 20 min in PBS with 4% paraformaldehyde at room temperature. They were then washed twice briefly in 0.5% PBT (2.5 ml Triton-X100 in 497.5 ml PBS) and three 20 min washes. Brains were then blocked for 30 min at room temperature in PBT containing 5% normal goat serum and then incubated with primary and secondary antibodies with mild rotation (35 rpm) at 4°C for 1 or 2 days. Primary antibodies were rabbit anti-GFP (1:250; Invitrogen A11122) and rabbit anti-HA (1:250, NEB 3724T). Alexa 488–conjugated goat anti-rabbit (1:250; Invitrogen, A11034) was the secondary antibody. Before and after the secondary antibody incubation, brains were subjected to two quick washes followed by three 20 min washes in 0.5% PBT. Stained brains were mounted on glass slides in Vectashield (Vector Labs H1000) and imaged using a Leica TCS SP5 confocal microscope at 40× magnification (HCX PL APO 40×, 1.3 CS oil immersion objective, Leica). Image stacks were collected at 1024 × 1024 resolution with 1 μm steps and processed using Fiji (Schindelin et al., 2012). For quantification in Figure 3G and H, rectangular ROIs of approximately 40 × 25 μm for the for γ lobe, or round ROIs with diameter of 15 μm for αβ, α'β', and EB were manually drawn on a single section of a z-stack scan of the fly brain. Corresponding ROIs were also drawn on the superior medial protocerebrum (SMP) as a background control region, and the mean fluorescence was calculated using ImageJ. ROI intensity of the MB lobes and the EB was normalized to that of the respective SMP intensity. An average between left and right brains was used for a single data point. For quantification in Figure 7C and D, ROIs are indicated in the figures and ROI intensity was calculated similar to results in Figure 3H. In Figure 7C, a line was drawn through the widest part of the tip of the α lobe. The intensity profile of this line was obtained through ImageJ. Thirty data points in the middle of such a profile spanning about a 15 μm line were extracted for each line profile. The profile was further normalized to the mean value of the first five data points (F0) and calculated as (F−F0)/F0. Mean values of these normalized profiles from different brains were plotted (Figure 7C, middle panel). Left and right profiles of brains were calculated and are separately displayed. In Figure 7D, the relative intensities from different ROIs representing different regions are added together to generate a total intensity measure for the MB.

The human CNNM4 cDNA expression construct used to investigate Mg2+ efflux in cell culture is that described previously (Yamazaki et al., 2013). A construct expressing Drosophila uex was generated by inserting a FLAG tag in front of the STOP codon of the uex CDS. FLAG-tagged CNNM4 and uex cDNAs were subsequently inserted into pCMV tag-4A (Agilent) for expression in HEK293 cells. HEK293 cells were cultured in Dulbecco’s modified Eagle medium (Nissui) supplemented with 10% Fetal Bovine Serum (FBS) and antibiotics. Expression plasmids were transfected with Lipofectamine 2000 (Invitrogen).

For immunostaining, cells were fixed with 3.7% formaldehyde in PBS for 20 min and then permeabilized with 0.2% Triton X-100 in PBS for 5 min, both at room temperature. They were next blocked with PBS containing 3% FBS and 10% bovine serum albumin (blocking buffer) for 1 hr at room temperature. Cells were then incubated overnight at 4°C with rabbit anti-FLAG antibody (F7425, Sigma-Aldrich) diluted in blocking buffer, washed 3× with PBS, and incubated for 1 hr at room temperature with Alexa 488-conjugated anti-rabbit IgG (Invitrogen) and rhodamine-phalloidin (for F-actin visualization, Invitrogen) diluted in blocking buffer. After three washes with PBS, coverslips were mounted on slides and imaged with a confocal microscope (FluoView FV1000; Olympus).

Mg2+-imaging with Magnesium Green was performed as described (Yamazaki et al., 2013), with slight modifications. To avoid potentially decreasing [Mg2+]with the expressed proteins, transfected HEK293 cells were cultured in growth media supplemented with 40 mM MgCl2 until imaging. Cells were then incubated with Mg2+-loading buffer (78.1 mM NaCl, 5.4 mM KCl, 1.8 mM CaCl2, 40 mM MgCl2, 5.5 mM glucose, and 5.5 mM HEPES-KOH [pH 7.4]), including 2 μM Magnesium Green-AM (Invitrogen), for 30 min at 37°C. Cells were then rinsed once with loading buffer and viewed with an Olympus IX81 microscope equipped with an ORCA-Flash 4.0 CMOS camera (Hamamatsu) and a SHI-1300L mercury lamp (Olympus). Fluorescence was measured every 20 s (excitation at 470–490 nm and emission at 505–545 nm) under the control of Metamorph software (Molecular Devices). Buffer was then changed to Mg2+free buffer (MgCl2 in the loading buffer was replaced with 60 mM NaCl). Data are presented as line plots (mean of 10 cells). After imaging, cells were fixed with PBS containing 3.7% formaldehyde and subjected to immunofluorescence microscopy to confirm protein expression.

FRET-based Mg2+ concentration measurements in fixed fly brains

Request a detailed protocol

One- to two-day-old flies with genotype c739; UAS-MagFRET-1 were housed in vials with 1 mM or 80 mM [Mg2+] food for 4 days before being collected. Fly brains were dissected in PBS and fixed for 20 min in PBS with 4% paraformaldehyde at room temperature. They were then washed twice briefly in 0.5% PBT (2.5 ml Triton-X100 in 497.5 ml PBS) and three 10 min washes. Brains were then mounted on glass slides in Vectashield (Vector Labs H1000) and imaged using a wide-field Scientifica Slicescope with a 40×, 0.8 NA water-immersion objective and an Andor Zyla sCMOS camera with Andor Solis software (v4.27). In order to get the FRET ratio that indicates the Mg2+ concentration of the αβ neuron, time series were acquired alternatively between the cerulean channel and the citrine channel at 3 Hz with 512 × 512 pixels and 16 bit. The excitation wavelength for both channels is 436 nm, while the emission filter for cerulean is 460–500 nm and that for citrine is 520–550 nm. Series acquisition starts from the cerulean channel and lasts for 5 s, then switches to the citrine channel and last for another 5 s, and this cycle is repeated for two more times. A total of 30 s (90 frames) image stack was therefore acquired for each brain. Image stacks were subsequently analyzed using ImageJ and custom-written Matlab scripts. In brief, rectangle ROIs (Figure 1E, left panel) were manually drawn on the αβ lobes (one on α lobe and one on β lobe for each hemisphere), and outside the αβ lobes (one for each hemisphere) as background control. Fluorescence intensity from the cerulean channel was calculated by dividing each vertical or horizontal lobe ROI by the background ROI, and averaged between the two hemispheres for each lobe, and averaged over the 15 frames for each cycle. That from the citrine channel was obtained similarly. A FRET ratio was obtained from the above intensities, further averaged among the three cycles of acquisition, depicted as one data point in Figure 1E (right panel).

Confocal Mg2+ imaging in explant fly brain

Request a detailed protocol

Explant brains expressing c739-GAL4 driven UAS-MagIC were placed at the bottom of a 35 mm glass bottom microwell dish (Part No. P35G-1.5–14 C, MatTek Corporation), beneath extracellular saline buffer solution (103 mM NaCl, 3 mM KCl, 5 mM N-Tris, 10 mM trehalose, 10 mM glucose, 7 mM sucrose, 26 mM NaHCO3, 1 mM NaH2PO4, 1.5 mM CaCl2, 4 mM MgCl2, osmolarity 275 mOsm [pH 7.3]) following dissection in calcium-free buffer (Barnstedt et al., 2016). To determine the Mg2+ sensitivity of UAS-MagIC as well as the response of UAS-MagIC to other chemicals such as EDTA, EGTA, and CaCl2 (Figure 8B), brains were incubated in the saline buffer solution with 20 μg/ml digitonin for 6 min before imaging (Koldenkova et al., 2015). To investigate the Mg2+ fluctuation in response to Forskolin (FSK) application (Figure 8C–I), brains were put in the saline buffer solution without digitonin or incubation. In both situations, saline refers to the buffer (either with or without digitonin) in which the brain is submerged.

Imaging was carried out in a LSM780 confocal microscope (Zeiss) with a 20× air objective using the ZEN 2011 software. The Venus part of MagIC was excited with a 488 nm laser and its emission was collected in the 520–560 nm range. mCherry was excited with a 561 nm laser and its emission was collected in the 600–640 nm range. Time series were acquired at 0.5 Hz with 512 × 512 pixels and 16 bit. Following 60 s of baseline Venus/mCherry measurement, 2–20 µl of saline or other relevant chemical solution was added via a micropipette to the dish with constant image capture. The effects of applied agents on Venus/mCherry emission were then recorded for 15–20 min.

Image stacks were subsequently analyzed using ImageJ and custom-written Python scripts. In brief, rectangle ROIs were manually drawn on the αβ neurons (one for each hemisphere, Figure 8A), and another ROI of the same size was drawn in the middle but outside the MBs as background control. Fluorescence intensity from the Venus (or mCherry) channel was calculated by subtracting the background ROI from the calyx ROIs, respectively, and averaged between the two hemispheres. This is referred as ‘Rel. Intensity (a.u.)' in Figure 8D and E. The ratio between Venus and mCherry intensity was calculated as ‘MagIC Ratio’ in Figure 8B and C and Figure 8F and G. For Figure 8H, the intensity for the two channels was calculated separately. In this case, ‘Rel. Intensity (ΔF/F0)’ refers to the relative fluorescence intensity normalized to the mean intensity from the baseline period F0, calculated as (F−F0)/F0. The relative intensity ΔF/F0 of Venus was used to calculate the PSD (Figure 8I) through python function psd (under matplotlib.pyplot), which adopted a Welch’s average periodogram method (Bendat et al., 2000).

Reverse transcription and quantitative real-time PCR

Request a detailed protocol

For each sample, 120 flies were frozen in liquid nitrogen and their heads were homogenized completely in TRIzol reagent (Invitrogen). Total RNA was extracted using Direct-zol RNA MiniPrep (R2050) kit following the manufacturer’s instructions. cDNA was synthesized using SuperScript III First-Strand synthesis System (Invitrogen). Five independent samples were prepared for each different treatment or genotype. Quantitative PCR was performed in triplicate for each cDNA sample on a LightCycler 480 Instrument (Roche) using SYBR Green I Master Mix (Roche). Melting curves were analyzed after amplification, and amplicons were visualized by agarose gel electrophoresis to confirm primer specificity. Relative transcript levels were calculated by the 2-ΔΔCt method (Livak and Schmittgen, 2001), and the geometric mean of the Ct values of three reference genes (Gapdh, Tbp, and Ef1α100E) was used for normalization. Primers are detailed in the Resource Table.

Inverse PCR

Request a detailed protocol

Inverse PCR was used to map the MiMIC insertion position in uexMI01943 flies. Genomic DNA was prepared from 15 adult flies. DNA equivalent to two flies was then digested in a 25 μl restriction reaction with Mbo I and 10 μl of the product was ligated overnight at 4°C overnight to circularize the fragments; 5 μl of the ligation product was used for inverse PCR. PCR product was purified using Exo/SAP reaction (Thermo Fisher, 78201) before being sequenced. Sequence was compared to the D. melanogaster genome (FlyBase, Release 6) by BLAST and matched uniformly to the region 3,882,886.3,882,641 on 2R, consistent with the reported uexMI01943 insertion on FlyBase. Primers detailed in the Resource Table.

Protein domain prediction and alignment

Request a detailed protocol

Protein sequence alignment was carried out using Geneious R10.2.2. Protein domain prediction was performed with InterPro (Finn et al., 2017; Jones et al., 2014) and Phyre2 (Kelley et al., 2015). Protein domain and structure alignment was performed using TM-align (Zhang and Skolnick, 2005). Protein structure visualization was rendered in Chimera 1.11.2 (Pettersen et al., 2004).

Quantification and statistical analyses

Request a detailed protocol

Behavior data were analyzed using Excel and Prism 6. Imaging data were analyzed using ImageJ and custom-written MATLAB or Python scripts. Unpaired two-tailed t-tests were used for comparing two groups, and one-way ANOVA followed by a Tukey’s post-hoc test was used for comparing multiple groups. Threshold of statistical significance was set at p<0.05.

Data availability

Behaviour data from T-maze assays are deposited in Dryad Digital Repository (https://doi.org/10.5061/dryad.q2bvq83hs). All other data generated or analysed during this study are included in the manuscript and supporting files.

The following data sets were generated

References

    1. Andrási E
    2. Igaz S
    3. Molnár Z
    4. Makó S
    (2000)
    Disturbances of magnesium concentrations in various brain Areas in Alzheimer’s disease
    Magnesium Research 13:189–196.
    1. Arcà B
    2. Zabalou S
    3. Loukeris TG
    4. Savakis C
    (1997)
    Mobilization of a Minos transposon in Drosophila melanogaster chromosomes and chromatid repair by heteroduplex formation
    Genetics 145:267–279.
  1. Book
    1. Billard JM
    (2011)
    Brain magnesium homeostasis as a target for reducing cognitive ageing
    In: Vink R, Nechifor M, editors. Magnesium and Alzheimer’s Disease. University of Adelaide Press. pp. 99–112.
    1. Brand AH
    2. Perrimon N
    (1993)
    Targeted gene expression as a means of altering cell fates and generating dominant phenotypes
    Development 118:401–415.
    1. Bubis J
    2. Neitzel JJ
    3. Saraswat LD
    4. Taylor SS
    (1988)
    A point mutation abolishes binding of cAMP to site A in the regulatory subunit of cAMP-dependent protein kinase
    The Journal of Biological Chemistry 263:9668–9673.
  2. Book
    1. Chui D
    2. Chen Z
    3. Yu J
    4. Zhang H
    5. Wang W
    6. Son Y
    7. Yang H
    8. Liu Y
    (2011)
    Magnesium and Alzheimer’s disease
    In: Vink R, Nechifor M, editors. Magnesium in the Central Nervous System. University of Adelaide Press. pp. 239–250.
    1. Durlach J
    2. Bac P
    3. Durlach V
    4. Durlach A
    5. Bara M
    6. Guiet-Bara A
    (1997)
    Are age-related neurodegenerative diseases linked with various types of magnesium depletion?
    Magnesium Research 10:339–353.
    1. Howarth FC
    2. Waring J
    3. Hustler BI
    4. Singh J
    (1994)
    Effects of extracellular magnesium and beta adrenergic stimulation on contractile force and magnesium mobilization in the isolated rat heart
    Magnesium Research 7:187–197.
  3. Book
    1. Vink R
    2. Nechifor M
    (2011)
    Magnesium in the Central Nervous System
    University of Adelaide Press.
    1. Vormann J
    2. Günther T
    (1987)
    Amiloride-sensitive net Mg2+ efflux from isolated perfused rat hearts
    Magnesium 6:220–224.

Article and author information

Author details

  1. Yanying Wu

    Centre for Neural Circuits and Behaviour, The University of Oxford, Tinsley Building, Oxford, United Kingdom
    Contribution
    Conceptualization, Formal analysis, Validation, Investigation, Visualization, Methodology, Writing - original draft, Writing - review and editing
    Competing interests
    No competing interests declared
  2. Yosuke Funato

    Department of Cellular Regulation, Research Institute for Microbial Diseases, Osaka University, Suita, Japan
    Contribution
    Formal analysis, Validation, Investigation, Visualization, Methodology
    Competing interests
    No competing interests declared
  3. Eleonora Meschi

    Centre for Neural Circuits and Behaviour, The University of Oxford, Tinsley Building, Oxford, United Kingdom
    Contribution
    Formal analysis, Investigation
    Competing interests
    No competing interests declared
    ORCID icon "This ORCID iD identifies the author of this article:" 0000-0003-2401-7969
  4. Kristijan D Jovanoski

    Centre for Neural Circuits and Behaviour, The University of Oxford, Tinsley Building, Oxford, United Kingdom
    Contribution
    Formal analysis, Investigation, Methodology
    Competing interests
    No competing interests declared
  5. Hiroaki Miki

    Department of Cellular Regulation, Research Institute for Microbial Diseases, Osaka University, Suita, Japan
    Contribution
    Resources, Supervision, Funding acquisition, Methodology
    Competing interests
    No competing interests declared
  6. Scott Waddell

    Centre for Neural Circuits and Behaviour, The University of Oxford, Tinsley Building, Oxford, United Kingdom
    Contribution
    Conceptualization, Resources, Supervision, Funding acquisition, Methodology, Writing - original draft, Project administration, Writing - review and editing
    For correspondence
    scott.waddell@cncb.ox.ac.uk
    Competing interests
    No competing interests declared
    ORCID icon "This ORCID iD identifies the author of this article:" 0000-0003-4503-6229

Funding

Wellcome (200846/Z/16/Z)

  • Scott Waddell

European Commission (789274)

  • Scott Waddell

EMBO (ALTF 184-2019)

  • Eleonora Meschi

The funders had no role in study design, data collection and interpretation, or the decision to submit the work for publication.

Acknowledgements

We thank F J Arjona and J G J Hoenderop for the murine CNNM2 clones and comments on the manuscript. We are grateful to T Nagai for clones of MagIC and MARIO and to the Bloomington Stock Center and VDRC for flies. We thank P Cognigni, Y Huang, R Brain, R Szoke-Kovacs, and M Goodwin for technical support and other members of the Waddell group for discussion. We acknowledge N Halidi, C Monico, and the Micron Advanced Bioimaging Unit (supported by Wellcome Strategic Awards 091911/B/10/Z and 107457/Z/15/Z) for their support and assistance in this work. E M was funded by an EMBO Long-term fellowship (ALTF 184-2109). K D J acknowledges support from the Rhodes Trust. S W was funded by a Wellcome Principal Research Fellowship (200846/Z/16/Z) and an ERC Advanced Grant (789274).

Copyright

© 2020, Wu et al.

This article is distributed under the terms of the Creative Commons Attribution License, which permits unrestricted use and redistribution provided that the original author and source are credited.

Metrics

  • 3,592
    views
  • 455
    downloads
  • 8
    citations

Views, downloads and citations are aggregated across all versions of this paper published by eLife.

Download links

A two-part list of links to download the article, or parts of the article, in various formats.

Downloads (link to download the article as PDF)

Open citations (links to open the citations from this article in various online reference manager services)

Cite this article (links to download the citations from this article in formats compatible with various reference manager tools)

  1. Yanying Wu
  2. Yosuke Funato
  3. Eleonora Meschi
  4. Kristijan D Jovanoski
  5. Hiroaki Miki
  6. Scott Waddell
(2020)
Magnesium efflux from Drosophila Kenyon cells is critical for normal and diet-enhanced long-term memory
eLife 9:e61339.
https://doi.org/10.7554/eLife.61339

Share this article

https://doi.org/10.7554/eLife.61339

Further reading

  1. Magnesium supplements help boost long-term memory in flies

    1. Neuroscience
    Nishal Pradeepbhai Shah, AJ Phillips ... EJ Chichilnisky
    Tools and Resources

    Neural implants have the potential to restore lost sensory function by electrically evoking the complex naturalistic activity patterns of neural populations. However, it can be difficult to predict and control evoked neural responses to simultaneous multi-electrode stimulation due to nonlinearity of the responses. We present a solution to this problem and demonstrate its utility in the context of a bidirectional retinal implant for restoring vision. A dynamically optimized stimulation approach encodes incoming visual stimuli into a rapid, greedily chosen, temporally dithered and spatially multiplexed sequence of simple stimulation patterns. Stimuli are selected to optimize the reconstruction of the visual stimulus from the evoked responses. Temporal dithering exploits the slow time scales of downstream neural processing, and spatial multiplexing exploits the independence of responses generated by distant electrodes. The approach was evaluated using an experimental laboratory prototype of a retinal implant: large-scale, high-resolution multi-electrode stimulation and recording of macaque and rat retinal ganglion cells ex vivo. The dynamically optimized stimulation approach substantially enhanced performance compared to existing approaches based on static mapping between visual stimulus intensity and current amplitude. The modular framework enabled parallel extensions to naturalistic viewing conditions, incorporation of perceptual similarity measures, and efficient implementation for an implantable device. A direct closed-loop test of the approach supported its potential use in vision restoration.