Maternal nematode infection upregulates expression of Th2/Treg and diapedesis related genes in the neonatal brain

Intestinal nematode infections common during pregnancy have recently been shown to have impacts that extend to their uninfected offspring including altered brain gene expression. If maternal immune signals reach the neonatal brain, they might alter neuroimmune development. We explored expression of genes associated with four distinct types of T cells (Th1, Th2, Th17, Treg) and with leukocyte transendothelial migration and endocytosis transport across the blood–brain barrier (BBB) in the postnatal brain of offspring of nematode-infected mice, through secondary analysis of a whole brain gene expression database. Th1/Th17 expression was lowered by maternal infection as evidenced by down-regulated expression of IL1β, Th1 receptors and related proteins, and of IL22 and several Th17 genes associated with immunopathology. In contrast, Th2/Treg related pathways were upregulated as shown by higher expression of IL4 and TGF-β family genes. Maternal infection also upregulated expression of pathways and integrin genes involved in transport of leukocytes in between endothelial cells but downregulated endosome vesicle formation related genes that are necessary for endocytosis of immunoglobulins across the BBB. Taken together, pup brain gene expression indicates that maternal nematode infection enhanced movement of leukocytes across the neonatal BBB and promoted a Th2/Treg environment that presumably minimizes the proinflammatory Th1 response in the pup brain.

Intestinal nematode infections common during pregnancy have recently been shown to have impacts that extend to their uninfected offspring including altered brain gene expression. If maternal immune signals reach the neonatal brain, they might alter neuroimmune development. We explored expression of genes associated with four distinct types of T cells (Th1, Th2, Th17, Treg) and with leukocyte transendothelial migration and endocytosis transport across the blood-brain barrier (BBB) in the postnatal brain of offspring of nematode-infected mice, through secondary analysis of a whole brain gene expression database. Th1/Th17 expression was lowered by maternal infection as evidenced by down-regulated expression of IL1β, Th1 receptors and related proteins, and of IL22 and several Th17 genes associated with immunopathology. In contrast, Th2/Treg related pathways were upregulated as shown by higher expression of IL4 and TGF-β family genes. Maternal infection also upregulated expression of pathways and integrin genes involved in transport of leukocytes in between endothelial cells but downregulated endosome vesicle formation related genes that are necessary for endocytosis of immunoglobulins across the BBB. Taken together, pup brain gene expression indicates that maternal nematode infection enhanced movement of leukocytes across the neonatal BBB and promoted a Th2/Treg environment that presumably minimizes the proinflammatory Th1 response in the pup brain.
Chronic gastrointestinal (GI) nematode infections are extremely important in low-income countries where human hookworm infections exacerbate anemia during pregnancy 1 and in ruminants where GI nematodes lower birth weight 2 . On the other hand, GI nematode infections have been observed to enhance immune development in mouse 3,4 and human 5 studies and enhance immunity against non-infectious Th2-related conditions in human 6,7 and mouse 8 neonates, at least in part through transfer of cytokines and immunoglobulins through breast milk. Moreover, enhanced neonatal systemic immunity in response to maternal GI nematodes has been shown to promote long-lasting immunity against nematode infection in the offspring 4 . Thus, GI nematodes might have both harmful and beneficial consequences for the next generation, and benefits might be a consequence of the Th2/Treg responses typically induced by GI nematodes that dampen Th1/Th17 immunopathology 9,10 .
Infection of pregnant and lactating mice with the GI nematode Heligmosomoides bakeri (= Heligmosomoides polygyrus, Nematospiroides dubius) has been shown to alter brain gene expression in the late-term fetus 11 and the 7-day old (P7) neonates 12 relative to offspring of uninfected mothers. Particularly intriguing was the upregulation of long-term potentiation (LTP) and related pathways in the P7 pup brain. LTP promotes synaptogenesis, spatial learning and memory [13][14][15] and is observed when the neonatal brain is exposed to Th2 conditions 16 but impaired in IL4 knock-out mice 17 . Thus, the upregulated expression of LTP in response to maternal H. bakeri infection not only indicated a possible benefit for the pups of infected dams but also raised the possibility that the well-documented Th2/Treg response to H. bakeri in the infected host 18 might be reflected in the brains of their uninfected pups. Endocytosis 19 and transendothelial leukocyte migration 20 allow immune elements such as antigens, immunoglobulins, cytokines, and leukocytes obtained from breast milk 21 or produced by the neonate to cross the blood-brain barrier (BBB). Cytokines 22 and immunoglobulins 23 bind to surface receptors on endothelial cells and the resulting complex triggers an endocytosis signalling cascade that induces vesicle formation, budding, and intracellular transport 24 . Although leukocytes might also enter the brain through endocytosis, activated leukocytes more commonly enter between endothelial cells through diapedesis 20 . Proteins such as integrins on the surface of leukocytes dock with cell adhesion molecules (CAMs) and other proteins on the surface of endothelial cells 25 . The resulting movement of the actin cytoskeleton 26 inside endothelial cells loosens the tight junctions, allowing leukocytes to squeeze between endothelial cells 27 and enter the brain. This process temporarily compromises junction integrity 27 after which junction gene expression is upregulated to restore endothelial cell adherence and re-establish normal BBB integrity 28 .
Given that H. bakeri induces a Th2/Treg response in the infected host 18 , that maternal immune elements are transferred to the neonate, and that Th2 responses favour LTP, we hypothesized that neonatal brain gene expression in response to maternal infection might reflect a heightened Th2/Treg profile and dampened Th1/Th17 associated neuro-inflammation, especially if movement of either leukocytes or immunoglobulins across the BBB was compromised. The goal of this secondary analysis was to explore an existing brain gene expression database for evidence that maternal H. bakeri infection altered the profile of T helper cell responses in the P7 brain. The first specific objective was to determine whether or not expression of genes related to innate and/or adaptive immune responses was shifted toward a Th2/Treg profile. The second objective was to determine whether or not maternal infection altered expression of genes involved in transport of immune elements across the BBB, with a focus on endocytosis and associated vesicle transport of immunoglobulins, and on transendothelial migration and regulation of junctions involved in transport of leukocytes. Rather than relying on pathway analysis, we manually explored context relevant cascades within pathways by inspecting expression data for ligands and receptors to assess pathway activation and by inspecting products to assess function. This allowed us to identify differentially expressed sets of genes that would be expected to alter function.

