Skip to main content
Nature Portfolio logoLink to Nature Portfolio
. 2026 Sep 30;27(10):2117–2133. doi: 10.1038/s41590-026-02656-7

Barrier immune memory is programmed by intestinal epithelial cell presentation of cytosol-delivered bacterial antigens

C Garrett Wilson 1,2,✉,#, M Pragun Acharya 1,#, Laura Karsch 3, Lennard W Duck 4, Nana Twumasi-Ankrah 5, Yuanyou Wang 5, Hongxing Shen 1, Blake F Frey 1,2, Annalisse R McKee 1, Vishal H Oza 1, Stacey N Harbour 1, Yoshiko Nagaoka-Kamata 1, Jeffrey R Singer 6, Robin D Hatton 1, Jeffrey Moffitt 5, Matthias Gunzer 3, Carlene L Zindl 1, Casey T Weaver 1,✉
PMCID: PMC13630577  PMID: 42816586

Abstract

Antigen compartmentalization is known to influence CD4 and CD8 T cell recognition but its impact on immune responses to different antigens expressed by the same pathogen is poorly understood. By tracking the clonal CD4 T cell response to a single epitope shuttled between different virulence proteins of Citrobacter rodentium, we found that response magnitude and quality depended on antigen localization. Antigens retained within bacteria elicited limited responses, whereas antigens injected into colonocyte cytosol through a type III secretion system generated robust mucosal CD4 T cell responses and promoted formation of epithelial-resident memory T cells. This process required direct presentation by infected epithelial cells. Single-cell transcriptomic analyses revealed that sustained, bidirectional communication between epithelial cells and T cells was essential to elicit both barrier-protective functions and transcriptional programs favoring tissue residency over central memory differentiation. These findings identify nonprofessional antigen-presenting cells as key regulators of CD4 T cell memory fate.

Subject terms: Immunological memory, Mucosal immunology, Antigen-presenting cells, Infection


Intestinal epithelial cells can present antigen to CD4 T cells. Here the authors show that epithelial cells must present translocated bacterial antigen for local CD4 resident memory T cells to be established.

Main

T cell antigen recognition is focused on the surface of cells displaying antigenic peptides bound to major histocompatibility (MHC) molecules: MHC class I for CD8 T cells and MHC class II for CD4 T cells. Whereas MHC class I is ubiquitously expressed by nucleated cells, MHC class II is largely restricted to ‘professional’ antigen-presenting cells (APCs) of hematopoietic origin (dendritic cells (DCs), macrophages and B cells). However, some nonhematopoietic cells, including epithelial cells lining barrier tissues at sites of pathogen entry1–7, can be induced to express MHC class II and act as ‘nonprofessional’ APCs. Although these cells lack costimulatory molecules and cannot prime naive T cells8–10, they may recruit CD4 T cell help by presenting pathogen-derived antigens, which is akin to the recruitment of cytotoxic CD8 T cells by infected MHC class I+ cells to target them for death.

We recently discovered a subset of absorptive intestinal epithelial cells (IECs) termed distal colonocytes (DCCs), so named for their unique distribution to the distal colon, which are selectively targeted by the murine enteropathogenic bacterium, Citrobacter rodentium1. C. rodentium belongs to a family of closely related Gram-negative bacteria that includes the human pathogens enterohemorrhagic Escherichia coli (EHEC) and enteropathogenic E. coli (EPEC)11,12, which deploy a type III secretion system (T3SS) to colonize the apical surface of host IECs, where they form characteristic attaching and effacing lesions11,13,14. Virulence proteins encoded by the locus of the enterocyte effacement (LEE) pathogenicity island15,16 are expressed early in infection to assemble the T3SS molecular syringe, which injects bacterial effectors into the EC, where they localize to the apical membrane or cytosol17–20. Both LEE and non-LEE gene loci (for example, nle family) encode T3SS-secreted effectors that contribute to Cr pathogenicity21,22. Reflecting the tropism of C. rodentium for DCCs, but not absorptive colonic ECs (cECs) that line the proximal colon (proximal colonocytes (PCCs)), DCCs recruit CD4 T cells that produce the epithelium-protective cytokine interleukin-22 (IL-22), contingent on their expression of MHC class II1. However, which bacterial virulence proteins contribute to the CD4 T cell response, and how their compartmentalization between bacterium and host epithelial cell affects the amplitude and quality of that response, are undefined.

Using isogenic strains of C. rodentium engineered to express the same CD4 T cell epitope fused to different C. rodentium virulence proteins, we have mapped a clonal CD4 T cell response based on the bacterial ‘carrier’ protein used to deliver cognate antigen, thereby controlling for differences in peptide affinity for MHC class II. We find striking effects on the magnitude and quality of the clonal CD4 T cell response contingent on antigen localization—bacterial, epithelial membrane or epithelial cytosol. Only antigens delivered to the cEC cytosol promoted robust clonal T cell expansion, retention in the infected mucosa and development into tissue-resident memory T (TRM) cells. In the absence of antigenic localization to the cEC cytosol, the clonal response is blunted and memory cell development defaults to a nonresident fate, generating few memory cells in the intestinal epithelium. Thus, cytosolic antigen delivery promotes positioning of CD4 memory cells within the intestinal epithelium, where they are best poised for rapid local response upon reinfection. These results establish a central role for nonprofessional APCs in controlling CD4 T cell memory fate, with implications for mucosal vaccine design.

Results

Injected bacterial antigens induce enhanced mucosal T cell responses

To assess how subcellular localization of bacterial antigens affects CD4 T cell responses, we engineered C. rodentium strains that express the lymphocytic choriomeningitis virus (LCMV) gp66-80 peptide recognized by the SMARTA T cell receptor (TCR) fused to different bacterial proteins, including a hemagglutinin (HA) tag for tracking fusion protein expression23 (Fig. 1a,b, Extended Data Fig. 1a–c and Supplementary Table 1). Four proteins targeted to different compartments were selected: intimin (eae), an LEE-encoded surface adhesin on the outer bacterial membrane; the translocated intimin receptor (tir), an LEE-encoded effector that localizes to the apical plasma membrane after injection into cECs, where it binds intimin to establish firm adhesion; nleA, a non-LEE-encoded effector that distributes diffusely in the host cell cytosol; and espZ, an LEE-encoded effector that concentrates in the cytosol beneath adherent bacteria (Fig. 1b,d). All engineered strains retained virulence comparable to wild-type (WT) C. rodentium (DBS100) in susceptible C3H/HeJ mice, indicating that epitope insertion did not compromise bacterial fitness or pathogenicity (Fig. 1c).

Fig. 1. Subcellular localization of C. rodentium antigens determines the magnitude of colonic CD4+ T cell responses.

Fig. 1

Candidate C. rodentium proteins were tagged with LCMV gp66-80 epitope and used for adoptive transfer experiments with CD45.1+ SMARTA T cells. a, Schematic of the gsg-gp66-80-HA construct inserted into C. rodentium LEE genes (LEE locus; eae (intimin), tir and espZ) and non-LEE gene, nleA. b, Schematic of subcellular localizations of the C. rodentium effector proteins intimin, tir, nleA and espZ relative to IEC-bound C. rodentium cell. c, Survival of C3H/HeJ-susceptible mice infected with DBS100 (WT), intimin-gp66, tir-gp66, nleA-gp66 and espZ-gp66. n = 5 mice per group. Data are from one experiment representative of two independent experiments. log-rank (Mantel–Cox) test. d, D8-infected EpCAM+GFP+ IECs were sorted from mid-distal colons of C57BL/6 mice infected with C. rodentium-GFP (WT), intimin-gp66 C. rodentium-GFP, tir-HA C. rodentium-GFP, nleA-gp66 C. rodentium-GFP and espZ-gp66 C. rodentium-GFP, were analyzed using immunofluorescence microscopy. e,f, Transferred CD45.1+ SMARTA T cells were recovered from the mid-distal colons of C57BL/6 mice infected with DBS100, intimin-gp66, tir-gp66, nleA-gp66 or espZ-gp66 on day 14 of infection, stained for CD45.1 and CD45.2 (e) and quantified (f) using flow cytometry. Data are shown as the mean ± s.d. with individual mice shown; n = 6 (DBS100), 4 (intimin-gp66), 4 (tir-gp66), 6 (nleA-gp66) and 5 (espZ-gp66) mice. Data are from one experiment representative of two independent experiments. One-way analysis of variance (ANOVA) with Tukey’s post hoc test; *P < 0.05, ****P < 0.0001. g, Schematic of the espZ FL-gp66-FLAG and espZ Δ1–21-gp66-FLAG constructs used to replace the GFP coding sequence in xylE pseudogene in the C. rodentium-GFP parent strain. h, Schematic of subcellular locations of full-length espZ-gp66 translocated into the host IEC or espZ Δ1–21-gp66 protein, which remains associated with C. rodentium bacteria. i, Total protein lysate from sorted mid-distal Ly6G+ DCCs from mice infected with espZ FL or espZ Δ1–21 were analyzed using immunoblotting for FLAG-tagged antigen, with β-actin and DnaK as loading controls. j, Schematic of adoptively transferred naive CD45.1+ SMARTA T cells into C57BL/6 mice infected with either espZ FL or espZ Δ1–21. k–n, On days 3–15 after infection, cells recovered from colon (k,l) or caudal/iliac LNs (m,n) were stained for CD45.1 and CD45.2 (l and m) and quantified (l and n) using flow cytometry. Data are shown as the mean ± s.d. with individual mice shown; n = 3 mice per group per time point. Data are from one experiment representative of two independent experiments. One-way ANOVA with Tukey’s post hoc test; **P < 0.01, ***P < 0.001, ****P < 0.0001.

Extended Data Fig. 1. Generation of epitope-tagged C. rodentium strains and optimization of adoptive transfer model.

Extended Data Fig. 1

a, Schematic of Cr DBS100 genome depicting relative positions of LEE-associated genes targeted for gp66 epitope-HA tag insertion (eae/intimin, tir, and espZ within LEE2 and LEE5 regions) and non-LEE-associated gene nleA into the DBS100 parent strain, as well as the xylE pseudogene locus used for insertion of espZ FL-gp66 and espZ Δ1–21-gp66 constructs that replace GFP coding sequence in Cr-GFP parent strain. The xylE locus is distant the endogenous espZ locus and under distinct regulatory control, ensuring that expression from this site does not perturb endogenous espZ expression or Cr pathogenicity. Cartoon not drawn to scale. b, 3D ribbon diagram of C. rodentium strain DBS100 sepZ/espZ protein generated with AlphaFold3 with per-residue confidence metric (pIDDT) very high (pIDDT>90; dark blue), confident (90>pIDDT>70; cyan), low (70>pIDTT>50; yellow), and very low (pIDDT<50; orange). c, Full-length espZ protein sequence with T3SS secretion signal (green), linker (black), LCMV gp66-80 epitope sequence (red), and FLAG tag (blue) annotated. d, Adoptive transfer model used throughout this study whereby recipient C57BL/6 CD45.2+ recipient mice are administered 0.2 mg/kg anti-CD4 antibody 20-24 hours prior to receiving 1e5 naïve CD45.1+ SMARTA T cells and infection with espZ-gp66 (red) to create niche space in the endogenous T-cell repertoire for engrafted SMARTA cells. e, Optimization of anti-CD4 (GK1.5) antibody administration across 0.1-100 μg doses on recovered CD4+ T cells from blood (blue), mesenteric lymph node (mLN; red), or spleen (green). f, Number of colonic CD4+ T cells recovered after depletion with anti-CD4 antibody or isotype control. Data are mean ± s.d. with individual mice shown; n = 6 (isotype control), 6 (50 µg anti-CD4) and 4 (500 µg anti-CD4) mice. Data are pooled from 2 independent experiments. One-way ANOVA with Tukey’s post hoc test; *P < 0.05 and **P < 0.01. g, h, Number of colonic CD45.1+ SMARTA T cells (g) and endogenous CD45.2+ T cells (h) recovered from mice depleted with 0.2-1.8 mg/kg anti-CD4 or isotype control 14 days after adoptive transfer and infection with espZ-gp66. Data are mean ± s.d. with individual mice shown; n = 4 (isotype control), 4 (0.2 mg/kg), 4 (0.3 mg/kg), 4 (0.6 mg/kg), 4 (1.0 mg/kg) and 3 (1.8 mg/kg) mice for both g and h. Data are from one experiment representative of 2 independent experiments. One-way ANOVA with Tukey’s post hoc test; *P < 0.05 and **P < 0.01. i, Number of colonic CD45.1+ SMARTA T cells recovered from mice depleted with 0.2 mg/kg anti-CD4 14 days after adoptive transfer with 1e4-1e6 naïve CD45.1+ SMARTA cells and infection with espZ-gp66. Data are mean ± s.d. with individual mice shown; n = 4 (1e6), 8 (1e5) and 8 (1e4) naive SMARTA cells transferred. Data are pooled from 2 independent experiments. One-way ANOVA with Tukey’s post hoc test; ***P < 0.001 and ****P < 0.0001. Western blot for HA tag and GFP loading control performed on Cr-GFP parent strain and intimin-gp66, tir-HA, nleA-gp66, and espZ-gp66 Cr-GFP derivative bacterial cell pellets (j) and bacterial supernatants (k) from culture in DMEM. l, Western blot for HA tag and β-actin loading control performed on sorted Cr-GFP-bound IECs infected with Cr-GFP parent strain and intimin-gp66, tir-HA, nleA-gp66, and espZ-gp66 Cr-GFP derivatives. Panel l is comprised of two Western blot membranes. Asterisks indicate the expected HA-tagged fusion protein in each lane; all other visible bands represent non-specific background. Sorted Cr-GFP-bound IECs were pooled from 5-6 mice per group to obtain sufficient protein for analysis. Molecular weight markers are indicated in j-l; uncropped scans are provided as Supplementary Data. Western blot experiments in j-l were performed twice as independent biological replicates; representative blots are shown.

Confocal microscopy of colonocytes (CCs) isolated at day 8 after infection confirmed expected subcellular distributions of HA-tagged antigens (Fig. 1d)24–29. Intimin-gp66 decorated the bacterial cell surface, while tir-gp66 formed puncta at sites of bacterial attachment to the apical plasma membrane. Both nleA-gp66 and espZ-gp66 were delivered into the host cell cytoplasm, nleA diffusely and espZ in intracytoplasmic clusters suggestive of partial association with bacterial pedestals29.

Using a modified adoptive transfer protocol to track antigen-naive, congenically marked SMARTA T cells, recipient mice were challenged with the different C. rodentium strains (Extended Data Fig. 1d–i). SMARTA T cell numbers recovered from the infected mid-distal colon at the peak of the mucosal response (day 14 after infection) were strikingly different (Fig. 1e,f). While membrane-localized antigen, whether bacterial (intimin-gp66) or cEC (tir-gp66), failed to induce accumulation of SMARTA cells that differed significantly from control WT C. rodentium, both cytosolically delivered antigens (nleA and espZ) induced robust responses. nleA-gp66 and espZ-gp66 induced 28-fold and 47-fold greater SMARTA T cell accumulation in the colon, respectively, compared to intimin-gp66.

To determine whether antigen abundance might underlie these differences, we quantified expression of the HA-tagged proteins in vitro and in vivo (Extended Data Fig. 1j–l). Immunoblotting of C. rodentium cultures activated to express virulence proteins indicated comparable expression of intimin to tir and nleA in bacterial cell pellets, but it was absent in culture supernatants, confirming its bacterial membrane localization. Tir and nleA appeared in both pellets and supernatants, reflecting secretion, with tir the most abundantly secreted protein in vitro. EspZ was not detected in vitro, which is consistent with previous reports that this effector is poorly induced in vitro30.

In vivo expression was quantified in C. rodentium-DCC conjugates from infected mice, using the four epitope-tagged variants engineered into a green fluorescent protein (GFP)-expressing C. rodentium background (C. rodentium-GFP) to enable flow cytometry sorting1,31. Intimin and espZ were detected at significantly lower levels than tir or nleA, which were the most abundant proteins in C. rodentium-DCC conjugates of those assessed (Extended Data Fig. 1l). Notably, both nleA and espZ induced similar antigen-specific responses despite the lower abundance of espZ. Conversely, tir was most abundant yet induced a minimal response, indicating that compartmentalization, not abundance, was the more critical determinant of immunogenicity. However, because these four carrier proteins differ in structure, stability and turnover, we sought a comparison in which only subcellular localization varied.

Therefore, we isolated translocation as the sole variable, comparing full-length espZ with a truncated variant lacking its T3SS secretion signal—the same protein and epitope, differing only in access to the host epithelium cytosol. gp66 and a FLAG peptide were fused to the carboxy terminus of either full-length espZ (espZ FL) or a truncated espZ variant lacking the N-terminal 21 amino acids (espZ Δ1–21), each targeted to the xylE pseudogene locus of C. rodentium31,32 (Fig. 1g,h and Extended Data Fig. 1a–c), which drives high-level expression independently of the endogenous espZ locus, thereby avoiding perturbation of C. rodentium pathogenicity (Extended Data Fig. 1a). Immunoblotting of isolated C. rodentium-bound cECs established that full-length espZ-gp66 and the Δ1–21 mutant were comparably abundant in C. rodentium-DCC conjugates, excluding epitope abundance as a confounder (Fig. 1i).

Recipients challenged with the two espZ C. rodentium variants showed a marked bifurcation of the antigen-specific response: espZ FL induced a greater than 100-fold increase in mucosal SMARTA T cells over espZ Δ1–21 at the peak of the response (day 9) (Fig. 1j–l). This did not reflect differential mucosal retention alone, as lymph nodes (LNs) draining the distal colon (caudal and iliac) showed comparable differences over the time course (Fig. 1m,n). Thus, with protein, epitope and abundance held constant, cytosolic access alone accounted for the greatest difference in the clonal CD4 T cell response to antigen.

T cell immunity to C. rodentium is initiated in the cecum before spreading to the distal colon

C. rodentium cultured in vitro first colonizes the cecum following infection, where expression of the pathogenicity genes required to assemble the T3SS begins17,33,34, before spreading to the distal colon32,35. The immunological consequences of this early colonization are incompletely understood, as models to track clonal T cell responses to C. rodentium antigens have been lacking. Therefore, we asked where antigen-specific T cell responses were initiated, and whether the muted response to noncytosolic antigens reflected altered geography of priming, in the cecum rather than distal colon.

Using fluorescence in situ hybridization (FISH) with probes for total Eubacteria and C. rodentium, we examined bacterial localization early in cecal colonization in tissue processed to preserve mucus architecture (Fig. 2a–c). Remarkably, C. rodentium exhibited highly focal epithelial colonization at the cecal apex, close to, but not directly associated with, the cecal patch, a gut-associated lymphoid tissue (GALT) structure analogous to Peyer’s patches36 (Fig. 2c–f). C. rodentium was also abundant in the cecal mucus layer and free in the lumen. The basis for this restricted colonization is unknown, but its proximity to the cecal patch raised the possibility that this lymphoid structure serves as an early site of antigen sampling and T cell priming37. Therefore, we tracked SMARTA T cell dynamics after infection with espZ-gp66 or intimin-gp66 across C. rodentium-colonized regions: the cecum and its draining distal mesenteric LN (dMLN); and the distal colon and its draining caudal and iliac LNs (Fig. 2g–r).

