Introduction

The vertebrate immune system is highly complex and composed of many different cell types with different functional roles in responses to infection1,2. Variation in the relative abundance of different immune cell types and their responsiveness to stimulation has major implications for infection risk and disease outcomes3. The immune system is thought to play an important role in the evolutionary and ecological dynamics of wild populations, protecting individuals from a diverse array of pathogens. Despite this, a shortcoming of many field studies of immunity to date has been the inability to quantify variation in these functionally different cell types, often relying instead on generic measures of immunity, such as skin swelling or natural antibody responses to novel antigen challenge4,5. This has largely been due to the lack of suitable immunological tools in non-model systems which would enable the abundance and functionality of immune cells to be quantified. Recent studies applying tools developed for laboratory rodents to their wild counterparts illustrate striking differences between the immune phenotypes of wild and captive animals1, as well as variation in diverse aspects of immunity among and within natural populations6. At the same time, studies in wild mammals highlight the potential for functional constraints on immune-mediated resistance to different types of parasites to influence patterns of infection and disease dynamics7. In order to determine how natural selection has shaped immune responses in wild populations, we first need to characterise variation in functionally-relevant aspects of the immune response. Here, we use expertise and reagents from veterinary immunology to examine variation in functionally distinct arms of the adaptive immune response and test how this variation predicts abundance of gastrointestinal parasites in wild Soay sheep (Ovis aries)8,9.

The immune system in vertebrates broadly consists of the innate and adaptive arms10. Innate responses are generally non-specific and are rapidly activated immediately after parasite antigens are encountered, while adaptive responses are slower to develop but are highly antigen-specific due to the recognition of specific antigens by receptors on B and T lymphocytes. Following antigen-specific activation, B and T cells undergo clonal expansion to generate effector cells that control the immediate infection, and memory cells that provide long-lasting immune protection10,11. The adaptive immune system is further divided based on effector functions into humoral immunity, mediated by antibodies produced by B cells, and cellular immunity such as that mediated by cytotoxic T cells and phagocytes10,11. Functional diversity of the adaptive immune system is coordinated by CD4+ T helper (Th) cells, which can elicit functionally-distinct types of response which support protection of the host against different kinds of challenges12,13.

The main types and functions of Th-mediated immune responses—Th types 1, 2, 17 (Th1, Th2, Th17) and regulatory T cell (Treg) responses—are illustrated in Fig. 1. Th polarisation is largely decided during the early stages of activation of naïve CD4+ T cells, when dendritic cells and other innate cells ‘sense’ specific pathogen molecules and, through cytokine and other signalling events, trigger unique ‘master’ transcription factors that become lineage-specific markers for the different Th subsets (Fig. 1; Refs.14,15,16). Each Th subset then secretes a specific group of cytokines that promotes different types of adaptive immune responses, whilst also inhibiting the development of other Th subsets17,18. Thus, a broad understanding of adaptive immune function can obtained by quantifying the master transcription factors expressed by Th cells and the cytokines released upon activation (Fig. 1).

Figure 1
figure 1

Overview of T helper subsets. Upon encountering foreign antigens, dendritic cells (highly specialised antigen presenting cells) process and present fragments of antigen to naïve CD4+ T cells via major histocompatibility complex (MHC) class II molecules. During this process, specific cytokines drive differentiation and clonal expansion of CD4+ T cells into functionally distinct T helper (Th) subsets. Each Th subset is associated with a master transcription factor, and secretes specific cytokines involved in coordinating different types of host immune response12,19,20,21,22,23,24.

In the wild, vertebrates must deal with challenges from a wide range of infectious agents, and co-infection is the norm25. As such, there is good reason to expect that variation in Th responses plays a vital role in maintaining health and fitness under natural conditions. In particular, co-infection with intracellular microparasites (e.g. viruses, bacteria, apicomplexans) and macroparasites (e.g. helminths) are expected to elicit trade-offs between host commitment to Th1 vs. Th2 immune responses2. For example, in laboratory studies, the greater the suppressive effect of worm infection on Th1 cytokines, the greater the associated increase in microparasite density26. Furthermore, recent studies of wild buffalo show that experimental removal of helminths promotes a Th1 response, with downstream consequences for host resistance to intracellular parasites27,28. However, measurement of functional T cell responses in wild vertebrates is challenging and has rarely been undertaken. As Fig. 1 illustrates, measuring Th phenotype requires quantification of the number of T cells of different functional types and their functional cytokine response to stimulation. This demands both the immunological tools for T cell phenotyping, which are lacking for most non-model systems, and protocols for either immediate deployment of assays on live cells in the field or preservation of cells for later analysis4. Despite these difficulties, recent studies have begun to explore variation in T cell immunity in wild mammals28,29,30,31,32. However, to date, with the exception of some studies in humans33, no study in wild mammalian populations has quantified patterns of variation in the full range of Th phenotypes or tested their associations with parasite infection.