Results
Impact of Maternal Infection on Immune-Related Genes in the Neonatal Brain. Differential expression of immune related pup brain genes was examined for evidence that maternal intestinal nematode infection might have altered components of the innate immune system and/or the adaptive immune system. Given that H. bakeri infection typically upregulates Th2/Treg responses and downregulates Th1/Th17 responses, genes related to these responses were of particular interest.
Limited negative impact on expression of innate immune genes. The innate immune response to pathogens involves the hematopoietic cell lineage, the complement and coagulation cascade and platelet activation pathways as well as several receptor-mediated (Toll, Imd, NOD and RIG-like) signalling pathways that recognize molecular signals of pathogens and activate an adaptive response. Based on the previous KEGG pathway analysis 12 , only the RIG-I like receptor signalling KEGG pathway ( Table 1) that activates an innate immune response to viral pathogens was downregulated. We also observed downregulated expression of seven of the eight differentially expressed cell surface markers and all nine of the differentially expressed chemokine ligand genes involved in the myeloid cell lineage that generates innate immune cells (Table 2). Thus, the maternal infection had a modest negative impact on the neonatal brain innate immune system. Differential expression of adaptive immune genes. Consistent with upregulation of KEGG pathway maps for T cell receptor signaling and B cell receptor signaling (Table 1; 12 ), many pup brain genes of the adaptive immune system were differentially expressed. Among those associated with leukocyte, lymphocyte, and immunoglobulin superfamilies ( Table 3), expression of four nuclear factors of activated T cells (NFAT5, NFATC1, NFATC2, NFATC3), a T cell transcription factor (TCF7L1), and early B cell factor 3 (EBF3) was upregulated ( Table 3) and expression of leukocyte transcript (LST1), lymphocyte antigens (LY86, LY6G6D), cytotoxic T-lymphocyte associated proteins (CTLA2A, CTLA2B), T cell proliferation (MTCP1), T cell linkers of activation (LAT, LAT2) and a B cell receptor associated protein (BCAP29) was downregulated. Within the immunoglobulin superfamily, IGSF3 was upregulated and GM4926 expression was downregulated. All differentially expressed CD cell surface markers and 5 of 6 chemokines were downregulated (Table 3). Taken together, these results highlight the responsiveness of adaptive immune genes in the pup brain to maternal nematode infection. Downregulated Th1/Th17 gene expression. The original KEGG pathway analysis 12 revealed that the Th1 and Th2 cell differentiation pathway was not differentially regulated (Table 1) but, as this pathway generates both Th1 and Th2 responses, our in-depth exploration of gene expression revealed several intriguing results (Table 4). We observed upregulated expression of the intermediate complex MAML1 (Supplementary Table 1) and receptor IL12RB2 both of which activate Th1 cell differentiation. Although this hints at a heightened Th1 response, expression of four Th1 interleukins (IL1B, IL15, IL15RA, IL18) was downregulated. In addition, one TNF superfamily alpha inducible gene (TNFAIP8L2), one TNF superfamily receptor (TNFRSF12A), three INF inducible or induced proteins (IFI27L2A, IFI47, IFI35) and one INF stimulated protein (ISG20) were also downregulated (Table 4). Furthermore, in depth analysis of the Th17 signalling KEGG pathway revealed downregulation of its product (IL22) and four genes associated with immunopathology (CCL7, S100A8, S100A9, MMP13) ( Table 4) but upregulation of IL17RD, a negative regulator of inflammation 29 . Together, these observations indicate that maternal H. bakeri infection might have limited Th1/Th17 inflammation and immunopathology.  (Table 4), the hallmark Th2 product of the Th1and Th2 cell differentiation pathway. Among Treg-related genes ( Table 4), expression of TGF-β receptor 3 (TGFBR3), TGF-β receptor-associated protein (TGFBRAP1), latent TGF-β binding proteins (LTBP3, LTBP4) and TGFA were upregulated, and TGFB2 expression was upregulated in response to maternal infection although it did not meet our log 2 fold change cut-off. These findings are consistent with a dominant Th2/Treg bias in response to maternal H. bakeri infection, a response that might play an important role in modulating inflammation and auto-immune responses in the brains of the uninfected neonates.