Fig. 2. Early C. rodentium colonization in the cecum initiates CD4+ T cell priming in GALT.

Fig. 2

a–f, Ceca were collected from 48-h DBS100-infected C57BL/6 mice and fixed in ice-cold methacarn solution to preserve mucus layer structure. Cecal sections were stained with 4′,6-diamidino-2-phenylindole (DAPI) (a) and FISH probes for total Eubacteria (b) and C. rodentium (c–f); C. rodentium (cyan) localization near IECs (DAPI, grey) in d, with higher magnification of C. rodentium in the loose mucus layer (e) and abutting the epithelium (f). g–p, Adoptively transferred naive CD45.1+ SMARTA T cells in C57BL/6 mice infected with espZ-gp66 or intimin-gp66 were analyzed using flow cytometry and quantified from the cecal patch (GALT, g (flow plots), h (quantification)), dMLN-C1 (i (flow plots), j (quantification)), cecal tissue (k (flow plots), l (quantification)), caudal and iliac LNs (m (flow plots), n (quantification)), and colon tissue (o (flow plots), p (quantification)). Representative flow cytometry plots are shown for days 6 and 9 (g,i,k,m,o), with quantification across days 3–15 (h,j,l,n,p). Data are shown as the mean ± s.d. with individual mice shown. h,j,l,n,p, n = 3 espZ-gp66 and 3 intimin-gp66 (day 3), 3 and 4 (day 6), 4 and 4 (day 9), 3 and 4 (day 12) and 3 and 4 (day 15) mice; the same mice were sampled for all five tissues. Data are from one experiment representative of two independent experiments. One-way ANOVA with Tukey’s post hoc test; **P < 0.01, ****P < 0.0001. q,r, Together, q and r illustrate the spatiotemporal sequence of T cell priming initiated in cecum-draining lymphoid tissue before spreading to the distal colon and its dLNs. q, Schematic of the cecum and proximal colon depicting the proposed sequence of early antigen acquisition and T cell priming after C. rodentium colonization of the cecal apex. The numbered arrows indicate the proposed sequence of events, with the dashed lines indicating the routes of antigen and the solid lines indicating the movement of primed effector CD4 T cells to the infected cecal mucosa. r, Schematic of the distal colon and associated lymphoid drainage depicting C. rodentium attachment to DCCs and subsequent antigen drainage into the caudal and iliac LNs, which drain the distal colon via lymphatics running alongside the common iliac artery. SI, small intestine.

In response to espZ-gp66, SMARTA cell numbers were greatest in the cecal patch at day 6 after infection before rapidly declining by day 9 (Fig. 2g–j), whereas the cecum-draining dMLN (C1) response emerged on day 6, peaked at day 9 and contracted by day 12 (Fig. 2i,j). T cell infiltration into the cecal mucosa was delayed until day 9 and persisted through day 12 before declining (Fig. 2k,l). Although the cecal patch response was modestly accelerated, its peak amplitude was approximately tenfold lower than dMLN and approximately 50-fold lower than the cecal mucosa, suggesting that priming in the cecal patch, presumably via antigen translocation across the patch epithelium rather than direct colonization, is minor relative to that in the dMLN. The clonal response in the colon mucosa (Fig. 2m–p) largely tracked that in the cecum, whereas the dMLN response preceded that of distal colon-draining LNs and exceeded it by more than fivefold. These kinetics indicate that the cecum-draining LN is the dominant site of SMARTA cell priming, which is consistent with initial detection of translocated C. rodentium virulence proteins there.

The response to intimin-gp66 was considerably weaker at all sites and time points and, although measurable in draining LNs, was essentially undetectable in cecal and distal colonic mucosae (Figs. 1e,f and 2g–p), excluding differing sites of induction as an explanation. Accordingly, in a similar survey of response to either espZ FL or Δ1–21 espZ (Extended Data Fig. 2), the magnitude of the clonal response to injected antigen dwarfed that of the same antigen sequestered in the bacterial cytosol, at each time point and tissue site, mirroring findings that compared espZ-gp66 and intimin-gp66. Notably, the kinetics in response to espZ FL were not appreciably accelerated in the cecum despite constitutive expression of espZ from the xylE gene locus, which is consistent with rapid expression of native espZ on arrival of C. rodentium in the cecum. Also, most SMARTA cells were ultimately recovered from infected mucosae, which is consistent with their retention there by epithelial antigen recognition. Thus, the superior response to injected antigen is consistent across all cecal and colonic sites of C. rodentium colonization, initiated in the cecum-draining LN and tracking with antigen spread to the distal colon (Fig. 2q,r). This establishes that subcellular antigen localization, rather than antigen quantity or regional differences in antigen delivery dynamics, as the major determinant of the magnitude and distribution of the clonal T cell response.

Extended Data Fig. 2. Kinetics and tissue distribution of SMARTA T cell responses to translocated versus bacterially-associated espZ antigens.

Extended Data Fig. 2

C57BL/6 CD45.2+ mice received 0.2 mg/kg anti-CD4 20-24 hours prior to adoptive transfer of 1 × 105 naïve CD45.1+ SMARTA T cells and infection with either espZ FL-gp66 or espZ Δ1–21-gp66 strains. a, Recovered colonic CD4+TCRβ+ cells were analyzed by flow cytometry for CD45.1 or CD45.2 expression across GALT (cecal patch and distal mesenteric LN) and cecal tissue at days 3-15 post-infection. b-g, Number of recovered CD45.1+ SMARTA T cells from cecal patch (b, c), distal MLN (d, e), or cecal tissue (f, g). Data are mean ± s.d. with individual mice shown; n = 3 mice per group per timepoint for all panels. Data are from one experiment representative of 2 independent experiments. One-way ANOVA with Tukey’s post hoc test; *P < 0.05, **P < 0.01 ***P < 0.001, and ****P < 0.0001.

Epithelial cell presentation of injected bacterial antigens promotes CD4 TRM cell development

Evidence for a role of nonprofessional APCs in memory T cell development has been limited38–41. Given the superior ability of injected antigens to drive mucosal CD4 T cell responses, and our previous finding that IEC antigen presentation recruits CD4 T cell help1, we asked whether T cell recognition of IEC-presented antigen is central to mucosal memory development. Before the C. rodentium challenge, few colonic CD4 T cells displayed a resident memory phenotype (CD69+CD103− and CD69+CD103+) (Extended Data Fig. 3) but both populations were strongly induced during active infection and persisted into the memory phase (days 43 and 82). Both IL-17A-expressing and interferon-γ (IFNγ)-expressing cells comprised the memory cell pool (Extended Data Fig. 3e–h), with predominance of IFNγ competence at each time point, reflecting greater numbers of type 1 helper T (TH1) cells than type 17 helper T (TH17) cells during the effector response (day 14 and see below).

Extended Data Fig. 3. Phenotypic and functional characterization of endogenous CD4+ T cells during C. rodentium infection.

Extended Data Fig. 3

a-h, Colonic CD4+TCRβ+ cells isolated from colonic epithelium (IE) and non-epithelial tissue (NE) were collected from naïve or Cr-DBS100-infected C57BL/6 mice at day 14, 43, or 82 post-infection. Recovered cells were stimulated for 3-4 hours with PMA and ionomycin and stained for surface CD4, TCRβ, CD69, and CD103 followed by intracellular staining for IL-17A and IFNγ and analysis by flow cytometry. Data are mean ± s.d. with individual mice shown. For b and d, n = 5 CD69+CD103− and 5 CD69+CD103+ (naive), 5 and 5 (day 14), 7 and 7 (day 43), and 7 and 6 (day 82) mice. For f, n = 5 and 5 (naive), 5 and 5 (day 14), 5 and 5 (day 43), and 7 and 7 (day 82) mice. For h, n = 5 and 5 (naive), 5 and 7 (day 14), 5 and 5 (day 43), and 7 and 7 (day 82) mice. Data are from one experiment representative of 2 independent experiments. One-way ANOVA with Tukey’s post hoc test, comparing CD69+CD103− populations (blue) and CD69+CD103+ populations (red) separately; *P < 0.05, **P < 0.01, ***P < 0.001 and ****P < 0.0001.

Assessment of total CD69+CD103− and CD69+CD103+ SMARTA cell numbers generated in response to different C. rodentium strains revealed striking differences in both number and phenotype (Fig. 3a–e). At day 42 after infection, more than 3 weeks after bacterial clearance, few CD69+ SMARTA cells (TRM phenotype) were generated in response to intimin-gp66. Despite the modest mucosal T cell response induced by tir-gp66 (Fig. 1a–f), there was significant induction of both CD69+CD103− and CD69+CD103+ TRM cells, albeit substantially lower than the numbers of SMARTA TRM cells responding to nleA-gp66 and espZ-gp66 (22-fold and 30-fold greater, respectively, than intimin-gp66), which represented the majority of the total recovered SMARTA cells (Fig. 3d,e). Interestingly, although injected antigen promoted the population of other intestinal segments by CD69+ TRM cells, CD103+ TRM cells were restricted to the cecum and distal colon, the sites of C. rodentium colonization (Supplementary Data Fig. 1). Rare CD69+CD103− and no CD69+CD103+ TRM cells were found in nonintestinal tissue (salivary gland). Thus, TRM cell development was strongly biased toward injected antigens, especially cytosolic ones, and induction of CD103+ TRM cells was largely restricted to sites of C. rodentium colonization.

Fig. 3. Epithelial cell presentation of injected C. rodentium antigens drives CD4+ TRM cell formation and maintenance.

Fig. 3

a, Naive CD45.1+ SMARTA T cells were adoptively transferred into C57BL/6 mice infected with either intimin-gp66, tir-gp66, nleA-gp66 or espZ-gp66 C. rodentium strains. b,c, Cells from the colons of mice were collected on day 42 after infection, stained for CD45.1 and CD45.2 (b) and quantified (c) using flow cytometry. Data are shown as the mean ± s.d. with individual mice shown; n = 5 (intimin-gp66), 5 (tir-gp66), 4 (nleA-gp66) and 3 (espZ-gp66) mice. Data are from one experiment representative of two independent experiments. One-way ANOVA with Tukey’s post hoc test; *P < 0.05, **P < 0.01. The espZ-gp66 panels in b and d were acquired on a different flow cytometer than intimin-, tir- and nleA-gp66 panels, resulting in a shift in the CD45.2+ endogenous population along the x axis; this does not affect the gating of CD45.1+ SMARTA T cells or the interpretation of the results. d,e, Colonic cells from day 42-infected mice were gated on CD45.1+ SMARTA T cells and stained for CD4, TCR beta chain (TCRβ), CD69 and CD103 (d) and quantified (e) using flow cytometry to quantitate the numbers of CD69+CD103− and CD69+CD103+ TRM cells. Data are shown as the mean ± s.d. with individual mice shown; n = 3 (intimin-gp66), 3 (tir-gp66), 4 (nleA-gp66) and 5 (espZ-gp66) mice. Data are from a single experiment, independent of that shown in b,c; two independent experiments were performed in total. One-way ANOVA with Tukey’s post hoc test; *P < 0.05, ***P < 0.001 (CD103− across antigens); #P < 0.05 and ØP < 0.05 (CD103+ across antigens). f,g, Cells from the colons of DBS100-infected H2-Ab1fl/fl (blue) and H2-Ab1Villin (red) mice were collected on day 42, stained for CD4, TCRβ, CD69 and CD103 (f), and quantified (g) using flow cytometry (f). Quantification of CD69+CD103− and CD69+CD103+ TRM cell numbers from the colons of DBS100-infected H2-Ab1fl/fl and H2-Ab1Villin mice at day 42 (g). Data are shown as the mean ± s.d. with individual mice shown; g left: n = 4 H2-Ab1fl/fl and 4 H2-Ab1Villin; g right: n = 5 H2-Ab1fl/fl and 4 H2-Ab1Villin mice. Data are from one experiment representative of two independent experiments. Unpaired two-sided Student’s t-test; *P < 0.05, **P < 0.01. h, Schematic of TAM-induced deletion of H2-Ab1 after C. rodentium clearance in H2-Ab1fl/fl and H2-Ab1Villin-ERT2 mice receiving TAM on days 33–36 after infection. i,j, Cells from the colons of DBS100-infected H2-Ab1fl/fl (green) and H2-Ab1Villin-ERT2 (orange) mice were stained as in d (i) and quantified (j) using flow cytometry on day 42 after infection to quantitate the number of CD69+CD103− and CD69+CD103+ TRM cells after TAM-induced deletion of H2-Ab1. Data are shown as the mean ± s.d. with individual mice shown; n = 7 H2-Ab1fl/fl and n = 6 H2-Ab1Villin-ERT2 mice. Data are from one experiment representative of two independent experiments. Unpaired two-sided Student’s t-test; *P < 0.05. k, Schematic of LIPSTIC experiments using RosauLIPSTIC/Villin (blue) and RosauLIPSTICH2-Ab1Villin (red) mice at day 42 after infection, after biotin-LPETG administration. l,m, Cells isolated from intraepithelial (left) or nonepithelial (right) compartments of colon from RosauLIPSTIC/Villin (blue) and RosauLIPSTICH2-Ab1Villin (red) mice at day 42 after infection were stained as in d (l); anti-biotin antibody and the numbers of biotin+ CD4+ cells were quantified (m) in the intraepithelial and nonepithelial compartments (l,m), as well as the number of biotin+ CD69+CD103− and CD69+CD103+ TRM cells in the intraepithelial compartment (n, flow plots; o, quantification). Data are shown as the mean ± s.d. with individual mice shown; m,n: n = 4 RosauLIPSTIC/Villin and n = 5 RosauLIPSTICH2-Ab1Villin; o (both panels): n = 5 mice per genotype. Data are from one experiment representative of two independent experiments. Unpaired two-sided Student’s t-test; *P < 0.05, **P < 0.01, ***P < 0.001.

Source data

These findings suggested that epithelial antigen presentation is critical for TRM cell programming. We found previously that upregulation of epithelial MHC class II was important for controlling C. rodentium infection, while its loss impaired the antigen-specific T cell response1. To determine whether epithelial MHC class II is required for TRM induction, we compared control H2-Ab1fl/fl mice with H2-Ab1Villin mice, in which MHC class II deficiency is targeted to IECs. Compared to control mice, H2-Ab1Villin mice showed significantly reduced CD69+CD103− and CD69+CD103+ CD4 TRM populations at day 42 after infection (Fig. 3f,g), demonstrating that epithelial MHC class II is necessary for optimal CD4 TRM development. To determine whether ongoing MHC class II expression maintains TRM cells after bacterial clearance, we used tamoxifen (TAM)-inducible deletion of epithelial MHC class II (H2-Ab1Villin-ERT2 mice) (Fig. 3h). Memory-phase deletion of MHC class II significantly reduced both CD69+CD103− and CD69+CD103+ TRM subsets (Fig. 3i,j), indicating that continued epithelial MHC class II expression contributes to TRM cell maintenance after pathogen clearance.

To extend these results, MHC-class-II-dependent interactions between cECs and CD4 T cells were assessed using the Labeling Immune Partnerships by SorTagging Intercellular Contacts (LIPSTIC) transgenic system42,43 (Fig. 3k). In RosauLIPSTIC/Villin mice, where ECs can transfer biotin to closely interacting partners, 79% of recovered intraepithelial CD4 TRM cells were biotin+ at day 42 after infection (Fig. 3l,m). Loss of epithelial MHC-class-II-dependent interactions in RosauLIPSTIC/H2-Ab1Villin mice markedly reduced biotin labeling of intraepithelial CD4 TRM cells to 16% (approximate fivefold reduction). In contrast, nonepithelial CD4 T cells showed only modest MHC-class-II-dependent labeling, indicating infrequent interactions with IECs relative to intraepithelial CD4 T cells. Although CC–TRM cell interactions were less frequent for CD103− than CD103+ CD4 TRM cells, despite their greater abundance within the colonic epithelium, they remained substantial (~62% biotin+), indicating that the majority of both CD103− and CD103+ TRM subsets sustain ongoing interactions with cECs that are critically dependent on MHC class II (Fig. 3n,o). Thus, CC presentation of injected bacterial antigens promotes the development and maintenance of both major subsets of mucosal CD4 TRM cells via sustained, MHC-class-II-dependent interactions.

Differential antigen localization promotes distinct patterns of CD4 T cell memory

The foregoing results established a bias favoring effector and memory CD4 T cells responding to cEC-presented injected antigens but did not define their microanatomical disposition. Therefore, we used light-sheet fluorescence microscopy (LSFM) to quantify the spatial distribution of transferred SMARTA T cells as a function of antigen localization, whether CC-associated (espZ-gp66 and espZ FL) or bacterial-associated (intimin-gp66 and espZ Δ1–21), and epithelial MHC class II expression during the memory phase. Assignment of cells to the epithelium, lamina propria (LP) or GALT, colonic patches (CPs) and isolated lymphoid follicles (ILFs) was enabled using intravital immunostaining of transferred SMARTA cells (CD45.1+), IECs (EpCAM+) B cells (CD19) (Extended Data Fig. 4) and vasculature (CD31) (Extended Data Fig. 5).

Extended Data Fig. 4. Light sheet fluorescence microscopy-based assignment of SMARTA CD45.1+ T cell microanatomical localization within colonic mucosa.

Extended Data Fig. 4

a, Representative LSFM images (100 µm optical section) of distal colonic tissue from C. rodentium Δ1–21 espZ-infected mice that received CD45.1 + SMARTA T cells, harvested at day 14 post-infection. CD19 staining (green) delineates colonic patch (GALT) boundaries (dashed white outline). EpCAM (red) defines the epithelium. Colored arrows indicate CD45.1+ cells assigned to the epithelial-associated (cyan), lamina propria (yellow), or GALT-resident (blue) based on their spatial relationship to EpCAM and CD19 surfaces. b, LSFM images at decreasing optical section depths (200, 70, 50, and 30 µm) illustrating the criteria used to assign compartmental identity to individual CD45.1+ cells. Epithelial association was defined as distance to EpCAM surface <0 µm (cyan); lamina propria assignment was defined as distance to EpCAM surface >0 µm (yellow); GALT assignment on the basis of colonic patch and ILF morphology, with CD19 as a confirmatory marker (blue). Serosal CD45.1+ cells (pink) and tissue autofluorescence (grey) are shown for reference. c, Three-dimensional surface renderings of EpCAM (red) and CD45.1+ cells showing showing epithelial (cyan) and lamina propria (yellow) assignments in relation to colonic crypt architecture. Images are representative of n = 3 mice per group at day 14 post-infection.