Here, we characterise Th responses in wild Soay sheep (Ovis aries) on St Kilda, using immunological reagents developed for domestic sheep to quantify Th1, Th2, Th17 and Treg responses through activation-specific cytokine release and expression of Th-associated transcription factors. The Soay sheep on St Kilda are principally infected with two groups of gastrointestinal parasites: nematodes and coccidian apicomplexans8,34. It is generally accepted that resistance to these parasites groups is broadly associated with different Th responses: Th2 for worms, and Th1 for coccidia35,36, and that, in laboratory settings at least, Th1 and Th2 responses are generally antagonistic17,18. We examine the associations among different measures of the four main Th response types and their relationship with age and sex, before testing the predictions that: (1) worm burdens should be reduced in animals with stronger Th2 responses, (2) coccidia burdens should be reduced in animals with stronger Th1 responses, and (3) Th1 and Th2 responses should be negatively correlated.

Results

The correlations between the ten immune variables, after accounting for age and sex differences, are summarised in Fig. 2. The correlations were mostly positive, with the strongest associations observed between the different cell counts and between IFN-γ and IL-4. In general, cytokines were only weakly associated with cell counts. To explore the possibility that the strong positive associations between cell phenotypes was driven by variation in total PBMC numbers, we re-ran the correlation analysis with the proportion of cells of each type within the total leukocyte population rather than the absolute numbers of cells. Since some cells do not express any of the measured markers, these proportions would not necessarily be negatively associated. We found that, in general, associations between cell phenotypes expressed as proportions were relatively weak, suggesting that indeed the strong positive associations were driven by variation in cell numbers (Fig. 2 and Supplementary Fig. S2).

Figure 2
figure 2

Correlation matrix showing Spearman’s rank correlations between pairs of immunological variables corrected for age and sex, where redder values indicate increasingly negative associations and bluer values indicate increasingly positive associations. Cell phenotypes represent cell counts per ml blood. Correlations outlined with a black square were not statistically significant at α = 0.05.

The first principal component of our immune variables explained 32% of the variation and the second explained 25%; the subsequent axes explained 11% or less (Supplementary Table S2). The first axis had strong negative loadings with all of the cell count variables, while the second axis had strong negative loadings with all four cytokines (Supplementary Fig. S3). Plotting our data on the first two principal components (PCs) revealed little evidence of differentiation between the sexes based on the first two PCs, but small differences with age were apparent (Supplementary Fig. S3). Specifically, older animals had lower values of PC2, suggesting stronger cytokine responses with age. This multivariate variation with age but not sex was supported by PERMANOVA analysis: while there was no evidence for an interaction between age category and sex (FDF=3 = 0.34, P = 0.901) or the main effect of sex (FDF=1 = 0.47, P = 0.592), there was some evidence for variation with age category (FDF=3 = 3.54, P = 0.006). Age category, however, only explained a small proportion of the overall variation (R2 = 0.06).

This pattern of sex- and age-specific variation was also apparent in our individual analyses of each immunological variable (Supplementary Tables S3 and S4). Variation in the number of PBMC and CD4+ cells was best explained by age as a four-level factor and both appeared to be at their lowest levels in adults compared to the other age groups (Fig. 3A,B). The best-supported model for CD4+Tbet+ cells suggested higher cell numbers in lambs than in other age classes (Fig. 3C), but there was no evidence for variation with either age or sex in CD4+ cells expressing the other three transcription factors (Fig. 3D–F). Finally, all of the cytokines varied with age and/or sex, with a broad trend for increases with age and, where there were sex differences, greater increases in males than females. IFN-γ followed a quadratic trajectory with age, with a steep increase from younger ages to around age four, followed by a shallower increase thereafter (Fig. 3G). IL-4 followed a similar pattern, although the best-supported model had age as a factor with four levels: while IL-4 was low in lambs, it increased dramatically in yearlings, with subsequently smaller increases in adults and then geriatrics (Fig. 3H). The best-supported models for both IL-17A and IL-10 suggested an interaction between age and sex, with linear increases with age in both sexes, but a particularly pronounced increase in males compared to females (Fig. 3I,J).

Figure 3
figure 3