Impact of Maternal Infection on Genes Involved in Transport of Immune Signals across the BBB.
Based on our previous KEGG pathway analysis 12 , there was evidence that maternal H. bakeri infection altered the expression of several pathways involved in transport of immune signals across the BBB. Five pathways (transendothelial migration, regulation of actin cytoskeleton, adheren junction, tight junction, endocytosis) were upregulated whereas two pathways (cytokine-cytokine receptor interaction, soluble N-ethylmaleimidesensitive factor attachment protein receptor (SNARE) interactions for vesicular transport) were downregulated Table 3. List of adaptive immune system related genes differentially expressed in the pup brain, in response to maternal H. bakeri infection. Differential regulation as reported by Haque et al. 12 . Heightened leukocyte transendothelial cell migration. Leukocyte migration involves integrins that allow docking and diapedesis and the dynamically responsive actin cytoskeleton that allows endothelial cells to expand and contract as leukocytes pass in between them. Expression of three integrin alpha genes (ITGA3, 4,11) and integrin beta (ITGB4) was upregulated, and expression of integrin beta 1 binding protein 1 (ITGB1BP1) was downregulated by maternal infection (Table 5). Among the matrix metallopeptidases (MMPs) that are regulated by actin cytoskeleton remodeling and involved in formation of transcellular channels, maternal H. bakeri infection upregulated MMMP15 and downregulated MMP13 ( Table 5). Transport of leukocytes between endothelial cells is regulated by adheren junctions, tight junctions and gap junctions. Among the genes involved in adheren junctions, maternal infection upregulated expression of eight cadherins (CDH3,4,5,6,23; CELSR1,2), two catenins (CTNND1, 2) and desmogliein (DSG2) ( Table 5) providing a strong indication that the function of these junctions was heightened in response to a maternal nematode Table 4. List of differentially expressed cytokine related genes classified by immune response in the pup brain, in response to maternal H. bakeri infection. Differential regulation as reported by Haque et al. 12  www.nature.com/scientificreports/ infection. With respect to tight junctions, expression of vinculin (VCL), tight junction protein 1 (TJP1) and two cingulins (CGN, CGNL1) involved in actin binding was upregulated whereas expression of genes associated with sealing tight junctions (the occludin, OCEL1 and the claudin, CLDN10) was downregulated (Table 5). Of note, we found no evidence of differential expression of genes associated with gap junctions. Taken together, these gene expression data provide evidence of more dynamic interactions between junctions and the actin cytoskeleton at the BBB of neonates of infected mothers which would be consistent with heightened migration of leukocytes between endothelial cells.