Extended Data Fig. 5. Vascular association of SMARTA T cells at day 14 of Cr infection.

Extended Data Fig. 5

a, Representative LSFM images at decreasing optical section depths (300, 200, and 100 µm) of distal colon tissue from C. rodentium espZ FL-infected mice that received CD45.1+ SMARTA T cells, harvested at day 14 post-infection. CD31 identifies the intestinal vasculature (red); CD45.1+ SMARTA T cells are shown in cyan. Transverse section (left and right panels) and sagittal section (middle panel) highlight abundant SMARTA cells in submucosa and mucosa. b, Three-dimensional surface renderings of CD31 and CD45.1+ cells from the specimen shown in a, illustrating the spatial relationship between SMARTA T cells and vessel lumens (dashed outline) at 300 and 50 µm optical sections. CD45.1+ cells are pseudocolored to highlight vascular association: intravascular/transmigrating (blue), perivascular (cyan), and extravascular (yellow). c, Pie chart showing the relative distribution of CD45.1+ SMARTA T cells by vascular compartment – intravascular/transmigrating (31.1%, blue), perivascular (7.3%, cyan), and extravascular (61.6%, yellow) – quantified from the full intestinal sample of a single mouse at day 14 post-infection (n = 1); this analysis was performed on one specimen and was not repeated independently.

In WT mice infected with C. rodentium variants expressing either espZ FL or espZ-gp66, SMARTA cells robustly populated the distal colonic mucosa at day 42 after infection (Fig. 4a–c, Supplementary Data Fig. 2 and Supplementary Videos 1–3). Among quantified SMARTA cells, the greatest proportion and density of cells were associated with the epithelium (espZ FL: 68.7% of 1,427 cells total; tissue density 612 cells per mm3), followed by GALT (23.7% of cells; 211 cells per mm3) and LP (7.6% of cells; 68 cells per mm3) in that order. Thus, the epithelial SMARTA cell density was approximately threefold and ninefold higher than that of GALT and LP, respectively. The relative dearth of SMARTA cells in the LP was notable, as this compartment contained the greatest number and density of cells during the effector response (day 14; see below), suggesting that signals sustaining T cells found there are limited relative to the intraepithelial niche. A similar distribution was observed as late as 240 days after espZ FL infection (Extended Data Fig. 6 and Supplementary Video 4), indicating durable persistence of antigen-specific memory cells months after C. rodentium clearance.

Fig. 4. Differential antigen localization promotes distinct tissue patterns of CD4 T cell memory.

Fig. 4

a, Representative LSFM surface renderings of distal colon tissue from WT CD45.2+ mice infected with C. rodentium expressing espZ-gp66 (left) or espZ FL (left, dashed inset) or intimin-gp66 (right) or Δ1–21-infected mice (right, dashed inset) that received SMARTA CD45.1+ T cells, collected at day 42 after infection. Top: longitudinal and transverse views of the intact colonic tube (300 and 200-µm optical sections). Bottom: CD45.1+ SMARTA T cells pseudocolored according to compartment: epithelial (cyan), LP (yellow) and GALT (blue). CP boundaries are indicated by dashed white outlines. Compartment assignments were made using the criteria described in Extended Data Fig. 4. b, Quantification of SMARTA CD45.1+ in the epithelial (left), LP (middle) and GALT (right) compartments from espZ FL-infected and espZ Δ1–21-infected mice. Data are shown as the mean ± s.d. with individual mice shown; epithelial: n = 4 espZ FL and n = 4 espZ Δ1–21; LP: n = 4 and 5; GALT: n = 4 and 5 mice. Data are from one experiment representative of two independent experiments. Unpaired two-sided Student’s t-test; *P < 0.05, **P < 0.01. The fold differences shown above each compartment indicate the ratio of mean CD45.1+ cell number in espZ FL-infected versus espZ Δ1–21-infected mice and are provided for descriptive comparison only; statistical comparisons are as indicated. c, Pie charts showing the relative distribution of SMARTA CD45.1+ T cells across epithelial, LP and GALT compartments in espZ FL-infected and espZ Δ1–21-infected mice (~1.6 mm3 field of view (FOV)). The pie chart area was scaled proportionally to total CD45.1+ cell number per FOV. d, Representative LSFM images (top: 300-µm optical sections) and three-dimensional surface renderings (bottom: 100 and 20-µm optical sections) of distal colon tissue from H2-Ab1fl/fl or H2-Ab1Villin mice that received SMARTA CD45.1+ T cells and were infected with C. rodentium espZ FL, collected at day 42 after infection. CD45.1+ (cyan) and EpCAM (red) cells are shown in the raw images; surface renderings show CD45.1+ cells pseudocolored according to compartment as in a. CP and isolated ILF boundaries are indicated by the dashed white outlines. e, Quantification of SMARTA CD45.1+ T cell numbers across compartments from H2-Ab1fl/fl and H2-Ab1Villin mice. Data are shown as the mean ± s.d. with individual mice shown; epithelial (left): n = 3 H2-Ab1fl/fl and 3 H2-Ab1Villin; LP (middle): n = 3 and 3; GALT (right): n = 4 and 3 mice. Data are from one experiment representative of two independent experiments. Unpaired two-sided Student’s t-test; *P < 0.05. The fold differences shown above each compartment indicate the ratio of mean CD45.1+ cell numbers in H2-Ab1fl/fl versus H2-Ab1Villin mice and are provided for descriptive comparison only; statistical comparisons are as indicated. f, Pie charts showing the relative distribution of SMARTA CD45.1+ T cells across epithelial, LP and GALT compartments in H2-Ab1fl/fl (left) and H2-Ab1Villin mice (right) (~1.6 mm3 FOV). The pie chart area was scaled proportionally to total CD45.1+ cell number per FOV.

Source data

Extended Data Fig. 6. Injected bacterial antigen induces durable tissue-resident memory in CD4+ T cells.

Extended Data Fig. 6

a, Representative LSFM images combined with three-dimensional surface renderings of distal colon tissue from espZ FL- (left panel) and espZ Δ1–21-infected mice (right panel) at day 240 post-infection. Colonic patch (GALT) boundaries are indicated by dashed white outlines. CD45.1+ SMARTA T cells are pseudocolored by compartment: epithelial (cyan), lamina propria (yellow), and GALT (blue). b, Pie charts showing the relative distribution of SMARTA CD45.1+ T cells across epithelial, lamina propria, and GALT compartments at day 240 post-infection in espZ FL and espZ Δ1-21-infected mice (in ~1.6 mm3 FOV). Pie chart area is scaled proportionally to total CD45.1+ cell number per FOV. Data are representative of n = 5 mice per group.

In stark contrast, intimin-gp66 or espZ Δ1–21 C. rodentium variants generated only rare SMARTA T cells in the epithelium or LP of WT mice, with only ~4–5% of CD45.1+ cells quantified in the intimin-gp66 and espZ Δ1–21 challenged mice combined at day 42 (Fig. 4a–c, Supplementary Data Fig. 2 and Supplementary Videos 1 and 5). Even fewer SMARTA cells were identified in the LP (1–2%). Instead, most SMARTA T cells (91–95%) localized to the GALT. Thus, the disposition of antigen-specific T cells responding to bacterially associated antigen was markedly diminished and strongly favored GALT during the memory phase.

Consistent with a critical role for epithelial antigen presentation in driving the amplitude and developmental trajectory of C. rodentium-reactive CD4 T cells, the number of SMARTA cells in the mucosa of H2-Ab1Villin mice challenged with espZ FL was reduced more than 20-fold relative to control H2-Ab1fl/fl mice (53 versus 1,317 mean total quantified cells, respectively) (Fig. 4d–f), a reduction remarkably similar to that of WT mice infected with either espZ Δ1–21 or intimin-gp66. Moreover, few SMARTA cells were identified in the epithelium or LP of H2-Ab1Villin mice, with the majority localized to the GALT (84%). Thus, without epithelial antigen presentation, C. rodentium-specific memory T cells were markedly reduced and intraepithelial TRM development was minimal. These imaging data establish that antigen compartmentalization determines not only the magnitude but also the microanatomical positioning of memory CD4 T cells, with MHC-class-II-presented cytosolic antigen driving intraepithelial TRM cells, and noncytosolic antigen or deficiency of MHC class II leaving memory cells largely confined to the GALT. Because anatomical location does not by itself assign functional subset, we describe these cells according to compartment; GALT-localized memory cells may include both circulating central memory T (TCM) cells and secondary lymphoid tissue-resident cells stationed there.

Epithelial cell antigen presentation underpins bidirectional epithelial–T cell crosstalk to promote TRM cell commitment

The specialized role of IEC presentation of injected antigens in driving the magnitude, trajectory and distribution of the CD4 T cell response led us to examine bidirectional signals exchanged between antigen-presenting DCCs and responding T cells. Single-cell RNA sequencing (scRNA-seq) analysis was performed on sorted EpCAM+ epithelial cells and CD45+ immune cells from the intraepithelial and nonepithelial compartments of distal colonic mucosa of naive and infected H2-Ab1fl/fl and H2-Ab1Villin mice (Extended Data Fig. 7 and Supplementary Table 2).

Extended Data Fig. 7. Composite single-cell transcriptomic atlas of colonic immune and epithelial cells from naive and Cr-infected H2-Ab1fl/fl and H2-Ab1Villin mice.

Extended Data Fig. 7

a, b, UMAP analysis of total mid-distal colon cells isolated from naïve or DBS100 Cr-infected H2-Ab1fl/fl or H2-Ab1Villin mice on day 9, 14 or 42 post-infection. EpCAM+ and CD45+ intraepithelial (IE) and non-epithelial (NE) cells were sorted for scRNA-seq analysis. Approximately 600,000 cells were resolved into 87 individual clusters: 22 IEC clusters (8 absorptive lineage, 10 secretory lineage, and 4 undifferentiated populations); 35 lymphocyte clusters (19 effector populations and 16 memory populations spanning CD4, CD8, γδ T cells, and B cells); and 30 innate cell populations spanning monocytes/macrophages, dendritic cells, ILCs/NK cells, granulocytes, and stromal fibroblasts. Abbreviations: prog, progenitor, DCC, distal colonocyte; PCC, proximal colonocyte; CC, colonocyte; DCS, deep crypt secretor; de-diff, de-differentiated; GC, goblet cell; Cr-I, C. rodentium-induced; CBC, crypt base columnar; TA, transit amplifying; EarlyAct, early activated; T eff, T effector; Tfh, T follicular helper; tTreg, thymic Treg; cTreg, central Treg; eTreg, effector Treg; GC B, germinal center B cell; PB, plasmablast; Trm, tissue resident memory T cell; Tcm, central memory T cell; Tem, effector memory T cell; ILCP, innate lymphoid cell precursor; trIELs, tissue resident intraepithelial lymphocytes; NK, natural killer; MC, mast cell.

Across all clusters, professional mucosal APCs (for example, DCs and macrophages) maintained high H2-Ab1 (MHC class II) expression at all time points, whereas specific epithelial subpopulations upregulated MHC class II in response to infection (Fig. 5a and Extended Data Fig. 8). Expression of H2-Ab1 peaked at day 14 of infection in DCCs, particularly pro-DCCs, mature DCCs and pro-senescent CCs (Fig. 5b), and persisted through the end of the observation period (day 90), well beyond the clearance of C. rodentium. Persistent surface MHC class II expression was confirmed using flow cytometry and independent transcriptomic analysis (Fig. 5c–e).

Fig. 5. Epithelial MHC class II expression sustains IEC-T cell communication during and after C. rodentium infection.

Fig. 5

scRNA-seq was performed on EpCAM+ and CD45+ cells isolated from intraepithelial and nonepithelial compartments from mid-distal colons of H2-Ab1fl/fl and H2-Ab1Villin mice that were uninfected (naive) or C. rodentium-infected for 9, 14 or 42 days (n = 2). a, Uniform manifold approximation and projection (UMAP) analysis of H2-Ab1 expression in key labeled clusters (see Extended Data Fig. 7 for detailed demarcation of clusters). b, Dot plot of H2-Ab1 expression in epithelial cell clusters in naive and day 9, 14 or 42 C. rodentium-infected mice. c,d, EpCAM+ IECs isolated from naive or day 9, 14, 42 or 90 C. rodentium-infected MHC class II-enhanced GFP (eGFP) mice were analyzed using flow cytometry (c) and quantified by MHCII+ frequency (d). Data are shown as the mean ± s.d. with individual mice shown; n = 3 (naive), 3 (day 9), 4 (day 14), 7 (day 42) and 4 (day 90) mice. Data are from one experiment representative of two independent experiments. One-way ANOVA with Tukey’s post hoc test; *P < 0.05, **P < 0.01, ***P < 0.001, ****P < 0.0001. e, H2-Ab1 gene expression in EpCAM+ IECs sorted from naive or day 9, 14 or 42 of C. rodentium-infected C57BL/6 mice determined using quantitative PCR with reverse transcription (RT–qPCR). Data are shown as the mean ± s.d. with individual mice shown; n = 2 (naive), 6 (day 9), 6 (day 14) and 6 (day 42) mice. Data are from one experiment representative of two independent experiments. One-way ANOVA with Tukey’s post hoc test; *P < 0.05, **P < 0.01, ***P < 0.001. f, UMAP of IEC clusters from naive and day 9, 14 or 42 C. rodentium-infected H2-Ab1fl/fl and H2-Ab1Villin mice, with cluster colors corresponding to the key shown. The comparison of f and g best illustrates genotype-dependent shifts in IEC subset composition during active infection. g, Pie charts depicting the percentages of absorptive, secretory and undifferentiated IEC clusters at the indicated time points and genotypes. Pie chart areas are normalized to the largest cell pool (day 9 H2-Ab1Villin mice). Notable shifts in absorptive lineage subset composition, including pro-senescent CCs, between H2-Ab1fl/fl and H2-Ab1Villin mice at day 14 are most readily appreciated by comparing f and g in conjunction with the text. h,i, Two-way scatter plot of differentially expressed genes (DEGs) from P-I CCs versus DEGs from pooled H2-Ab1+ macrophage clusters from day 14 (h) and DEGs from mature DCCs versus DEGs from pooled H2-Ab1+ macrophage clusters from day 42 (i) scRNA-seq data. j,k, pyScenic transcription factor regulon analysis performed in P-I CCs at day 14 (j) and mature DCCs at day 42 (k). l–o, Ligand–receptor analysis performed via LIANA on myeloid-CD4 TH1 effector interactions (day 14, l), IEC-CD4 TH1 effector interactions (day 14, m), IEC-CD4 CD103− TRM interactions (day 42, n) and IEC-CD4 TRM CD103+ interactions (day 42, o). Undiff, undifferentiated.

Source data

Extended Data Fig. 8. Temporal expression of H2-Ab1 across professional antigen-presenting cells in H2-Ab1fl/fl and H2-Ab1Villin mice.

Extended Data Fig. 8

a-b, Violin plots of H2-Ab1 expression across monocyte/macrophage and dendritic cell clusters in naïve or DBS100 Cr-infected H2-Ab1fl/fl or H2-Ab1Villin mice on day 9, 14 or 42 post-infection. Abbreviations: DC, dendritic cell; Mϕ, macrophage; trans, transitioning; Mon, monocyte.

Comparison of EC developmental trajectories between H2-Ab1fl/fl and H2-Ab1Villin mice highlighted altered CC dynamics during active infection in the absence of epithelial MHC class II, principally among cells of the absorptive lineage (Fig. 5f,g). No differences were observed between genotypes at homeostasis, reflecting absent CC MHC class II at steady state. During active infection, H2-Ab1Villin mice failed to show the normal increase in shedding of pro-senescent CCs, which is consistent with a critical role for T cell-derived IL-22 in programming these cells to counter C. rodentium effector proteins that promote DCC retention1 (Fig. 5g). This was evident as decreased relative and absolute numbers of pro-senescent CCs and increased total DCCs in H2-Ab1Villin mice at the peak of bacterial load (day 9). Notably, the total number of DCCs in H2-Ab1Villin mice contracted at day 14, which is consistent with impaired recruitment of T cell-derived IFNγ signaling, a key driver of absorptive lineage proliferation during infection44 (see below). Secretory subsets were less affected, probably reflecting the absence of antigen loading by injected C. rodentium proteins, although goblet cell (GC) precursor C. rodentium-I cells selectively increased in H2-Ab1Villin mice, perhaps reflecting reduced IFNγ-dependent GC contraction.

Differential gene expression analysis confirmed that H2-Ab1 deletion was specific to ECs, with no significant effect on H2-Ab1 expression by myeloid cells (Fig. 5h,i). Although macrophage numbers and subset composition shifted during infection contingent on MHC-class-II-dependent DCC–CD4 T cell interactions (Extended Data Fig. 9), H2-Ab1 expression by H2-Ab1fl/fl and H2-Ab1Villin macrophage or DC populations was not significantly altered (Extended Data Fig. 8), indicating retained antigen-presenting function. Thus, macrophage and DC subsets from both genotypes showed comparable upregulation of genes downstream of CD40 signaling (Fig. 5h,i), which is consistent with retained T cell–APC interactions.

Extended Data Fig. 9. Distribution of myeloid cell populations across intraepithelial and non-epithelial compartments in H2-Ab1fl/fl and H2-Ab1Villin mice.

Extended Data Fig. 9

a, UMAPs of total monocyte/macrophage and dendritic cell populations isolated from mid-distal colon of naïve or DBS100 Cr-infected H2-Ab1fl/fl or H2-Ab1Villin mice on day 9, 14 or 42 post-infection. b,c, Pie charts of the number and percentages of monocytes/macrophages (b) and dendritic cells (c) at indicated times, highlighting that while total monocyte/macrophage numbers and subset composition are substantially altered within and between genotypes during active infection (d9), total DCs and DC subsets do not undergo major shifts in numbers or subset composition between H2-Ab1fl/fl and H2-Ab1Villin mice. Pie chart areas normalized to largest population within monocyte/macrophage or DC pools.

Transcription factor regulon analysis using pySCENIC45 revealed that IFNγ-responsive transcription factors, including Stat1, Stat2, Irf1, Irf7 and Irf8, were the most significantly enriched in infected H2-Ab1fl/fl IECs (for example, pathogen-induced (P-I) CCs at day 14 and mature DCCs at day 42) compared to MHC-class-II-deficient IECs (Fig. 5j,k). This implicated TH1 responses to IEC antigen presentation as a major driver of DCC programming during and after infection. The signals maintaining this program after clearance are unclear, but sustained IFNγ signatures suggest that ongoing EC–T cell crosstalk dampens innate programs that otherwise fail to extinguish. A Prdm1 regulon induced downstream of IFN signaling restrains pro-inflammatory signals46–48, cooperating with Foxo1 and Foxo3 against NOD-family signaling via AP-1 and NF-κB49. Enrichment of AP-1 regulons in CCs of H2-Ab1Villin mice (for example, Fos, Jun, Junb, Jund)50–52 may thus reflect lost IFNγ feedback restraint. Klf2 and Klf4, which likewise repress AP-1 activity in IECs53, were also enriched in H2-Ab1Villin mice, suggesting that this feedback does not require direct T cell input.

