Skip to main content
Advertisement
  • Loading metrics

The foraging gene coordinates brain and heart networks to modulate socially cued interval timing in Drosophila

  • Hongyu Miao ,

    Contributed equally to this work with: Hongyu Miao, Wengjing Li

    Roles Investigation, Writing – review & editing

    Affiliation HIT Center for Life Sciences, School of Life Science and Technology, Harbin Institute of Technology, Harbin, China

  • Wengjing Li ,

    Contributed equally to this work with: Hongyu Miao, Wengjing Li

    Roles Investigation, Writing – review & editing

    Affiliation HIT Center for Life Sciences, School of Life Science and Technology, Harbin Institute of Technology, Harbin, China

  • Yongwen Huang,

    Roles Investigation, Writing – review & editing

    Affiliation HIT Center for Life Sciences, School of Life Science and Technology, Harbin Institute of Technology, Harbin, China

  • Woo Jae Kim

    Roles Formal analysis, Funding acquisition, Investigation, Methodology, Project administration, Resources, Visualization, Writing – original draft, Writing – review & editing

    wkim@hit.edu.cn

    Affiliation HIT Center for Life Sciences, School of Life Science and Technology, Harbin Institute of Technology, Harbin, China

Correction

5 May 2026: Miao H, Li W, Huang Y, Kim WJ (2026) Correction: The foraging gene coordinates brain and heart networks to modulate socially cued interval timing in Drosophila. PLOS Genetics 22(5): e1012140. https://doi.org/10.1371/journal.pgen.1012140 View correction

Abstract

The foraging gene (for) regulates behavioral plasticity and decision-making, influencing adaptive behaviors such as foraging, learning, and memory. In Drosophila melanogaster, we explore its role in interval timing behaviors, particularly mating duration. Two allelic variants, rover (forR) and sitter (forS), exhibit distinct effects: forR disrupts shorter mating duration (SMD) but not longer mating duration (LMD), while forS impairs LMD but not SMD. Transheterozygotes (forR/forS) disrupt both behaviors, revealing complex allelic interactions. Using single-cell RNA sequencing and knockdown experiments, we identify foraging expression in Pdfr-positive neurons and fru-positive heart cells as critical for LMD. While the gene is expressed in memory-related brain regions, its impact on LMD is mediated through peptidergic signaling and calcium dynamics in the heart. Social context-dependent calcium fluctuations, observed via CaLexA signals, are disrupted by foraging or Pdfr knockdown, impairing LMD. These findings highlight the foraging gene’s role in integrating social cues with physiological states. This study demonstrates the foraging gene’s pleiotropic roles in regulating interval timing through neural and non-neural mechanisms, offering insights into the genetic and environmental interplay underlying adaptive behaviors.

Author summary

This study reveals that the foraging gene, traditionally associated with behaviors such as foraging and learning, plays a critical role in interval timing (e.g., regulation of mating duration) in fruit flies (Drosophila melanogaster). Two natural alleles of the gene, rover (forR) and sitter (forS), specifically disrupt sexually experienced-induced shorter mating duration (SMD) and socially competitive-induced longer mating duration (LMD), respectively, while their transheterozygotes (forR/forS) impair both behaviors. Through single-cell RNA sequencing and functional experiments, the study identifies key roles for foraging in Pdfr-positive neurons of the brain’s central complex and fru-positive cells in the heart. Although the gene is expressed in brain regions associated with memory, its effect on LMD depends on peptidergic signaling (via Pdfr) and calcium dynamics in the heart. Social context (e.g., group vs. isolated rearing) regulates calcium fluctuations in heart cells, a process disrupted by foraging or Pdfr knockdown, thereby impairing LMD. These findings uncover a novel mechanism by which the foraging gene integrates social cues with physiological states through neural and non-neural pathways, providing new insights into how genes regulate adaptive behaviors and their interactions with the environment via complex networks.

Introduction

The foraging gene (for) has emerged as a pivotal factor in the regulation of behavioral plasticity and decision-making processes across various species, including the fruit fly Drosophila melanogaster [1,2] and honeybee [3]. This gene plays a crucial role in shaping an organism’s foraging strategies by influencing traits such as olfactory learning and memory [410]. The study of the foraging gene has provided valuable insights into the complex interplay between genetics and behavior, highlighting its significance in understanding the adaptive behaviors of organisms in response to their environment [3,6].

Interval timing behaviors, the ability to measure and respond to the passage of time, are integral to various aspects of an organism’s life, including foraging, mating, and social interactions [11,12]. These behaviors are thought to be mediated by neural circuits that are conserved across species [13]. In recent years, researchers have discovered a remarkable connection between interval timing behaviors and social behaviors, suggesting a shared neural and genetic basis [14].

The mating duration (MD) of male fruit flies, Drosophila melanogaster, serves as an excellent model for studying interval timing behaviors. In Drosophila, two notable interval timing behaviors related to mating duration have been identified: Longer-Mating-Duration (LMD), which is observed when males are in the presence of competitors and extends their mating duration [1517] and Shorter-Mating-Duration (SMD), which is characterized by a reduction in mating time and is exhibited by sexually experienced males [18,19]. The MD of male fruit flies serves as an excellent model for studying interval timing, a process that can be modulated by internal states and environmental contexts. Previous studies by our group [15,16,1922] and others [2326] have established robust frameworks for investigating MD using advanced genetic tools, enabling the dissection of neural circuits and molecular mechanisms that govern interval timing.

The foraging gene emerged as a strong candidate for regulating LMD due to its well-documented role in behavioral plasticity and decision-making processes [6,27,28]. The foraging gene encodes a cGMP-dependent protein kinase (PKG), which has been implicated in modulating foraging behavior, aggression, and other context-dependent behaviors in Drosophila. Its involvement in these processes suggests a potential role in integrating environmental cues and internal states to regulate interval timing, such as LMD. Furthermore, the molecular mechanisms underlying interval timing have been explored in other contexts, such as the work of the Crickmore et al. [29], which has demonstrated the critical role of CREB (cAMP response element-binding protein) in regulating behavioral timing and plasticity. CREB-dependent signaling pathways, along with other molecular players like PKG, provide a broader framework for understanding how interval timing is orchestrated at the neural and molecular levels [2326,30,31]. By investigating foraging in the context of LMD, we aim to uncover how specific genetic and neural mechanisms fine-tune interval timing in response to social and environmental cues, contributing to a deeper understanding of the principles governing behavioral adaptation.

MD represents a critical investment of time for male reproductive success, highlighting its significance as a model for investigating interval timing. This parameter offers a valuable opportunity to explore the evolutionary and physiological roles of genes involved in this complex behavior [32]. From an evolutionary perspective, the ability to accurately regulate mating duration allows males to maximize their reproductive output by optimizing their investment of time and energy. This time investment strategy is crucial for competing with other males and ensuring successful fertilization of female eggs [19]. Physiologically, mating duration is influenced by a complex interplay of neural circuits, hormonal signals, and sensory inputs. Understanding the genes and mechanisms underlying this behavior can provide valuable insights into the neural substrates of interval timing and the regulation of reproductive behaviors [15,16,18,19,3335].

The MD of male fruit flies is highly dependent on gene-environment interactions, making it a promising candidate to be regulated by the foraging gene function [15,16,19]. The foraging gene, known for its role in mediating behavioral plasticity and decision-making processes, is likely to influence mating duration by modulating the fly’s response to environmental cues and social context. For instance, in the presence of competitors, the foraging gene may upregulate MD (LMD) to enhance reproductive success, while in situations of sexual satiation, it may downregulate MD (SMD) to conserve energy and resources. By examining the expression and function of the foraging gene in relation to MD, we can gain valuable insights into the intricate interplay between genetics, behavior, and environmental factors in Drosophila.

In this study, we demonstrate that genes traditionally associated with foraging behavior are also involved in interval timing, a cognitive process crucial for decision-making and behavior [12,36]. This discovery challenges the assumption that these genes are solely dedicated to optimizing foraging strategies and suggests a broader role for these genes in regulating time perception and behavior across various contexts [13,37]. Our findings indicate that the interplay between foraging genes and interval timing circuits may be crucial for animals to adapt their behavior to changing environmental conditions and maximize their overall fitness. This suggests that the evolution of interval timing and foraging behaviors might be more interconnected than previously thought [38,39].

Understanding the mechanisms by which foraging genes influence interval timing can provide valuable insights into the neural and genetic basis of time perception and decision-making. This knowledge has the potential to contribute to our understanding of various behaviors, including foraging, learning, and memory, and their adaptive significance in different ecological contexts.

Results

Two distinct foraging allele, rover and sitter affect distinct interval timing behaviors

The foraging gene in Drosophila gives rise to two distinct phenotypes known as rover (forR) and sitter (forS), which exhibit natural variations in foraging behavior. Rover larvae cover larger areas within food patches and greater movement between patches than sitters. Rover larvae and adults are more active than their sitter counterparts. This behavioral variation is primarily due to allelic differences in the foraging gene, which is located on the second chromosome and encodes a cGMP-dependent protein kinase (PKG). Natural rover (forR/forR) and sitter (forˢ/forˢ) strains exhibit allelic differences in foraging gene expression, with rovers showing elevated PKG activity compared to sitters due to the hypomorphic nature of the forˢ allele [40]. The kinase encoded by foraging is a critical regulator of numerous downstream targets, leading to a range of pleiotropic effects associated with the foraging gene [1,4143].