Endocytosis limited by impaired intracellular trafficking. Receptor-mediated endocytosis involves
initiation and signalling as well as vesicle migration and endosome formation. We observed that maternal infection upregulated expression of eight genes involved in initiation and signalling including three involved in TGF-β transport (TGFβ, TGFβR3, SMAD3) as well as dynamin genes (DNM3, DNMBP) that are critical for vesicle budding, but downregulated expression of calveolin 2 (CAV2), a clathrin (CLTA) and epidermal growth factor receptor (EGFR) ( Table 6). Importantly, however, we found evidence that intracellular trafficking was impaired based on downregulation of four sorting nexin family genes (SNX1,2,5,7), one vacuolar protein sorting gene (VSP29), one coiled-coil domain gene (CCDC53), and one charged multivesicular body protein gene (CHMP2A) that are all involved in vesicular migration and endosome formation. Among differentially expressed genes involved in intracellular trafficking, only the early endosome antigen 1 gene (EEA1) was upregulated by maternal H. bakeri infection (Table 6). Notably, the programmed cell death 6 (PDCD6) gene was downregulated as was the apoptosis pathway which suggests that maternal nematode infection might have downregulated apoptosis in the neonatal brain to further protect neural development. Table 5. List of cell adhesion molecules and related genes involved in leukocyte transendothelial cell migration that are differentially expressed in the pup brain, in response to maternal H. bakeri infection. Differential regulation as reported by Haque et al. 12  www.nature.com/scientificreports/ Therefore, despite upregulation of the endocytosis KEGG pathway in the original study 12 , the observed downregulation of vesicle formation genes suggests that maternal infection might have impaired transport of immunoglobulins and cytokines across the BBB in the offspring of nematode infected dams. Confirmation of sequencing data by qPCR. Using qPCR, we validated the gene expression data reported in our RNA Hi-seq sequencing (Supplementary Table 2). Interestingly two of the upregulated genes reported by RNA seq data showed a higher fold-change in qPCR analysis than RNA seq (TGFB2: 3.1 vs 1.02 and ITGA11: 2.3 vs 1.71) in brains of pups of infected compared with uninfected dams. In addition, VPS29 which was reportedly downregulated in RNA seq data showed a tendency to be lower in response to maternal nematode infection (p = 0.15).

