Abstract
Reproduction and immunity are crucial traits that determine an animal’s fitness. Terminal investment hypothesis predicts that reproductive investment should increase in the face of a mortality risk caused by infection. However, due to competitive allocation of energetic resources, individuals fighting infections are expected to decrease reproductive efforts. While there is evidence for both hypotheses, the factors that determine the choice between these strategies are poorly understood. Here, we assess the impact of bacterial infection on pre-copulatory behaviours in the fruit fly Drosophila melanogaster. We found that male flies infected with six different bacteria, including pathogenic and non-pathogenic strains, show no significant differences in courtship intensity and mating success. Similarly, bacterial infections did not affect sexual receptivity in female flies. Our data suggest that pre-copulatory reproductive behaviours remain preserved in infected animals, despite the huge metabolic cost of infection.
Introduction
Reproduction and immunity are intricately linked traits central to an animal’s fitness [1]. Lifehistory theory suggests that there is a trade-off between these two processes as the energy reserves are limited [2]. In the face of infection, animals need to mount an immune response that is energetically expensive [3,4]. As a result, infected animals might invest less in reproduction. Previous studies in insects and birds have shown that egg production can decrease upon infection [1,5]. For example, Anopheles females infected with the malarial parasite Plasmodium or injected with lipopolysaccharide (LPS), a bacterial cell wall component, produce a lower number of eggs [6,7]. In males, immune system activation has been shown to reduce sperm production and viability in crickets, birds and fish [8]. The decrease in reproductive investment is not limited to postcopulatory traits. Some studies report reduced expenditure in pre-copulatory reproductive behaviours in response to infection. For example, Charge et al. showed that immune challenged male houbara bustards (Chlamydotis undulata) display reduced courtship behaviours [9]. As the animal recovers from the infection, the courtship levels return to normal. Similarly, fishes infected with ectoparasites such as G. turnbulli or endoparasites such as microsporidians have been shown to invest less time in courtship [10–12]. These studies argue that individuals exposed to harmful infections prioritise defence over reproduction investment, thus increasing the likelihood of survival [13–16].
In an alternative, and opposite, scenario, the terminal investment hypothesis predicts that, upon perceiving a self-integrity or mortality risk, an individual will increase reproductive effort as its chance for future reproduction decreases. Through this strategy, individuals would shift their investment away from defence and repair traits and maximise their lifetime reproductive success [17]. Studies in diverse species have provided evidence for terminal investment. For example, Japanese tree frogs increase their calling effort to attract a mate in response to chytrid fungus infection [18]. Similarly, desert locusts (Schistocerca gregaria)infected with Metarhizium acridum, an entomopathogenic fungus, display increased mounting behaviour [19]. Male crickets (Allonemobius socius) injected with LPS employ different strategies based on their age since old, but not young, males accelerate their reproductive efforts upon infection [20]. Therefore, studies across taxa have found support for both reproduction-immunity trade-off and terminal investment hypothesis. This prompts the interesting question: what factors determine the selection of one investment strategy over the other? Strategies for balancing immunity and reproductive efforts may vary depending on the host’s internal conditions (e.g., age and genetic background)[20,21] and extrinsic conditions (e.g., nature of the infection, pathogen’s virulence, and its relationship with the host) [22]. Investigating how the infection type, timing, and virulence modulates reproductive behaviours is essential for understanding variation in reproductive effort across species.
The use of genetically tractable experimental systems opens the possibility of uncovering the genetic determinants of this process. Drosophila melanogaster is a powerful model organism for behavioural ecology and neuroscience [23–25] and is very well suited to study the interaction between reproduction and immunity. Fruit flies display an innate courtship ritual that allows them to evaluate the suitability of a potential mate while increasing the chances of successful copulation [26]. While males display a series of stereotyped courtship behaviours, such as singing a species-specific song by vibrating a wing, female flies show acceptance or rejection behaviours in response to the male’s courtship display [26]. During this encounter, flies exchange olfactory, gustatory, and visual cues that signal sex, species, and mating status [26]. The circuitry underlying courtship is defined by the sex determination genes doublesex and fruitless and has been extensively studied [26]. Studies report that male fruit flies have a high level of sexual drive and courtship commitment, even in the presence of suboptimal mating targets [27,28]. However, sustained sexual activity for extended periods of time can be metabolically costly for the animal [29] and increase the chances of predatory risk.
With a well-characterised immune system, Drosophila can be easily infected with pathogens either naturally or in experimental situations and serves as an excellent platform to study the effects of infectious diseases. The fly immune system relies on multiple defences, including physical barriers, local responses such as the production of reactive oxygen species (ROS), a cellular response, and a systemic response characterised by secretion of antimicrobial peptides (AMPs) into the hemolymph to fight microbial pathogens [30,31]. While a hallmark of the immune activation is the synthesis of AMPs, it is characterized by a marked transcriptomic switch with a profound metabolic impact [32–35]. The AMP production and the metabolic switch takes place primarily in the fat body and is under the control of two different cascades: Toll and Imd pathways, which activate different NF-κB-like factors and induce the innate immune response. The Toll pathway responds to antigens from fungi and Gram-positive bacteria while the Imd pathway detects Gram-negative bacteria [30,31]. Notably, many aspects of innate immunity are conserved between flies and mammals, such as NF-kB family transcription factors and signal transduction pathways [30,31], and the organization of the immune system is highly analogous [36]. A few studies have investigated the impact of pathogen infection on female sexual traits, like oviposition [37] and some aspects of male courtship [38]. However, how infection modulates reproductive behaviours in Drosophila remains poorly understood.
Here, we carried out detailed analyses of the effect of infections with diverse bacteria on fly male courtship behaviours and female sexual receptivity. We systematically tested the behavioural impact of infections with pathogenic (S. marcescens, S. aureus and L. monocytogenes) and non-pathogenic species (Erwinia carotovora carotovora 15 (ECC15), E. coli and M. luteus), which are phylogenetically diverse, have different virulence and hostpathogen relationships, and impose differing fitness costs on flies [39–41]. Our findings indicate that, regardless of the species’ virulence and pathogen-host relationship, bacterial infection does not significantly affect male courtship behaviour and mating success in Drosophila melanogaster. Similarly, female sexual receptivity remained unaffected upon infection. Moreover, genetic activation of Toll and Imd immune pathways in males and female flies had no impact on courtship displays. Our study demonstrates that pre-copulatory reproductive behaviours remain preserved in infected flies despite the significant metabolic cost of infection.
Results
Non-pathogenic infections do not affect courtship behaviour of wild-type males
To reliably produce infection phenotypes and assess the consequences in behaviour, we used a nano-injector to deliver precise volumes of bacterial solution into the abdomen of flies [42]. As a starting point, we chose three different non-pathogenic bacteria: ECC15, E. coli and M. luteus, which activate the fly’s innate immune system without affecting lifespan [43–45]. Gram-negative bacteria ECC15 and E. coli induce the Imd pathway, while the gram-positive bacterium M. luteus activates the Toll pathway. We confirmed the reproducibility of our infection protocols by assessing the fly’s survival rate in response to pathogenic infections (Fig S1). As expected, CS males infected with either ECC15, E. coli or M. luteus showed a survival rate similar to that of uninfected and sham-infected flies (injected with PBS solution) (Fig S1A-C). Given that flies rapidly clear non-pathogenic bacteria from their bodies [40,45,46], we carried out our behavioural experiments 5-6 hours post-infection, when the bacterial load is still detectable.
To assess the effects of non-pathogenic bacteria on male courtship behaviour, we performed single mating assays, where an infected male was paired with a healthy virgin female (Fig 1A). As expected, uninfected and sham-infected males spent most of the time courting a female (Median Courtship Index (CI): Uninfected= 95.07, PBS= 90.61; Fig 1B). Interestingly, males infected with ECC15 displayed comparable courtship levels to that of controls (ECC15 CI= 77.16; Fig 1B). Similarly, E. coli and M. luteus infection had minimal effect on male courtship behaviour (Uninfected CI= 99.52, CI PBS= 83.33 and CI E. coli = 84.73; Fig 1C; CI Uninfected= 90.7, CI PBS= 84 and CI M. luteus = 80.45; Fig 1D). Most control males successfully copulated within one hour and we found that infected males show a similar rate of copulation (Mating success: Uninfected= 100%, PBS= 100% and ECC15 = 95.24%, Fig 1E; Uninfected= 100%, PBS= 100% and E. coli = 100%, Fig 1F; Uninfected= 100%, PBS= 95.24% and M. luteus = 100%, Fig 1G). Next, we asked if we could generalise these findings to a second Drosophila strain. To this end, we selected wildtype Dahomey, an outbred strain isolated from Benin [47]. We found that, like CS, Dahomey males did not alter their courtship behaviour in response to infection (Fig S2). These results suggest that male courtship behaviours remain unaffected in response to non-pathogenic infections.
Pathogenic infections do not affect courtship behaviour of wild-type males
Our findings show that infection with non-pathogenic strains do not reduce male courtship in males. We reasoned that more virulent and pathogenic bacteria that can reproduce within the flies may have a greater impact on male reproductive behaviours. To test this hypothesis, we chose three different pathogenic bacterial species that have been shown to negatively affect Drosophila physiology and induce lethality: S. marcescens, S. aureus and L. monocytogenes. Infecting male flies with the natural insect pathogen S. marcescens caused 100% mortality within 9 hours upon injection (Fig S1D). In contrast, uninfected flies and sham-infected flies survived through the observation time. Non-natural pathogens for flies, such as S. aureus or L. monocytogenes, induced lethality within 24 hours (Fig S1E) and ~7 days (Fig S1F) respectively, as previously reported [39,40,48]. On the basis of the survival data, we performed behavioural experiments with S. marcescens, S. aureus and L. monocytogenes at 5-6h, 8-9h, 24-25h post infection, respectively, a time period at which infection is advanced but not too detrimental for the flies (Fig 2).
Surprisingly, none of these lethal infections altered male courtship behaviour. There were no observable changes in the courtship index of infected males with either S. marcescens (Median CI: Uninfected= 92.35, PBS= 99.53 and S. marcescens = 88.94, Fig 2B), S. aureus (Median CI: Uninfected= 88.5, PBS= 96.04 and S. aureus = 87.25, Fig 2C) or L. monocytogenes (Median CI: Uninfected= 86.95, PBS= 97.19 and L. monocytogenes = 94.76, Fig 2D). Moreover, lethal infections did not compromise male mating success (Mating success: Uninfected= 100%, PBS= 100% and S. marcescens = 80%, Fig 2E; Uninfected= 95.24%, PBS= 94.12% and S. aureus = 100%, Fig 2F; Uninfected= 100%, PBS= 90.48% and L. monocytogenes = 100%, Fig 2G). Similarly, the courtship behaviours of Dahomey male flies infected with any of these pathogenic bacterial strains remained unaffected (Fig S3).
Altogether, our observations indicate that pathogenic and non-pathogenic infection does not affect or increase male courtship behaviours. We reasoned that the high level of sex drive and courtship index observed in control uninfected and sham-infected flies (Fig 1 and Fig 2) might mask any potential effects from bacterial infection. To decrease basal courtship levels, we placed CS males with mated females, which are reluctant to copulate and are therefore unattractive courtship targets [49]. As expected, uninfected CS males showed decreased courtship index towards mated females (~20%). However, neither pathogenic (S. marcescens) or non-pathogenic (ECC15 and M. luteus) infections altered courtship behaviours (Table S1). Therefore, these findings reinforce our previous results showing that CS and Dahomey males infected with either pathogenic or non-pathogenic strains maintain their courtship efforts.
Non-pathogenic infections do not affect sexual receptivity of wild-type females
Previous reports suggest that the response to infections is sexually dimorphic in many animals, including flies [50,51]. This dimorphism is seen in survival, pathology, bacterial loads and activity [50]. In addition, the costs of reproduction are different between sexes. Males invest considerable energy in courting a potential mate while females do not play an active role during courtship. Given that the costs of immunity and reproduction are different between males and females, we asked if females respond differently to infections. To test this, we injected CS and Dahomey virgin females with ECC15, E. coli and M. luteus and measured copulation latency and mating success, both of which are proxies for female receptivity (Fig 3A). Uninfected CS virgin females readily accept males and copulate within 2-5 minutes. We found that infected females and sham-infected females exhibited a higher latency to copulation than uninfected controls. However, there were no differences between sham-infected and infected females, indicating that bacterial infection itself does not influence copulation latency (Median Copulation Latency: Uninfected = 131s, PBS= 384.5s, ECC15 = 402s, Fig 3B; Uninfected = 37.5 s, PBS= 500s, E. coli = 456s, Fig 3C; Uninfected = 248s, PBS= 567s; M. luteus = 574s, Fig 3D). Similarly, female mating success remained unchanged upon infection (Mating success: Uninfected= 95.83%, PBS= 100% and ECC15=100%, Fig 3E; Uninfected= 100%, PBS= 85% and E. coli = 89.47%, Fig 3F; Uninfected= 100%, PBS= 100% and M. luteus = 100%, Fig 3G). Dahomey virgin females infected with non-pathogenic strains showed a similar trend (Fig S4). We therefore conclude that non-pathogenic infections do not affect female receptivity in CS and Dahomey Drosophila females.
Pathogenic infections do not affect sexual receptivity of wild-type females
Next, we tested the effects of pathogenic strains S. marcescens, S. aureus and L. monocytogenes in female behaviour. We found that these infections dramatically reduced female survival (Fig S1). To test if female flies change their reproductive efforts in response to pathogenic infection, we injected CS virgin females with these pathogenic strains and presented them with a virgin CS male, which is sexually mature and has a high sex drive (Fig 4A). Similar to males, infection status did not affect latency to copulation in females (Median Copulation Latency: Uninfected = 167s, PBS= 250.5s, S. marcescens = 312s, Fig 4B; Uninfected = 198.5s, PBS= 390s, S. aureus = 306s, Fig 4C; Uninfected = 146s, PBS= 98.5s; L. monocytogenes = 186.5s, Fig 4D). In addition, female mating success remained unaffected upon pathogenic infection (Mating success: Uninfected= 100%, PBS= 100% and S. marcescens = 81.25%, Fig 4E; Mating success: Uninfected= 94.63%, PBS= 95% and S. aureus = 100%, Fig 4F; Uninfected= 95.24%, PBS= 100% and L. monocytogenes = 95.24%, Fig 4G). We confirmed these findings using WT Dahomey females, where we observed no significant changes in copulation latency or mating success (Fig S5). Hence, pathogenic bacterial infections do not modulate sexual receptivity in Drosophila females.
Effect of social context on pre-copulatory behaviours under infection conditions
Altogether, our data indicate that infections with different virulent and non-virulent pathogens do not modulate male courtship behaviours or mating success in Drosophila. We next wondered whether infected male flies would behave differently in the presence of a healthy male competitor (Fig 5A). To test this, we paired a CS virgin female with a healthy male and an infected male with S. aureus. Surprisingly, we found that infected males with this virulent pathogen courted to the same extent as the uninfected male (Fig 5 B). In addition, healthy females did not preferentially mate with healthy males over infected males (Fig 5C). We similarly tested whether healthy male flies would behave differently towards healthy or infected females (Fig 5D). When given a simultaneous choice between S. aureus infected females and sham-infected females, these males spent a similar amount of time courting each female in a competitive assay (Fig 5E). Moreover, they mated equally with healthy S. aureus-infected females (Fig 5F). Extending these studies to a second virulent pathogen, S. marcescens, showed an identical pattern (Fig 5G-L). These results suggest that a more complex social context does not change the reproductive performance of sick flies.
Activation of the immune system has limited impact on male courtship behaviour and female sexual receptivity
Our findings show that infections with several bacterial species that activate both arms of the immune system do not alter male or female reproductive behaviours in flies. We next wondered if induction of the immune system without the presence of bacteria would affect the reproductive behaviours shown by flies. To trigger a strong activation of each of the immune arms in a specific and controlled manner, we genetically induced the Drosophila immune pathways in the fat body, the site of humoral immune response, using the GAL4/UAS system. To achieve this, we overexpressed UAS-Imd [52] or UAS-Toll10B [53] using C564-GAL4 to target the fat body [54]. We found that activation of the Imd pathway did not significantly alter the courtship index or mating success in C564>Imd males (Median Courtship Index, C564-GAL4/+ = 86, UAS-Imd/+ = 93.8 and C564-GAL4 > Uas-Imd = 85.5, Fig 6 A-B), (Mating success, C564-GAL4/+ = 90%, UAS IMD/+ = 89.47% and C564-GAL4 > UAS-Imd = 70%, Fig 6C). Similarly, activation of the Imd pathway did not influence female copulation latency (Median Copulation Latency, C564-GAL4/+ =253.4s, UAS-Imd/+ = 149.09s and C564-GAL4>UAS-Imd = 209.78, Fig 6 G-H or mating success (Mating success, C564-GAL4/+ =100%, UAS-Imd/+ = 85% and C564-GAL4>UAS-Imd = 100%, Fig 6I). Since the expression of Toll10B inhibits growth and causes developmental defects [56], we expressed Toll10B in an adult-specific way. We combined C564-GAL4 with the temperature-sensitive GAL80 (GAL80TS) [55], an inhibitor of GAL4. At high temperature, GAL80 ceases to suppress GAL4, thereby allowing the expression of Toll10B. Here again, we found that adult specific activation of Toll10B did not affect the courtship index or mating success in C564-GAL4; GAL80TS>UAS-Toll10B males when compared to the controls (Median Courtship Index, C564-GAL4; tub-GAL80TS/+ = 95.68, UAS-Toll10B/+ = 94.93 and C564-GAL4; tub-GAL80TS>UAS-Toll10B =98.56, Fig 6D-E), (Mating Success, C564-GAL4; tub-GAL80TS/+= 84.21%, UAS-Toll10B/+ = 90.47% and C564-GAL4; tub-GAL80TS>UAS-Toll10B = 100%, Fig 6F). Furthermore, female sexual behaviour was unaffected in C564-GAL4;GAL80TS>UAS-Toll10B females (Fig 6J-L). These results, together with our previous findings, demonstrate that the activation of the immune system does not impact pre-copulatory behaviours in Drosophila.
Discussion
Life history theory argues that there is a trade-off between energetically expensive traits, like reproduction and immunity [2,58,59]. Animals expend a considerable amount of energy in pre-copulatory traits, such as courtship behaviours to woo a potential mate [29]. At the same time, when challenged with an infection, individuals must allocate resources in mounting an effective immune response [56,57]. This involves fulfilling demands for protein synthetic pathways necessary for fighting infections and repairing damaged tissues. How do individuals prioritise and balance their investment in reproduction and immune defence? The trade-off between immunity and reproduction has been shown to be context-dependent and affected by a multitude of factors, including the genetic background of the host, its internal state, and the nature of the pathogen [20,53]. Yet, how these external and internal factors influence reproductive and defence strategies remain unclear.
Here, we study the impact of bacterial infection on reproductive behaviours in the fruit fly Drosophila. To ensure a comprehensive analysis, we employ six bacterial pathogens that vary in their virulence, phylogeny, and host-pathogen relationship. We evaluate and describe diverse aspects of reproductive behaviours in response to infection using two different wild-type Drosophila melanogaster strains. By studying infected males, we measure mating success and courtship intensity towards the healthy females. In addition, we study copulation latency and mating success of infected females exposed to healthy males. Remarkably, our findings indicate that, regardless of the type of bacterial species, and host strain, infection does not significantly affect male or female reproductive behaviours. Specifically, our findings show that infected male flies do not modify their courtship intensity or mating success, even when presented with unfavourable targets. These observations are consistent with a previous study by Keesey et al, which showed that infection with the lethal pathogen Pseuduomonas entomophila led to a small decrease in mating success in flies [38]. Drosophila exhibits sexual dimorphisms in immune system responses [51]. However, just as in males, sexual receptivity and mating success remained unaffected in infected females, though we did observe increased latency to copulation in sham-infected females. Furthermore, constitutive activation of the Drosophila immune system had no influence on male or female pre-copulatory behaviours. Bacterial infections may affect the probability of an individual of being selected as a mate. However, we saw no evidence for preference for healthy flies or flies infected with virulent pathogens in mate selection assays.
Our finding that Drosophila pre-copulatory behaviours are preserved during infections have parallels in other species. For instance, Greenspan et al. reported that frogs infected with a deadly pathogen have comparable calling properties to that of uninfected individuals [58]. In addition, while certain cricket species show a reduction in pre-copulatory behaviours upon infection [59–61], the immune activation by LPS injection in male crickets Teleogryllus commodus or Gryllodes sigillatus does not impact pre-copulatory traits [62,63]. It can be argued that, in order to maintain pre-copulatory traits intact through the infection, immune challenged male and female flies invest more of their available resources in reproduction, supporting the idea that sick flies make a terminal investment [64]. However, the terminal investment hypothesis classically predicts that infected animals will increase their reproductive investment compared to healthy animals. While we observed a preservation of the pre-copulatory behaviours, we did not find an increased expression of these traits.
The insect fat body is analogous to vertebrate adipose tissue and liver and is the primary site of energy storage [65]. At the same time, this organ is the source of the transcriptionally induced humoral immune response [66]. Activation of immune responses by exposure to pathogens limits resource utilisation towards other important biological processes. In line with this, several of the treatments employed in this study, e.g., L. monocytogenes or E. coli infections and genetic activation of the Toll pathway in the fat body, have been shown to interfere with the insulin signalling pathway and subsequently decrease nutrient storage or growth [45,67,68]. Moreover, infections with L. monocytogenes and E. coli, as well as numerous pathogens, cause systemic changes in metabolic signalling [32,45,68,69]. Yet, despite the marked metabolic switch triggered during systemic infections, male and female flies retain their pre-copulatory behaviours. These findings highlight the relevance of reproductive behaviours and raise the question as to what mechanisms are in place to preserve them. Are the neuronal clusters or tissues dedicated to courtship insensitive to the systemic transformations triggered by infection? Conversely, do courtship circuits actively sense infection-induced signals and respond by triggering mechanisms that maintain behavioural performance? Future studies should address the molecular and cellular machineries that control pre-copulatory behaviours upon bacteria detection. Some of the challenges include determining if the neurons involved in different male and female pre-copulatory behaviours express components of immune signalling cascade, and whether pathogen detection leads to physiological changes (e.g., modulation of neural activity via changes in the expression of neurotransmitters, neuromodulators and/or ion channels receptors).
Successful reproduction requires the completion of different events, spanning from mate attraction and courtship through to sperm transfer, egg fertilisation and offspring production. These pre and post-copulatory traits may differ in their response to infections. Indeed, studies have shown that bacterial infections in flies affect several post-copulatory processes. For instance, Drosophila mated females reduce the rate of egg-laying in response to E. coli infection or exposure to bacterial cell wall components, likely decreasing the infection risk of their progeny [37]. Moreover, infection with P. rettgeri affects expression of genes involved in oogenesis [70]. Drosophila males infected with P. aeruginosa, on the other hand, display a decrease in sperm viability [71]. A reduced investment in post-copulatory traits but not in the execution of courtship behaviours could be explained by differential energetic costs associated with these traits. Post-copulatory traits, like sperm production, ovulation and oviposition, might be energetically more expensive and therefore be under stronger selection pressure.
In addition to post-copulatory traits, local and systemic responses triggered by infection have been shown to affect several non-reproductive behaviours in Drosophila. For instance, fruit flies exposed to infection modify their behaviour to avoid dangerous food. Similar to the sauce béarnaise syndrome, upon ingesting food contaminated with bacteria (e.g., ECC15 or Pseudomonas entomophila), flies reduce their activity and avoid harmed food via conditioned taste aversion mechanisms [72]. Moreover, upon contacting chemicals that normally activate the immune system, flies increase hygienic grooming [73]. Further, there is an interplay between immune activation and locomotion, with a subsequent impact on sleep, which depends on the pathogen type and the context and life history of the host. For instance, infection with E. coli leads to enhanced morning sleep, a process that is mediated by signals from peripheral immune systems (e.g., fat body) and the circadian clock [74,75]. Recently, it was reported that the Toll pathway in the fat body mediates a decrease of sleep in males infected with M. luteus [76]. In contrast, flies infected with S. pneumonia show normal levels of activity but with an altered sleep architecture and circadian rhythms [77].
In conclusion, despite the profound impact of bacterial infections on numerous metabolic, physiological and behavioural traits in Drosophila, pre-copulatory behaviours remain preserved, even in the face of deadly pathogens. Future experiments will investigate the mechanisms and the evolutionary ramifications of such strategy prioritisation.
Materials and Methods
Drosophila stocks
Wild-type fly lines used in the study include the D. melanogaster Canton-S and Dahomey strains. Transgenic lines include C564-GAL4 (BDSC 6982), UAS-Toll10B (BDSC 58987) and UAS-Imd (gift from Markus Knaden). Flies were raised on a standard cornmeal diet (recipe in Table S2) at 25 °C, 50-60% humidity with a 12 h light/dark cycle. Virgin male and female flies were collected <1 day after eclosion and were aged for 5-7 days in same-sex groups of 15-20 before experimentation.
Bacterial infection
The bacterial strains used in this study include Serratia marcescens (DB11), Staphylococcus aureus (SH1000), Listeria monocytogenes (EGD-e), Escherichia coli (DH5α), Pectinobacterium carotovorum carotovorum 15 (ECC15) and Micrococcus luteus (clinical isolate, gift from Prof William Wade, King’s College London). The bacterial strains were cultured overnight at conditions given below (Table S3). Cultures were pelleted down by centrifugation at 4500g for 2 minutes. The pellet was diluted in filter-sterilised PBS (Phosphate buffered saline) to a defined concentration (Table S3). 50 nl of diluted bacterial solution was injected employing a nano-injector (MPP1-3 Pressure Injector, Applied Scientific Instrumentation) into the abdomen of anaesthetised flies as previously described [42].
Survival assay
Infected flies and controls were placed in groups of 10-15 in vials at 29°C. The vials were inspected on an hourly/daily basis and the number of live flies were counted until all the flies were dead.
Behavioural assays
All behavioural experiments were done in between zeitgeber time (ZT) 01 and ZT10 at 25°C. Mating assays were carried out in circular courtship chambers (20mm in diameter, 5 mm in height), which have built-in dividers that allow separation of the sexes before the experiment. The lighting was constant throughout the assay.
Single pair mating assay
Flies were injected with bacteria or vehicle solution (PBS) and immediately placed them in the courtship chamber with food to avoid starvation. Before the behavioural measurement began, the uninfected flies of the opposite sex were introduced using a fly aspirator. The dividers were opened just before the assay and behaviours were recorded for one hour.
Mate choice assays
In competitive mating assays, a focal fly was given a choice between an infected and a healthy (PBS) mate. The infected and healthy flies were marked with acrylic paint 48 hours before experimentation. After injection, both infected and PBS flies were transferred to courtship chamber with food. The focal fly was aspirated into the chamber before behavioural experimentation and behaviours were recorded for one hour.
For single pair mating assays, the following parameters were quantified: courtship latency: measured as the time taken by the male to initiate courtship, courtship index: measured as the proportion of time the male spends courting from the beginning of courtship until 10 minutes or end of copulation, mating success: measured as the number of successful copulations within one hour and copulation latency: measured as the time taken to copulate from the start of courtship. For competitive mating assays, the focal fly’s first mate choice was recorded: i.e if the fly chose to mate with a healthy or infected mate.
Statistical analysis
All statistical analyses and data visualisation (ggplot2, R Markdown) were performed using R studio (R version 3.6). All data were tested for normality using Shapiro–Wilk test. As most of the behavioural data do not follow a normal distribution, Kruskal Wallis followed by Dunn test with Bonferroni corrections were used for post-hoc comparisons. Fisher’s exact test was used to analyse count data and log-rank test for survival data. Differences were accepted as significant at p <0.05.
Data accessibility
This article has no additional data. R code used for analysis has been deposited at Github: https://github.com/salonirose95/Infection-paper/
Authors’ contributions
Conceptualization, S.R., and C.R.; Methodology, S.R., E.J.B., R.C.M, M.D, and C.R.; Investigation, S.R., and C.B.; Resources, R.C.M, M.D, and C.R; Writing, S.R., E.J.B., R.C.M, M.D, and C.R.; Supervision, C.R.; Funding Acquisition, C.R.
Competing interests
We declare we have no competing interests.
Funding
This work was supported by grants from BBSRC (BB/S009299/1), Welcome Trust (214062/Z/18/Z) and Royal Society Research (RGS/R2/180272) to C.R, and a Darwin studentship to S.R. E. B. is supported by an IBRO Return Home Fellowship 2020.
Acknowledgements
We thank Jean-Christophe Billeter, Joanne Yew, and Ana Depetris-Chauvin for helpful discussions. We are grateful to Bruno Lemaitre, Markus Knaden and Alicia Hidalgo for sharing fly stocks or bacterial strains with us. We would also like to thank Shaleen Glasgow for help with fly collections and Laurie Cazale-Debat for providing schematics. Finally, we thank the members of the Rezaval and Dionne lab for helpful discussions.