Moreover, the cultured giant neural characteristics of these phenotypes are distinctly different [42]. Neurons from sitter-allele homozygotes (forˢ/forˢ) display higher levels of spontaneous activity and exhibit exaggerated responses to stimulation, known as excessive evoked firing, which are not observed in neurons from rover-allele homozygotes (forR/forR). This heightened excitability in neurons of sitter allele is attributed to a reduction in voltage-dependent potassium (K+) currents and the presence of excitable synapses. Additionally, the axon terminal projections of sitter strains are altered, further highlighting the neural basis for the behavioral differences between these two foraging strategies [42]. The foraging gene’s pleiotropic roles in synaptic structure, vesicle dynamics, and neuronal-glial interactions underscore its importance in balancing energy allocation and synaptic plasticity. These findings provide a framework for understanding how genetic variation in for (PKG) shapes adaptive behaviors through NMJ remodeling [44,45].

The forR homozygote allele displayed deficiencies exclusively in SMD behavior (sup 1A), while the forS homozygote allele exhibited deficits only in LMD behavior (Fig 1B). Strikingly, the forR/forS transheterozygote exhibited deficits in both LMD and SMD behaviors (Fig 1C), indicating that each allele specifically affects distinct interval timing behaviors. All adult flies that are heterozygous for the control demonstrate typical LMD behavior (S1A and S1B Fig). Therefore, each forR or forS allele displays a dominant phenotype when paired with another forR or forS allele (Fig 1C), but this dominance is lost when they are paired with a wild-type for allele (S1A and S1B Fig). In molecular terms, these findings indicate that the PKG activity and regulatory mechanisms associated with each foraging homozygous allele is essential for disrupting LMD or SMD behaviors. Therefore, we hypothesize that an extremely high level of PKG activity specifically disrupts SMD, while an extremely low level of PKG activity specifically disrupts LMD behavior.

thumbnail
Fig 1. Interval behavior is regulated by two distinct foraging alleles.

(A-C) LMD and SMD assays for forR homozygous variants, forS homozygous variants and transheterozygote forR/forS. Light grey dots represent group males and blue dots represent single reared ones. Dot plots represent the MD (Mating Duration) of each male fly. DBMs represent difference between means. The mean value and standard error are labeled within the dot plot (black lines). Asterisks represent significant differences, as revealed by the Student’s t test (* p < 0.05, ** p < 0.01, *** p < 0.001). The same notations for statistical significance are used in other figures. (D) LMD assay of flies expressing elavc155 (neuron) driver together with for-RNAi. (E) LMD assay of flies expressing repo-GAL4 (glia) driver together with for-RNAi. (F) Single-cell RNA sequencing (SCOPE scRNA-seq) datasets reveal cell clusters colored by expression of foraging (red), nSyb/elav (blue/green) in neurons. (G) SCOPE scRNA-seq datasets reveal cell clusters colored by expression of foraging (red), CNS surface glia/repo (blue/green) in glia cells.

https://doi.org/10.1371/journal.pgen.1011752.g001

Given the more pronounced defects associated with the sitter allele which shows lower PKG activity [41,42,46], we have chosen to concentrate our efforts on elucidating the genes and neural circuits that underlie the influence of the foraging gene on LMD behavior, with the aim of mapping the precise mechanisms governing this aspect of interval timing.

Memory circuitry for LMD behavior is not linked to the function of foraging

To recreate the effects of the forS allele, we employed RNA interference (RNAi)-mediated gene knockdown. This technique lowers the expression of the PKG gene, consequently reducing PKG activity in cells expressing GAL4. The neuronal knockdown of for using two distinctive RNAi strains disrupted LMD behavior (Figs 1D and S1C), however glial knockdown had no effect (Fig 1E). Utilizing the cutting-edge fly SCope single-cell RNA-sequencing data platform [47], we detected a significant overlap in the expression of the foraging gene with two key markers: elav, indicative of neuroblast activity, and nSyb, a synaptic marker, within the neuronal population (Fig 1F). This co-expression pattern implies that the foraging gene likely plays a role in neuronal function. The foraging gene also exhibits a strong expression correlation with repo, a marker for glial cells, and is prominently expressed in specific regions of the central nervous system (CNS) surface glia (Fig 1G). Given that RNAi and GAL4 control cross flies exhibit normal LMD behavior (S1D and S1E Fig), we infer that the neuronal function of the foraging gene is indispensable for the generation of LMD behavior, whereas the glial function is not. Knockdown of foraging using the nSyb-GAL4 driver, located on the third chromosome, also disrupted LMD behavior, confirming that the chromosomal location of the GAL4 transgene does not influence the observed effects of foraging knockdown (S1G Fig).

Given the foraging gene’s established role in learning and memory in Drosophila [48,49], we investigated its function in key brain regions associated with memory. We have previously demonstrated that the neural circuits responsible for the formation and retention of longer mating duration (LMD) memories are located within the R2-R4m ring neurons of the ellipsoid body (EB) [15]. Knockdown of for in the mushroom body (MB) (Fig 2A), fan-shaped body (FB) (Fig 2B), EB (Fig 2C), and pars intercerebrails (PI) (Fig 2D) did not affect LMD behavior, indicating that for expression in these memory-related brain regions is dispensable for LMD generation. This aligns with previous findings that MB ablation via hydroxyurea feeding did not alter the locomotor activity of rover and sitter larval morphs [50]. Our findings reveal those molecular markers for the MB (Fas2- and Mef2-positive) [51,52], EB (Hk- and AstA-R1-positive) [53,54], FB (Dh31- and ss-positive) [55,56], and PI (Ilp2-positive but Ilp7-negative) [57] specifically overlap with foraging gene expression in certain neuronal populations (Fig 2EH). This suggests that foraging gene expression within these memory-related brain regions is not essential for the formation of memories underlying LMD behavior, contrary to the previous assumption that such memories were primarily localized to the EB rather than the MB or FB [15]. Therefore, the foraging gene may not be directly involved in the generation of LMD-related memories, or there may be other, as yet unidentified, brain regions critical for this function.

thumbnail
Fig 2. The memory circuitry responsible for LMD behavior does not correlate with foraging activities.

(A) LMD assay of flies expressing MB247-GAL4 (MB) driver together with for-RNAi. (B) LMD assay of flies expressing GAL414-94(FB) driver together with for-RNAi. (C) LMD assay of flies expressing c547-GAL4 (EB) driver together with for-RNAi. (D) LMD assay of flies expressing Ilp2-GAL4 (PI) driver together with for-RNAi. (E) SCOPE scRNA-seq datasets reveal cell clusters colored by expression of foraging (red), Fas2/Mef2 (blue/green) in glia cells. (F) SCOPE scRNA-seq datasets reveal cell clusters colored by expression of foraging (red), Hk/AstA-R1 (blue/green) in neurons. (G) SCOPE scRNA-seq datasets reveal cell clusters colored by expression of foraging (red), Dh31/ss (blue/green) in glia cells. (H) SCOPE scRNA-seq datasets reveal cell clusters colored by expression of foraging (red), Ilp7/Ilp2 (blue/green) in glia cells.

https://doi.org/10.1371/journal.pgen.1011752.g002

A distinct population of peptidergic neurons that express the for gene are responsible for regulating LMD

LMD behavior is known to depend on the peptidergic circuitry of PDF/NPF, but not sNPF [16]. However, our data show that foraging gene expression in these peptidergic neurons does not affect LMD behavior, nor is foraging gene expression detected in these circuits (Fig 3AF). This indicates that foraging gene expression in the peptidergic neurons is also not required for LMD behavior associated with foraging gene function. Despite the absence of a clear co-expression pattern between foraging gene and Pdf or NPF in neuronal populations, we observed a significant overlap between the expression of sNPF and foraging gene (Fig 3F).

thumbnail
Fig 3. Pdfr neurons that express the for gene are responsible for regulating LMD.

(A) LMD assay of flies expressing Pdf-GAL4 driver together with for-RNAi. (B) SCOPE scRNA-seq datasets reveal cell clusters colored by expression of foraging (blue), Pdf (green) in neurons. (C) LMD assay of flies expressing NPF-GAL4 driver together with for-RNAi. (D) SCOPE scRNA-seq datasets reveal cell clusters colored by expression of foraging (blue), NPF (green) in neurons. (E) LMD assay of flies expressing sNPF-GAL4 driver together with for-RNAi. (F) SCOPE scRNA-seq datasets reveal cell clusters colored by expression of foraging (blue), sNPF (green) in neurons. (G) LMD assay of flies expressing cry-GAL4 driver together with for-RNAi. (H) LMD assay of flies expressing Pdfr2A-GAL4 driver together with for-RNAi. (I) SCOPE scRNA-seq datasets reveal cell clusters colored by expression of foraging (blue), cry (green) in neurons. (J) SCOPE scRNA-seq datasets reveal cell clusters colored by expression of foraging (blue), Pdfr (green) in neurons. (K) SCOPE scRNA-seq datasets reveal cell clusters colored by expression of foraging (red), cry/Pdfr (blue/green) in neurons. (L) LMD assay for Pdfr2A-GAL4 drives for overexpression under fors homozygote. (M) Male flies brain expressing the Pdfr2A-GAL4 together with UAS-myrGFP were immunostained with anti-GFP (green) and nc82 (magenta) antibodies. Scale bars represent 100 μm.

https://doi.org/10.1371/journal.pgen.1011752.g003