Discussion
Our comprehensive interrogation of KEGG pathway-associated genes in our list of pup brain genes that were differentially expressed genes in response to maternal H. bakeri infection revealed three key findings. Unlike many maternal stressors that are associated with neonatal neuro-inflammation 30-33 , we showed that maternal nematode infection downregulated expression of only a few cell surface markers and chemokine ligand genes indicating a very limited impact on innate immune genes. However, this maternal nematode infection restricted to the maternal intestine led to widespread differential expression of genes of the adaptive immune response in the neonatal brain. Most notable was the upregulation of genes related to Th2 and Treg responses and downregulation of genes related to Th1 and Th17 responses. This is consistent with the Th2/Treg response typical in the host infected with H. bakeri 18 . We also found a gene expression signature of heightened leukocyte migration between endothelial cells of the BBB in response to maternal nematode infection. The upregulated expression of genes involved in the leukocyte transendothelial migration pathway and in expression of integrins and other junction genes indicated enhanced migration of leukocytes which likely included Th2 and Treg cells into the neonatal brain. In contrast, lowered expression of genes needed for vesicular transport indicated impaired endocytosis of immune elements including cytokines and immunoglobulins. Taken together, these findings indicate a Th2/ Treg biased response in the pup brain perhaps driven more by T cell entry in between endothelial cells of the BBB than by immunoglobulin or cytokine endocytosis. www.nature.com/scientificreports/ Innate and adaptive immune responses play important homeostatic roles in the developing brain that promote neurodevelopment, limit neuro-inflammation and neurological diseases, and ensure that any pathogens that cross the BBB are efficiently recognized and controlled 34 . With respect to innate responses, in addition to our previous report 12 of downregulated expression of the RIG-I-like receptor signaling KEGG pathway involved in recognition of viral pathogens 35 , we found that maternal infection downregulated expression of several chemokines and CD cell surface markers, suggesting a limited negative impact on innate immunity. However, in exploring genes associated with vesicle mediated transport, we also observed differential expression of several genes in a direction that suggested reduced programmed cell death. Though not a focus of this study, this latter observation raises the intriguing possibility that maternal nematode infection might limit apoptosis in the uninfected neonatal brain.
In contrast to the innate immune system, our analysis provided considerable evidence that maternal infection not only altered expression of the adaptive immune response but also led to Th2/Treg bias in the pup brain. Upregulated expression of B cell and T cell receptor signaling KEGG pathways was previously reported 12 and our current study showed differential expression of numerous genes needed for Th1, Th2, Treg and Th17 responses including genes involved in T and B cell differentiation, maturation, migration, activation as well as receptors, ligands, and signalling molecules. These findings strongly indicate that maternal H. bakeri infection affected adaptive immunity in the uninfected pup brain. Furthermore, the upregulated expression of the hallmark Th2 cytokine IL4 36,37 together with genes in its signaling cascade indicated a Th2 bias. As IL4 is an activator and recruiter of Th2 cells, downstream consequences might not yet be evident at P7, explaining why we did not detect differential expression of IL13, another hallmark Th2 cytokine 37 . In addition, the B cell receptor signaling pathway and the B cell development gene EBF3 were upregulated. They are important in initiating a heightened Th2 cell response 38 . Consistent with an upregulated Th2 response, upregulated expression of TGF family genes including receptors, binding proteins, and receptor associated proteins all point to an upregulated Treg response. Together, these results clearly highlight that this maternal nematode infection shifted gene expression toward a Th2/Treg response in the brain of the uninfected neonate.
Further evidence of a Th2/Treg bias was seen in the dampened expression of genes involved in the Th1/Th17 responses, an observation that is consistent with the cross-regulation of these two arms of the adaptive immune system 10 . As IL4 and TGF-β both have a negative effect on Th1 cytokine production 9 , it was not surprising to see the downregulated expression of Th1 interleukins as well as TNF and INF related proteins in the neonatal brain. In addition, the autoimmune Th17 response was downregulated as indicated by the downregulation of its hallmark IL22 coding gene as well as most autoimmune pathology genes in the IL17 signaling pathway.
The observed bias toward Th2/Treg adaptive immunity in response to H. bakeri is well documented in lymphoid tissues and blood of the infected mouse 27,40 and there is evidence that a protective Th2 response against GI nematodes is transferred to the neonate through T cells and immunoglobulins in milk 4,39 . Transfer of H. bakeri specific IgG1 to the neonate has been shown to protect the pups from this infection 39 and transfer of Th2 competent CD4 + T cells from mice infected with a related nematode (Nippostrongylus brasiliensis) has been shown to induce lasting protection against direct infection of the pup 4 . The maternal Th2/Treg bias extends beyond the intestine as seen in the lungs and spleen of neonates of H. bakeri infected mice 4 . Our results extend these systemic impacts of maternal nematode infection on immunity in the neonate to expression of the adaptive immune response in the pup brain.
We had hypothesized that the neonatal brain may have received signals of maternal infection through movement of leukocytes in between endothelial cells of the BBB. Based on our analysis of leukocyte transendothelial migration, our data strongly suggest that paracellular movement of leukocytes into the brain was enhanced by maternal H. bakeri infection. In addition to the upregulated leukocyte transendothelial migration pathway, we observed upregulated expression of a variety of integrins that dock leukocytes to endothelial cells. Diapedesis also involves dynamic reshaping of endothelial cells by the actin cytoskeleton 40 and transient loosening then tightening of tight junctions 41,42 . Gene expression data are consistent with both, as the actin cytoskeleton pathway was upregulated 12 providing flexibility to the endothelial cells and as genes involved specifically in adheren junctions were upregulated. At first glance, the observed upregulation of junction unit pathways could be interpreted to reflect tightening of the BBB. However, we suggest that, as a response to the junction loosening caused by leukocyte infiltration, upregulated junction expression might restore the selective permeability that is critical for restoring and maintaining BBB integrity.
We had also hypothesized that maternal infection might have influenced transport of immunoglobulin and cytokine signals across the BBB. This transport typically occurs through vesicle mediated endocytosis of receptorcytokine complexes through the endothelial cells via endosomes [22][23][24] . The endocytosis pathway was upregulated 12 as was expression of ligands, receptors, signaling molecules, and endosome formation scissor genes. However, our data indicated that endosome formation was impaired given the downregulation of SNARE interactions for vesicular transport pathway and of several genes related to vesicle formation. This suggests that receptor mediated endocytosis of H. bakeri immune markers may not be functional despite it being a common pathway for immune signaling.
A variety of studies over the past decade have begun to detect ways in which GI nematode infections may provide benefits to the infected host 7 and also to their uninfected offspring 4,8 . It was previously reported that maternal H. bakeri infection upregulated expression of LTP and synaptogenesis-related pathways in 7-day old pup brains 12 , pathways that are known to enhance learning and memory [13][14][15] . Our secondary analysis of gene expression data from these pups also revealed an upregulated Th2 response and upregulated expression of IL4, both of which are known to be necessary for memory and learning 43 . Furthermore, as Treg responses promote neural development by mediating axon specification and TGF-β receptor signaling guides neuronal axon initiation in the brain 44 , the observed upregulation of Treg responses would also have potentially positive impacts on learning and memory for the neonate of infected dams. An upregulated Treg response also plays an important role in dampening Th1 inflammation 45  www.nature.com/scientificreports/ integrity of the BBB 46 . Thus, our results indicate that maternal infection might benefit the neonate by limiting neuro-inflammation and promoting a Th2/Treg environment that might stimulate learning and memory. Similar intergenerational findings may also be found for other maternal infections that induce a Th2/Treg response in the infected host. A strength of this study was the identification of patterns of differential gene expression within KEGG pathway maps that are not evident by the previously published KEGG pathway analysis alone 12 . As the KEGG pathway analysis relies more on numeric evaluation of gene expression than on a logical analysis based on gene functionality, the results of KEGG pathway analysis can provide contradictory information whereby a pathway can be both upregulated and downregulated simultaneously. Pathway maps typically include three regions: pathway activation mediated by ligands and receptors, propagation of a signal, and formation of products that perform the function of the pathway. As signaling molecules and intermediates are highly redundant and shared among many pathways, our context dependent approach focused on ligands and receptors to assess pathway activation and on products to assess function. To minimize design bias, our search strategy included all possible immune-related genes taken from KEGG pathway maps and from a list of immune-related categories and processes identified from the literature. To lower false discovery rate, more stringent cut-offs for P-value and log 2 fold change were used than in the original gene expression database 12 . To minimize confirmation bias, we used every opportunity to receive critiques on the logic of our arguments. To ensure compatibility and consistency, comparisons were made with the few analogous studies. As a result, our approach overcame the limitation of relying only on KEGG pathway analysis and provided internally coherent observations that were consistent with the literature. Nevertheless, we acknowledge that we may have excluded important genes or included genes whose differential expression was of little functional importance. We also acknowledge the limitations associated with reliance on gene expression data with qPCR confirmation of only a few genes and without assaying protein concentrations or conducting functional assays to examine phenotypic effects.
In conclusion, our context relevant interrogation of gene expression in the neonatal brain indicated that a maternal H. bakeri infection might promote transendothelial migration of Th2/Treg cells across the BBB of the uninfected neonate and might induce a Th2/Treg response in the neonatal brain. As a Th2/Treg response could have potential benefits in reducing neuro-inflammation and promoting learning and memory, follow-up experimental studies to confirm the gene expression data and to explore neuro-immune development and behavioural responses in the pups of infected dams would be important.

