Cold shock induces a terminal investment reproductive response in C. elegans

Challenges from environmental stressors have a profound impact on many life-history traits of an organism, including reproductive strategy. Examples across multiple taxa have demonstrated that maternal reproductive investment resulting from stress can improve offspring survival; a form of matricidal provisioning when death appears imminent is known as terminal investment. Here we report a reproductive response in the nematode Caenorhabditis elegans upon exposure to acute cold shock at 2 °C, whereby vitellogenic lipid movement from the soma to the germline appears to be massively upregulated at the expense of parental survival. This response is dependent on functional TAX-2; TAX-4 cGMP-gated channels that are part of canonical thermosensory mechanisms in worms and can be prevented in the presence of activated SKN-1/Nrf2, the master stress regulator. Increased maternal provisioning promotes improved embryonic cold shock survival, which is notably suppressed in animals with impaired vitellogenesis. These findings suggest that cold shock in C. elegans triggers terminal investment to promote progeny fitness at the expense of parental survival and may serve as a tractable model for future studies of stress-induced progeny plasticity.

www.nature.com/scientificreports/ cold and reproduction begun to emerge. Sonoda et al. 13 demonstrate that the presence and integrity of sperm is required for normal cold tolerance by exerting an effect through multiple tissues, including ASJ neuronal activity. At the level of population dynamics, it has also been reported that C. elegans warming from a 2-h cold exposure enter a state of programmed death which is thought to result in kin selection for the survival of younger (and presumably more reproductively fit) animals 14 . However, the extent to which acute cold stress directly impacts reproductive capacity in these animals remains unknown. As alternating periods of cold and moderate temperatures preceding a winter season may comprise a substantial portion of the short reproductive window in C. elegans, this necessitates further study.
We have previously shown that acute cold shock at 2 °C causes loss of intestinal pigmentation, immobility, and reproductive disruption in wild-type hermaphrodite worms. In many cases, this phenotypic program results in lethality 15 . Here we extend this work by characterizing the induction of these phenotypes via the neuronal TAX-2/TAX-4 thermotransduction channel, mediated by the canonical stress response regulator SKN-1/Nrf2. We further describe a role for the normal vitellogenesis machinery in reallocating pigmented intestinal lipid supplies to the germline, which appears to come at the expense of parental survival following cold exposure. Overall, our findings suggest that acute cold shock provokes a terminal investment reproductive response in C. elegans, making this discovery an exciting opportunity to explore the phenomenon in a genetically tractable system.