LIANA+ analysis54 of intercellular communication showed no differential H2-Ab1-Cd4 interactions between myeloid cells and effector T cells at day 14 (Fig. 5h,i,l). Supporting the differential gene expression analysis above (Fig. 5h,i), no differential H2-Ab1-Cd4 interactions were evident between different myeloid cells and effector T cells at day 14 (Fig. 5l). In stark contrast, H2-Ab1–Cd4 interactions dominated EC–T cell interactions, particularly those involving numerically favored TH1 cells (Fig. 5m). This persisted at day 42, with strong H2-Ab1-dependent interactions between ECs and both CD103− and CD103+ CD4 TRM cells (Fig. 5n,o). Additional interactions in H2-Ab1fl/fl mice included Cxcl16-Cxcr6, which supports T cell tissue residency in colonic epithelium55–57, and Il-7–Il-7r, which supports T cell survival58,59. Il7 and Il15 transcripts also shifted significantly across IEC subsets over the course of C. rodentium infection (Extended Data Fig. 10), suggesting changing epithelial sources of survival signals during the transition to memory. In H2-Ab1Villin mice, we also found Il-18–Cd48 and Il-18–Il-18r1 IEC-T cell signatures persisting into the memory phase, which is consistent with the regulon data described above (Fig. 5j,k).

Extended Data Fig. 10. Epithelial Il7 and Il15 expression shows reciprocal temporal regulation and cellular source during Cr infection.

Extended Data Fig. 10

a, UMAP analysis of Il7 expression in scRNA-seq dataset. b, Dot plot of Il7 expression across time points and cell types of H2-Ab1fl/fl mice during Cr infection, highlighting significant Il7 expression by undifferentiated IECs (Lgr5dim CBCs, Lrig1+ reserve SCs, and TA cells), immature absorptive IECs (pre-DCCs and pre-PCCs), and immature secretory IECs (secretory progenitors), along with endocrine and canonical GCs, during active infection (days 9-14). c, Comparison of expression of Il7 by immature and mature IECs of H2-Ab1fl/fl and H2-Ab1Villin mice over infection time course, highlighting similar pattern of expression by immature IECs of both genotypes that is maximal during active infection (days 9 and 14). d, UMAP analysis of Il15 expression in scRNA-seq dataset. e, Dot plot of Il15 expression across time points and cell types of H2-Ab1fl/fl mice during Cr infection, highlighting significant Il15 expression by mature absorptive IECs (pro-DCC, mature DCC, mature PCC, P-I CC, and pro-senescent CC) as well as some non-canonical GCs at homeostatic time points (naive and day 42) but diminished expression during acute infection (days 9-14)—displaying a reciprocal expression pattern from that of Il7. f, Comparison of expression of Il15 by immature and mature IECs of H2-Ab1fl/fl and H2-Ab1Villin mice over infection time course, highlighting enhanced expression of Il15 in mature IECs compared to immature IECs at homeostatic time points and similar pattern of expression between genotypes. g, Il7 and Il15 expression from sorted cECs isolated from mid-distal colon of naïve or DBS100 Cr-infected H2-Ab1fl/fl or H2-Ab1Villin mice on day 9, 14 or 42 post-infection was detected by RT-qPCR, confirming the pattern shown in the scRNA-seq dataset. Data are mean ± s.d. with individual mice shown; n = 3 H2-Ab1fl/fl and 3 H2-Ab1Villin (naive), 5 and 6 (day 9), 5 and 7 (day 14), and 6 and 8 (day 42) mice. Data are from one experiment representative of 2 independent experiments. Two-way ANOVA with Tukey’s post hoc test; *P < 0.05 (comparing H2-Ab1fl/fl and H2-Ab1Villin mice); ∅P < 0.05, ∅∅P < 0.01, ∅∅∅P < 0.001 and ∅∅∅∅P < 0.0001 (comparing timepoints). In view of the fact that IL-7 and IL-15 are key common γ-chain cytokines that support survival of different Trm subsets, our data indicate that there are temporal and spatial expression differences between the two cytokines that emerge from the scRNA-seq dataset: Il7 transcripts were predominantly expressed by immature, undifferentiated cECs (CBCs, TA cells, pre-DCCs, and some secretory cells) at days 9–14 post-infection, whereas Il15 transcripts were predominantly expressed by mature IECs (pro-DCCs, mature DCCs, and pro-senescent CCs) in naïve cECs and at day 42 post-infection. The loss of Il15 expression at days 9 and 14 likely reflected more rapid epithelial turnover and alterations in DCC maturation that accompany active Cr infection, as mature cells at mucosal surface are rapidly shed and replaced by immature populations. These findings suggest that IL-15 plays a key role in maintenance of intraepithelial T cells at homeostasis, and when the cellular source of IL-15 is lost during acute infection, IL-7 from proliferating immature cells—and possibly IL-2 produced by activated T effector cells—may compensate for this loss as new memory cells are generated and occupy the epithelial niche.

Absence of epithelial MHC class II decreased total effector CD4 T cell numbers during active infection (day 14) but minimally affected the relative composition of effector or memory subsets, which is consistent with our previous findings1 (Fig. 6a,b and Supplementary Table 2). In contrast, there were significant shifts in the composition of memory cell subsets despite only modest changes in total memory cell numbers. In agreement with LSFM data showing near-complete absence of SMARTA TRM cells at day 42 (Fig. 4d–f), deployment of both CD103− and CD103+ epithelium-associated TRM cells was highly dependent on CC antigen presentation (Fig. 6a,c). Thus, H2-Ab1Villin mice exhibited a shift favoring transcriptionally defined TCM cells, with decreases in TRM and effector memory (TEM) populations (Fig. 6c), and a TCM-to-TRM ratio significantly skewed toward TCM in H2-Ab1Villin mice (Fig. 6d–h). Together with the differential programming of TRM and TCM cells contingent on injected versus noninjected C. rodentium antigens (Fig. 4a–c and Supplementary Data Fig. 2), these results indicate that T cell recognition of DCC-expressed antigen is required for optimal TRM development, whereas its absence favors a default, central memory-like transcriptional fate and disposition to GALT rather than intraepithelial or LP compartments60.

Fig. 6. EC antigen presentation directs TRM cell transcriptional programming.

Fig. 6

a, UMAP analysis of CD4 effector and memory populations from indicated H2-Ab1fl/fl and H2-Ab1Villin mice. b,c, Pie charts of the percentages of CD4 effector (b) and memory (c) clusters from naive and days 9, 14 and 42-infected H2-Ab1fl/fl and H2-Ab1Villin mice. d,e, Colonic intraepithelial cells from day 42-infected H2-Ab1fl/fl and H2-Ab1Villin mice were stained for CD4, TCRβ, CD44 and CD62L, and analyzed using flow cytometry (d) to quantify the number of CD44+CD62L+ TCM cells (e). Data are shown as the mean ± s.d. with individual mice shown; n = 6 mice per genotype. Data are from one experiment representative of two independent experiments. Unpaired two-sided Student’s t-test; *P < 0.05. f,g, Colonic intraepithelial cells from day 42-infected H2-Ab1fl/fl and H2-Ab1Villin mice were stained for CD4, TCRβ, CD69 and CD103, and then analyzed using flow cytometry (f) to quantify the number of CD69+CD103− and CD69+CD103+ TRM cells (g). Data are shown as the mean ± s.d. with individual mice shown; n = 6 mice per genotype. Data are from one experiment representative of two independent experiments. Unpaired two-sided Student’s t-test; *P < 0.05, **P < 0.01. h, Ratio of TCM cells to CD69+CD103− and CD69+CD103+ TRM cells from the colonic intraepithelial compartment in day 42-infected H2-Ab1fl/fl and H2-Ab1Villin mice. Data are shown as the mean ± s.d. with individual mice shown; n = 6 mice per genotype. Data are from one experiment representative of two independent experiments. Unpaired two-sided Student’s t-test; *P < 0.05, **P < 0.01. i, Two-way scatter plot of DEGs from CD103− TRM clusters versus DEGs from CD103+ TRM clusters from day 42 scRNA-seq data. j–n, Two-way scatter plots of DEGs from TCM versus DEGs from CD103+ TRM clusters (j), DEGs from TEM versus DEGs from CD103+ TRM clusters (k) and DEGs from TCM versus DEGs from TEM clusters (l) from day 42 scRNA-seq data. pyScenic transcription factor regulon analysis performed in CD103+ TRM (m) and CD103− TRM (n) from day 42 scRNA-seq data. o, Summary schematic depicting normal effector CD4 T cell development during acute C. rodentium infection and subsequent differentiation into memory T cell subsets (TCM, TEM and TRM) in H2-Ab1fl/fl mice. In H2-Ab1Villin mice lacking epithelial MHC class II, TEM and TRM populations are reduced with a reciprocal increase in TCM cells. Additionally, TRM cells that develop in H2-Ab1Villin mice display an altered transcriptional program compared with those from H2-Ab1fl/fl mice.

Differential gene expression analysis revealed distinct memory cell transcriptional programs contingent on epithelial antigen recognition, most prominently in TRM cells (Fig. 6i–l). For example, CD103+ TRM cells developing in H2-Ab1fl/fl mice expressed higher tissue residency transcripts, including Itgae (CD103), Jun, Ifng, Ccl5 and Gzma. Among the most differentially expressed MHC-class-II-dependent genes was Hdac11, the sole class IV histone deacetylase, which represses effector gene expression in memory T cells60 and may contribute to CD103− and CD103+ TRM cell quiescence. Notably, several transcription factor transcripts enriched in TRM cells (Hic1, Ahr, Nr4a1) were expressed independently of IEC antigen presentation, indicating regulation by other microenvironmental cues. In H2-Ab1Villin mice, TRM cells that developed showed altered transcriptional identity, with increased Klf3, Klf4, Socs3 and Ccr2—markers of central memory and migratory programs61–63—and loss of effector-associated genes. Although relative TCM numbers diverged between H2-Ab1fl/fl and H2-Ab1Villin mice, few genes were differentially expressed, which is consistent with similar ‘default’ programming in the absence of antigen recognition on IECs.

Transcription factor regulon analysis confirmed these findings. Thus, both CD103+ and CD103− TRM cells developing in H2-Ab1fl/fl mice exhibited higher activity of Fos, Tbx21, Jun, Runx2, Runx3 and Prdm1, factors associated with more terminal development, tissue residency and sustained effector competency64–66 (Fig. 6m,n). In contrast, TRM cells that developed in H2-Ab1Villin mice showed increased activity of Mxd1, Tcf7, Bcl6 and Bach2, which are associated with central memory plasticity and suppression of tissue residency. Klf2, Tcf7/Lef1 and Bach2 regulate the expression of Klf4, Socs3 and Ccr2, DEG signatures noted above. The Klf7 regulon was prominent in both CD103+ TRM cells from H2-Ab1fl/fl mice and CD103− TRM cells from H2-Ab1Villin mice, indicating that its role in memory cell survival and prevention of exhaustion is uncoupled from cEC antigen presentation. Together, these data reveal that MHC-class-II-dependent antigen presentation by DCCs shapes the transcriptional landscape of developing memory T cells, actively promoting tissue-resident programming over default central memory programming (Fig. 6o).

Memory T cells induced by injected antigen confer heterologous protection against bacterial rechallenge

To test whether memory CD4 T cells induced by injected antigen confer mucosal protection in a recall response, we used a heterologous rechallenge strategy. Because humoral immunity after primary C. rodentium infection complicates homologous rechallenge33,67, we used Salmonella Typhimurium engineered to deliver gp66-80 coupled to the injected effector protein, sopE2 (sopE2-gp66 Salmonella Typhimurium) (Fig. 7), which mediates Salmonella invasion of IECs after its injection via the SPI-1 T3SS68,69. C-terminal fusion of gp66-80 to sopE2 preserved this function while co-delivering the SMARTA epitope into the IEC cytosol. SopE2-gp66 Salmonella Typhimurium exhibited equivalent virulence to WT Salmonella Typhimurium (strain no. 14028s) (Fig. 7b,c) and similar colonization of the cecum—the principal site of overlap between C. rodentium and Salmonella Typhimurium colonization in streptomycin-pretreated mice70. CD45.2+ WT mice receiving CD45.1+ SMARTA T cells were infected with DBS100 (WT) or espZ FL C. rodentium (Fig. 7d,e), challenged on day 43 with sopE2-gp66 Salmonella Typhimurium after streptomycin pretreatment, and killed on day 48. Although there was no significant difference in weight loss between groups (Fig. 7f), espZ-FL-infected mice exhibited significantly lower cecal bacterial burdens and complete survival through day 5 after challenge, compared to 50% loss of DBS100-infected controls (Fig. 7g,h). Significantly more SMARTA T cells (more than tenfold) were recovered from the ceca of espZ-FL-primed mice; they produced significantly more IFNγ upon ex vivo restimulation (Fig. 7i–l). Thus, the more numerous TRM cells programmed by cytosolic antigen conferred significantly enhanced protection in a recall challenge by an unrelated pathogen delivering the same epitope.

Fig. 7. Functional recall response of C. rodentium-primed TRM cells.

Fig. 7

a, Schematic of the allelic exchange strategy used to generate sopE2-gp66 Salmonella Typhimurium. b, Body weight of C57BL/6 mice after oral gavage with WT Salmonella Typhimurium (strain no. 14028s) or sopE2-gp66 Salmonella Typhimurium (4 × 107 colony-forming units (CFU); 20 mg streptomycin sulfate pretreatment). Data are shown as the mean ± s.e.m.; n = 3 mice per group. c, Fecal CFU g−1 from cecal contents of mice in b at the day of collection. Data are shown as the mean ± s.d. with individual mice shown; n = 3 mice per group. d, Cartoon schematic of the heterologous challenge experimental design. e, Experimental timeline. C57BL/6 mice received anti-CD4 (GK1.5; 0.2 mg kg−1 intraperitoneally) on day −1, followed by adoptive transfer of 105 naive CD45.1+ SMARTA T cells (intravenously) and oral infection with 2 × 109 CFU DBS100 (WT) or espZ FL C. rodentium on day 0. After C. rodentium clearance, mice received streptomycin sulfate (20 mg, oral gavage) on day 42 and were challenged with 4 × 107 CFU sopE2-gp66 Salmonella Typhimurium (oral gavage) on day 43. Cecal tissue and contents were collected on day 48. f, Body weight of mice in e after Salmonella Typhimurium challenge. Data are shown as the mean ± s.e.m.; n = 9 DBS100 (WT) and n = 9 espZ FL mice, pooled from two independent experiments (the same animals quantified in g). g, Fecal CFU g−1 from cecal contents of mice in e on day 5 after Salmonella Typhimurium challenge. ***P < 0.001 h, Survival of mice in e after sopE2-gp66 Salmonella Typhimurium challenge. i, Representative flow cytometry plots of CD45.1 versus CD45.2 expression gated on CD4+TCRβ+CD62L− cecal lymphocytes from mice in e on day 5 after Salmonella Typhimurium challenge. j, Quantification of CD45.1+ SMARTA T cells recovered from the cecal tissue of mice in e. k, Representative flow cytometry plots of IFNγ versus CD44 expression among CD45.1+ cells from i after ex vivo restimulation with phorbol 12-myristate 13-acetate and ionomycin. l, Quantification of IFNγ+ CD45.1+ SMARTA T cells from the cecal tissue of mice in e. g,j,l, Data are the mean ± s.d. with individual mice shown. g, n = 9 DBS100 (WT) and n = 9 espZ FL mice, pooled from two independent experiments. j,l, n = 5 DBS100 (WT) and n = 6 espZ FL mice from a single experiment. Unpaired two-sided Student’s t-test; *P < 0.05. Survival in h was compared using a log-rank (Mantel–Cox) test; *P < 0.05.

Discussion

In this study, we find that not all bacterial antigens are immunologically equal. At least for bacteria that use a T3SS to colonize host barrier epithelia, there is a hierarchy in the induction and mucosal recruitment of CD4 T cells contingent on the distribution of bacterial antigens, strongly favoring those delivered to the cytosol of the host epithelium, independent of epitope binding affinity for MHC class II or heterogeneity of TCR avidity for the MHC–peptide complexes generated. Antigen localization eclipsed antigen load as the principal determinant of the magnitude and developmental trajectory of the T cell response; injected effectors were the dominant antigen class programming TRM development, thereby focusing TRM responses on epithelium-associated antigens. Coupled with our recent report that epithelial antigen presentation recruits CD4 T cell help for barrier defense during active infection1, these findings consolidate the importance of nonprofessional APCs in guiding the adaptive response during and after pathogenic challenge.

Both the route by which antigens enter the host and their physical form have long been appreciated as determinants of immunogenicity71,72. Particulate antigens are well suited to uptake by phagocytic APCs, which direct extracellular material to endolysosomal MHC class II loading compartments73, whereas soluble antigens are poorly captured by these cells but can be efficiently delivered to the MHC class II loading compartments of B cells, particularly if they harbor repeated epitopes bound by surface immunoglobulin74. In contrast to these professional APCs, epithelial cells lack efficient mechanisms for the uptake of pathogen-associated antigens and therefore rely on the bacterium itself to deliver antigens for presentation. Unlike invasive bacteria such as Salmonella enterica serovars or Listeria monocytogenes, which have mechanisms for direct bacterial cell entry into IECs, attaching and effacing pathogens such as C. rodentium lack such mechanisms; only T3SS-delivered antigens enter host IECs. Thus, bacterial ‘invasion’ is relative: although C. rodentium does not penetrate cECs as an intact cell, injection of effector molecules constitutes a barrier breach detected by T cells primed against these antigens.

The quantity and quality of the clonal CD4 T cell response were strongly affected by antigen disposition: bacterium-associated versus epithelium-associated and, within the epithelial cell, membrane-associated versus cytosol-associated. The superior immunogenicity of injected C. rodentium antigens indicates that other routes of intestinal antigen uptake, that is, capture by transepithelial dendrites of CX3CR1 macrophages75, transport across M cells76, GC-associated passages77 or neonatal Fc receptor78-mediated transport, contribute less. The relatively weak response to bacterially associated antigen was unexpected, as antigens of this class, such as intimin, are targets of an IgG antibody response important in thwarting C. rodentium pathogenicity and clearing infection33. For intimin-gp66 this might reflect its low dose; however, naturally expressed espZ-gp66 was present at similar levels despite inducing a far more potent response. Dose alone cannot explain the muted response to espZ Δ1–21, which was expressed comparably to FL yet induced more than 100-fold fewer mucosal SMARTA T cells. This suggests that, for attaching and effacing pathogens at least, DCs more efficiently take up EC-associated antigen, whether via efferocytosis of debris from damaged or dying IECs or via a cellular intermediate, as in GC-associated passage-mediated uptake79. The basis for preferential responses to cytosolic espZ and nleA over membrane-associated tir remains unclear but may reflect differential display of scavenger receptor targets by damaged basolateral versus apical membrane domains or relative inaccessibility of tir due to its tethering to intimin and the coloncoyte cytoskeleton.