Methodology
Source of data. This study was a secondary analysis of immune and BBB related genes that were differentially expressed in the neonatal brain in response to maternal H. bakeri infection (https:// www. nature. com/ artic les/ s41598-019-40729-w# Sec2) 12 . The original experiment used timed pregnant CD1 outbred mice that had been given a repeated (trickle) infection of 100 ± 3 L3 larvae of H. bakeri or a sham infection of distilled water through oral gavage on embryonic days E7, E12, E17, and postpartum day 3 (P3). The trickle infection protocol mimics natural transmission 47 and allows both larvae and adults to be present simultaneously. Thus the immunoregulation induced by adult worms in the lumen is countered by the immunogenicity of the L4 larvae in the serosal musculature 18 . Pup brains were genotyped on P7 when most neurons have established synaptic connections and during the critical period of synaptogenesis 48,49 . Total brain RNA from one randomly selected male pup per litter (n = 5 per group) was sequenced in an Illumina HiSeq2000 sequencer. The sequence files were analysed using HT-seq 50 and NetworkAnalyst 51 to identify genes in the pup brain that were differentially expressed in response to maternal nematode infection with adjusted p value < 0.05 and log 2 fold change > 1. The original exploration of the KEGG pathway database in NetworkAnalyst 12 provided a list of the differentially expressed pathways with biological significance.
Procedures for secondary analysis of differentially expressed genes in KEGG pathway maps. For our secondary analysis, we applied more stringent p value (< E−5) and log 2 fold change (> 1.2) cut-offs for differential gene expression than had been used in the original analysis 12 to lower the false recovery rate 52 .
We matched this more stringent gene expression database against genes in KEGG pathway maps (Fig. 1). We focused on the ligand and receptor coding genes that activate the pathway and genes that code for final products rather than intermediates and signaling molecules that have high biological redundancy among pathways and less internal consistency in cascade expression. This allowed us to infer the implications of changes in gene expression for context relevant functions that occur within pathways and that may have been independent of overall differential expression of the KEGG pathway.

Selection of immune system genes and related KEGG pathways.
A list of differentially expressed immune system related genes was created using the more stringent cut-offs (Supplementary Table 1) in order to explore evidence that maternal infection altered expression of the different molecules and cells of the immune system based both on general categories of immune cells and molecules and on genes in immune KEGG pathways.
First, the original database was mined for genes using the categories of cells and molecules involved in any immune response. Cells explored included myeloid cell lineage for innate immune cells (monocyte, macrophage, microglia, dendritic cell, granulocyte, neutrophil, basophil, eosinophil, mast cell) and lymphoid cell lineage for adaptive immune cells (NK cell, lymphoid cell, lymphocyte, T cell, B cell, plasma cell, and leukocyte). Molecules explored included monocyte chemoattractant protein (MCP), colony stimulating factor (CSF), interferon (INF), interleukin (IL), chemokine, immunoglobulin (Ig), tumor necrosis factor (TNF), transforming growth factor Scientific Reports | (2021) 11:22082 | https://doi.org/10.1038/s41598-021-01510-0 www.nature.com/scientificreports/ (TGF), lymphotoxin, toll-like receptors, CD antigens, major histocompatibility complex (MHC), and selectin. Differential expression of genes in these categories provided the first insight into possible alterations to the immune system in the pup brain in response to maternal infection. Second, we prepared a list of differentially expressed genes related to the immune system from each of the 21 immune related KEGG pathways (Table 2) (https:// www. kegg. jp/ kegg/ pathw ay. html) regardless of whether or not they were reported as differentially regulated 12 . The list included inducible proteins, linkers for activation, subunits, inhibitors, activators, receptors, domains, binding proteins, related proteins, "like" genes, other members of the family, and all other intermediate molecules in the pathway.

Selection of blood brain barrier genes and related KEGG pathways.
To determine whether mechanisms known to transport immune cells, cytokines, and immunoglobulins across the BBB were influenced by maternal infection, we made a list of all relevant genes from the KEGG pathway maps for endocytosis and leukocyte transendothelial cell migration. This list included cell adhesion molecules, junction proteins, ligands and receptors, and vesicle formation genes.
Validation of brain gene expression data. To validate the brain gene expression data obtained from the Illumina Hi-seq sequencing we performed real-time qPCR analysis of three representative genes (TGFB2, ITGA11 and VPS29) following the MIQE guidelines 53 . Already validated primer sequences were obtained from PrimerBank 54 and purchased from Integrated DNA technologies (Supplementary Table 3). We used frozen whole brain RNA samples from the original experiment 12 and taking 5ug of total RNA from five pups from control and infection group respectively, we synthesized cDNA using the iScript cDNA Synthesis kit (Bio-Rad, Canada) following instructions from the manufacturer. cDNAs were diluted (1:50) and used for qPCR in a CFX384 (BioRad) machine with the following protocol: initial denaturation at 95 °C for 3 min followed by 39 cycles at 95 °C for 15 s and 60 °C for 45 s for annealing, and finally 95 °C for 10 s. The data were normalized to the geometric mean expression levels of four reference genes (GADPH, L19, B2M, and SDHA).