Results
Acute cold shock causes drastic phenotypic alterations. The duration of cold exposure for young adult hermaphrodite C. elegans at 2 °C is negatively correlated to post-shock survival rates 15 . Wild-type hermaphrodite worms exposed to a 4-h cold shock (CS) do not initially display high mortality rates (Fig. 1a); this allows observation of a range of phenotypic transitions as they recover from the limited-duration cold stress at their preferred temperature of 20℃. One of the most striking phenotypes exhibited in post-cold shock (post-CS) animals during the recovery period is a dramatic decrease in pigmentation in the normally highly pigmented intestine, so that the body becomes almost entirely clear (Fig. 1b, c) 15 . This is often accompanied by motor and reproductive disruptions such as mobility loss, withering of the gonad arms, decreased number of internal embryos, and the eventual death of about 30% of the population (Fig. 1a-d) 15 . It should be noted that these phenotypic responses do not appear to be due to any relative heat shock following the transition from 2 to 20 °C as the expression of GFP-tagged HSP-4 (heat shock protein) is not induced following cold shock (Fig. 1e). Neither is the reduced pigmentation following cold shock due to a period of starvation presumably experienced by the worms while they are at 2 °C. At this extreme cold temperature, the worms enter a "chill coma" in which pharyngeal pumping and virtually all other movement ceases 15,16 ; however, a total absence of food for a similar time period does not induce a comparable clearing phenotype (Supplemental Fig. S1). Interestingly, some CS wild-type animals regain pigmentation after clearing; these worms do not die and display a general reversal of the other negative impacts of cold shock (Fig. 1b) 15 . We sought to better understand the factors regulating the post-CS recovery program in wild-type worms, focusing particularly on the functional role of pigmentation loss and the genetic components involved in producing it.
Cold shock induces lipid reallocation from somatic tissues to the germline. Since pigmentation in the C. elegans intestine is due in part to the presence of lipid-storing fat droplets 17 , we wondered whether the decrease in pigmentation in cold-shocked worms corresponds to a depletion of intestinal lipid supplies, potentially as a result of increased metabolism meant to fuel post-cold shock recovery. Using Nile Red, which accumulates and fluoresces in hydrophobic environments 18 , as an indicator of lipid content, we therefore analyzed the fat stores of worms 12 h following CS (note that all cold shocks were performed for 4 h at 2℃). We indeed observed a significant decrease (P < 0.0001) in the average lipid content per worm (Fig. 2a); visually, this presents as an overall reduction in average fluorescence that is most striking in the intestine (Fig. 2c). However, we also unexpectedly noted that the lipid content of the gonad appears to concomitantly increase, marked by the presence of fluorescent (and therefore lipid-rich) internal embryos in the gonads of many cold-shocked worms that were mostly absent in their non-cold shocked counterparts (Fig. 2b, c). These embryos are somewhat sporadic, usually accounting only for a proportion of all embryos in the germline and are interspersed with non-fluorescent embryos. Importantly, the percentage of fluorescent internal embryos per worm was found to be elevated two-fold in CS worms relative to that of nonCS controls (Fig. 2b). These observations suggest that rather than just metabolically depleting lipid supplies, C. elegans may also reallocate lipids from the intestine to the germline. To further analyze this process spatiotemporally, we performed a time course of Nile Red staining following cold shock (Fig. 2c). After exit from cold shock and the corresponding chill coma 15,16 , most worms gradually resume movement over the first 30 min of recovery at 20℃. At this point, the distribution of Nile Redstaining lipids is indistinguishable from non-cold shocked controls, indicating that lipid reallocation occurs after, rather than during, the cold shock. By 4 h post-cold shock, we observed visually decreased but rarely absent fluorescence in the intestine; at this time, many worms have brightly fluorescing proximal oocytes, suggesting that lipids are beginning to relocate from the intestine into the germline. This process of reallocation appears to continue over the next 14 + hours, with many 12 h-recovered worms containing fluorescent embryos and oocytes but only slight intestinal fluorescence, and most 18 h-recovered worms fluorescing almost exclusively in the embryos. Though it is unclear what other factors (e.g. metabolism) may contribute to the overall pigmentation loss, these observations suggest that the dramatic decrease in intestinal pigmentation results in large part from the reallocation of lipids from somatic tissues to the germline during the recovery phase following a severe cold shock. www.nature.com/scientificreports/ Thermosensation is required to initiate the cold shock response. We next asked how wild-type C. elegans perceive and interpret cold shock as a signal for lipid reallocation. The cGMP-gated channel subunits TAX-2 and TAX-4 are important for thermosensation and acquired cold tolerance in worms, acting specifically in the ASJ neurons 11,19,20 . We reasoned that worms might also rely on a neuronal mechanism of sensation that acts through the TAX-2/TAX-4 channel to induce the cold shock response in the absence of prior cold exposure. tax-2(p671); tax-4(p678) double loss-of-function mutants were therefore tested for sensitivity to cold shock. Not only do these mutants show 100% survival following cold shock (Fig. 3a), but, unlike wild-type worms, they also do not display any significant difference (P > 0.9999) in overall lipid content 12 h after CS, nor the striking lipid reallocation phenotype characterized by large numbers of fluorescent embryos ( Fig. 3b-d). Interestingly, despite this resilience to shock, tax-2(p671); tax-4(p678) mutants still show decreased internal embryo quantities, though not to the same degree as N2 worms (Fig. 3e), suggesting that cold exposure has some additional  www.nature.com/scientificreports/ impact on fertility independent of this thermosensation pathway. Taken together, though, these data support the hypothesis that fat reallocation as a stress response following CS may depend on a neuronal mechanism for induction. Since TAX-2/TAX-4 plays a role in temperature sensation, we speculate that canonical cold thermosensation is required for lipid reallocation to take place.