Given that Pdf signaling is known to operate through cry- and Pdfr-positive clock neuronal circuits [16], we investigated the role of foraging gene within these circuits. We discovered that knocking down foraging gene expression in Pdfr-expressing cells, but not cry-expressing cells impairs LMD behavior (Fig 3GH), and that foraging gene is expressed in a specific neuronal population where cry and Pdfr are expressed (Fig 3IK). Furthermore, genetically restoring wild-type foraging gene expression in Pdfr-positive cells of the forS variant background rescues LMD behavior (Figs 3L and S1F), indicating that Pdfr-positive cells are a crucial population for the generation of LMD behavior in the context of foraging gene function.

Expression of foraging in Pdfr-expressing specific cell population is essential for the induction of LMD behavior

Upon examining the expression patterns of Pdfr-positive cells in the brain, we observed robust expression within the EB (Fig 3M). Our previous research also suggested that the EB is a central region involved in forming memories related to LMD [15]. To identify the precise region within the EB where the foraging gene is active in promoting LMD behavior, we employed a mini-scale screening approach using established enhancer trap GAL4 lines [58]. These lines have been effectively utilized to delineate the anatomical structure of the adult central complex. We identified cells labeled by 30y- and c61-GAL4 drivers as potential candidates (Fig 4AJ). The 30y-GAL4 driver is known for its expression in the MB, EB and FB, subesophageal ganglion (SOG), antennal & optic lobes (AL & OL), protocerebrum, and median bundle. Meanwhile, c61-GAL4 has been associated with expression in Fa3 neurons of the central complex (CC) and extends projections through the protocerebral bridge (PB) to the FB [5860]. Given that the c61-GAL4 driver, which is specific to a restricted set of neurons, disrupted LMD behavior when for gene expression was knocked down (Fig 4J), while the broader EB driver c547-GAL4 did not (Fig 2C), we hypothesize that a very specific subset of c61-positive neurons that are c547-negative are solely responsible for the neuronal function of foraging that leads to LMD.

thumbnail
Fig 4. Candidate Pdfr-expressing cells in the ellipsoid body drivers for LMD screening.

(A-J) LMD assays for male knockdown of foraging driven by subsets of neuronal cell lines of the EB, 30y-GAL4(A), 078y-GAL4 (B), 210y-GAL4 (C), 104y-GAL4 (D), 007y-GAL4 (E), c42-GAL4 (F), c232-GAL4 (G), c205-GAL4 (H), c161-GAL4 (I), and c61-GAL4 (J). (K) LMD assay for male knockdown of foraging driven by EB-split-GAL4, SS00096. (L) Male flies expressing EB-split-GAL4, SS00096, with UAS-myrGFP. Source image lsm files (~500MB) were downloaded from FlyLight platform constructed by Janelia Farm Research Center (JFRC) then reconstructed using ImageJ https://flylight-raw.janelia.org/cgi-bin/view_raw_imagery.cgi?line=SS00096 [96, 97]. Scale bars represent 100 μm.

https://doi.org/10.1371/journal.pgen.1011752.g004

Screening for overexpression of the foraging gene has provided evidence that the expression level of foraging in cells targeted by the 30y-GAL4 and c61-GAL4 drivers is critical for the generation of LMD (S2A–K Fig). This finding aligns with previous research indicating that feeding-related traits are influenced by the dosage of the foraging gene [40]. By expressing wild-type for gene in cells labeled by the 30y-GAL4 driver, we were able to restore normal LMD behavior (S2L Fig). Moreover, utilizing a recently identified EB-split GAL4 driver line (SS00096) [61], we demonstrated that knocking down for expression in specific EB neurons significantly impacts LMD behavior (Fig 4KL). Aligning with genetic control data (S2M Fig), our results further suggest that the interval timing-related traits are also modulated by the dosage of the foraging gene within specific cell populations of the EB.

foraging expression in the heart modulates calcium dynamics via Pdfr signaling to regulate LMD behavior

Although the specific population of neurons in the EB relies on the foraging gene for the induction of LMD, there may also be a non-neuronal contribution from the foraging gene to elicit LMD behavior. This is supported by our recent findings that corazonin receptor (CrzR), a gene expressed in glial cells, is a crucial component for LMD [62]. Recent studies have indicated that the foraging gene is expressed across various tissues and is not confined to neuronal populations, extending its reach to glial subtypes and peripheral tissues such as the gastric and reproductive systems [63]. Additionally, the expression of the foraging gene in multiple tissues and organs is known to be influenced by starvation [10]. Utilizing the fly SCope 10x-Cross tissue platform, we discovered that the foraging gene is expressed at high levels in the majority of tissues (S3A–N Fig). Notably, the foraging gene shows particularly strong co-expression with Pdfr in the fat body (S3A Fig), muscle (S3I Fig), and oenocytes (S3J Fig). Using the 10x and SMART-seq2 platforms, we identified robust co-expression of foraging and Pdfr in the heart (Fig 5A).

thumbnail
Fig 5. Sexually dimorphic expression of the foraging gene in the heart.

(A) SCOPE scRNA-seq datasets reveal cell clusters colored by expression of foraging (blue), Pdfr (green) in heart. (B-E) LMD assays for tissue-specific knockdown of foraging via for-RNAi using (B) ppl-GAL4, (C) Mhc-GAL4, (D) PromE800-GAL4ts and (E) Hand-GAL4. (F-I) LMD assays for tissue-specific knockdown of Pdfr via Pdfr-RNAi using (F) ppl-GAL4, (G) Mhc-GAL4, (H) PromE800-GAL4ts and (I) Hand-GAL4. (J) SCOPE scRNA-seq datasets reveal cell clusters colored by expression of foraging (blue), fruitless/Pdfr (red/green) in heart. (K-L) SCOPE scRNA-seq datasets reveal cell clusters colored by expression of foraging (red), doublesex/fruitless (blue/green) in heart (K) and neurons (L). (M) Male flies heart expressing the UAS(FRT.stop)mCD8GFP; fruFLP together with Pdfr2A-GAL4 were immunostained with anti-GFP (green) antibody and phalloidin (magenta). (N) LMD assay for male knockdown of foraging driven by fru-GAL4. Scale bars represent 100 μm. (O) LMD assay for male knockdown of foraging driven by dsx-GAL4.

https://doi.org/10.1371/journal.pgen.1011752.g005

Our findings implicate PDF-PDFR mediated peptidergic signaling as a mechanism through which this specific organ system influences a diverse array of behaviors and physiological processes. Considering the critical role of these organs in sugar and lipid metabolism, essential for energy storage and homeostasis, it is plausible that foraging gene expression within these tissues may significantly regulate energy-related behaviors and physiological responses [6468]. Notably, the knockdown of foraging gene expression in the fat body, muscle, and oenocytes did not perturb LMD behavior (Fig 5BD). However, targeted knockdown of foraging in the heart using the Hand-GAL4 driver resulted in disrupted LMD behavior (Fig 5E). Similarly, knockdown of Pdfr in both muscle and heart tissues also led to impaired LMD (Fig 5FI), indicating that Pdfr expression in the heart and muscle is essential for activating the signaling pathways required to generate LMD behavior. These results indicate that foraging gene expression in the heart (S3O Fig) is essential for the maintenance of interval timing behaviors.

Interval timing generation depends on foraging function in fru-positive heart cells

LMD represents a male-specific interval timing behavior that relies on sexually dimorphic NPF neurons situated within the brain [15,16]. In Drosophila, sex-biased gene expression in the brain can indeed represent sexual dimorphic features [69]. Sexual dimorphism refers to the phenotypic differences between males and females of the same species. These differences can be influenced by genetic factors, including differential expression of genes between the sexes [70,71].

In Drosophila, sexual dimorphism refers to the distinct differences in phenotype between males and females. These differences are largely determined by the expression of the fruitless (fru) and doublesex (dsx) genes, which play critical roles in the development of male and female characteristics. These genes regulate the development of male and female-specific traits, contributing to the distinct phenotypes observed between males and females of the same species [7276].

Investigation of the co-expression patterns of the foraging gene with fru and dsx revealed distinct heart cell and neuronal populations that express foraging in conjunction with either fru or dsx (Fig 5JL). The fru gene is primarily involved in the regulation of sexual behaviors through the modulation of neural pathways, whereas dsx exhibits broader effects, impacting both neuronal circuits and the development of sexual characteristics in various cell types, extending beyond neurons [73]. Indeed, we observed Pdfr expression in both fru-positive neurons and heart cells (Figs 5M and S3P). Notably, Pdfr-positive brain neurons did not overlap with the EB, consistent with previous reports that EB cells are not fru-positive [77,78]. Additionally, we found that the 30y-GAL4 driver labels fru-positive heart cells, similar to the Pdfr2A-GAL4 driver (S3Q Fig). Specifically, the inhibition of the for gene in fru-expressing cells resulted in the disruption of LMD behavior (Fig 5N), whereas the knockdown of the for gene in dsx-expressing cells did not affect LMD behavior (Fig 5O).

Therefore, we conclude that the knockdown and genetic rescue effects observed with the Pdfr2A-GAL4 driver (Fig 3J and 3L) and the 30y-GAL4 driver (Figs 4A, S2A, and S2L) are attributable to their expression in the heart. In summary, our findings demonstrate that fru-positive heart cells expressing foraging and Pdfr play a critical role in mediating LMD behavior. These findings support the hypothesis that foraging exhibits sexually dimorphic effects primarily in male-specific neuronal populations.