Age- and/or sex-specific variation in (A) PMBC; (B) CD4+ cells; (C) CD4+Tbet+ cells; (D) CD4+Gata3+ cells; (E) CD4+ RORγt+ cells; (F) CD4+FoxP3+ cells; (G) IFN-γ; (H) IL-4; (I) IL-17A; and (J) IL-10. Points show raw data, with green representing females and purple showing males. Large points connected by lines show estimates ± 95% CI from a model where age was fitted as a factor (with 2 or 4 levels) and lines with shaded areas show estimates ± 95% CI from models where age was fitted as a continuous variable; green lines represent females and purple lines males. For model details, see Supplementary Tables S4 and S5.

As predicted, models of strongyle FEC identified negative associations with Th2-related immune measures while models of coccidian FOC identified negative associations with Th1-related measures (Table 1). In separate models testing the association between FEC and each immune measure, we found that the number of CD4+Gata3+ cells (estimate = − 2.69E−06 ± 1.07E−06, χ21 = 5.42, P = 0.020) and the expression of IL-4 (estimate = − 9.84E−05 ± 2.26E−05, χ21 = 16.97, P < 0.001; Table 1) each negatively predicted FEC. We also found significant interactions between age (lamb versus older) and total PBMC, CD4+RORγt+ and CD4+FoxP3+ cell counts (Table 1). In each case, there was a stronger negative association with FEC in lambs, and little evidence of an association in adults. We then fitted all of these terms into a single GLM of FEC to determine which were independently significant. Only the main effects of CD4+Gata3+ (estimate = − 3.24E−06 ± 1.21E−06, χ21 = 4.77, P = 0.029; Supplementary Table S6) and IL-4 (estimate = − 8.97E−05 ± 2.27E−05, χ21 = 13.81, P < 0.001; Supplementary Table S6), and the interaction between age and CD4+FoxP3+ were still supported in this model (Supplementary Table S6). Inclusion of coccidian FOC in this final model did not meaningfully alter these results, and FOC did not significantly predict FEC independent of age, sex and the including immune parameters (Supplementary Table S6). Both the number of CD4+Gata3+ cells and levels of IL-4 were independently negatively associated with FEC, while the interaction between age class and CD4+FoxP3+ suggested a negative association in lambs but not adults (Fig. 4A–C). In separate models testing the association between FOC and each immune measure, both IFN-γ and IL-4 were negatively associated with FEC (Table 1). However, when we fitted both of these into the same model, IFN-γ was still supported (estimate = − 1.26E−04 ± 4.94E−05, χ2 = 6.03, P = 0.014, Fig. 4D) but IL-4 was not (estimate = 1.03E−05 ± 3.16E−05, χ2 = 0.12, P = 0.727). Inclusion of strongyle FEC in this model did not meaningfully impact the results (IFN-γ: estimate = − 1.22E−04 ± 4.92E−05, χ2 = 5.67, P = 0.018; IL-4: estimate = − 1.28E−05 ± 3.16E−05, χ2 = 0.19, P = 0.66) and FEC was not significant (estimate = 5.60E−04 ± 3.51E−04, χ2 = 1.40, P = 0.23).

Table 1 Results of generalised linear model analysis of associations between either strongyle faecal egg count (FEC) or coccidian faecal oocyst count (FOC) and each of our immunological parameters. Estimates and test statistics are shown for models where only the variable indicted with included in the model; interaction estimates show difference in slope between lambs and adults. Associations significant at α = 0.05 are highlighted in bold.
Figure 4
figure 4

Associations between strongyle faecal egg count (FEC) and (A) total CD4+Gata3+ cells; (B) total CD4+Foxp3+ cells; (C) IL-4 secretion; and between coccidian faecal oocyst count (FOC) and (D) IFN-γ secretion. Points show raw data and lines show predictions from models in Table 1. In (B), lambs are represented by circles and broken lines, adults by triangles and unbroken lines.

Discussion

We characterised variation in Th responses in a wild population of Soay sheep by enumerating cells expressing Th-specific transcription factors and measuring levels of canonical Th cytokines following ex vivo T cell stimulation. Th cell counts and ex vivo cytokine production were weakly correlated, with only the latter showing variation with age and independently predicting both strongyle and coccidian parasite burdens. We found support for the predictions that increased Th1 responsiveness (IFN-γ) would negatively associate with coccidian FOC, while increased Th2 responsiveness (IL-4) would negatively associate with strongyle FEC. However, contrary to our predictions, we found positive rather than negative associations between Th1- and Th2-associated measures. This provides rare support from outside the laboratory for the importance of different Th subsets for resistance to different kinds of parasite, but adds to mounting evidence from natural systems that Th1/Th2 trade-offs observed in laboratory experiments may not readily translate to natural systems29,32.