Figure 2.
Cold shock recovery is associated with lipid localization shifts from the intestine to the germline. Young adult N2 hermaphrodites were exposed to 2 °C cold shock or control nonCS conditions (20 °C) for 4 h and recovered before Nile Red staining and imaging for lipid content. www.nature.com/scientificreports/ www.nature.com/scientificreports/ SKN-1 promotes cold stress resistance. After determining a requirement for neuronal signaling in cold-shock-induced lipid reallocation, we next wondered what intermediate factors were needed to translate the cold stimulus into a signal to mobilize resources. The master regulatory transcription factor SKN-1/Nrf2 coordinates a return to homeostasis following a variety of stresses, including oxidative stress 4 , pathogen infection 21,22 , and osmotic stress 23 . We therefore predicted that skn-1 would perform a similar function during cold stress recovery. Indeed, skn-1(lax188) gain-of-function mutants 24 are highly resistant to cold shock, with nearly 100% survival rates 96 h post-CS (Fig. 4a). Consistent with a retention of overall lipid stores by Nile Red Staining (Fig. 4b,d), these mutants did not contain significantly greater numbers of fluorescing internal embryos following cold shock (P > 0.9999), though they did have a marginal reduction in the number of internal embryos ( Fig. 4d-f). Conversely, skn-1(mg570) loss-of-function mutants displayed a wild-type cold shock response, with significant reallocation (P < 0.00001) of lipids to the germline and loss of somatic fats ( Fig. 4c-f). Because mg570 eliminates only the skn-1a mRNA isoform 25 , but skn-1(lax188gf) activates both skn-1a and skn-1c, we additionally tested the CS response of skn-1(zj15) loss-of-function mutants, which are reported to have a 76% reduction in both skn-1a and skn-1c mRNA levels 26 . We observed a similar clearing phenotype (Supplemental Fig. S2); however, these animals appeared slow-growing and less robust, which may have contributed to more substantial CS-induced lethality. Taken together, these data suggest that the skn-1a and perhaps also the skn-1c isoforms are not required for lipid mobilization in response to cold shock. However, SKN-1a/c activation protects coldshocked worms from recovery phase lethality and prevents lipid reallocation.
Lipid reallocation results from upregulated vitellogenesis following cold shock. The process governing the normal movement of lipids from the soma to the germline is vitellogenesis, requiring the vitellogenin proteins coded for by vit-1-6 genes. Once coupled to somatic lipid supplies, the resulting lipoprotein complexes shuttle to the germline 27 . We hypothesized that the lipid mobilization induced by cold shock is a result of the normal vitellogenesis machinery being commandeered as part of a stress response.
One of the major vitellogenins is VIT-2, which generates a 170 kD yolk protein product known as YP170B 28 . We predicted that loss of vit-2 would reduce lipid reallocation following CS. Since preventing reallocation in our previous mutants also increased post-CS survival, we expected that vit-2 loss of function would enhance protection from CS. Consistent with these hypotheses, impairment of vitellogenesis in vit-2(ok3211) loss-of-function mutants produced phenotypes similar to tax-2(p671); tax-4(p678) animals. In addition to maintaining high survival rates, CS vit-2(ok3211) mutants did not undergo a substantial loss of intestinal lipid supplies, nor did they exhibit a marked increase in internal embryo fluorescence (despite a modest decrease in internal embryo counts) (Fig. 5a-e).
Since other vitellogenin transcripts produce different lipoprotein forms for movement to the germline, we decided to additionally test whether a member of the YP170A-generating class of vitellogenins would recapitulate our results with vit-2. To this end, we analyzed the CS phenotypes of vit-5(ok3239) loss-of-function animals. Indeed, we found that as in vit-2 mutants, survival was rescued in these animals following CS, corresponding with a retention of somatic lipids and inhibition of embryonic lipid reallocation (Fig. 6a-c,e). As with other mutants that prevent lipid reallocation, there was still an effect of cold in reducing overall embryo output 12 h post-CS, hinting that temperature impacts fertility independent of the other reproductive alterations exhibited by wild-type worms (Fig. 6d).
Cold shock response is a form of a terminal investment. Our data thus far suggest that upon recovery from acute CS, wild-type C. elegans induce a reproductive phenotype whereby somatic lipid supplies are massively relocalized to the germline using the normal vitellogenesis machinery. This appears to come at the expense of the parent's own mortality, as retaining somatic lipids by preventing thermosensation or vitellogenesis is sufficient to rescue survival. Such a trade-off between survival and reproduction is redolent of the terminal investment hypothesis (reviewed in Gulyas and Powell, 2019 2 ), which predicts that in some instances of acute stress where the likelihood of death is high, organisms can preferentially funnel resources to reproduction to maximize reproductive fitness at the cost of survival.
To determine whether cold stress-associated phenotypes in C. elegans are an example of such a process, we eliminated all potential for reproductive investment by assaying sterile glp-1(e2141) and glp-1(q231) worms to ask whether these worms still exhibited lipid loss or death upon cold shock. Strikingly, the absence of a germline in these animals completely prevented both intestinal clearing and death, again confirming that lipid movement from the soma to the germline is associated with parental lethality (Fig. 7a). If resource reallocation to the progeny is indeed meant to increase reproductive fitness in inclement conditions, there should be some benefit to the progeny of CS worms that offspring of nonCS parents do not receive. We speculated that in the case of environmental CS, a sudden, seasonal, cold to warm cycle might signal likelihood of future cold conditions that would impede the ability of embryos to hatch and survive to reproductive age. We therefore devised an assay to test for the relative fitness of embryos in cold conditions depending on whether they came from nonCS or CS parents and were thus more likely to have received lipid provisioning. To do this, embryos were collected from nonCS and CS parents within a 2 h time window when post-CS lipid reallocation seems to peak and subsequently exposed them to a cold stress of 24 h. We then assessed hatching rates 24 h following the embryonic cold shock. Excitingly, embryos coming from parents that had experienced cold shock prior to reproduction exhibited a small but significant increase in hatching rates relative to their counterparts from nonCS hermaphrodite parents. Furthermore, preventing lipid reallocation by impairment of vitellogenesis in either vit-2(lf) or vit-5(lf) was able to substantially ablate this effect, suggesting that the improved survival is attributable specifically to lipid investment in the F1 generation (Fig. 7b, c). Altogether, it appears that while preventing embryonic lipid endowment may promote adult survival post-CS, offspring that go on to experience www.nature.com/scientificreports/