Heart calcium dynamics are regulated by foraging and Pdfr signaling in a social context-dependent manner

Given the compelling evidence indicating that foraging function is exclusively dependent on a specific neuronal population and not on other tissues for the manifestation of LMD behavior, we sought to explore the calcium response properties of forMI01791-TG4.1 neurons in flies experiencing diverse social conditions. Utilizing CaLexA, a transcription-based calcium reporter system [79], we observed elevated levels of CaLexA signals originating from for-positive neurons within the central brain region of group-reared male flies compared to those reared in isolation (S4AC Fig). In contrast, the levels of CaLexA signals within the fat body remained unchanged between socially isolated and group-reared flies (S4DE Fig). This differential response suggests that calcium signaling within a specific neuronal population proximal to the central brain region plays a pivotal role in modulating interval timing behavior.

Calcium dynamics play a pivotal role in regulating heart function across species, from humans to fruit fly [8082]. In humans, calcium ions (Ca2⁺) are central to cardiac muscle contraction and relaxation, acting as key mediators of excitation-contraction coupling. In response to electrical signals, Ca2⁺ influx through voltage-gated channels triggers the release of stored calcium from the sarcoplasmic reticulum, leading to muscle contraction. Dysregulation of calcium handling is implicated in various cardiac pathologies, such as arrhythmias and heart failure [82]. We observed that fly heart pericardial cells (PCs) exhibit robust CaLexA signals under group-housed conditions but not in socially isolated conditions (Fig 6AC). These changes in calcium dynamics were abolished when either foraging (Fig 6DE) or Pdfr (Fig 6FG) was knocked down in the heart, indicating that both genes are essential for mediating social context-dependent calcium signaling in PCs.

thumbnail
Fig 6. The dynamics of heart calcium are modulated by foraging activities and Pdfr signaling.

(A) CalexA assay for Hand-GAL4 together with lexAop-mCD8GFP; UAS-CaLexA, lexAop-CD2-GFP of group (up) and single (bottom) male flies. The box represents the fluorescence signal of an individual pericardial cell (PC). Scale bars represent 50 μm in heart images and represent 5 μm in individual PC images. See the “Methods” for a detailed description of the fluorescence intensity analysis used in this study. (B) The small panels are presented as a red scale to show the GFP/RFP fluorescence marked by the threshold function of ImageJ. (C) Quantification of percent area for calcium signals displayed in (A) between group and single male flies. (D) CalexA assay for Hand-GAL4 together with UAS-mCD8RFP, lexAop-mCD8GFP; lexAop-mCD8GFP; UAS-CaLexA, lexAop-CD2-GFP of genetic control (empty-RNAi, up) and group male flies with knocking down foraging (for-RNAi, bottom). RFP (UAS-mCD8RFP) labels cell membranes independently of CaLexA-GFP. Strain generated by integrating BDSC #32229 and #66542. Scale bars represent 50 μm in heart images. (E) Quantification of percent area for calcium signals displayed in (D) between group male flies expressing Hand-GAL4 with empty-RNAi and for-RNAi. (F) CalexA assay for Hand-GAL4 together with lexAop-mCD8GFP; UAS-CaLexA, lexAop-CD2-GFP of genetic control (empty-RNAi, up) and group male flies with knocking down Pdfr (Pdfr-RNAi, bottom). Scale bars represent 50 μm in heart images. (G) Quantification of percent area for calcium signals displayed in (F) between group male flies expressing Hand-GAL4 with empty-RNAi and Pdfr-RNAi. (H) Model of how foraging regulate LMD behavior. The images are from https://www.svgrepo.com/.

https://doi.org/10.1371/journal.pgen.1011752.g006

Previous studies have delineated the multifaceted influence of the foraging gene, extending beyond locomotor behavior to include alcohol sensitivity [7], sucrose responses [8], and social network formation [28]. These behaviors are all profoundly influenced by the serotonergic system, which plays a pivotal role in modulating a wide array of physiological and behavioral processes [8387]. Despite this, our experiments indicate that the foraging gene’s expression in the serotonergic system is not a prerequisite for LMD behavior. By manipulating foraging gene levels within the serotonergic system using 5-HT1B-GAL4 and Trhn-GAL4 drivers, we observed no disruption in LMD (S5AD Fig). Furthermore, we did not detect a significant co-expression between the foraging gene and either 5-HT1B or Trhn (S5E5F Fig), suggesting that the serotonergic system is not essential for the foraging gene’s function in generating LMD behavior.

Collectively, these findings indicate that foraging expression collaborates with PDF-PDFR signaling in specific EB brain regions and fru-positive heart cells to regulate calcium dynamics in a social context-dependent manner. This modulation of calcium dynamics ultimately influences LMD, an interval timing behavior (Fig 6H).

Discussion

This study explores the role of the foraging gene in regulating interval timing behaviors, particularly mating duration, in Drosophila melanogaster. The foraging gene, known for its influence on behavioral plasticity and decision-making, exhibits distinct effects in two allelic variants—rover (forR) and sitter (forS). These variants display specific deficiencies in LMD and SMD behaviors, highlighting the gene’s role in interval timing (Fig 1). While the gene is expressed in key brain regions associated with memory and learning, its impact on LMD was not observed in these areas (Fig 2). Instead, foraging expression in Pdfr-positive neurons and fru-positive heart cells was found to be critical for LMD, suggesting its involvement in both neural and non-neural circuits (Figs 35). Additionally, the study revealed that foraging modulates calcium dynamics in a social context-dependent manner, further linking its function to interval timing behaviors (Fig 6). These findings underscore the complex interplay between genetic, neural, and environmental factors in regulating interval timing, with the foraging gene playing a central role in orchestrating these behaviors.

The foraging gene exhibits distinct influences on interval timing behaviors (LMD and SMD) in Drosophila, with the rover variant specifically affecting SMD and the sitter variant affecting LMD. The rescue of LMD by reintroducing wild-type foraging gene expression into the appropriate neurons highlights the critical role of the foraging gene in mediating interval timing behaviors [8,40,46,63]. Given the utilization of distinct circadian clock genes, neuropeptides, and neural circuits by LMD and SMD [18,34], it would be intriguing to explore the mechanisms by which the single gene foraging can differentially modulate these two distinct interval timing behaviors.

The foraging gene plays a critical role in regulating interval timing behaviors, with its allelic variants, rover and sitter, exhibiting distinct effects on LMD and SMD. These differences are primarily driven by their opposing impacts on cGMP-dependent protein kinase (PKG) activity. The forR allele, associated with higher PKG activity, disrupts SMD while maintaining normal LMD (Fig 1A), suggesting that elevated PKG levels may hyperactivate or desensitize neural circuits specific to SMD processes. Conversely, the forS allele, characterized by lower PKG activity, impairs LMD but not SMD (Fig 1B), indicating that reduced PKG activity fails to meet the neuromodulatory thresholds required for LMD coordination. The forR/forS transheterozygotes, which disrupt both LMD and SMD (Fig 1C), reveal a complex interaction between these alleles, likely due to conflicting PKG activity levels or metabolic and neuronal polymorphisms that destabilize shared pathways. This phenomenon underscores the foraging gene’s pleiotropic roles, where allelic balance fine-tunes PKG activity to maintain behavioral robustness, while extreme or mismatched levels disrupt circuit-specific thresholds critical for distinct memory processes [6,10]. While our findings support PKG-mediated mechanisms, we acknowledge the alternative possibility that background mutations in the forR or fors stocks might contribute to the observed transheterozygotes phenotype. Such mutations could behave recessively in heterozygotes but show dominant interactions in the forR/forS combination. Future studies using CRISPR-generated alleles could help resolve these competing explanations.

The foraging gene’s influence on interval timing behaviors extends beyond neural circuits to include metabolic and synaptic regulation. The intact behaviors observed in forR/+ or forS/ + heterozygotes suggest that intermediate PKG activity levels balance circuit dynamics, allowing for normal LMD and SMD. However, the dual deficits in forR/forS transheterozygotes highlight the importance of allelic balance, as conflicting PKG levels may lead to systemic disruptions in both metabolic and neural pathways. This aligns with previous studies showing that foraging mediates adult plasticity and gene-environment interactions, particularly under stress conditions, and regulates synaptic terminal morphology and neuronal excitability [27,42]. The gene’s role in integrating genetic and environmental cues further emphasizes its central role in adaptive behaviors. Collectively, these findings illustrate the complex interplay between PKG activity, neural circuits, and metabolic regulation in shaping interval timing behaviors, highlighting the foraging gene as a key modulator of behavioral plasticity in Drosophila [3,6,27].

Our findings reveal a previously unrecognized non-neuronal mechanisms by which foraging modulates interval timing behaviors through its function in fru-positive heart cells. We demonstrate that foraging and Pdfr co-expression in these cells regulates social context-dependent calcium dynamics, as evidenced by robust CaLexA signals in group-housed flies, which are absent in socially isolated individuals (Figs 5A and 6AC). Knockdown of either foraging or Pdfr in the heart disrupts these calcium fluctuations and impairs LMD behavior (Fig 5EG), indicating that PDF-PDFR signaling acts in concert with foraging to modulate cardiac calcium activity. This interaction likely bridges social environmental cues with internal metabolic states, as foraging is known to interact with insulin signaling under stress, and PDF-PDFR pathways integrate circadian and peptidergic inputs. The sexually dimorphic nature of LMD, coupled with fru’s role in male-specific traits, suggests that foraging’s function in fru-positive heart cells represents a critical node for male reproductive strategies, linking cardiac physiology to interval timing behaviors. These results expand the scope of foraging’s pleiotropy, highlighting its role in coordinating organ-level calcium dynamics with neural circuits to adaptively regulate time-sensitive behaviors in response to social contexts.