Age-specific variation in immunity is widely observed and expected: the immaturity of the immune system in juveniles is often associated with higher parasite burden and less effective responses37 and this is certainly true of domestic sheep infected with strongyle nematodes38,39. In later adulthood, immunosenescence is often detected in wild vertebrates, particularly in adaptive responses40. Increases in circulating strongyle-specific antibody levels between lambs and adults in the Soay sheep have previously been observed41, as have senescent declines in later life that are associated with increased risk of mortality42. Another study in Soay sheep reported pronounced declines with age in the proportions of T cell sub-types in separate cross-sectional studies, most notably naïve (CD45RA+) helper (CD4+) T cells43,44. However, these expected changes were based on fundamental processes in immune development, such as thymic involution, and did not tease apart different functional Th subsets43,44. Here, we observed pronounced increases from lambs to adults in ex vivo T cell cytokine responses associated with all Th subsets but little evidence of age-dependence in the number of T cells expressing Th-specific transcription factors. As animals age and are exposed to parasite antigens, the expansion of Th memory pools induces a faster and more rapid cytokine response following activation45, potentially explaining why Th cell counts are static but cytokine responses increase with age.

Increases in cytokine responses with age have been previously described in healthy human populations46, where a Th1 polarisation can be observed with age47. We observed no signs of such a polarisation: production of cytokines associated with Th1, Th2, Th17 and Treg responses all increased with age. However, most human studies focus on cytokine production by CD4+ and CD8+ cells, whereas our assays potentially include cytokine production by all circulating leukocytes. It is known that activated B cells and natural killer cells can produce IL-10 and IFN-γ, respectively, and may be contributing to the cytokine responses we measured48,49. Although a more focused study of the cytokines produced by CD4+ T cells might have shown different results, this lack of a shift towards Th1 responses with age could also reflect the consistent life-long exposure to gastrointestinal parasites experienced by wild Soay sheep, which strongly polarise towards Th2 and regulatory responses mediated by IL-1050.

We found little evidence for sex differences in Th phenotypes, although ex vivo production of Th17 and Treg cytokines did increase more rapidly with age in males than females. Sex-specific variation in defence against infection is predicted and has been observed in wild populations51, with males often exhibiting increased parasite burden and less effective immune responses than females. Previous work on the Soay sheep has shown sex differences in anti-strongyle antibody levels, with males showing weaker responses52,53 and higher burdens of nematode parasites across age groups34,54. In other wild mammals, male voles exhibited lower levels of expression of the Th2-associated transcription factor Gata3 in peripheral blood and wild male badgers showed lower IFN-γ responses than females following stimulation with PWM, although no sex differences were found in wild buffalo27,29,31. Generally, our data provide limited evidence for an important role of Th cell responsiveness underpinning sex differences in parasitism and immune responsiveness.

We found a strong positive association between the Th1 and Th2 cytokines, IFN-γ and IL-4. Antagonism between Th1 and Th2 responses are well-established in laboratory immunology18,55, and experimental studies of wild buffalo in which helminth parasites were removed with anthelmintic drugs demonstrated an increase in Th1-associated IFN-γ production28. However, data from unmanipulated wild rodent populations provide evidence for synergistic, rather than antagonistic, associations between Th1 and Th2 phenotypes29,32, and work in domestic sheep indicates a complex interplay between Th1 and Th2 immune responses is associated with gastro-intestinal parasite resistance56. Variation in resource acquisition, common in natural systems and resulting in individual differences in the resources available to invest in immunity, could drive positive associations between different arms of the immune response even if functional trade-offs are present29,57. Additionally, challenge from a variety of parasites and the need for considerable plasticity in immune responses, could also lead to selection for the ability to mount effective immune responses to different parasites. As such, trade-offs between different arms of the Th response could be masked by variation in resource acquisition, coinfection, and the need to adjust responses in responses to ecological and epidemiological conditions.