Discussion
Cold shock response overlaps with other stress response phenotypes. We have provided here the first evidence that C. elegans, upon acute cold shock (CS), is able to improve the success of progeny survival during future cold exposure by mobilizing lipids to the germline as reproductive provisioning. This process seems to depend on neuronal sensation of the cold temperature, which permits a shift of lipid localization from the soma to the germline. Lipid reallocation is mediated by vitellogenins, and despite an overall decrease in embryo output, the embryos in these worms are more resilient to future cold exposure and display more robust hatching. The switch to a sudden last reproductive event and resulting parental mortality is consistent with the adoption of a more semelparous lifestyle 29 . In this instance, potentiation by a severe environmental stress to induce a higher quality (rather than quantity) final reproductive investment suggests that C. elegans has evolved a terminal investment response to deal with acute cold exposure. www.nature.com/scientificreports/ Though, to our knowledge, no previous study has linked terminal investment to C. elegans, there are other documented phenomena characterized by a similar trade-off. For example, the "age-dependent somatic depletion of fat (ASDF)" phenotype is characterized by age-dependent changes in lipid homeostasis that are induced during both starvation and oxidative stress and are highly reminiscent of post-cold-shock reallocation of lipids from the intestine to the germline 24 . As is also the case with cold shock-induced terminal investment, reduction of vitellogenic transcripts (including vit-2) suppresses lipid mobilization. Lipid reallocation during ASDF does appear to negatively impact parental survival, but it is unclear whether this phenotype also holds functional significance for offspring survival. Surprisingly, while the process governing the ASDF phenotype and cold shock recovery are both regulated by the master stress response transcription factor SKN-1/Nrf2, activating SKN-1 has opposite effects. When measuring ASDF, skn-1(gf) stimulates the shift of lipids from the intestine to the germline 24 ; in contrast, skn-1(gf) prevents lipid mobilization and promotes intestinal lipid sequestration following cold shock. It is possible that the role of SKN-1 varies with age since ASDF occurs in much older adults than those analyzed following cold stress. This potential will be analyzed in future work, in addition to elaborating the roles of specific skn-1 alleles during CS. The major outstanding question of how stress-altered metabolic state impacts lipid governance and the nature of the lipids involved also merits further exploration. Although regulation of lipid homeostasis may be via distinct pathways, the existence of mechanistically similar responses to starvation, oxidative stress, and cold stress suggests that terminal investment may be a more generalized response to severe stressors in C. elegans.
Despite the fact that terminal investment requires extremely high parental resource investment, there are other similar and less severe forms of maternal provisioning in C. elegans. For example, osmotic stress shifts embryonic contents to include less glycogen and more glycerol, a cryoprotectant 5 . It is particularly relevant to our study that mild nutrient deprivation in hermaphrodites leads to intergenerational plasticity in which embryos tend to be slightly larger and offspring are somewhat protected from the effects of larval starvation 4 . Remarkably, this corresponds to decreased maternal insulin signaling and upregulated vitellogenin provisioning in the germline, much as we report during cold exposure 30 . It will be interesting in future experiments to dissect how thermosensory signaling may hyperactivate vitellogenesis upon acute cold stress, especially as it relates to different vitellogenin yolk protein products. Additionally, analyzing how various stressors impact and modify embryonic composition will be important for understanding the extent to which maternal investments are conserved. Taken together, it is clear that stressors in the parental generation can have remarkable consequences on reproductive and survival trade-offs as well as offspring physiology and plasticity.
Terminal investment in response to cold may have evolved in regularly fluctuating environmental conditions. Since the preeminent goal of survival is reproduction, terminal investment is sensible from a fitness standpoint. But why would cold shock elicit this phenotype? Experimental evolution in C. elegans reveals that deterministic maternal effects (those that attempt to successfully invest offspring for survival in a particular environment) evolve in response to predictably fluctuating environments 31 . Thus, we conjecture that predictably encountered cold environments, such as those during seasonal freeze-thaw cycles in temperate regions, are likely to have given rise to the reallocation phenotype. This could happen by one of the two possible mechanisms. First, cold shock-induced damage may signal to the worm that death is imminent and reproductive timespan is limited. Worms may then funnel all their resources into embryos which are then better capable of surviving cold stress. However, this seems unlikely since these data suggest that C. elegans that avoid reallocation (or are genetically prevented from doing so) survive CS extremely well, which is inconsistent with CS causing large amounts of damage. It is possible that these worms are simply more resistant to CS-induced damage or are better able to repair damage in the absence of reallocation, though this would need to be tested more rigorously.
A second, more plausible scenario is that seasonal cold cycles signal a coming winter season with a low chance of offspring survival. At specific larval stages, worms can enter a highly stress-resistant state (called the dauer stage) which may enable them to survive the winter season and resume development when conditions are more favorable. If the better-provisioned embryos of worms that have recently experienced a cold cycle survive successive cold shock, this could favor a larger percentage of offspring that are able to successfully enter the dauer state. Long-term, this would translate to a higher probability that offspring survive to reproduce when winter conditions are alleviated, continuing the parent's lineage. This model accounts for the selection of the reallocation trait in evolutionary history. It further suggests that rather than being induced as a result of damage that signals impending death (and thus a final chance to reproduce), reallocation may instead be prompted by a more general prediction of future damage to both the parent and the offspring. Further experimentation is needed to assess this model and to determine how it would fit into the known framework for terminal investment strategies.
Although we have largely considered simple maternal effects involving cytosolic investments in this work, there is also the potential for epigenetic effects at the level of gene expression to play a role in intergenerational and transgenerational offspring survival. Indeed, the progeny of C. elegans submitted to various stressors demonstrate improvements in stress survival to the same and other types of stress. Recently, a study by Burton et al. 7 examined multigenerational responses to a number of stressors including nutrient deprivation and pathogenic stress and found that multiple Caenorhabditis species regulate gene expression in the F1 generation in a stressspecific manner to benefit survival upon exposure to the same. These studies highlight the evolutionary advantage of provisioning offspring for what is perceived to be a likely future. It would be interesting to extend analyses of multigenerational gene regulation to see if this is also at play in the context of CS.