In summary, the critical role of the foraging gene in mediating complex interval timing behaviors in Drosophila is evident. The gene’s expression in specific neurons and heart cells is crucial for its function. The intricate interplay between genetics, environment, and behavior revealed by these findings has broader implications for understanding the regulation of complex behaviors across species.

Methods

Ethics statement

All animal experiments reported in this manuscript were conducted in compliance with the ARRIVE guidelines and adhered to the U.K. Animals (Scientific Procedures) Act, 1986 and associated guidelines, EU Directive 2010/63/EU for animal experiments, or the National Research Council’s Guide for the Care and Use of Laboratory Animals.

Fly stocks and husbandry

Drosophila melanogaster were raised on cornmeal-yeast medium at similar densities to yield adults with similar body sizes. Flies were kept in 12 h light: 12 h dark cycles (LD) at 25°C (ZT 0 is the beginning of the light phase, ZT12 beginning of the dark phase) except for some experimental manipulation (experiments with the flies carrying tub-GAL80ts). Wild-type flies were Canton-S (CS). We have previously demonstrated that our CS flies exhibit normal LMD and SMD behaviors [15,19]. To reduce the variation from genetic background, all flies were backcrossed for at least 3 generations to CS strain. Following lines used in this study, Canton-S (#64349), Df(1)Exel6234(#7708), forS (#76120), elavc155 (#25750), repo-GAL4(#7415), nSyb-GAL4(#68222), MB247-GAL4(#50742), c547-GAL4(#30819), Ilp2-GAL4(#37516), Pdf-GAL4(#6899), NPF-GAL4(#25682), sNPF-T2A-GAL4(#84706), empty-RNAi(#36304), cry-GAL4(#24514), Pdfr-GAL4(#33070), 30y-GAL4(#30818), 078y-GAL4(#30821), 104y-GAL4(#81014), 007y-GAL4(#30812), c42-GAL4(#30835), c232-GAL4(#30828), c205-GAL4(#30826), c161-GAL4(#27893), c61-GAL4(#30845), EB-split-GAL4SS00096(#86861), 5-HT1B-GAL4(#86276), Trhn-GAL4(#84694), P{PZ}for[06860](#12326), ppl-GAL4(#58768), Mhc-GAL4(#55133), PromE-GAL4(#65404), Pdfr2A-GAL4(#84684), fru-GAL4(#66696), dsx-GAL4(#63434), forMI01791-TG4.1 (#76140), UAS-Pdfr-RNAi(#42508), UAS-myrGFP(#77479), UAS-for(#37776), for-RNAi(#35158/#50741) were obtained from the Bloomington Drosophila Stock Center at Indiana University. UAS(FRT.stop)mCD8GFP; fruFLP(K1119), LexAop-CD8GFP(II); UAS-CaLexA, LexAop-CD2-GFP (K1234, originally BDSC #66542) were obtained from the Korea Drosophila Resource Center. To independently label cell membranes from CaLexA-driven GFP signals, we generated a transgenic strain (UAS-mCD8RFP, lexAop-mCD8GFP (X); LexAop-CD8GFP (II); UAS-CaLexA, LexAop-CD2GFP (III) by integrating BDSC stock #32229 and #66542. This design leverages distinct expression systems (UAS vs. LexAop) to separate RFP (membrane marker) and GFP (calcium activity reporter) signals. We thank Dr. Maria B. Sokolowski (University of Toronto) for sharing forR variants, Drs. Yuh Nung Jan and Lily Yeh Jan (UCSF, USA) for kindly sharing GAL14-94 fly strain, Dr. Susan C.P. Renn (Washington University School of Medicine) for sharing 210y-GAL4 stain, Dr. Lihua Jin (Northeast Forestry University) for sharing Hand-GAL4 stain.

Mating duration assays

The mating duration assay in this study has been reported [15,16,19]. To enhance the efficiency of the mating duration assay, we utilized the Df(1)Exel6234 (DF here after) genetic modified fly line in this study, which harbors a deletion of a specific genomic region that includes the sex peptide receptor (SPR) [88,89]. Previous studies have demonstrated that virgin females of this line exhibit increased receptivity to males [89]. We conducted a comparative analysis between the virgin females of this line and the CS virgin females and found that both groups induced SMD. Consequently, we have elected to employ virgin females from this modified line in all subsequent studies. For naïve males, 40 males from the same strain were placed into a vial with food for 5 days. For single reared males, males of the same strain were collected individually and placed into vials with food for 5 days. For experienced males, 40 males from the same strain were placed into a vial with food for 4 days then 80 DF virgin females were introduced into vials for last 1 day before assay. 40 DF virgin females were collected from bottles and placed into a vial for 5 days. These females provided both sexually experienced partners and mating partners for mating duration assays. At the fifth day after eclosion, males of the appropriate strain and DF virgin females were mildly anaesthetized by CO2. After placing a single female into the mating chamber, we inserted a transparent film then placed a single male to the other side of the film in each chamber. After allowing for 1 h of recovery in the mating chamber in 25°C incubators, we removed the transparent film and recorded the mating activities. Only those males that succeeded to mate within 1 h were included for analyses. Initiation and completion of copulation were recorded with an accuracy of 10 sec, and total mating duration was calculated for each couple. All assays were performed from noon to 4pm. We conducted blinded studies for every test. The genetic controls using GAL4/+ or UAS/ + lines were not included in the supplementary figures because we have previously demonstrated that 100% of these flies exhibit normal LMD and SMD behaviors [15,16,19]. Consequently, we only included additional genetic control experiments when they were considered essential for key fly lines.

Immunostaining and antibodies

The dissection and immunostaining protocols for the experiments are described elsewhere [16,19]. After 5 days of eclosion, the Drosophila brain has been taken from adult flies and fixed in 4% formaldehyde at room temperature for 30 minutes. The sample has been washed three times (5 minutes each) in 1% PBT and then blocked in 5% normal goat serum for 30 minutes. The samples were first incubated overnight at 4°C with primary antibodies diluted in 1% PBT. Subsequently, fluorophore-conjugated secondary antibodies were applied and incubated for one hour at room temperature. The brain was mounted on plates with an antifade mounting solution (Solarbio) for imaging purposes. Samples were imaged with Zeiss LSM880. Primary antibodies: Chicken anti-GFP (1:500, Invitrogen), rabbit anti-LacZ antibody (1:1000, Rockland), rat anti-elav (1:100, DSHB), mouse anti-Bruchpilot (nc82) (1:50, DSHB). Fluorophore-conjugated secondary antibodies: Alexa-488 donkey anti-chicken (1:200, Jackson), Alexa Fluor 488-conjugated goat anti-rabbit (1:100, Thermo), Alexa Fluor 555-conjugated donkey anti-rat (1:100, Thermo), Alexa Fluor 647-conjugated goat anti-mouse (1:100, Jackson), plasma membranes of fatbody (stained by CellMask Deep red C10046, Thermo).

Quantitative analysis of fluorescence intensity

To ascertain calcium levels from microscopic images, we dissected and imaged five-day-old flies of various social conditions and genotypes under uniform conditions. For group reared (naïve) condition, the flies were reared in the group condition and dissect right after 5 days of rearing without any further action. For single reared condition, the flies were reared in single condition and dissect at the same time as group reared flies right after 5 days of rearing. The GFP signal in the brains and hearts was amplified through immunostaining with chicken anti-GFP primary antibody. Image analysis was conducted using ImageJ software. For the quantification of fluorescence intensities, an investigator, blinded to the fly’s genotype, thresholded the sum of all pixel intensities within a sub-stack to optimize the signal-to-noise ratio, following established method [90]. The total fluorescent area or region of interest (ROI) was then quantified using ImageJ, as previously reported. For CaLexA signal quantification, we adhered to protocols detailed by Kayser et al. [91], which involve measuring the ROI’s GFP-labeled area by summing pixel values across the image stack. This method assumes that changes in the GFP-labeled area are indicative of alterations in the CaLexA signal, reflecting synaptic activity. CaLexA signals were quantified using ‘integrated signal density’ (summed pixel intensity within manually defined ROIs), not merely ROI area. ROI intensities were background-corrected by measuring and subtracting the fluorescent intensity from RFP channel or nc82 channel, as per Kayser et al. [91].

Single-nucleus RNA-sequencing analyses

snRNAseq dataset analyzed in this paper is published in [47] and available at the Nextflow pipelines (VSN, https://github.com/vib-singlecell-nf), the availability of raw and processed datasets for users to explore, and the development of a crowd-annotation platform with voting, comments, and references through SCope (https://flycellatlas.org/ scope), linked to an online analysis platform in ASAP (https://asap.epfl.ch/fca).

Statistical analysis

Statistical analysis of mating duration assay was described previously [19]. More than 50 males (naïve, experienced and single) were used for mating duration assay. Our experience suggests that the relative mating duration differences between naïve and experienced condition and singly reared are always consistent; however, both absolute values and the magnitude of the difference in each strain can vary. So, we always include internal controls for each treatment as suggested by previous studies [92]. Therefore, statistical comparisons were made between groups that were naïvely reared, sexually experienced and singly reared within each experiment. As mating duration of males showed normal distribution (Kolmogorov-Smirnov tests, p > 0.05), we used two-sided Student’s t tests. The mean ± standard error (s.e.m) (**** = p < 0.0001, *** = p < 0.001, ** = p < 0.01, * = p < 0.05). All analysis was done in GraphPad (Prism). Individual tests and significance are detailed in figure legends. Besides traditional t-test for statistical analysis, we added estimation statistics for all MD assays and two group comparing graphs. In short, ‘estimation statistics’ is a simple framework that—while avoiding the pitfalls of significance testing—uses familiar statistical concepts: means, mean differences, and error bars. More importantly, it focuses on the effect size of one’s experiment/intervention, as opposed to significance testing [93]. In comparison to typical NHST plots, estimation graphics have the following five significant advantages such as (1) avoid false dichotomy, (2) display all observed values (3) visualize estimate precision (4) show mean difference distribution. And most importantly (5) by focusing attention on an effect size, the difference diagram encourages quantitative reasoning about the system under study [94]. Thus, we conducted a reanalysis of all of our two group data sets using both standard t tests and estimate statistics. In 2019, the Society for Neuroscience journal eNeuro instituted a policy recommending the use of estimation graphics as the preferred method for data presentation [95].

Supporting information

S1 Fig. Critical Role of foraging Alleles in LMD and SMD behaviors.

(A-B) LMD and SMD assays for forR/+ and forS/ + males. (C) LMD assay of flies expressing elavc155 drives together with for-RNAiGL00026. (D) LMD assay for for-RNAiHSM04486/ + . (E) LMD assay of flies for elavc155/Y. (F) LMD assay of flies for Pdfr2A-GAL4/ + . (G) LMD assay of flies expressing nSyb-GAL4 together with for-RNAi.

https://doi.org/10.1371/journal.pgen.1011752.s001

(TIF)

S2 Fig. LMD Requires Specific EB Neurons with foraging Gene.

(A-K) LMD assays for male overexpressing foraging driven by subsets of neuronal cell drivers of the EB, 30y-GAL4(A), 078y-GAL4 (B), 210y-GAL4 (C), 104y-GAL4 (D), 007y-GAL4 (E), c42-GAL4 (F), c232-GAL4 (G), c205-GAL4 (H), c819-GAL4 (I), c161-GAL4 (J), and c61-GAL4 (K). (L) LMD assay for 30y-GAL4 drives for overexpression under fors homozygote. (M) LMD assay for UAS-for/ + .

https://doi.org/10.1371/journal.pgen.1011752.s002

(TIF)

S3 Fig. The co-expression of foraging gene and Pdfr in various tissues.

(A-N) SCOPE scRNA-seq datasets reveal cell clusters colored by expression of foraging (blue), Pdfr (green) in different tissues. (O) Male flies expressing the forTG4.1-GAL4 together with UAS-mCD8GFP were immunostained with anti-GFP (green) antibody and phalloidin (magenta). (P) Male flies brain expressing the UAS(FRT.stop)mCD8GFP; fruFLP together with Pdfr2A-GAL4 were immunostained with anti-GFP (green) and nc82 (magenta) antibodies. Scale bars represent 100 μm. (Q) Male flies heart expressing the UAS(FRT.stop)mCD8GFP; fruFLP together with 30y-GAL4 were immunostained with anti-GFP (green) antibody and phalloidin (magenta). Scale bars represent 100 μm.

https://doi.org/10.1371/journal.pgen.1011752.s003

(TIF)

S4 Fig. foraging neurons in the AL of the brain are responsible for regulating LMD.

(A) Different levels of neural activity of the brain as revealed by the CaLexA system in group and single reared flies. Male flies expressing forMI01791-TG4.1 along with LexAop-CD8GFP(II); UAS-CaLexA, LexAop-CD2-GFP were dissected after 5 days of growth. The dissected brains were then immunostained with anti-GFP (green) and anti-nc82 (blue). GFP is pseudo-colored as “red hot”. Scale bars represent 100 μm in brain panels. (B) The GFP fluorescence (green) in male fly brain was processed using ImageJ software, where a threshold function was applied to distinguish fluorescence from the background. (C) Quantification of relative value for GFP fluorescence. (D) Different levels of intracellular calcium level of the fat body as revealed by the CaLexA system in group and single reared flies. Scale bars represent 25 μm in fat body panels. (E) Quantification of mean intensity for GFP fluorescence.

https://doi.org/10.1371/journal.pgen.1011752.s004

(TIF)

S5 Fig. foraging Gene’s function Independent of Serotonergic system in LMD behavior.

(A-B) LMD assays of flies expressing 5-HT1B-GAL4 drives together with for-RNAi (A) and UAS-for (B). (C-D) LMD assays of flies expressing Trhn-GAL4 drives together with for-RNAi (C) and UAS-for (D). (E) SCOPE scRNA-seq datasets reveal cell clusters colored by expression of foraging (blue), 5-HT1B (green) in neurons. (F) SCOPE scRNA-seq datasets reveal cell clusters colored by expression of foraging (blue), Trhn (green) in neurons.

https://doi.org/10.1371/journal.pgen.1011752.s005

(TIF)

S1 File. Calcium signals (GFP) in Drosophila heart cells (Hand-GAL4, RFP). Phalloidin stained in purple.

https://doi.org/10.1371/journal.pgen.1011752.s006

(JPG)

Acknowledgments

We are very appreciative to the colleagues who supplied us with several fly strains. We thank Dr. Maria B. Sokolowski (University of Toronto) for sharing forR variants, Drs. Yuh Nung Jan and Lily Yeh Jan (UCSF, USA) for kindly sharing GAL14-94 fly strain, Dr. Susan C.P. Renn (Washington University School of Medicine) for sharing 210y-GAL4 stain, Dr. Lihua Jin (Northeast Forestry University) for sharing Hand-GAL4 stain.

References

  1. 1. Osborne KA, Robichon A, Burgess E, Butland S, Shaw RA, Coulthard A, et al. Natural behavior polymorphism due to a cGMP-dependent protein kinase of Drosophila. Science. 1997;277(5327):834–6. pmid:9242616
  2. 2. de Belle JS, Hilliker AJ, Sokolowski MB. Genetic localization of foraging (for): a major gene for larval behavior in Drosophila melanogaster. Genetics. 1989;123(1):157–63. pmid:2509284
  3. 3. Ben-Shahar Y. The foraging gene, behavioral plasticity, and honeybee division of labor. J Comp Physiol A Neuroethol Sens Neural Behav Physiol. 2005;191(11):987–94. pmid:16133503
  4. 4. Foucaud J, Philippe A-S, Moreno C, Mery F. A genetic polymorphism affecting reliance on personal versus public information in a spatial learning task in Drosophila melanogaster. Proc Biol Sci. 2013;280(1760):20130588. pmid:23576793
  5. 5. Eddison M, Belay AT, Sokolowski MB, Heberlein U. A genetic screen for olfactory habituation mutations in Drosophila: analysis of novel foraging alleles and an underlying neural circuit. PLoS One. 2012;7(12):e51684. pmid:23284741
  6. 6. Anreiter I, Sokolowski MB. The foraging Gene and Its Behavioral Effects: Pleiotropy and Plasticity. Annu Rev Genet. 2019;53:373–92. pmid:31487469
  7. 7. Oepen AS, Catalano J, Azanchi R, Kaun KR. The foraging gene affects alcohol sensitivity, metabolism and memory in Drosophila. bioRxiv. 2021;2021.02.09.430533.
  8. 8. Belay AT, Scheiner R, So AK-C, Douglas SJ, Chakaborty-Chatterjee M, Levine JD, et al. The foraging gene of Drosophila melanogaster: spatial-expression analysis and sucrose responsiveness. J Comp Neurol. 2007;504(5):570–82. pmid:17701979
  9. 9. Wang Z, Pan Y, Li W, Jiang H, Chatzimanolis L, Chang J, et al. Visual pattern memory requires foraging function in the central complex of Drosophila. Learn Mem. 2008;15(3):133–42. pmid:18310460
  10. 10. Sokolowski DJ, Vasquez OE, Wilson MD, Sokolowski MB, Anreiter I. Transcriptomic effects of the foraging gene shed light on pathways of pleiotropy and plasticity. Ann N Y Acad Sci. 2023;1526(1):99–113. pmid:37350250
  11. 11. Buhusi CV, Meck WH. What makes us tick? Functional and neural mechanisms of interval timing. Nat Rev Neurosci. 2005;6(10):755–65. pmid:16163383
  12. 12. Meck WH, Doyère V, Gruart A. Interval timing and time-based decision making. Front Integr Neurosci. 2012;6:13. pmid:22479240
  13. 13. Boisvert MJ, Sherry DF. Interval timing by an invertebrate, the bumble bee Bombus impatiens. Curr Biol. 2006;16(16):1636–40. pmid:16920625
  14. 14. Rammsayer TH, Troche SJ. Neurobiology of Interval Timing. Adv Exp Med Biol. 2014;829:33–47. pmid:25358704
  15. 15. Kim WJ, Jan LY, Jan YN. Contribution of visual and circadian neural circuits to memory for prolonged mating induced by rivals. Nat Neurosci. 2012;15(6):876–83. pmid:22561453
  16. 16. Kim WJ, Jan LY, Jan YN. A PDF/NPF neuropeptide signaling circuitry of male Drosophila melanogaster controls rival-induced prolonged mating. Neuron. 2013;80(5):1190–205. pmid:24314729
  17. 17. Bretman A, Fricke C, Chapman T. Plastic responses of male Drosophila melanogaster to the level of sperm competition increase male reproductive fitness. Proc Biol Sci. 2009;276(1662):1705–11. pmid:19324834
  18. 18. Kim WJ, Lee SG, Schweizer J, Auge A-C, Jan LY, Jan YN. Sexually experienced male Drosophila melanogaster uses gustatory-to-neuropeptide integrative circuits to reduce time investment for mating. Biorxiv. 2016;088724.
  19. 19. Lee SG, Sun D, Miao H, Wu Z, Kang C, Saad B, et al. Taste and pheromonal inputs govern the regulation of time investment for mating by sexual experience in male Drosophila melanogaster. PLoS Genet. 2023;19(5):e1010753. pmid:37216404
  20. 20. Zhang T, Zhang X, Sun D, Kim WJ. Exploring the Asymmetric Body’s Influence on Interval Timing Behaviors of Drosophila melanogaster. Behav Genet. 2024;54(5):416–25. pmid:39133418
  21. 21. Huang Y, Kwan A, Kim WJ. Y chromosome genes interplay with interval timing in regulating mating duration of male Drosophila melanogaster. Gene Reports. 2024;36:101999.
  22. 22. Sun Y, Zhang X, Wu Z, Li W, Kim WJ. Genetic screening reveals cone cell-specific factors as common genetic targets modulating rival-induced prolonged mating in male Drosophila melanogaster. G3 (Bethesda). 2025;15(1):jkae255. pmid:39489492
  23. 23. Thornquist SC, Langer K, Zhang SX, Rogulja D, Crickmore MA. CaMKII Measures the Passage of Time to Coordinate Behavior and Motivational State. Neuron. 2020;105(2):334-345.e9. pmid:31786014
  24. 24. Crickmore MA, Vosshall LB. Opposing dopaminergic and GABAergic neurons control the duration and persistence of copulation in Drosophila. Cell. 2013;155(4):881–93. pmid:24209625
  25. 25. Zhang SX, Rogulja D, Crickmore MA. Recurrent Circuitry Sustains Drosophila Courtship Drive While Priming Itself for Satiety. Curr Biol. 2019;29(19):3216-3228.e9. pmid:31474539
  26. 26. Zhang SX, Glantz EH, Miner LE, Rogulja D, Crickmore MA. Hormonal control of motivational circuitry orchestrates the transition to sexuality in Drosophila. Sci Adv. 2021;7(25):eabg6926. pmid:34134981
  27. 27. Kent CF, Daskalchuk T, Cook L, Sokolowski MB, Greenspan RJ. The Drosophila foraging gene mediates adult plasticity and gene-environment interactions in behaviour, metabolites, and gene expression in response to food deprivation. PLoS Genet. 2009;5(8):e1000609. pmid:19696884
  28. 28. Alwash N, Allen AM, B Sokolowski M, Levine JD. The Drosophila melanogaster foraging gene affects social networks. J Neurogenet. 2021;35(3):249–61. pmid:34121597
  29. 29. Gautham AK, Miner LE, Franco MN, Thornquist SC, Crickmore MA. Dopamine biases decisions by limiting temporal integration. Nature. 2024;632(8026):850–7. pmid:39085606
  30. 30. Zhang SX, Rogulja D, Crickmore MA. Dopaminergic Circuitry Underlying Mating Drive. Neuron. 2016;91(1):168–81. pmid:27292538
  31. 31. Zhang SX, Glantz EH, Miner LE, Rogulja D, Crickmore MA. Where does mating drive come from? EMBO Rep. 2023;24(10):e57771. pmid:37530645
  32. 32. Bretman A, Gage MJG, Chapman T. Quick-change artists: male plastic behavioural responses to rivals. Trends Ecol Evol. 2011;26(9):467–73. pmid:21680050
  33. 33. Lee SG, Kang C, Saad B, Nguyen K-NH, Guerra-Phalen A, Bui D, et al. Multisensory inputs control the regulation of time investment for mating by sexual experience in male Drosophila melanogaster. Biorxiv. 2022;2022.09.23.509131.
  34. 34. Wong K, Schweizer J, Nguyen K-NH, Atieh S, Kim WJ. Neuropeptide relay between SIFa signaling controls the experience-dependent mating duration of male Drosophila. Biorxiv. 2019;819045.
  35. 35. Kim WJ, Song Y, Zhang T, Zhang X, Ryu TH, Wong KC, et al. Peptidergic neurons with extensive branching orchestrate the internal states and energy balance of male Drosophila melanogaster. bioRxiv. 2024;2024.06.04.597277.
  36. 36. Wittmann M, Paulus MP. Decision making, impulsivity and time perception. Trends Cogn Sci. 2008;12(1):7–12. pmid:18042423
  37. 37. Parent J, Brodeur J, Boivin G. Use of time in a decision‐making process by a parasitoid. Ecological Entomology. 2016;41(6):727–32.
  38. 38. Skorupski P, Chittka L. Animal cognition: an insect’s sense of time? Curr Biol. 2006;16(19):R851–3. pmid:17027483
  39. 39. Thomson JD. Trapline foraging by bumblebees: I. Persistence of flight-path geometry. Behavioral Ecology. 1996;7(2):158–64.
  40. 40. Allen AM, Anreiter I, Neville MC, Sokolowski MB. Feeding-Related Traits Are Affected by Dosage of the foraging Gene in Drosophila melanogaster. Genetics. 2017;205(2):761–73. pmid:28007892
  41. 41. Pereira HS, Sokolowski MB. Mutations in the larval foraging gene affect adult locomotory behavior after feeding in Drosophila melanogaster. Proc Natl Acad Sci U S A. 1993;90(11):5044–6. pmid:8506349
  42. 42. Renger JJ, Yao WD, Sokolowski MB, Wu CF. Neuronal polymorphism among natural alleles of a cGMP-dependent kinase gene, foraging, in Drosophila. J Neurosci. 1999;19(19):RC28. pmid:10493773
  43. 43. Reaume CJ, Sokolowski MB, Mery F. A natural genetic polymorphism affects retroactive interference in Drosophila melanogaster. Proc Biol Sci. 2011;278(1702):91–8. pmid:20667877
  44. 44. Dason JS, Sokolowski MB. A cGMP-dependent protein kinase, encoded by the Drosophila foraging gene, regulates neurotransmission through changes in synaptic structure and function. J Neurogenet. 2021;35(3):213–20. pmid:33998378
  45. 45. Dason JS, Cheung A, Anreiter I, Montemurri VA, Allen AM, Sokolowski MB. Drosophila melanogaster foraging regulates a nociceptive-like escape behavior through a developmentally plastic sensory circuit. Proc Natl Acad Sci U S A. 2020;117(38):23286–91. pmid:31213548
  46. 46. Allen AM, Anreiter I, Vesterberg A, Douglas SJ, Sokolowski MB. Pleiotropy of the Drosophila melanogaster foraging gene on larval feeding-related traits. J Neurogenet. 2018;32(3):256–66. pmid:30303018
  47. 47. Li H, Janssens J, De Waegeneer M, Kolluru SS, Davie K, Gardeux V, et al. Fly Cell Atlas: A single-nucleus transcriptomic atlas of the adult fruit fly. Science. 2022;375(6584):eabk2432. pmid:35239393
  48. 48. Mery F, Belay AT, So AK-C, Sokolowski MB, Kawecki TJ. Natural polymorphism affecting learning and memory in Drosophila. Proc Natl Acad Sci U S A. 2007;104(32):13051–5. pmid:17640898
  49. 49. Kuntz S, Poeck B, Sokolowski MB, Strauss R. The visual orientation memory of Drosophila requires Foraging (PKG) upstream of Ignorant (RSK2) in ring neurons of the central complex. Learn Mem. 2012;19(8):337–40. pmid:22815538
  50. 50. Osborne KA, de Belle JS, Sokolowski MB. Foraging behaviour in Drosophila larvae: mushroom body ablation. Chem Senses. 2001;26(2):223–30. pmid:11238255
  51. 51. Crittenden JR, Skoulakis EMC, Goldstein ES, Davis RL. Drosophila mef2 is essential for normal mushroom body and wing development. Biol Open. 2018;7(9):bio035618. pmid:30115617
  52. 52. Kelly SM, Elchert A, Kahl M. Dissection and Immunofluorescent Staining of Mushroom Body and Photoreceptor Neurons in Adult Drosophila melanogaster Brains. J Vis Exp. 2017;(129):56174. pmid:29155751
  53. 53. Xie X, Tabuchi M, Brown MP, Mitchell SP, Wu MN, Kolodkin AL. The laminar organization of the Drosophila ellipsoid body is semaphorin-dependent and prevents the formation of ectopic synaptic connections. Elife. 2017;6:e25328. pmid:28632130
  54. 54. Donlea JM, Pimentel D, Talbot CB, Kempf A, Omoto JJ, Hartenstein V, et al. Recurrent Circuitry for Balancing Sleep Need and Sleep. Neuron. 2018;97(2):378-389.e4. pmid:29307711
  55. 55. Koh K, Joiner WJ, Wu MN, Yue Z, Smith CJ, Sehgal A. Identification of SLEEPLESS, a sleep-promoting factor. Science. 2008;321(5887):372–6. pmid:18635795
  56. 56. Lyu S, Terao N, Nakashima H, Itoh M, Tonoki A. Neuropeptide diuretic hormone 31 mediates memory and sleep via distinct neural pathways in Drosophila. Neurosci Res. 2023;192:11–25. pmid:36780946
  57. 57. Chowański S, Walkowiak-Nowicka K, Winkiel M, Marciniak P, Urbański A, Pacholska-Bogalska J. Insulin-Like Peptides and Cross-Talk With Other Factors in the Regulation of Insect Metabolism. Front Physiol. 2021;12:701203. pmid:34267679
  58. 58. Young JM, Armstrong JD. Structure of the adult central complex in Drosophila: organization of distinct neuronal subsets. J Comp Neurol. 2010;518(9):1500–24. pmid:20187142
  59. 59. Tamberg L, Jaago M, Säälik K, Sirp A, Tuvikene J, Shubina A, et al. Daughterless, the Drosophila orthologue of TCF4, is required for associative learning and maintenance of the synaptic proteome. Dis Model Mech. 2020;13(7):dmm042747. pmid:32641419
  60. 60. Pauls D, Selcho M, Gendre N, Stocker RF, Thum AS. Drosophila larvae establish appetitive olfactory memories via mushroom body neurons of embryonic origin. J Neurosci. 2010;30(32):10655–66. pmid:20702697
  61. 61. Turner-Evans DB, Jensen KT, Ali S, Paterson T, Sheridan A, Ray RP, et al. The Neuroanatomical Ultrastructure and Function of a Biological Ring Attractor. Neuron. 2020;108(1):145-163.e10. pmid:32916090
  62. 62. Zhang T, Wu Z, Song Y, Li W, Sun Y, Zhang X, et al. Long-range neuropeptide relay as a central-peripheral communication mechanism for the context-dependent modulation of interval timing behaviors. bioRxiv. 2024; 2024.06.03.597273.
  63. 63. Allen AM, B Sokolowski M. Expression of the foraging gene in adult Drosophila melanogaster. J Neurogenet. 2021;35(3):192–212. pmid:34382904
  64. 64. Tellis MB, Kotkar HM, Joshi RS. Regulation of trehalose metabolism in insects: from genes to the metabolite window. Glycobiology. 2023;33(4):262–73. pmid:36762907
  65. 65. Huang K, Liu Y, Perrimon N. Roles of Insect Oenocytes in Physiology and Their Relevance to Human Metabolic Diseases. Front Insect Sci. 2022;2:859847. pmid:38468774
  66. 66. Arrese EL, Soulages JL. Insect fat body: energy, metabolism, and regulation. Annu Rev Entomol. 2010;55:207–25. pmid:19725772
  67. 67. Makki R, Cinnamon E, Gould AP. The development and functions of oenocytes. Annu Rev Entomol. 2014;59:405–25. pmid:24397521
  68. 68. Canavoso LE, Jouni ZE, Karnas KJ, Pennington JE, Wells MA. Fat metabolism in insects. Annu Rev Nutr. 2001;21:23–46. pmid:11375428
  69. 69. Khodursky S, Svetec N, Durkin SM, Zhao L. The evolution of sex-biased gene expression in the Drosophila brain. Genome Res. 2020;30(6):874–84. pmid:32554780
  70. 70. Singh A, Agrawal AF. Two Forms of Sexual Dimorphism in Gene Expression in Drosophila melanogaster: Their Coincidence and Evolutionary Genetics. Mol Biol Evol. 2023;40(5):msad091. pmid:37116199
  71. 71. Arbeitman MN, New FN, Fear JM, Howard TS, Dalton JE, Graze RM. Sex Differences in Drosophila Somatic Gene Expression: Variation and Regulation by doublesex. G3 (Bethesda). 2016;6(7):1799–808. pmid:27172187
  72. 72. Ito H, Sato K, Yamamoto D. Sex-switching of the Drosophila brain by two antagonistic chromatin factors. Fly (Austin). 2013;7(2):87–91. pmid:23519136
  73. 73. Yamamoto D, Koganezawa M. Genes and circuits of courtship behaviour in Drosophila males. Nat Rev Neurosci. 2013;14(10):681–92. pmid:24052176
  74. 74. Rideout EJ, Dornan AJ, Neville MC, Eadie S, Goodwin SF. Control of sexual differentiation and behavior by the doublesex gene in Drosophila melanogaster. Nat Neurosci. 2010;13(4):458–66. pmid:20305646
  75. 75. Yamamoto D, Fujitani K, Usui K, Ito H, Nakano Y. From behavior to development: genes for sexual behavior define the neuronal sexual switch in Drosophila. Mech Dev. 1998;73(2):135–46. pmid:9622612
  76. 76. Pan Y, Baker BS. Genetic identification and separation of innate and experience-dependent courtship behaviors in Drosophila. Cell. 2014;156(1–2):236–48. pmid:24439379
  77. 77. Scheffer LK, Xu CS, Januszewski M, Lu Z, Takemura S-Y, Hayworth KJ, et al. A connectome and analysis of the adult Drosophila central brain. Elife. 2020;9:e57443. pmid:32880371
  78. 78. Dorkenwald S, Matsliah A, Sterling AR, Schlegel P, Yu S-C, McKellar CE, et al. Neuronal wiring diagram of an adult brain. Nature. 2024;634(8032):124–38. pmid:39358518
  79. 79. Masuyama K, Zhang Y, Rao Y, Wang JW. Mapping neural circuits with activity-dependent nuclear import of a transcription factor. J Neurogenet. 2012;26(1):89–102. pmid:22236090
  80. 80. Lin N, Badie N, Yu L, Abraham D, Cheng H, Bursac N, et al. A method to measure myocardial calcium handling in adult Drosophila. Circ Res. 2011;108(11):1306–15. pmid:21493892
  81. 81. Hoang-Trong TM, Ullah A, Jafri MS. Calcium Sparks in the Heart: Dynamics and Regulation. Res Rep Biol. 2015;6:203–14. pmid:27212876
  82. 82. Weber CR, Piacentino V 3rd, Houser SR, Bers DM. Dynamic regulation of sodium/calcium exchange function in human heart failure. Circulation. 2003;108(18):2224–9. pmid:14557358
  83. 83. Kaun KR, Azanchi R, Maung Z, Hirsh J, Heberlein U. A Drosophila model for alcohol reward. Nat Neurosci. 2011;14(5):612–9. pmid:21499254
  84. 84. Devineni AV, Heberlein U. The evolution of Drosophila melanogaster as a model for alcohol research. Annu Rev Neurosci. 2013;36:121–38. pmid:23642133
  85. 85. Hermanns T, Graf-Boxhorn S, Poeck B, Strauss R. Octopamine mediates sugar relief from a chronic-stress-induced depression-like state in Drosophila. Curr Biol. 2022;32(18):4048-4056.e3. pmid:35914533
  86. 86. Sun Y, Qiu R, Li X, Cheng Y, Gao S, Kong F, et al. Social attraction in Drosophila is regulated by the mushroom body and serotonergic system. Nat Commun. 2020;11(1):5350. pmid:33093442
  87. 87. Brenman-Suttner DB, Yost RT, Frame AK, Robinson JW, Moehring AJ, Simon AF. Social behavior and aging: A fly model. Genes Brain Behav. 2020;19(2):e12598. pmid:31286644
  88. 88. Parks AL, Cook KR, Belvin M, Dompe NA, Fawcett R, Huppert K, et al. Systematic generation of high-resolution deletion coverage of the Drosophila melanogaster genome. Nat Genet. 2004;36(3):288–92. pmid:14981519
  89. 89. Yapici N, Kim Y-J, Ribeiro C, Dickson BJ. A receptor that mediates the post-mating switch in Drosophila reproductive behaviour. Nature. 2008;451(7174):33–7. pmid:18066048
  90. 90. Feinberg EH, Vanhoven MK, Bendesky A, Wang G, Fetter RD, Shen K, et al. GFP Reconstitution Across Synaptic Partners (GRASP) defines cell contacts and synapses in living nervous systems. Neuron. 2008;57(3):353–63. pmid:18255029
  91. 91. Kayser MS, Yue Z, Sehgal A. A critical period of sleep for development of courtship circuitry and behavior in Drosophila. Science. 2014;344(6181):269–74. pmid:24744368
  92. 92. Bretman A, Westmancoat JD, Gage MJG, Chapman T. Males use multiple, redundant cues to detect mating rivals. Curr Biol. 2011;21(7):617–22. pmid:21439827
  93. 93. Claridge-Chang A, Assam PN. Estimation statistics should replace significance testing. Nat Methods. 2016;13(2):108–9. pmid:26820542
  94. 94. Ho J, Tumkaya T, Aryal S, Choi H, Claridge-Chang A. Moving beyond P values: data analysis with estimation graphics. Nat Methods. 2019;16(7):565–6. pmid:31217592
  95. 95. Bernard C. Estimation Statistics, One Year Later. eNeuro. 2021;8(2):ENEURO.0091-21.2021. pmid:33795354
  96. 96. Jenett A, Rubin GM, Ngo T-TB, Shepherd D, Murphy C, Dionne H, et al. A GAL4-driver line resource for Drosophila neurobiology. Cell Rep. 2012;2(4):991–1001. pmid:23063364
  97. 97. Turner-Evans D, Wegener S, Rouault H, Franconville R, Wolff T, Seelig JD, et al. Angular velocity integration in a fly heading circuit. Elife. 2017;6:e23496. pmid:28530551