In line with our predictions, levels of the Th2-associated cytokine IL-4 were negatively associated with strongyle FEC, while the Th1-associated cytokine IFN-γ was negatively associated with coccidian FOC. This represents important support for the paradigm that Th1 and Th2 responses have distinct roles in tackling microparasite and macroparasite infections, respectively, from a wild population. In addition, numbers of CD4+ T cells expressing Gata3 or Foxp3 (i.e. Th2 and Treg polarised cells) were negatively associated with strongyle FEC. While the association with Gata3 provides further evidence that Th2 immunity is important for control of strongyles, the association between Treg numbers and strongyle FEC, only evident in lambs, is more counterintuitive, given that Treg induction has been suggested as an immune evasion strategy for these parasites58. However, the relationship between Treg and helminth immunity is complex—in mice it has been shown that while too many Treg cells impair Th2 immunity and lead to chronic infections, too few lead to dysregulated immune responses and increased worm burdens59. Similar findings have also been reported in sheep, with resistance to strongyle parasites being associated with an early Treg-Th2 immune response during primary infection56, suggesting that an optimal balance between Th2 and Treg responses is critical to induce effective anti-strongyle immunity, at least during initial exposure to the parasite.

Previous studies of wild mammals have provided evidence in support of associations between Th phenotypes and measures of parasite burden. In a wild badger population, “excretors” of bovine tuberculosis (bTB; Mycobacterium bovis) had lower mean IFN-γ responses than bTB-negative individuals60. In wild buffalo, anthelminthic-treated individuals had stronger IFN-γ responses and while treatment was not associated with bTB status, treated animals were less likely to die from bTB, suggesting a protective role for Th1 immunity in bTB infection28. Finally, expression of Gata3 was positively associated with an index of macroparasite burden in wild adult voles, but negatively correlated in juvenile voles, suggesting a Th2-mediated switch from resistance to tolerance with age30. Similarly, domestic sheep lines artificially selected to be more resistant to helminth infection showed enhanced IL-4 (Th2) responses61,62,63. Relatively little is known about coccidian immunity in domestic sheep, although there is convincing evidence that natural infection drives expression of IFN-γ and other Th-1 associated cytokines such as IL-2 and TNF-α36. Previous studies in wild Soay sheep found that strongyle FEC was positively associated with coccidian FOC8, although we found no evidence for significant associations in our smaller data set. Furthermore, significant associations between strongyle FEC and Th2-associated immune measures were independent of coccidian FOC, just as the associations between coccidian FOC and Th1-associated immune measures were independent of strongyle FEC. Thus the picture in our system appears to be one of variation in the ability to mount responses to diverse parasite taxa, with individuals able to respond effectively to strongyles also being able to respond effectively to coccidia. Our previous work on Soay sheep clearly shows that functionally distinct immune phenotypes (antibodies of different isotypes) can be positively correlated but show different patterns of association with fitness41. A crucial next step for our understanding of natural selection on Th phenotype is to relate the variation in different functional measures to fitness in wild populations, and determine whether associations are mediated by effects on parasite burden or individual condition.

Conclusions

Overall, our results provide important evidence that measuring immune phenotypes associated with different functional arms of the Th response can help us to predict the parasite burden of wild mammals. Whilst ours is not the first study to provide such, we have assessed Th phenotype in an unusually comprehensive fashion, using reagents developed for veterinary immunology. Our results provide evidence simultaneously linking raised Th1-associated responses to reduced microparasite burdens and raised Th2-associated responses to reduced macroparasite burdens in the wild. Whilst this supports the paradigm that different Th arms have effector functions that protect from particular parasite groups, our data challenge the idea that investment in one Th arm constrains investment in another in the wild. One limitation of our study is its cross-sectional nature: longitudinal data is required to determine whether age-related variation is driven by within-individual change or selective effects and how such variation impacts on demography64. The small number of longitudinal studies measuring Th-related phenotypes in the wild suggest they are weakly to moderately repeatable within individuals29,31,65. Indeed, higher repeatability of IFN-γ in wild buffalo has been shown to predict higher risk of bTB infection, suggesting that the variation on adaptive immune responses could benefit the host by protecting it from infection65. Further studies examining longitudinal changes across functional Th subsets and relating these to parasite pressure and demographic rates are likely to illuminate the causes and consequences of variation in Th function for natural populations.

Materials and methods

Field and laboratory data collection

Soay sheep have lived unmanaged for several thousand years in the St Kilda archipelago, 65 km west of the Outer Hebrides, Scotland (57° 49′ N, 08° 34′ W). In the 1930s, following the evacuation of the human population from Hirta, the largest island in the archipelago, 107 sheep were moved from the smaller island of Soay onto Hirta66. This population has grown to cover the whole island, with numbers only limited by food availability. Since 1985, sheep in the Village Bay area of Hirta (around one third of the total population) have been the subject of an individual-based study. Every year, > 95% of lambs born in the study area are captured within a few weeks of birth (March–May), given an individual identifying ear tag, weighed and blood‐ and tissue‐sampled for genetic analysis. Each August, ~ 50% of sheep are captured in order to collect data on variables including weight and morphometrics alongside faecal and blood samples. Samples used in this study were collected from 238 animals captured in August 2019.