Because injected C. rodentium antigens bypass the classical endolysosomal MHC class II loading pathway, our results favor macroautophagy as the loading mechanism80–82; this is supported by the absence of KFERQ-like motifs in espZ and nleA (excluding chaperone-mediated autophagy) and the greater immunogenicity of cytosolic (espZ, nleA) versus membrane-associated (tir) antigens, which is consistent with preferential entry of cytosolic over integral membrane proteins into the autophagy pathway. This will require further study.

Mechanisms controlling the development of different types of T cell memory are an area of active investigation83,84. Our findings highlight an important role for CD4 T cell recognition of MHC class II–peptide complexes on infected ECs in programming tissue residency. Further, they establish a central role for translocated bacterial proteins in CD4 TRM programming, the striking bifurcation of TRM versus non-TRM memory specification driven by antigen localized to the host epithelial cell versus bacterial cell. This makes biological sense: linking antigen recognition on IECs to local tissue residency deploys TRM cells to sites where they will encounter antigen anew upon reinfection. Preferential positioning of TRM cells in the epithelium is further supported by our scRNA-seq data, which show that the T cell-sustaining cytokines IL-7 and IL-15 are differentially produced by CC populations, IL-15 by mature IECs near the luminal surface and IL-7 by immature cECs deeper in crypts. This aligns with recent spatial transcriptomics describing two CD8 TRM subsets arrayed along the crypt–villus axis of the small intestine near spatially segregated epithelial IL-7 or IL-15 producers85. Notably, relatively few memory T cells populated the LP; the major sites of accumulation were the epithelium and GALT. The mix of memory cells localized to the GALT consisted largely of circulating TCM cells, although a component of TRM cells stationed there was also apparent. Delineation of the cell types directed to residency in the GALT warrants direct interrogation.

Our scRNA-seq data expose transcriptional networks underpinning bidirectional cEC–T cell signal exchange—altered cEC programming downstream of T cell help and reciprocal programming of T cells engaging cEC-presented antigen. Dominant signaling into cECs was downstream of IFNγ, reflecting the predominance of TH1 cells at the peak of the effector response. IFNγ not only programs barrier defense functions in the epithelium5 but also activates the antigen processing and presentation machinery required to recruit antigen-dependent help for the epithelium, whether mediated by IFNγ itself or IL-22, the other major epithelium-protective cytokine that relies on cEC antigen presentation to prevent lethality by C. rodentium1,35,86,87. The progressive shift in TH17/TH22–TH1 balance resulting from transdifferentiation of TH17 precursors may be linked to TRM specification as TRM transcriptional programming aligned more closely with the TH1 program, many features of which are shared with CD8 TRM cells. Thus, primed T cells entering the mucosa within the more plastic TH17 program are progressively constrained as they transition to TH1 and TRM cells, with accompanying loss of stem-like characteristics88,89.

Integration of the scRNA-seq data analysis with other findings in our study further elucidate the T cell response to cEC-displayed antigens. A methodological point also emerged: because standard mucosal isolation cannot cleanly separate the epithelium, LP and GALT phenotypes assigned to the epithelial and nonepithelial pools, using dissociation-based methods is necessarily inaccurate and highlights the need for integration with imaging-based localization and spatial transcriptomics. Thus, while there were substantial shifts in relative numbers of TRM and non-TRM memory cells contingent on epithelial antigen presentation, particularly for the tracked clonal population, a requirement for TRM specification of endogenous, polyclonal CD4 T cells was not absolute. However, TRM cells developing in MHC-class-II-deficient mice retained some TCM transcriptional signatures, suggesting that signals promoting full TRM commitment (for example, TGFβ59,90) are deficient without sustained engagement on antigen-bearing cECs. Thus, rather than delivering a unique TRM-inducing signal, cEC-presented antigen sustains engagement within the epithelial microenvironment long enough to complete programming that extinguishes a plastic, migratory memory lifestyle and commits cells to survival on local IL-15 or IL-7. Consistent with this model, the balance of CD103− and CD103+ TRM cells and their transcriptional signatures were largely unaffected by loss of EC antigen presentation; universal LIPSTIC labeling showed that most TRM cells of both subsets actively engaged ECs during the memory phase, albeit less so for CD103− cells. Whether this reflects differences in dwell time, positioning along the crypt–surface axis or other factors warrants further study. Finally, our findings extend the characterization of transcriptional networks programming tissue residency in CD4 T cells, revealing considerable similarity to those of better-characterized CD8 TRM cells while exposing new players whose functional characterization, along with the basis for subset-specific differences in epithelial engagement, await further study.

In sum, MHC-class-II-dependent interactions between cECs and CD4 T cells are bidirectional and preferentially mediated by peptides derived from bacterial proteins injected into the host epithelial cytosol. Such presentation not only amplifies the magnitude of the T cell response, increasing effector cell accumulation in the involved mucosa during active bacterial infection, but also directly influences memory T cell fate decisions, promoting the development and maintenance of TRM populations that provide frontline defense at the intestinal barrier. The persistence of epithelial MHC class II expression and continued epithelial–T cell interactions after pathogen clearance suggests that ECs serve as both initiators and long-term maintainers of barrier immunity. These results support a model in which the antigen-presenting EC may not provide indispensable signals for memory subset development; rather, sustained epithelial interactions increase T cell exposure to a microenvironment enriched for TRM-promoting signals such as TGFβ. When these interactions are absent, memory differentiation is biased away from epithelial tissue residency and toward the GALT, as either circulating or secondary lymphoid TRM cells. These findings have important implications for mucosal vaccine design, suggesting that targeting antigens to the cytosol of ECs may enhance protective mucosal immunity. They may also inform strategies for modulating pathological mucosal memory in chronic inflammatory disease.

Methods

Mice

C57BL/6 (WT; stock no. 000664), C3H/HeJ (stock no. 000659), H2-Ab1 floxed (stock no. 013181)91, SMARTA-1 CD45.1 (stock no. 030450)92, Villin-cre (stock no. 021504)93 and Villin:creERT2 (stock no. 020282)94 mice were purchased from the Jackson Laboratory. Rosa26uLIPSTIC (ref. 43) mice were a gift from G. D. Victora. MHCII-EGFP95 mice were a gift from H. L. Ploegh. H2-Ab1fl/fl and H2-Ab1Villin mice were screened using PCR and flow cytometry to exclude mice with spontaneous, Cre-independent germline deletion of MHC class II, as reported previously1. All mice underwent rigorous screening to exclude segmented filamentous bacteria, Helicobacter spp. and other potential pathobionts. All mouse strains were bred and maintained at the University of Alabama (UAB) in accordance with Institutional Animal Care and Use Committee guidelines.

C. rodentium strains and infections

C. rodentium strain DBS100 (ATCC) was used for the scRNA-seq experiments. For the flow cytometry analysis and cytospin, we used a strain of C. rodentium expressing GFP96 (derived from DBS100; kindly provided by B. A. Vallance). A fresh, single colony was grown in 10 ml lysogeny broth at 37 °C with rotation at 225 rpm for 12–14 h. Next day, 1 ml of overnight culture was added to 250 ml lysogeny broth (Thermo Fisher Scientific), incubated at 37 °C with rotation (225 rpm) for 3–3.5 h until OD600 reached 1.0 on the spectrophotometer (Spectronic 200, Thermo Fisher Scientific. Bacteria were pelleted at 25 °C, 3,000 rpm for 15 min and then resuspended in 5 ml sterile 1× PBS. Mice were inoculated with 2 × 109 CFU in a total volume of 100 µl of PBS using gastric gavage.

Generation of epitope-tagged C. rodentium strains

We previously reported the detailed methods for this process1. Briefly, DNA constructs were synthesized by GeneArt (Thermo Fisher Scientific) and then cloned into the pCAL52 (ref. 97) shuttle vector (kindly provided by S. E. Winter). Transformed EcNR1Δasd E. coli98 (kindly provided by M. J. Gray) containing the cloned pCAL52 plasmid was grown overnight in lysogeny broth with 25 mg ml−1 chloramphenicol and 1 mg ml−1 2,6-diaminopimelic acid (DAP) (Sigma-Aldrich) and C. rodentium (DBS100 or C. rodentium-GFP) was grown overnight in lysogeny broth. Puddle mating was performed on a lysogeny broth agar plate containing 1 mg ml−1 DAP and incubated at 30 °C overnight to promote conjugation. The puddle mating was then plated on lysogeny broth agar plates containing 25 mg ml−1 chloramphenicol (without DAP) and incubated at 37 °C overnight. Single-crossover merodiploid clones were confirmed using PCR and then selected in 25% sucrose lysogeny broth for 3–4 days with daily plating on lysogeny broth agar containing 40 mg ml−1 5-bromo-4-chloro-3-indolyl phosphate p-toluidine salt (Sigma-Aldrich) for blue-white detection of clones that had successfully undergone a double-crossover event to remove the phoN-containing pCAL52 backbone. White colonies were confirmed as either WT revertants or homozygous insertion mutants using PCR, with the following forward and reverse primers:

eae_F 5′-GATGGCGTATTCTGAGGCAG-3′

eae_R 5′-CGGGTGCCGGGTTTATATGAT-3′

tir_F 5′-GAAGAGCCTATTTATGATGAAGTCGC-3′

tir_R 5′-GTTCTCTGAAACATTGACATACTCC-3′

nleA_F 5′-AGTGTGTCGTGGTCTTGCAA-3′

nleA_R 5′-TATGGTGGGCAGGCGCGACA-3′

espZ_F 5′-CGGGAATTGCAGCAATGTGT-3′

espZ_R 5′-GGTTGGGGCTAACGGAGTAT-3′

xylE_F 5′-AGGGTTCACCAGCATCAACC-3′

xylE_R 5′-TCTTACGTGCCGATCAACGT-3′

Immunoblot detection of epitope-tagged bacterial proteins

Sorted C. rodentium-GFP-bound EpCAM+ IECs, C. rodentium pellets from culture in DMEM, or supernatant proteins from C. rodentium culture in DMEM concentrated with trichloroacetic acid precipitation (overnight at 4 °C) were resuspended in 2× Laemmli buffer (4% SDS, 20% glycerol, 0.005% bromophenol blue, 0.125 M Tris-HCl, pH 6.8 and 10% β-mercaptoethanol). Lysates were transferred to 1.5-ml Eppendorf tubes and briefly sonicated. Total proteins were loaded onto 8–15% SDS–polyacrylamide gel electrophoresis gel for electrophoresis separation. After electrophoresis, proteins on the gel were transferred onto 0.45-µm polyvinylidene fluoride membrane (cat. no. IPVH00005, Merck Millipore) in a sponge sandwich. Membranes were blocked with 5% nonfat milk (cat. no. 170-6404, Bio-Rad Laboratories) and probed with primary antibodies overnight on a shaker at 4 °C. Membranes were then washed and incubated with horseradish peroxidase (HRP)-conjugated secondary antibodies for 1 h at room temperature. The membranes were then incubated with Immobilon Crescendo Western HRP substrate (cat. no. WBLUR0500, Merck Millipore) for 2–5 min before imaging with CL-X Posure X-Ray film (Thermo Fisher Scientific). β-Actin was used as a loading control for IECs; GFP or DnaK were used as loading controls for C. rodentium. The following antibodies were used: mouse anti-hemagglutinin (HA) (clone 6E2, Cell Signaling Technology), rat anti-HA (clone 3F10, Sigma), mouse anti-FLAG (clone M2, Sigma-Aldrich), mouse anti-beta-actin HRP (cat. no. sc-47778, Santa Cruz Biotechnology), anti-GFP (rabbit polyclonal, Thermo Fisher Scientific), mouse anti-DnaK (clone 8E2/2, Enzo Life Sciences), anti-rabbit HRP (goat polyclonal, Thermo Fisher Scientific), anti-rat HRP (goat polyclonal, Thermo Fisher Scientific) and anti-mouse HRP (goat polyclonal, Thermo Fisher Scientific).

IEC and intraepithelial lymphocyte isolation

Intestinal tissue was flushed with 1× PBS, cut into 4-cm mid-distal colon, opened longitudinally and then cut into strips of 1-cm-length. Tissue pieces were incubated for 20 min at 37 °C with 1 mM dithiothreitol (Sigma-Aldrich), followed by 2 mM EDTA (Invitrogen) in H5H medium (1× HBSS (Thermo Fisher Scientific), 5% FCS, 20 mM HEPES (Thermo Fisher Scientific), and 2.5 mM 2-β-mercaptoethanol (Gibco)). Tissue pieces were vortexed briefly after each 20-min incubation, followed by washing with H5H before centrifugation at 1,750 rpm for 10 min at 4 °C. IECs were then purified on a 40%/75% Percoll (Cytiva) gradient by centrifugation for 20 min at 25 °C and 2,000 rpm with no brake. For analysis of C. rodentium-GFP attached to IECs, tissue pieces from 4 cm of mid-distal colon were incubated for 20 min at 37 °C with 1 mM EDTA in H5H medium, followed by gentle mixing and washing with H5H.

LP lymphocyte isolation

Colons were flushed with 1× PBS, opened longitudinally then cut into small pieces and placed in H5H medium. Tissue was then minced in 1.5-ml microcentrifuge tubes for 2–3 min before being transferred into glass scintillation vials with 10 ml of complete R10 medium (1× Roswell Park Memorial Institute 1640 (Corning), 10% FCS, 1× penicillin/streptomycin (Corning), 1× nonessential amino acid solution (Corning), 1 mM sodium pyruvate (Corning), 2 mM L-glutamine (Corning) and 2.5 mM 2-β-mercaptoethanol (Gibco)) with collagenase IV (100 U ml−1, Sigma-Aldrich) and DNase I (20 mg ml−1, Sigma-Aldrich). Tissue was digested at 37 °C for 40 min with stirring followed by filtering over a 70-μm filter and washing with complete R10 medium. Cells were then centrifuged at 1,750 rpm at 4 °C for 10 min and then purified on a 40%/75% Percoll gradient as described above. Where indicated, cells were stimulated with phorbol-12-myristate-13-acetate (50 ng ml−1, Sigma-Aldrich) and ionomycin (750 ng ml−1, Sigma-Aldrich) at 37 °C for 3–4 h in the presence of GolgiPlug (BD Biosciences).

Cytospin and immunofluorescence staining of bacteria-bound IECs

Sorted ECs (2–5 × 105 cells per ml) were cytospun onto glass slides at 1,500 rpm for 2 min at room temperature. Cells were then dried for 10 min, fixed with 4% room temperature paraformaldehyde (PFA) (Electron Microscopy Sciences) for 10 min and then permeabilized with 0.1% Triton X-100 (Sigma-Aldrich) for 10 min before staining. The following antibodies and reagents were used: anti-GFP (cat. no. A-11122, Thermo Fisher Scientific), anti-goat IgG (Thermo Fisher Scientific), anti-HA-tag (polyclonal, Novus Biologicals), anti-rabbit IgG (Thermo Fisher Scientific) and ProLong Diamond Antifade Mountant with DAPI (Thermo Fisher Scientific).

Flow cytometry and cell sorting

Colon cells were stained with Fc Block (anti-CD16/CD32, clone 2.4G2) followed by staining with fluorescently labeled antibodies in IEC buffer (1× PBS with 5% FCS and 2 mM EDTA to reduce cell clumping) for IECs and intraepithelial lymphocytes (IELs) or 2% FCS in 1× PBS for lamina propria lymphocyte (LPL) cells on ice in 1.5-ml microcentrifuge tubes or in a 96-well plate. For intracellular staining, cells were fixed and permeabilized using the BD Cytofix/Cytoperm kit (BD Biosciences). Samples were acquired on an Attune NxT flow cytometer (Thermo Fisher Scientific) or FACSymphony A3 (BD Biosciences) and analyzed with the FlowJo software. Cells were sorted on a FACSymphony S6 (BD Biosciences). The following antibodies/reagents were used: anti-CD45 (clone 30-F11, BioLegend), anti-EpCAM (clone G8.8, Thermo Fisher Scientific), anti-MHCII (clone M5/114.15.2, Thermo Fisher Scientific), LIVE/DEAD Fixable Near-IR dead cell dye (Thermo Fisher Scientific), anti-CD4 (clone RM4-5, BioLegend), anti-TCRβ (clone H57-597, Thermo Fisher Scientific), anti-CD44 (clone IM7, BioLegend), anti-CD45.1 (clone A20, Thermo Fisher Scientific), anti-CD45.2 (clone 104, BD Biosciences), anti-CD69 (clone H1.2F3, Thermo Fisher Scientific), anti-CD103 (clone 2E7, Thermo Fisher Scientific), anti-CD19 (clone 1D3/CD19, BioLegend), anti-CD11b (clone M1/70, BioLegend), anti-CD11c (clone N418, BioLegend), anti-CD62L (clone MEL-14, BioLegend), anti-PD-1 (clone 29F.1A12, BioLegend), anti-CXCR5 (clone L138D7, BioLegend), anti-IL-17A (clone TC11-18H10, BD Biosciences), anti-IFNγ (clone XMG1.2, Thermo Fisher Scientific) and anti-IL-22 (clone 1H8PWSR; Thermo Fisher Scientific). TRM cells are defined as CD4+TCRβ+CD69+CD62L−CD103+ (CD103+ TRM) or CD4+TCRβ+CD69+CD62L−CD103− (CD103− TRM). TCM cells are defined as CD4+TCRβ+CD44+CD69−CD62L+, distinguishing them from naive T cells which are CD44−CD62L+.

Quantitative PCR with reverse transcription

cDNA synthesis was performed with the iScript Reverse Transcription Supermix (Bio-Rad Laboratories) according to the manufacturer’s instructions. cDNA amplification was performed with the SsoAdvanced Universal SYBR Green Supermix (Bio-Rad Laboratories) in a Bio-Rad CFX qPCR instrument. The following primer sequences were used:

Gapdh_F 5′-TCCATGACAACTTTGGCATTG-3′

Gapdh_R 5′-CAGTCTGGGTGGCAGTGA-3′

Il7_F 5′-CAGTATCACAAGGCACACAAAC-3′

Il7_R 5′-CTCTCAGTAGTCTCTTTAGGAAACAT-3′

Il15_F 5′-ATCCATCTCGTGCTACTTGTG-3′

Il15_R 5′-CTATCCAGTTGGCCTCTGTTT-3′

Adoptive T cell transfer

Approximately 20–24 h before adoptive transfer of CD45.1+ SMARTA cells, mice were administered 0.2 mg kg−1 anti-CD4 (clone GK1.5, Bio X Cell) in 1× PBS intraperitoneally. Spleens and LNs from CD45.1+ SMARTA donors were collected and dissociated in complete R10 medium before centrifugation at 1,500 rpm for 5 min at 4 °C. Red blood cells were removed from the cell suspension using ammonium-chloride-potassium (Quality Biological) lysis for 2 min before quenching with complete R10 medium. Naive CD4+ T cells from pooled spleens and LNs were purified using the naive CD4+ mouse T cell isolation kit according to the manufacturer’s instructions (Miltenyi Biotec). Purified T cells were transferred by intravenous retro-orbital injection (1 × 105 total cells) into recipients, followed by C. rodentium infection on the same day.

Generation of sopE2-gp66 Salmonella Typhimurium using allelic exchange

The DNA sequence containing a Gly-Ser-Gly linker, LCMV glycoprotein residues 66–80 (DIYKGVYQFKSVEFD) and HA-tag flanked by upstream and downstream regions of ~500 bp homologous to Salmonella Typhimurium sopE2 containing BamHI and SphI sites was synthesized by GeneArt (Thermo Fisher Scientific) and then cloned into the pRDH10 shuttle vector containing a CmR and sacB selection (a gift from S. Winter) using T4 ligation. All manipulations were performed in Salmonella Typhimurium IR715 ΔphoN::Kan (Nalr, Kanr; a gift from A. Baumler), a nalidixic acid-resistant derivative of strain 14028s in which phoN has been replaced with a kanamycin resistance cassette. Ligation products were transformed into One Shot PIR2 E. coli (Thermo Fisher Scientific) for propagation of the π-dependent R6Kγ origin of replication in pRDH10. Successfully ligated pRDH10 clones were sequence-verified and grown overnight in lysogeny broth at 37 °C. The pRDH10 sopE2-gp66 plasmid was purified from PIR2 E. coli using the QIAprep Spin Miniprep Kit (QIAGEN). Purified plasmid was transformed into the EcNR1Δasd E. coli strain (a gift from M. Gray) that is auxotrophic for DAP and selected for by chloramphenicol resistance on lysogeny broth agar plates containing 25 µg ml−1 chloramphenicol and 1 mg ml−1 DAP for mating. Transformed EcNR1Δasd E. coli containing the pRDH10 sopE2-gp66 plasmid was grown overnight in lysogeny broth with 25 µg ml−1 chloramphenicol and 1 mg ml−1 DAP; Salmonella Typhimurium IR715 ΔphoN::Kan was grown overnight in lysogeny broth. Puddle mating was performed by mixing 1.3 ml of overnight EcNR1Δasd E. coli pRDH10 sopE2-gp66 culture and 200 µl of Salmonella Typhimurium IR715 ΔphoN::Kan and centrifugation followed by resuspension in 50 µl lysogeny broth. This mixture was then spotted onto a lysogeny broth agar plate containing 1 mg ml−1 DAP and incubated at 30 °C overnight to promote conjugation. Puddle mating was then collected into 1 ml of lysogeny broth and 2 × 10−6 dilutions were plated on lysogeny broth agar plates containing 25 µg ml−1 chloramphenicol (without DAP) and incubated at 37 °C overnight. Single-crossover merodiploid clones were confirmed using PCR and then resolved by culture in 25% sucrose lysogeny broth for 3–4 days with daily plating on lysogeny broth agar with and without 25 µg ml−1 chloramphenicol to determine the ratio of merodiploids to total colonies. When merodiploids represented less than 50% of total colonies, 50–100 µl of sucrose culture was plated on lysogeny broth agar; colonies were confirmed as either WT revertants or sopE2-gp66 insertion mutants using PCR, with the following forward and reverse primers: sopE2_F 5′-TGCCAACGCCACAACAATTT-3′ and sopE2_R 5′-CTGTCTGGTTGTGCAGGTATTT-3′.

Streptomycin pretreatment model of Salmonella Typhimurium colitis

Intestinal Salmonella Typhimurium infection was performed using the streptomycin pretreatment colitis model as described previously70. Mice received a single oral gavage of streptomycin sulfate (20 mg in 100 µl sterile water) 24 h before bacterial challenge. Salmonella Typhimurium IR715 ΔphoN::Kan or sopE2-gp66 STm was grown in 10 ml lysogeny broth at 37 °C with rotation at 225 rpm for 12–14 h. The following day, 1 ml of overnight culture was added to 250 ml lysogeny broth and incubated at 37 °C with rotation (225 rpm) for 3–3.5 h until OD600 reached 1.0. Then, 50 ml of bacteria were pelleted at 25 °C, 3,000 rpm for 15 min and resuspended to a final concentration of 108 CFU ml−1 in 1× PBS. Mice were inoculated with 4 × 107 CFU in a total volume of 100 µl using oral gavage. The inoculum dose was confirmed by back-calculation from serial dilution plating on lysogeny broth agar with 50 µg ml−1 kanamycin sulfate. Mice were weighed daily and monitored for signs of disease; mice reaching humane endpoint criteria (≥20% body weight loss) were euthanized before the scheduled collection time point.

Quantification of cecal Salmonella Typhimurium bacterial burden

Cecal contents were collected by opening the cecum longitudinally and scraping contents into pre-weighed 1.5-ml microcentrifuge tubes using sterile disposable plastic forceps (130 mm, pointed/angled, polystyrene, sterile, Bürkle). Tubes were weighed to determine sample mass. Contents were resuspended in 1 ml sterile 1× PBS and homogenized using vortexing. Homogenates were serially diluted tenfold in 1× PBS and 10 µl of each dilution was spotted onto lysogeny broth agar plates containing 50 µg ml−1 kanamycin sulfate. Plates were incubated overnight at 37 °C and colonies were enumerated the following day. CFU per gram of cecal content was calculated as: CFU/g = (colony count / 0.01 ml) × dilution factor / sample weight (g)). Data are presented as log10 CFU g−1.