Terminal investment has consequences for population-level dynamics. Terminal investment
occurs across a broad phylogenetic range in response to many stressors, and the potential ecological and evolutionary implications are serious in today's global climate. Pathogen exposure commonly elicits terminal invest- www.nature.com/scientificreports/ ment; one particularly relevant example occurs in several species of frog in response to infection by Batrachochytrium dendrobatidis (Bd), the perpetrator of severe global amphibian declines. Rather than retaining resources for survival, individuals in many of these species direct energy to reproduction, increasing gamete output. While producing more offspring improves the likelihood of population persistence, this mode of reproduction does not favor survival of frogs past infection, whereupon animals selected by resilience would engender less susceptible offspring and gradually allow population resistance to the fungus to evolve 32 . Thus, terminal investment poses a serious long-term survival risk for some frog species faced with extinction from Bd. As global climates shift, it is unclear how population dynamics will be affected by changing temperatures. Since terminal investment is suspected to be a means of population persistence, it may play an important role in continued population survival of various species. In most documented cases, terminal investment results in increases to brood size but some examples exist in which offspring quality is favored, such as in the tsetse fly, where stress levels are positively correlated with the percent of body fat that is dedicated to offspring 33 . The majority of terminal investment studies currently come from ecological studies in non-model systems; thus, an understanding of the cellular components and mechanisms involved in terminal investment, particularly in relation to quality investment, remains largely elusive. Here we have identified a new terminal investment process in response to cold stress in a genetically tractable and environmentally relevant model. The opportunity to better understand how this phenomenon is elicited and executed on the molecular scale is an exciting prospect for future studies. With a more comprehensive understanding of the impacts of stress on not only the parental generation but multiple generations thereafter, we can better predict both an organism's physiology and population dynamics in response to specific environmental factors.
Cold shock survival. For adult cold shock, approximately 20-70 young adult worms (not yet gravid) were picked to OP50-seeded 3.5 cm NGM and placed at 2 °C for 4 h. After 4 h cold shock, plates were transferred to 20 °C for worm recovery. Worms were scored at 1, 4, 24, 48, 72, and 96 h post-cold shock for survival and qualitative phenotypic assessments. A worm was considered dead when nose tap did not elicit any movement. Clear worms were determined by a lack of almost all intestinal pigmentation, and immobile worms by a nose tap that elicited only movement in the head region.
For embryonic cold shock, parents were cold shocked as above, allowed to recover for 15 h, then transferred to fresh plates to lay embryos for 2 h. This time window is the peak of lipid reallocation following cold shock. Approximately 50-100 embryos were transferred to very lightly seeded 3.5 cm NGM plates and cold shocked at 2 °C for 24 h. Following a 24-h recovery at 20 °C, the number of hatched and unhatched embryos were counted. Embryos were considered hatched if the entirety of the L1 larva was visible in a non-curled state, and the larva was not dead.
For adult starvation, approximately 50-150 young adult worms were washed with M9 to remove excess OP50 and pipetted onto seeded or unseeded 3.5 cm NGM plates. Worms on unseeded plates were starved for 4 h at 20 °C, then recovered by the addition of concentrated OP50. Worms on seeded plates were cold shocked at 2 °C or mock cold-shocked at 20 °C for 4 h, then recovered by transfer to 20 °C. Worms were scored for pigmentation and viability after 24 h of recovery.
During all cold shock experiments, plates were placed directly on the incubator shelf in a monolayer rather than a stack both during cold shock and the early stages of recovery to facilitate uniform temperature changes among plates.
C. elegans fluorescence imaging and quantification. zcIs4[hsp-4::GFP] worms were either heat shocked at 35 °C for 2 h, cold shocked according to standard protocol, or non-shocked. After 12 h recovery at 20 °C, worms were picked to a drop of M9 containing 5 mM sodium azide. Worms were imaged on a Nikon Eclipse 90i microscope at exposure times of 2.9 ms for DIC and 900 ms for GFP.
The fixed Nile Red staining protocol was modified from Pino et al. 35 and Escorcia et al. 2019 36 . Briefly, at 12 h post-cold shock, 50-75 worms were washed once with M9 and fixed for three minutes at room temperature in 25 μl M9 + 150 μl 40% isopropanol. Worms were stained for 2 h in the dark with gentle rocking in 175 μl 40% isopropanol containing 0.6% Nile Red stock (0.5 mg/ml in acetone). Samples were washed with M9 for 30 min in the dark with gentle rocking, then mounted on a 2% agarose pad for imaging. Worms were imaged on a Nikon Eclipse 90i microscope at exposure times of 3 ms for DIC and 400 ms for GFP (Figs. 1, 3, 4, 5) or on a Zeiss Axio Imager Z1 microscope with exposure times of 3 ms for DIC and 500 ms for GFP (Figs. 2, 6).
Scale bars (100 µm) were added and all images were rotated and cropped using ImageJ. No other image manipulations were performed.
Images of fluorescent worms taken on the Nikon Eclipse 90i microscope (Figs. 1, 3, 4, 5) were analyzed using NIS Elements Data Analysis software; images taken on the Zeiss Axio Imager Z1 microscope (Figs. 2, 6) were analyzed using ImageJ. In either case, total fluorescence was determined by outlining the entire worm as a Region www.nature.com/scientificreports/ of Interest (ROI) and calculating the average fluorescence for that ROI. The number of internal embryos and the number of fluorescent embryos were determined by visual counts.

Statistical analysis.
All data represent at least three independent replicates. Statistical analysis on continuous data was performed in GraphPad Prism 9.2.0 (www. graph pad. com) with an alpha value of P < 0.05. For samples with 2 conditions, nonparametric Mann-Whitney U tests were performed and reported with two-tailed P values. In cases with greater than 2 conditions, Kruskal-Wallis nonparametric ANOVA were performed with Dunn's Multiple Comparison test. For hatching analyses, a Grubb's test was conducted through GraphPad to identify outliers in the data, with one point identified as an outlier (Z = 3.4005, two-tailed P < 0.01) and removed. d' Agostino & Pearson normality tests were then applied to the remaining values and normal distribution was confirmed by a P > 0.05 for each condition. After validating data normality, 2-way ANOVAs were used to compare the mean of each condition with a Tukey's Multiple Comparison test. Categorical data were analyzed using a Chi-Squared Test for Homogeneity in Microsoft Excel, with an alpha value of P < 0.05.