Ethics

All samples were collected in accordance with relevant guidelines and regulations from the Home Office under project license number PP4825594 and were approved by the University of Edinburgh School of Biological Sciences Ethics committee. This study was carried out in compliance with the ARRIVE guidelines (https://arriveguidelines.org).

Whole blood stimulation assays

Blood was collected from sheep by jugular venepuncture into lithium heparin vacutainers (Greiner Bio-One International GmbH) and stored at 4 °C prior to being processed, 24 h post capture.

Whole blood stimulations from 208 animals were carried out by mixing 1 ml of whole blood with 1 ml of tissue culture media [RPMI-1640 supplemented with 10% Foetal Bovine Serum (FBS) and 50 μM 2-mercaptoethanol, 2 mM l-glutamine, 100 U/ml Penicillin and 100 μg/ml Streptomycin, 5 μg/ml Gentamicin (all from Sigma-Aldrich, UK)] containing 10 μg/ml of poke weed mitogen (PWM, Sigma-Aldrich, UK) or the same volume of PBS into 15 ml sterile tissue culture tubes (Fisher). Following incubation at 37 °C for 48 h, samples were centrifuged at 300×g for 5 min. Supernatants were collected and stored at – 20 °C until assayed for cytokine production.

Capture ELISAs were performed to quantify the secretion of selected cytokines representing different Th subsets: interferon (IFN)-γ (Th1), interleukin (IL)-4 (Th2), IL-17A (Th17) and IL-10 (Treg), following stimulation with PWM. All incubations were carried out at room temperature unless stated otherwise. IL-4 and IFN-γ were quantified using commercial ELISA kits according to the manufacturer’s instructions (MABTECH AB, Augustendalsvägen, SE, Sweden). For the quantification of IL-17A, polyclonal rabbit anti-bovine IL-17A antibodies were used alongside bovine recombinant protein (Kingfisher Biotech, Inc., St. Paul, MN). Mouse monoclonal anti-bovine IL-10 capture and detection antibodies (clones CC318 and CC320b respectively, BioRad) and standard curves produced using supernatants from COS-7 cells transfected with bovine IL-1067,68 were used to quantify IL-10 secretion. Washing steps for all ELISAs were performed 6 times with 350 μl washing buffer (Phosphate Buffered Saline (PBS) + 0.05% Tween 20) using a Thermo Scientific Wellwash™ Versa (ThermoFisher). High-binding capacity ELISA plates (Immunlon™ 2HB 96-well microtiter plates, ThermoFisher) were incubated with coating antibodies overnight at 4 °C. Plates were then washed and blocked for 1 h with PBS containing 0.05% Tween 20 (Sigma, UK) and 0.1% Bovine Serum Albumin (BSA, Sigma, UK) for IL-4, IFN-γ and IL-17A or PBS containing 3% of BSA for IL-10. Following a further washing step, 50 μl of supernatants or standards were added in duplicate for 1 h. Subsequently, plates were washed and detection antibodies added for 1 h. This was followed by washing and addition of Streptavidin-HRP (Dako, Agilent, Santa Clara, US) for 45 min. After the final washing step, SureBlue TMB substrate (Insight Biotechnology, London, UK) was added and the reaction was stopped by the addition of TMB stop solution (Insight Biotechnology, London, UK). Absorbance values were read at O.D. 450 nm. In order to quantify the cytokines of interest, samples were analysed 1:20, 1:4, neat or 1:4 for IFN-γ, IL-4, IL-17A and IL-10 respectively. Standard curves were included in all plates and were constructed using 7 serial dilutions of recombinant cytokines ranging from 6.25 to 400 pg/ml for IFN-γ (MABTECH AB); 31.25 to 2,000 pg/ml for IL-4 (MABTECH AB); 23.43 to 1,500 pg/ml for IL-17A (Kingfisher) and 0.206 to 13.2 BU/ml for IL-1068. Finally, and in order to account for the non-specific, natural cytokine release in all samples, we subtracted the concentration obtained from the control sample (stimulated with PBS rather than PWM) from the concentration from the PWM stimulated samples, and multiplied the result by the cytokine’s corresponding dilution factor.

Leukocyte quantification and flow cytometry analysis

To quantify the leukocytes present in each blood sample, following gentle mixing of heparinised blood, leukocytes were enumerated using a Nucleocounter NC-200 (ChemoMetec, Denmark). Briefly, 20 μl of heparinised blood were mixed with 180 μl of Solution 17 (ChemoMetec) and heated at 37 °C for 10 min. The sample was then mixed to obtain a homogenous suspension and loaded into a Via1-Cassette™ (ChemoMetec) prior to counting on a Nucleocounter NC-200 cell counter. Total leukocyte counts per ml blood were recorded for each blood sample and used for the calculation of total cell counts expressing each of the transcription factors investigated.

Multiple colour flow cytometric analysis was carried out as follows. An aliquot of 2 ml of blood was incubated with 10 ml of warm red blood cell (RBC) lysis buffer (1.5 M NH4Cl, 100 mM NaHCO3, 10 mM N2 EDTA in ddH2O) for 2 min or until lysis was complete. Following two washes with PBS, Zombie Violet™ Fixable dead cell stain (Biolegend, US) was added to all samples and incubated for 15 min at RT in the dark. Cells were then washed with PBS at 300×g for 5 min and stained with the cell surface antibody CD4 labelled to Alexa Fluor® 647 at pre-optimised concentrations for 20 min at RT in the dark (see Supplementary Table S1 for antibody details). Cells were then washed twice with FACS buffer (PBS + 5%FBS + 0.05%NaN3) and fixed with Fix/Perm buffer for 30 min at 4 °C (FoxP3 Staining Buffer Set buffer, Miltenyi Biotec, Bergisch Gladbach, Germany) according to manufacturer’s protocol. Following two washes with FACS buffer, cells were re-suspended in 1 ml of PBS and stored at 4 °C. Samples were then transferred to Moredun Research Institute (MRI) and analysed for the expression of Th-specific transcription factors within a month of sample collection. Following permeabilisation, monoclonal antibodies specific for the following Th-associated transcription factors Tbet (Th1), Gata3 (Th2), RORγt (Th17), and FoxP3 (Treg) alongside Isotype control antibody, all conjugated to phycoerythrin (PE), were added to samples and incubated for 30 min in the dark at 4 °C (see Supplementary Table S1 for antibody details). Following staining, cells were washed twice with Permeabilization buffer and analysed immediately. A minimum of 100,000 events were acquired using a Sony SA3800 Spectral Analyzer (Sony Biotechnology, Ltd) and analysed using FlowJo vX for Windows 7. The transcription factor antibodies used for tbet, Gata-3 and RORγt were previously validated using transfected CHO cell lines expressing rbo-tbet, rbo-GATA-3 and rov-RORγt, as well as bovine and ovine PBMC (unpublished data) following the methodology described by Wattegedera et al.69.

In order to calculate the percentage of CD4+ and T cells expressing each of the hallmark Th-associated transcription factors (Fig. 1), the following gating strategy was carried out. Following dead cell discrimination based on the staining of the viability dye (Supplementary Fig. S1A), and doublet discrimination performed by plotting the height against the area for forward scatter (FSC-H vs FSC-A; Supplementary Fig. S1B), a leukocyte gate was created which included all white blood cells present (peripheral blood mononuclear cells (PBMC), granulocytes and neutrophils; Supplementary Fig. S1C). PBMC were then gated based on the forward scatter (FSC-A) and side scatter (SSC-A) (Supplementary Fig. S1D) and a CD4 gate created based on the fluorescence minus one (FMO) controls (Supplementary Fig. S1E). Threshold levels which determined positivity of each of the transcription factors in CD4+ T cells were also set using FMO controls. Consequently, the data obtained represented the percentage of CD4+ T cells in PBMC (Supplementary Fig. S1F) and the percentage of CD4+ T cells expressing Tbet, Gata3, RORγt or FoxP3 (Supplementary Fig. S1G–J). These were then expressed as a percentage of the total leukocyte population, and total blood leukocyte count data collected in the field was used to calculate the total numbers of CD4+ cells expressing each transcription factor per ml of blood.

Faecal egg/oocyst counts

Faecal samples were collected rectally and faecal egg counts (FEC) for strongyle nematodes and faecal oocyst counts (FOC) for coccidia were conducted on 1 g samples using a modified salt-flotation technique70. These counts represent the most common parasites found in the Soay sheep in St Kilda, with strongyles comprising 6 gastrointestinal nematode species and coccidia comprising 11 Eimeria species34. Samples were stored anaerobically at 4 °C until processed in our laboratory at MRI, around 2 weeks post collection. Briefly, 2 g of faecal material was homogenised with 20 ml of tap water. A subsample of 10 ml was filtered through a sieve into a beaker and washed with 5 ml of fresh water. Following transferring of the filtrate to a 15 ml tube, samples were centrifuged at 200×g for 2 min. Supernatant was discarded, pellets resuspended into 10 ml of saturated NaCl solution and centrifuged at 200×g for 2 min. Subsequently, tubes were clamped below the meniscus using forceps and parasite eggs/oocysts present in the surface of the saturated NaCl solution were transferred into a cuvette, filled with NaCl solution and parasite eggs/oocysts counted under a microscope.

Statistical analysis

Out of 238 samples collected, 211 cytokine assays (IFN-γ, IL-4, IL-17A and IL-10) and 188 flow cytometry assays (total PBMCs, CD4+, CD4+Tbet+, CD4+Gata3+, CD4+ RORγt+ and CD4+FoxP3+ cells) were performed. Of the 188 flow cytometry-prepared samples, 2 were not prepared for cytokine assays, leaving 186 samples with all immune measures available. Faecal samples for parasite counts (FEC and FOC) were obtained for 229 sheep and in total 181 sheep had full immunological and parasitological data available (Supplementary Table S2). All analyses were conducted in R ver 3.6.371. First, we assessed the correlations among each of the 10 immune parameters. To ensure that any observed correlations were not due to common age- and sex-related variation among variables, we corrected for age and sex by fitting (Generalised) Linear Models (GLMs) for each variable with sex and age as an 11-level factor (ages 0–10) and their interaction. We assessed the best error distribution for each of the 10 parameters: we fitted linear models to IFN-γ, IL-10 and IL-17A; we fitted linear models to log-transformed IL-4; and fitted negative binomial generalised linear models (GLM) using the “MASS” package72 for the other variables (Supplementary Table S4). We used the residuals from these models in our correlation analysis to present age- and sex-corrected results. We estimated Spearman’s rank correlations among all immune measures, assessing statistical significance using the “cor.mtest” function in the R package “corrplot”73.

We also explored the dimensionality of the data using principal components analysis (PCA) with the function “prcomp” and used the “adonis” function in the package “vegan”74 to run a PERMANOVA analysis in order to test for variation between sexes and age categories across the immune variables. Age was fitted as a four-level categorical variable, with lambs (aged ~ 4 months), yearlings (aged ~ 16 months), adults (aged 2–6 years) and geriatrics (aged 7 +).

We next explored variation in each immunological variables in relation to sex and age (Supplementary Table S2). For cell phenotype traits (PBMC, CD4+, Tbet+, Gata3+, RORγt+ and FoxP3+ cells) we used a data set of 188 animals where information on all these traits, plus age and sex where available (Supplementary Table S2); for the cytokines, we used a data set of 208 animals (of the 211 animals with cytokine data, 3 were of unknown age; Supplementary Table S2). For each trait, we ran 14 different models with age categorised in different ways in order to best capture age- and sex-specific variation. Error structures were as given above, and as shown in Supplementary Table S4. As well as a null model (0) and a model with sex only (1), we ran models (2–5) with linear age, quadratic age, age as a two-level factor (lambs versus others) and age as a four level factor [lamb, yearling, adult (2–6 years), geriatric (> 6 years)], respectively. We also ran models 2–5 with the added effect of sex (models 6–9) and models 6–9 with the interaction between age and sex (models 10–13). Models for each trait were compared with Akaike Information Criterion (AIC) values, where the lowest value was considered to best fit the data, unless a simpler model had ΔAIC ≤ 2, in which case we selected the simpler model.

Finally, we tested for associations of each of the 10 immune parameters with FEC and FOC using negative binomial GLMs. We used the same data sets as for the analysis with regard to age and sex, minus five animals with missing parasitology data (Supplementary Table S2). We included sex, age as a two-level factor (lambs versus others), and their interaction in all models. We first fitted each of the 10 immune parameters in turn to models of FEC and FOC, and assessed their statistical significance using likelihood ratio tests (LRTs). Next, we fitted interactions between the immune parameters and our two-level age category to test for differences between lambs and adults in associations between immune responses and FEC/FOC. We next fitted all supported immune variables and their interactions into the same GLM in order to determine their independent associations with FEC/FOC. Finally, to determine whether correlations between FEC and FOC could be responsible for associations with immune measures, we tested whether including the other parasite burden measure affected the relationships with immune measures in our final models.