Light-sheet microscopy and three-dimensional image analysis

Mice received 20 µg anti-EpCAM-AF594 (clone G8.8, BioLegend) 24 h, and 15 µg anti-CD45.1-AF647 (clone A20, BioLegend) together with 15 µg anti-CD19-APC/Fire750 (clone 6D5, BioLegend) 3 h before euthanasia and tissue collection. One mouse (day 14, espZ FL-gp66) received anti-CD45.1-AF647, anti-CD31-AF594 (10 µg, 3 h before euthanasia, clone MEC13.3, BioLegend) and anti-EpCAM-APC/Fire750 (20 µg, clone G8.8, BioLegend) instead of the standard staining panel. Mid-distal colons were collected into ice-cold 4% PFA (Electron Microscopy Sciences) and stored at 4 °C overnight before subsequent washes in ice-cold 1× PBS. Tissue was then dehydrated in increasing concentrations of ethanol before clearing in 100% ethyl cinnamate (Sigma-Aldrich). Tissue was stored in 100% ethyl cinnamate at room temperature until imaging. LSFM of optically cleared colon samples was performed on an UltraMicroscope Blaze (Miltenyi Biotec) in multicolor acquisition mode as shown previously99. The microscope system uses the ImSpector software (LaVision BioTec). Samples were positioned on a steel holder within the imaging chamber filled with 100% ethyl cinnamate. Tissue orientation was stabilized using ultraviolet-curable optical adhesive (Norland Products). Imaging was performed using a ×12 MI Plan objective (0.53 detection numerical aperture) with either ×1.0 or ×0.6 zoom, bidirectional light-sheet illumination and fluorophore-dependent exposure times ranging from 100 to 250 ms. The light-sheet thickness was set to 3.9 µm (sheet numerical aperture = 0.186); the sheet width was adjusted to 60–70%, corresponding to an effective illumination field width of ~12–14 mm. The intestinal tube was imaged over a z-range of approximately 1,300–1,700 µm per sample with a z-step size of 2 µm between images. Epithelium, stained with anti-EpCAM-AF594, was excited with a 595/20 nm optically pumped semiconductor laser (50 mW) and detected with a 630/30-nm band-pass filter. CD45.1+ SMARTA cells were detected using anti-CD45.1-AF647, excited with a 630/30-nm optically pumped semiconductor laser and detected with a 680/30-nm band-pass filter. CD19-APC/Fire750 was excited using a 740/40-nm laser and detected with an 824/55-nm band-pass filter. Tissue autofluorescence was acquired using 520/40-nm excitation and 585/40-nm emission and served as an internal control for fluorescent signal specificity. Three-dimensional rendering and quantitative image analysis were performed in IMARIS v.10.1.0 (Oxford Instruments). Raw LSFM datasets were converted into IMARIS format using the IMARIS file converter. Quantification of total CD45.1+ SMARTA cell counts and subsequent classification into epithelial, LP and GALT compartments was conducted using the IMARIS Surface module. Analyses were performed on datasets acquired under matched imaging and reconstruction parameters to ensure comparability of spatial distributions across samples, while acknowledging intrinsic biological variability in tissue architecture and lymphoid structure distribution along the colon. For the EpCAM and CD45.1 fluorescence channels, iterative rounds of machine-learning-assisted threshold refinement (IMARIS machine-learning classifier) were performed to ensure high-accuracy surface segmentation while excluding nonspecific autofluorescent structures. First, an epithelial surface was generated based on EpCAM fluorescence intensity to define anatomical boundaries for the relative distribution of CD45.1+ SMARTA cells in the colon. Epithelial CD45.1+ cells were defined as surfaces with a distance to the EpCAM surface less than 0 µm, whereas LP CD45.1+ cells were defined by a distance greater than 0 µm. GALT-associated CD45.1+ cells were assigned based on the distinctive morphology of CPs and ILFs, with the CD19 signal serving as a supportive marker to confirm B cell-enriched lymphoid structures. A minimum volume filter of 65.5 µm3 (equivalent to an approximate spherical diameter of 5 µm) was applied to CD45.1+ surface objects to exclude subcellular fragments, noncellular debris or segmentation artifacts, and to retain events within the lower bound of reported diameters for intact lymphocytes. Throughout the entire rendering workflow, potential nonspecific or autofluorescent structures were carefully inspected in all anatomical planes and removed manually when necessary.

Within the CD31+ dataset (n = 1), the spatial relationship of CD45.1+ SMARTA cells to the colonic vascular endothelium at day 14 was exemplarily assessed. Cells with a distance less than 0 µm to the CD31+ endothelium were classified as intravascular or endothelial-adherent. Cells located more than 0 µm and 2 µm or less from CD31+ structures were classified as belonging to a proximal perivascular compartment, reflecting proximity to the endothelial niche, including basement membrane and pericyte-associated regions. Cells located more than 2 µm from the CD31+ structures were classified as nonvascular-associated.

Single-molecule FISH staining of infected and uninfected cecal sections

Samples were prepared and imaged using published single-molecule FISH (smFISH) protocols100, with minor modifications. Briefly, cecal tissues were fixed in methacarn solution (60% methanol, 30% chloroform and 10% glacial acetic acid; v/v/v) at 4 °C for 48 h to preserve both tissue morphology and RNA integrity. Fixed specimens were subsequently washed with 100% methanol (cat. no. MX0480, Sigma-Aldrich) for 35 min at 4 °C for a total of two times. Next, the tissue was washed in 100% ethanol (cat. no. 04-355-223, Thermo Fisher Scientific) for 30 min at 4 °C for a total of two times to eliminate residual fixative. The tissues were then stored in fresh 100% ethanol at 4 °C for 48–96 h before paraffin embedding, which was performed by the Rodent Histopathology Core at the Dana-Farber/Harvard Cancer Center. During the embedding process, tissues were incubated in xylene (cat. no. 89370-088, VWR) for 1.5 h at room temperature, repeated twice, followed by infiltration with molten paraffin wax (cat. no. 3801340, Leica Biosystems) for 4–5 h at 60 °C. Samples were subsequently embedded in paraffin blocks (cat. no. 3801320, Leica Biosystems). Embedded tissues were sectioned at a thickness of 4 µm and mounted on poly-l-lysine-treated, silanized coverslips to ensure flat adhesion during the downstream staining procedures. Sections were baked at 60 °C for 20 min, then washed four times with xylene (cat. no. 534056, Sigma-Aldrich) for 2.5 min each to remove paraffin. Residual xylene was cleared by two washes in 100% ethanol for 3 min, followed by rehydration through sequential 95% and 70% ethanol washes for 1 min each. Rehydrated sections were post-fixed in 4% (v/v) PFA (cat. no. 15714, Electron Microscopy Sciences) in 1× PBS for 10 min to crosslink RNA, then washed three times in 1× PBS to remove the PFA. Samples were equilibrated in a 30% formamide solution (deionized formamide in 2× SSC, cat. no. AM9344, Thermo Fisher Scientific) before staining. The probe sequences used in the smFISH experiments were designed to hybridize to 16S rRNAs in bacteria and included a 20-nt readout sequence (underlined) appended to each target sequence to allow specific binding of fluorescently labeled oligonucleotides for detection during fluorescence microscopy imaging. The applied C. rodentium-specific probe (5′-CCAGATGGGATTAGCTTGTTGGTGAGGTAAAACTCCACTACTACTCACTCT-3′), eubacterial probe (5′-AATCTCCTCCAACACTTCTAA CCAGACTCCTACGGGAGGCAGCAGTAGGGA-3′) and corresponding fluorescently labeled probes (C. rodentium: 5′-Alexa750-S-S-AGAGTGAGTAGTAGTGGAGT-3′; Eubacteria: 5′-Cy5-S-S-TAGAAGTGTTGGAGGAGATT-3′) were synthesized and experimentally validated to ensure binding and specificity as described previously101,102. After staining, sections were embedded in a 4% (v/v) polyacrylamide gel prepared from a 19:1 bis-acrylamide mixture (cat. no. 1610144, Bio-Rad Laboratories). The gel solution contained 0.05 M Tris-HCl, pH 7.4 (cat. no. 15568-025, Thermo Fisher Scientific), 0.3 M NaCl (cat. no. AM9759, Thermo Fisher Scientific), 0.03% (w/v) ammonium persulfate (cat. no. 215589, Sigma-Aldrich) and 0.15% (v/v) N,N,N′,N′-tetramethylethane-1,2-diamine (cat. no. T7024, Sigma-Aldrich). Embedded sections were cleared overnight at 37 °C using a digestion buffer composed of 2% (v/v) SDS (cat. no. AM9822, Thermo Fisher Scientific), 8 U ml−1 proteinase K (cat. no. P8107S, New England Biolabs) and 0.25% (v/v) Triton X-100 (cat. no. T8787, Sigma-Aldrich) in 2× SSC. Cleared samples were washed with 2× SSC for 30 min at room temperature a total of five times and stored at 4 °C in 2× SSC supplemented with murine RNase inhibitor (1:400 dilution, cat. no. M0314L, New England Biolabs) until imaging.

Microscopy imaging and data analysis

Stained samples were imaged on a custom-built Nikon Ti-2 epifluorescence microscope equipped with a Celesta laser light engine (cat. no. 90-10521, Lumencor), a ×60 CFI PlanApo oil objective, a ×10 CFI PlanApo air objective and two Hamamatsu ORCA Flash 4.0 complementary metal-oxide-semiconductor cameras connected via a TwinCam color splitter (Cairn), as described previously100. Samples were mounted in a Bioptechs FCS2 closed-flow chamber (1-mm gasket, cat. no. 1907-1422-1000, Bioptechs) connected to a custom automated fluidics system consisting of a peristaltic pump and Hamilton modular valve positioner valves. The flow system was programmatically controlled through an established computational pipeline (https://github.com/ZhuangLab/storm-control), allowing automated buffer exchanges and multiple smFISH imaging rounds to be performed sequentially. During imaging, mounted samples were stained for at least 15 min with fluorescently labeled oligonucleotide sequences that hybridized to the 20-nt readout regions appended to each rRNA probe. Staining was performed either at the bench or directly on the microscope by configuring the fluidics system to slowly flow a hybridization solution containing the fluorescently labeled oligonucleotides over the sample, ensuring stable probe–target binding. To minimize photobleaching and enhance fluorescence signal intensity, samples were suspended in an oxygen-scavenging imaging buffer containing 4 μM Trolox-quinone, 0.5 mg ml−1 Trolox (cat. no. AB120747, Abcam), 1:500 recombinant protocatechuate 3,4-dioxygenase (cat. no. 46852004, OYC Americas) and 5 mM protocatechuic acid (cat. no. 37580, Sigma-Aldrich) in 2× SSC. During the first round of imaging, samples were bench-top-stained with fluorescent probes targeting C. rodentium rRNAs and DAPI for 15–20 min. The samples were rinsed briefly with 2× SSC to remove unbound dyes, mounted on the microscope and suspended in imaging buffer before being illuminated at 750 nm, 635 nm and 405 nm to visualize the C. rodentium rRNA signals, background autofluorescence and DAPI-stained host structures, respectively. To obtain a tissue-wide image of bacteria localization within host boundaries, multiple fields of view were photographed from a given sample using automated stage scanning. After the first imaging round, fluorescent signals were removed by incubating the sample in a cleavage buffer containing 50 mM Tris(2-carboxyethyl)phosphine (TCEP25, GoldBio) in 2× SSC. Samples were then washed with fresh 2× SSC to eliminate residual cleavage buffer and cleaved fluorescent molecules. Subsequently, a new set of fluorescently labeled probes was introduced, allowing binding of fluorescently labeled probes to their intended targets, and visualization of eubacterial signals marking the distribution of bacterial populations within the tissue. The produced collection of images from both rounds of microscopy imaging were subsequently stitched together to form a composite mosaic image and displayed using FIJI and Python scripts.

Single-cell isolation and library preparation

IECs, IELs and LPLs were isolated from the mid-distal colon of H2-Ab1fl/fl and H2-Ab1Villin mice at four time points: naive (day 0), day 9, day 14 and day 42 after C. rodentium infection. For each condition, cells were pooled from three or four mice. After cell isolations as described above, single-cell suspensions were stained and sorted directly into 5 μL PBS supplemented with 5% FCS and 0.1 mM EDTA to obtain live EpCAM+ IECs, live CD45+ IELs derived from the epithelial fraction and live CD45+ LPLs from the LP. B cells were depleted using anti-CD19 antibody during fluorescence-activated cell sorting to enrich for rare T cell populations. For each sample, post-sort viability was confirmed to be 90% or greater using trypan blue exclusion; 10,000 live cells were loaded onto the 10X Chromium Controller. scRNA-seq libraries were prepared using the Chromium Single Cell 3′ Gene Expression Kit (10X Genomics) at the FCSC Core Facility (UAB) according to the manufacturer’s protocol. Libraries from all 52 samples (Supplemental Table 2) were pooled and sequenced on two Illumina NovaSeq 6000 S4 flow cells using 2 × 100 bp paired-end reads.

Read alignment and gene quantification

Raw sequencing data were processed using Cell Ranger v.9.0.1 (10X Genomics). Raw base call files were converted to FASTQ format using cellranger mkfastq with default parameters. Alignment, barcode processing and unique molecular identifier counting were performed using the cellranger count pipeline with default settings, aligning reads to the mouse reference genome GRCm39. Gene expression matrices were generated based on valid barcodes identified by Cell Ranger.

Quality control, normalization and cell type annotation

All analyses were performed within the scverse ecosystem103. Initial preprocessing and quality control were performed using Scanpy (v.1.9.8)104. Ambient RNA contamination was mitigated using scAR105, and doublets were identified and removed using Solo106 implemented via the scvi-tools package (v.1.1.2)107 with default parameters. Cells in which detected genes were less than 250 or more than 5,500 (±2 s.d. from the mean) were removed; genes expressed in fewer than three cells were also excluded. An initial Leiden (v.0.10.2)108 clustering step separated epithelial and immune compartments, enabling compartment-specific mitochondrial cutoffs of less than 70% for epithelial cells and less than 25% for immune cells, each derived from ±2 s.d. around the mean. Counts were then normalized to 10,000 per cell using scanpy.pp.normalize_total and log-transformed with scanpy.pp.log1p. Further, sc.tl.score_genes_cell_cycle was used to compute S-phase and G2/M-phase scores for each cell and infer the corresponding cell-cycle phase.

Batch correction and latent embedding were then performed using scVI109, incorporating batch information (file_id), continuous covariates (n_genes, total counts, mitochondrial and ribosomal percentages) and relevant categorical covariates (genotype, time point, replicate, cell-layer and cell-cycle phase). After integration, neighborhood graphs were computed from the scVI latent space, followed by Leiden clustering (resolution = 0.2) and UMAP visualization110. Major lineages (T cells, epithelial cells, myeloid cells, B cells, neutrophils and fibroblasts) were annotated based on canonical marker expression. To resolve finer cell states, each lineage was iteratively subset and reclustered (resolution 0.3–1.0) to obtain the lowest resolution that yielded biologically distinct, marker-defined subclusters. The subclusters were annotated using (1) literature-derived marker genes, (2) the top 250 DEGs per subcluster determined using sc.tl.rank_genes_groups and (3) the anatomical origin of the cells (IEC, IEL or LPL) (Supplemental Table 2). In total, 559,621 high-quality cells were retained for downstream analysis. Finally, scANVI111 was run to improve biological conservation across genotypes, time points and cell fractions.

Pseudobulk differential expression testing

Differential expression analysis was performed using a pseudobulk approach with pyDESeq2 (v.0.4.12)112,113. Cells were grouped according to cell state, time point and genotype, and raw unique molecular identifier counts were aggregated to form pseudobulk replicates. DESeq2 normalization, dispersion estimation and negative binomial generalized linear modeling were performed using the standard workflow; statistical significance was assessed using the Wald test and P values were adjusted using the Benjamini–Hochberg false discovery rate method. Genes with Padj < 0.05 were considered significantly differentially expressed.

Gene regulatory network inference with pySCENIC

Transcription factor regulatory networks were inferred from scRNA-seq data using pySCENIC (v.0.12.1)45,114 in a lineage-specific workflow. Analyses were performed separately for each major lineage (epithelial, T, myeloid, neutrophil, innate, B). Within each lineage, genes detected in ten or more cells with three or more counts were retained; 8,000 highly variable genes were combined with all detected transcription factors. To build robust regulatory networks, ~500 cells per cluster were sampled in a genotype × time-point-balanced manner across three independent seeds. First, transcription factor–target coexpression modules were identified using GRNBoost2 (ref. 115), a gradient-boosting method that detects genes whose expression patterns covary with each transcription factor across single cells. This step yields candidate transcription factor–target regulatory edges supported by consistent coexpression relationships. Edges reproducibly detected in at least two of the three seeds were retained. Second, motif enrichment pruning was performed using RcisTarget, which evaluates whether candidate target genes contain enriched transcription factor-binding motifs using the mm10 (v10nr) motif databases. Only transcription factor–target pairs with motif support were preserved; regulons containing eight or more targets were retained. Finally, regulon activity was quantified using AUCell, which computes the area under the recovery curve for each regulon’s gene set within individual cells, producing cell-specific regulon activity scores. This score reflects how highly a regulon’s target genes are expressed relative to all other genes in that cell.

Regulon activity differences between the two genotypes were assessed within each cluster by computing, for every regulon, the genotype-specific median AUCell activity and the resulting activity difference (Δmedian = H2-Ab1fl/fl − H2-Ab1Villin). For visualization, we generated transcription factor rewiring bar plots, showing the top regulons enriched per cluster in both genotypes based on |Δmedian|, with positive values indicating higher activity in H2-Ab1fl/fl and negative values indicating higher activity in H2-Ab1Villin.

Ligand–receptor interaction analysis

Cell–cell communication was inferred using LIANA+ (v.1.5.1)54,116, using the rank_aggregate method to score ligand–receptor interactions. A unified ligand–receptor reference was constructed by concatenating multiple curated resources (Consensus, MouseConsensus, Baccin2019, CellChatDB, CellPhoneDB, ConnectomeDB2020, Embrace, Ramilowski2015, ICELLNET and LRdb) and removing duplicates. LIANA+ was run per tissue layer (epithelial or LP) and time point, using annotated cell states as sender and receiver identities, with communication scores computed per sample, where each sample was defined by tissue layer × time point × genotype × replicate. LIANA’s rank_aggregate.by_sample method was used to compute interaction scores per sample, retaining only ligand–receptor pairs with sufficient biological support—at least five cells per sender–receiver group and expression in 5% or more of cells expressing the ligand or the receptor.

Differential ligand–receptor activity between H2-Ab1fl/fl and H2-Ab1Villin was assessed by aggregating per-sample LIANA+ scores across replicates to compute genotype-specific medians for three metrics: (1) mag_score (--magnitude_rank, where higher values indicate stronger interactions); (2) lr_means (mean ligand and receptor expression within sender and receiver); and (3) expr_prod (ligand × receptor expression product). Only interactions with two or more biological replicates per genotype were retained. Differential effects for the three parameters above were calculated as (H2-Ab1fl/fl − H2-Ab1Villin). The resulting effect-size measures (mag_score_effect, lr_means_effect and expr_prod_effect) were used to identify sender–receiver interactions enriched in either genotype; only interactions with absolute magnitude of differential effect (|mag_score_effect|) of 0.15 or greater were retained. For each receiver subset, the top ten ligand–receptor interactions per sender, ranked using |mag_score_effect| were selected; differential communication patterns were visualized using scatterplots of lr_means_effect versus expr_prod_effect.

Statistics and reproducibility

Statistical analyses were performed in Prism v.10.3.1 (464) (GraphPad Software), and flow cytometry data were analyzed using FlowJo v.10.9.0. Two groups were compared using unpaired two-tailed Student’s t-test; more than two groups were compared using a one-way ANOVA, or a two-way ANOVA where genotype and time point were compared (Extended Data Fig. 9), each followed by a Tukey’s post hoc test with correction for multiple comparisons. Survival after Salmonella Typhimurium challenge was compared using a log-rank (Mantel–Cox) test. Data are presented as the mean ± s.d., except for body weight curves (mean ± s.e.m.). For all experiments, the unit of study was the individual mouse; n denotes the number of mice per group and is stated exactly in each figure legend; all replicates are biological replicates. For LSFM, reported cell numbers and densities represent totals per approximately 1.6 mm3 field of view from one mid-distal colon segment per mouse. All experiments were performed at least twice as independent experiments with similar results; the micrographs and immunoblots shown in Fig. 2a–f and Extended Data Figs. 1j–n and 6a,b are representative of two independent experiments.

Reporting summary

Further information on research design is available in the Nature Portfolio Reporting Summary linked to this article.

Online content

Any methods, additional references, Nature Portfolio reporting summaries, source data, extended data, supplementary information, acknowledgements, peer review information; details of author contributions and competing interests; and statements of data and code availability are available at https://doi.org/10.1038/s41590-026-02656-7.

Supplementary information

Supplementary Information (795.4KB, pdf)

Supplementary Figs. 1 and 2.

Reporting Summary (177.6KB, pdf)
Supplementary Table 1 (10.8KB, xlsx)

Bacterial strains and epitope-tagged variants used in this study.

Supplementary Table 2 (495.4KB, xlsx)

Single-cell RNA sequencing metadata, cell cluster definitions and differentially expressed genes.

Supplementary Video 1 (21.1MB, mp4)

Day 42 LSFM espZ versus intimin.

Supplementary Video 2 (74.3MB, mp4)

Day 42 LSFM espZ FL highlighting epithelium, lamina propria, and GALT compartments.

Supplementary Video 3 (63.1MB, mp4)

Day 50 LSFM espZ FL.

Supplementary Video 4 (106.8MB, mp4)

Day 240 espZ FL 3D.

Supplementary Video 5 (59.7MB, mp4)

Day 50 LSFM espZ Δ1–21.

Source data

Source Data Fig. 3 (1MB, pdf)

Uncropped immunoblot scans for HA-tag, GFP loading control.

Source Data Fig. 4 (1.6MB, pdf)

Uncropped immunoblot scans for HA-tag, β-actin loading control.

Source Data Fig. 5 (1.6MB, pdf)

Uncropped immunoblot scans for FLAG-tag, DnaK loading control scans for FLAG-tag, DnaK loading control.

Acknowledgements

We thank B. A. Vallance, W. Deng, J. Moon, C. L. Weaver and members of the Weaver laboratory for helpful discussions; H. Turner, B. Dale, K. Cantrell, C. Shah and S. Shah for assistance with animal husbandry; C. Xing for help with immunoblotting; V. S. Hanumanthu, H. C. Pal, C.-W. Sun, S. Liu, M. Basu, C. Iradukunda, K. Stortz, T. Houser and H. Johnson at the UAB Flow Cytometry and Single Cell Core Facility; S. Williams and R. Grabski at the UAB High Resolution Imaging Facility; the UAB IT-Research Computing group for high-performance computing support and CPU time on the Cheaha computer cluster; and D. Mohr at the Genetic Resources Core Facility at Johns Hopkins University. This work was supported by National Institutes of Health (NIH) grants R37AI169864 and U01AI163063 (C.T.W.), and T32AI007051 and F30DK135345 (C.G.W.) and the UAB Barrier Immunity, Inflammation and Neoplasia (BIIN) Program.

Extended data

Author contributions

C.G.W., C.L.Z. and C.T.W. conceived the project and wrote the manuscript. C.G.W., C.L.Z., M.P.A. and C.T.W. performed the experiments or interpreted the results. L.W.D. and J.R.S. assisted with the development of the epitope-tagged C. rodentium strains. L.K. and M.G. performed the LSFM and analysis. N.T.-A., Y.W. and J.M. performed the smFISH and analysis. H.S. generated the immunoblot data. A.R.M. assisted with perfusion and collection of tissue specimens for LSFM. S.N.H. and Y.N.-K. conducted the in vitro fertilization procedures to maintain all mouse lines with the same C57BL/6 microbiota. R.D.H. assisted with the scRNA-seq experiments. M.P.A. and V.H.O. performed the bioinformatics analyses of the scRNA-seq data. B.F.F. provided technical expertise and contributed to data interpretation. L.K. and L.W.D. contributed equally as second authors.

Peer review

Peer review information

Nature Immunology thanks the anonymous reviewers for their contribution to the peer review of this work. Primary Handling Editor: S. Houston in collaboration with the Nature Immunology team.

Data availability

Single-cell RNA-sequencing data generated in this study have been deposited in the NCBI Gene Expression Omnibus under accession number GSE314593. Reads were aligned to the mouse reference genome GRCm39. Source data are provided with this paper. All other data supporting the findings of this study are available from the corresponding author upon reasonable request.

Code availability

No custom software or algorithms were generated in this study. All analyses were performed using previously published software packages with the versions and parameters specified in Methods. Analysis scripts implementing these workflows are available from the corresponding author upon request.

Competing interests

The authors declare no competing interests.

Footnotes

Publisher’s note Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

These authors contributed equally: C. Garrett Wilson, M. Pragun Acharya.

Contributor Information

C. Garrett Wilson, Email: cgwilson@uabmc.edu.

Casey T. Weaver, Email: cweaver@uabmc.edu

Extended data

is available for this paper at https://doi.org/10.1038/s41590-026-02656-7.

Supplementary information

The online version contains supplementary material available at https://doi.org/10.1038/s41590-026-02656-7.

References

  • 1.Zindl, C. L. et al. Distal colonocytes targeted by C. rodentium recruit T-cell help for barrier defence. Nature629, 669–678 (2024). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 2.Jamwal, D. R. et al. Intestinal epithelial expression of MHCII determines severity of chemical, T-cell-induced, and infectious colitis in mice. Gastroenterology159, 1342–1356 (2020). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 3.Blumberg, R. S. et al. Antigen presentation by intestinal epithelial cells. Immunol. Lett.69, 7–11 (1999). [DOI] [PubMed] [Google Scholar]
  • 4.Zeissig, S., Mayer, L. & Blumberg, R. S. Role of epithelial cells in antigen presentation. In Mucosal Immunology 4th edn (eds Mestecky, J. et al.) 557–570 (Elsevier, 2015).
  • 5.Malik, A. et al. Epithelial IFNγ signalling and compartmentalized antigen presentation orchestrate gut immunity. Nature623, 1044–1052 (2023). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 6.Eshleman, E. M. et al. Intestinal epithelial HDAC3 and MHC class II coordinate microbiota-specific immunity. J. Clin. Invest.133, e162190 (2023). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 7.Ladinsky, M. S. et al. Endocytosis of commensal antigens by intestinal epithelial cells regulates mucosal T cell homeostasis. Science363, eaat4042 (2019). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 8.Byrne, B. et al. Human duodenal epithelial cells constitutively express molecular components of antigen presentation but not costimulatory molecules. Hum. Immunol.63, 977–986 (1998). [DOI] [PubMed] [Google Scholar]
  • 9.Framson, P. E., Cho, D. H., Lee, L. Y. & Hershberg, R. M. Polarized expression and function of the costimulatory molecule CD58 on human intestinal epithelial cells. Gastroenterology116, 1054–1062 (1999). [DOI] [PubMed] [Google Scholar]
  • 10.Nakazawa, A. et al. The expression and function of costimulatory molecules B7H and B7-H1 on colonic epithelial cells. Gastroenterology126, 1347–1357 (2004). [DOI] [PubMed] [Google Scholar]
  • 11.Mundy, R., MacDonald, T. T., Dougan, G., Frankel, G. & Wiles, S. Citrobacter rodentium of mice and man. Cell. Microbiol.7, 1697–1706 (2005). [DOI] [PubMed] [Google Scholar]
  • 12.Collins, J. W. et al. Citrobacter rodentium: infection, inflammation and the microbiota. Nat. Rev. Microbiol.12, 612–623 (2014). [DOI] [PubMed] [Google Scholar]
  • 13.Barthold, S. W., Coleman, G. L., Jacoby, R. O., Livstone, E. M. & Jonas, A. M. Transmissible murine colonic hyperplasia. Vet. Pathol.15, 223–236 (1978). [DOI] [PubMed] [Google Scholar]
  • 14.Schauer, D. B. & Falkow, S. Attaching and effacing locus of a Citrobacter freundii biotype that causes transmissible murine colonic hyperplasia. Infect. Immun.61, 2486–2492 (1993). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 15.Simmons, C. P. et al. Central role for B lymphocytes and CD4+ T cells in immunity to infection by the attaching and effacing pathogen Citrobacter rodentium. Infect. Immun.71, 5077–5086 (2003). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 16.Garmendia, J., Frankel, G. & Crepin, V. F. Enteropathogenic and enterohemorrhagic Escherichia coli infections: translocation, translocation, translocation. Infect. Immun.73, 2573–2585 (2005). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 17.Yang, J., Tauschek, M., Hart, E., Hartland, E. L. & Robins-Browne, R. M. Virulence regulation in Citrobacter rodentium: the art of timing. Microb. Biotechnol.3, 259–268 (2010). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 18.Deng, W. et al. Assembly, structure, function and regulation of type III secretion systems. Nat. Rev. Microbiol.15, 323–337 (2017). [DOI] [PubMed] [Google Scholar]
  • 19.Dean, P. & Kenny, B. The effector repertoire of enteropathogenic E. coli: ganging up on the host cell. Curr. Opin. Microbiol.12, 101–109 (2009). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 20.Cornelis, G. R. The type III secretion injectisome. Nat. Rev. Microbiol.4, 811–825 (2006). [DOI] [PubMed] [Google Scholar]
  • 21.Deng, W. et al. Dissecting virulence: systematic and functional analyses of a pathogenicity island. Proc. Natl Acad. Sci. USA101, 3597–3602 (2004). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 22.Gruenheid, S. et al. Identification and characterization of NleA, a non-LEE-encoded type III translocated virulence factor of enterohaemorrhagic Escherichia coli O157:H7. Mol. Microbiol.51, 1233–1249 (2004). [DOI] [PubMed] [Google Scholar]
  • 23.Field, J. et al. Purification of a RAS-responsive adenylyl cyclase complex from Saccharomyces cerevisiae by use of an epitope addition method. Mol. Cell. Biol.8, 2159–2165 (1988). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 24.Frankel, G. et al. Intimin from enteropathogenic Escherichia coli restores murine virulence to a Citrobacter rodentium eaeA mutant: induction of an immunoglobulin A response to intimin and EspB. Infect. Immun.64, 5315–5325 (1996). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 25.Kenny, B. et al. Enteropathogenic E. coli (EPEC) transfers its receptor for intimate adherence into mammalian cells. Cell91, 511–520 (1997). [DOI] [PubMed] [Google Scholar]
  • 26.De Grado, M. et al. Identification of the intimin-binding domain of Tir of enteropathogenic Escherichia coli. Cell. Microbiol.1, 7–17 (1999). [DOI] [PubMed] [Google Scholar]
  • 27.Thanabalasuriar, A., Kim, J. & Gruenheid, S. The inhibition of COPII trafficking is important for intestinal epithelial tight junction disruption during enteropathogenic Escherichia coli and Citrobacter rodentium infection. Microbes Infect.15, 738–744 (2013). [DOI] [PubMed] [Google Scholar]
  • 28.Kanack, K. J., Crawford, J. A., Tatsuno, I., Karmali, M. A. & Kaper, J. B. SepZ/EspZ is secreted and translocated into HeLa cells by the enteropathogenic Escherichia coli type III secretion system. Infect. Immun.73, 4327–4337 (2005). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 29.Haritan, N. et al. Topology and function of translocated EspZ. mBio14, e0075223 (2023). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 30.Shames, S. R., Croxen, M. A., Deng, W. & Finlay, B. B. The type III system-secreted effector EspZ localizes to host mitochondria and interacts with the translocase of inner mitochondrial membrane 17b. Infect. Immun.79, 4784–4790 (2011). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 31.Bergstrom, K. S. B. et al. Muc2 protects against lethal infectious colitis by disassociating pathogenic and commensal bacteria from the colonic mucosa. PLoS Pathog.6, e1000902 (2010). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 32.Wiles, S. et al. Organ specificity, colonization and clearance dynamics in vivo following oral challenges with the murine pathogen Citrobacter rodentium. Cell. Microbiol.6, 963–972 (2004). [DOI] [PubMed] [Google Scholar]
  • 33.Kamada, N. et al. Regulated virulence controls the ability of a pathogen to compete with the gut microbiota. Science336, 1325–1329 (2012). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 34.Wiles, S., Dougan, G. & Frankel, G. Emergence of a ‘hyperinfectious’ bacterial state after passage of Citrobacter rodentium through the host gastrointestinal tract. Cell. Microbiol.7, 1163–1172 (2005). [DOI] [PubMed] [Google Scholar]
  • 35.Zindl, C. L. et al. A nonredundant role for T cell-derived interleukin 22 in antibacterial defense of colonic crypts. Immunity55, 494–511 (2022). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 36.Kimura, S. et al. Visualization of the entire differentiation process of murine M cells: suppression of their maturation in cecal patches. Mucosal Immunol.8, 650–660 (2015). [DOI] [PubMed] [Google Scholar]
  • 37.Esterházy, D. et al. Compartmentalized gut lymph node drainage dictates adaptive immune responses. Nature569, 126–130 (2019). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 38.Hargrave, K. E., MacLeod, M. K. L. & Worrell, J. C. Antigen presenting cells: professionals, amateurs, and spectators in the ‘long game’ of lung immunity. Int. J. Biochem. Cell Biol.153, 106331 (2022). [DOI] [PubMed] [Google Scholar]
  • 39.Wang, M.-Y., Qiao, Y., Wei, S.-J., Su, Z.-L. & Lu, H.-Y. MHC class II of different non-professional antigen-presenting cells mediate multiple effects of crosstalk with CD4+ T cells in lung diseases. Front. Med.12, 1388814 (2025). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 40.Schuijs, M. J., Hammad, H. & Lambrecht, B. N. Professional and ‘amateur’ antigen-presenting cells in type 2 immunity. Trends Immunol.40, 22–34 (2019). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 41.Shenoy, A. T. et al. Antigen presentation by lung epithelial cells directs CD4+ TRM cell function and regulates barrier immunity. Nat. Commun.12, 5834 (2021). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 42.Pasqual, G. et al. Monitoring T cell–dendritic cell interactions in vivo by intercellular enzymatic labelling. Nature553, 496–500 (2018). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 43.Nakandakari-Higa, S. et al. Universal recording of immune cell interactions in vivo. Nature627, 399–406 (2024). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 44.Chan, J. M. et al. CD4+ T cells drive goblet cell depletion during Citrobacter rodentium infection. Infect. Immun.81, 4649–4658 (2013). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 45.Van de Sande, B. et al. A scalable SCENIC workflow for single-cell gene regulatory network analysis. Nat. Protoc.15, 2247–2276 (2020). [DOI] [PubMed] [Google Scholar]
  • 46.Harper, J., Mould, A., Andrews, R. M., Bikoff, E. K. & Robertson, E. J. The transcriptional repressor Blimp1/Prdm1 regulates postnatal reprogramming of intestinal enterocytes. Proc. Natl Acad. Sci. USA108, 10585–10590 (2011). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 47.Mould, A. W., Morgan, M. A. J., Nelson, A. C., Bikoff, E. K. & Robertson, E. J. Blimp1/Prdm1 functions in opposition to Irf1 to maintain neonatal tolerance during postnatal intestinal maturation. PLoS Genet.11, e1005375 (2015). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 48.Elias, S., Robertson, E. J., Bikoff, E. K. & Mould, A. W. Blimp-1/PRDM1 is a critical regulator of type III interferon responses in mammary epithelial cells. Sci. Rep.8, 237 (2018). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 49.Smith, M. A. et al. PRDM1/Blimp-1 controls effector cytokine production in human NK cells. J. Immunol.185, 6058–6067 (2010). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 50.Eferl, R. & Wagner, E. F. AP-1: a double-edged sword in tumorigenesis. Nat. Rev. Cancer3, 859–868 (2003). [DOI] [PubMed] [Google Scholar]
  • 51.Wang, Y., Xiang, G. S., Kourouma, F. & Umar, S. Citrobacter rodentium-induced NF-κB activation in hyperproliferating colonic epithelia: role of p65 (Ser536) phosphorylation. Br. J. Pharmacol.148, 814–824 (2006). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 52.Zaki, M. H. et al. The NLRP3 inflammasome protects against loss of epithelial integrity and mortality during experimental colitis. Immunity32, 379–391 (2010). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 53.Boon, R. A. et al. KLF2 suppresses TGF-β signaling in endothelium through induction of Smad7 and inhibition of AP-1. Arterioscler. Thromb. Vasc. Biol.27, 532–539 (2007). [DOI] [PubMed] [Google Scholar]
  • 54.Dimitrov, D. et al. LIANA+ provides an all-in-one framework for cell–cell communication inference. Nat. Cell Biol.26, 1613–1622 (2024). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 55.Di Pilato, M. et al. CXCR6 positions cytotoxic T cells to receive critical survival signals in the tumor microenvironment. Cell184, 4512–4530 (2021). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 56.Wein, A. N. et al. CXCR6 regulates localization of tissue-resident memory CD8 T cells to the airways. J. Exp. Med.216, 2748–2762 (2019). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 57.Mackay, L. K. et al. Hobit and Blimp1 instruct a universal transcriptional program of tissue residency in lymphocytes. Science352, 459–463 (2016). [DOI] [PubMed] [Google Scholar]
  • 58.Adachi, T. et al. Hair follicle-derived IL-7 and IL-15 mediate skin-resident memory T cell homeostasis and lymphoma. Nat. Med.21, 1272–1279 (2015). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 59.Mackay, L. K. et al. T-box transcription factors combine with the cytokines TGF-β and IL-15 to control tissue-resident memory T cell fate. Immunity43, 1101–1111 (2015). [DOI] [PubMed] [Google Scholar]
  • 60.Woods, D. M. et al. T cells lacking HDAC11 have increased effector functions and mediate enhanced alloreactivity in a murine model. Blood130, 146–155 (2017). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 61.Skon, C. N. et al. Transcriptional downregulation of S1pr1 is required for the establishment of resident memory CD8+ T cells. Nat. Immunol.14, 1285–1293 (2013). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 62.Cui, W., Liu, Y., Weinstein, J. S., Craft, J. & Kaech, S. M. An interleukin-21–interleukin-10–STAT3 pathway is critical for functional maturation of memory CD8+ T cells. Immunity35, 792–805 (2011). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 63.Terwey, T. H. et al. CCR2 is required for CD8-induced graft-versus-host disease. Blood106, 3322–3330 (2005). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 64.Smith, N. P. et al. Resident memory T cell development is gradual and shows AP-1 gene expression in mature cells. JCI Insight10, e187381 (2025). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 65.Milner, J. J. et al. Runx3 programs CD8+ T cell residency in non-lymphoid tissues and tumours. Nature552, 253–257 (2017). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 66.Rutishauser, R. L. et al. Transcriptional repressor Blimp-1 promotes CD8+ T cell terminal differentiation and represses the acquisition of central memory T cell properties. Immunity31, 296–308 (2009). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 67.Ghaem-Maghami, M. et al. Intimin-specific immune responses prevent bacterial colonization by the attaching-effacing pathogen Citrobacter rodentium. Infect. Immun.69, 5597–5605 (2001). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 68.Stender, S. et al. Identification of SopE2 from Salmonella Typhimurium, a conserved guanine nucleotide exchange factor for Cdc42 of the host cell. Mol. Microbiol.36, 1206–1221 (2000). [DOI] [PubMed] [Google Scholar]
  • 69.Friebel, A. et al. SopE and SopE2 from Salmonellatyphimurium activate different sets of RhoGTPases of the host cell. J. Biol. Chem.276, 34035–34040 (2001). [DOI] [PubMed] [Google Scholar]
  • 70.Barthel, M. et al. Pretreatment of mice with streptomycin provides a Salmonella enterica serovar Typhimurium colitis model that allows analysis of both pathogen and host. Infect. Immun.71, 2839–2858 (2003). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 71.Bachmann, M. F. & Jennings, G. T. Vaccine delivery: a matter of size, geometry, kinetics and molecular patterns. Nat. Rev. Immunol.10, 787–796 (2010). [DOI] [PubMed] [Google Scholar]
  • 72.Manolova, V. et al. Nanoparticles target distinct dendritic cell populations according to their size. Eur. J. Immunol.38, 1404–1413 (2008). [DOI] [PubMed] [Google Scholar]
  • 73.Roche, P. A. & Furuta, K. The ins and outs of MHC class II-mediated antigen processing and presentation. Nat. Rev. Immunol.15, 203–216 (2015). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 74.Batista, F. D. & Harwood, N. E. The who, how and where of antigen presentation to B cells. Nat. Rev. Immunol.9, 15–27 (2009). [DOI] [PubMed] [Google Scholar]
  • 75.Niess, J. H. et al. CX3CR1-mediated dendritic cell access to the intestinal lumen and bacterial clearance. Science307, 254–258 (2005). [DOI] [PubMed] [Google Scholar]
  • 76.Mabbott, N. A., Donaldson, D. S., Ohno, H., Williams, I. R. & Mahajan, A. Microfold (M) cells: important immunosurveillance posts in the intestinal epithelium. Mucosal Immunol.6, 666–677 (2013). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 77.McDole, J. R. et al. Goblet cells deliver luminal antigen to CD103+ dendritic cells in the small intestine. Nature483, 345–349 (2012). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 78.Dickinson, B. L. et al. Bidirectional FcRn-dependent IgG transport in a polarized human intestinal epithelial cell line. J. Clin. Invest.104, 903–911 (1999). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 79.Mazzini, E., Massimiliano, L., Penna, G. & Rescigno, M. Oral tolerance can be established via gap junction transfer of fed antigens from CX3CR1+ macrophages to CD103+ dendritic cells. Immunity40, 248–261 (2014). [DOI] [PubMed] [Google Scholar]
  • 80.Münz, C. Autophagy proteins in antigen processing for presentation on MHC molecules. Immunol. Rev.272, 17–27 (2016). [DOI] [PubMed] [Google Scholar]
  • 81.Schmid, D. & Münz, C. Innate and adaptive immunity through autophagy. Immunity27, 11–21 (2007). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 82.Paludan, C. et al. Endogenous MHC class II processing of a viral nuclear antigen after autophagy. Science307, 593–596 (2005). [DOI] [PubMed] [Google Scholar]
  • 83.Kaech, S. M. & Cui, W. Transcriptional control of effector and memory CD8+ T cell differentiation. Nat. Rev. Immunol.12, 749–761 (2012). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 84.Jameson, S. C. & Masopust, D. Understanding subset diversity in T cell memory. Immunity48, 214–226 (2018). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 85.Reina-Campos, M. et al. Tissue-resident memory CD8 T cell diversity is spatiotemporally imprinted. Nature639, 483–492 (2025). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 86.Zheng, Y. et al. Interleukin-22 mediates early host defense against attaching and effacing bacterial pathogens. Nat. Med.14, 282–289 (2008). [DOI] [PubMed] [Google Scholar]
  • 87.Basu, R. et al. Th22 cells are an important source of IL-22 for host protection against enteropathogenic bacteria. Immunity37, 1061–1075 (2012). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 88.Lee, Y. K. et al. Late developmental plasticity in the T helper 17 lineage. Immunity30, 92–107 (2009). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 89.Harbour, S. N., Maynard, C. L., Zindl, C. L., Schoeb, T. R. & Weaver, C. T. Th17 cells give rise to Th1 cells that are required for the pathogenesis of colitis. Proc. Natl Acad. Sci. USA112, 7061–7066 (2015). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 90.MacKay, L. K. et al. The developmental pathway for CD103+CD8+ tissue-resident memory T cells of skin. Nat. Immunol.14, 1294–1301 (2013). [DOI] [PubMed] [Google Scholar]
  • 91.Hashimoto, K., Joshi, S. K. & Koni, P. A. A conditional null allele of the major histocompatibility IA-beta chain gene. Genesis32, 152–153 (2002). [DOI] [PubMed] [Google Scholar]
  • 92.Oxenius, A., Bachmann, M. F., Zinkernagel, R. M. & Hengartner, H. Virus-specific MHC class II-restricted TCR-transgenic mice: effects on humoral and cellular immune responses after viral infection. Eur. J. Immunol.28, 390–400 (1998). [DOI] [PubMed] [Google Scholar]
  • 93.Madison, B. B. et al. cis elements of the villin gene control expression in restricted domains of the vertical (crypt) and horizontal (duodenum, cecum) axes of the intestine. J. Biol. Chem.277, 33275–33283 (2002). [DOI] [PubMed] [Google Scholar]
  • 94.El Marjou, F. et al. Tissue-specific and inducible Cre-mediated recombination in the gut epithelium. Genesis39, 186–193 (2004). [DOI] [PubMed] [Google Scholar]
  • 95.Boes, M. et al. T-cell engagement of dendritic cells rapidly rearranges MHC class II transport. Nature418, 983–988 (2002). [DOI] [PubMed] [Google Scholar]
  • 96.Kamada, N. et al. Humoral immunity in the gut selectively targets phenotypically virulent attaching-and-effacing bacteria for intraluminal elimination. Cell Host Microbe17, 617–627 (2015). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 97.Lopez, C. A. et al. Virulence factors enhance Citrobacter rodentium expansion through aerobic respiration. Science353, 1249–1253 (2016). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 98.Mandell, D. J. et al. Biocontainment of genetically modified organisms by synthetic protein design. Nature518, 55–60 (2015). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 99.Tuz, A. A. et al. Stroke and myocardial infarction induce neutrophil extracellular trap release disrupting lymphoid organ structure and immunoglobulin secretion. Nat. Cardiovasc. Res.3, 525–540 (2024). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 100.Sarfatis, A., Wang, Y., Twumasi-Ankrah, N. & Moffitt, J. R. Highly multiplexed spatial transcriptomics in bacteria. Science387, eadr0932 (2025). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 101.Wu, M. et al. Gut complement induced by the microbiota combats pathogens and spares commensals. Cell187, 897–913 (2024). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 102.Moffitt, J. R. et al. Molecular, spatial, and functional single-cell profiling of the hypothalamic preoptic region. Science362, eaau5324 (2018). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 103.Virshup, I. et al. The scverse project provides a computational ecosystem for single-cell omics data analysis. Nat. Biotechnol.41, 604–606 (2023). [DOI] [PubMed] [Google Scholar]
  • 104.Wolf, F. A., Angerer, P. & Theis, F. J. SCANPY: large-scale single-cell gene expression data analysis. Genome Biol.19, 15 (2018). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 105.Sheng, C. et al. Probabilistic machine learning ensures accurate ambient denoising in droplet-based single-cell omics. Preprint at bioRxiv 10.1101/2022.01.14.476312 (2022). [DOI]
  • 106.Gayoso, A. et al. A Python library for probabilistic analysis of single-cell omics data. Nat. Biotechnol.40, 163–166 (2022). [DOI] [PubMed] [Google Scholar]
  • 107.Gayoso, A. et al. Joint probabilistic modeling of single-cell multi-omic data with totalVI. Nat. Methods18, 272–282 (2021). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 108.Traag, V., Waltman, L. & van Eck, N. J. From Louvain to Leiden: guaranteeing well-connected communities. Sci. Rep.9, 5233 (2019). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 109.Lopez, R., Regier, J., Cole, M. B., Jordan, M. I. & Yosef, N. Deep generative modeling for single-cell transcriptomics. Nat. Methods15, 1053–1058 (2018). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 110.McInnes, L., Healy, J. & Melville, J. UMAP: uniform manifold approximation and projection for dimension reduction. Preprint at http://arxiv.org/abs/1802.03426 (2020).
  • 111.Xu, C. et al. Probabilistic harmonization and annotation of single-cell transcriptomics data with deep generative models. Mol. Syst. Biol.17, e9620 (2021). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 112.Love, M. I., Huber, W. & Anders, S. Moderated estimation of fold change and dispersion for RNA-seq data with DESeq2. Genome Biol.15, 550 (2014). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 113.Muzellec, B., Teleńczuk, M., Cabeli, V. & Andreux, M. PyDESeq2: a python package for bulk RNA-seq differential expression analysis. Bioinformatics39, btad547 (2023). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 114.Aibar, S. et al. SCENIC: single-cell regulatory network inference and clustering. Nat. Methods14, 1083–1086 (2017). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 115.Moerman, T. et al. GRNBoost2 and Arboreto: efficient and scalable inference of gene regulatory networks. Bioinformatics35, 2159–2161 (2019). [DOI] [PubMed] [Google Scholar]
  • 116.Dimitrov, D. et al. Comparison of methods and resources for cell-cell communication inference from single-cell RNA-seq data. Nat. Commun.13, 3224 (2022). [DOI] [PMC free article] [PubMed] [Google Scholar]

Associated Data

This section collects any data citations, data availability statements, or supplementary materials included in this article.

Supplementary Materials

Supplementary Information (795.4KB, pdf)

Supplementary Figs. 1 and 2.

Reporting Summary (177.6KB, pdf)
Supplementary Table 1 (10.8KB, xlsx)

Bacterial strains and epitope-tagged variants used in this study.

Supplementary Table 2 (495.4KB, xlsx)

Single-cell RNA sequencing metadata, cell cluster definitions and differentially expressed genes.

Supplementary Video 1 (21.1MB, mp4)

Day 42 LSFM espZ versus intimin.

Supplementary Video 2 (74.3MB, mp4)

Day 42 LSFM espZ FL highlighting epithelium, lamina propria, and GALT compartments.

Supplementary Video 3 (63.1MB, mp4)

Day 50 LSFM espZ FL.

Supplementary Video 4 (106.8MB, mp4)

Day 240 espZ FL 3D.

Supplementary Video 5 (59.7MB, mp4)

Day 50 LSFM espZ Δ1–21.

Source Data Fig. 3 (1MB, pdf)

Uncropped immunoblot scans for HA-tag, GFP loading control.

Source Data Fig. 4 (1.6MB, pdf)

Uncropped immunoblot scans for HA-tag, β-actin loading control.

Source Data Fig. 5 (1.6MB, pdf)

Uncropped immunoblot scans for FLAG-tag, DnaK loading control scans for FLAG-tag, DnaK loading control.

Data Availability Statement

Single-cell RNA-sequencing data generated in this study have been deposited in the NCBI Gene Expression Omnibus under accession number GSE314593. Reads were aligned to the mouse reference genome GRCm39. Source data are provided with this paper. All other data supporting the findings of this study are available from the corresponding author upon reasonable request.

No custom software or algorithms were generated in this study. All analyses were performed using previously published software packages with the versions and parameters specified in Methods. Analysis scripts implementing these workflows are available from the corresponding author upon request.


Articles from Nature Immunology are provided here courtesy of Nature Publishing Group

RESOURCES