Introduction

Antiretroviral therapy (ART) has greatly decreased the burden of HIV/AIDS-related morbidity and mortality in sub-Saharan Africa1,2. According to UNAIDS estimates, of 20.7 million people living with HIV in Eastern and Central Africa by the end of 2020, 87% were aware of their HIV status, 83% had access to ART, and about 90% of those achieved viral suppression3. Whilst increased availability of testing services and WHO “treat all” guidelines have encouraged early ART initiation, one-third of people still start treatment with advanced HIV, as defined by a CD4 T-cell count <200 cells/mm3 or a WHO clinical stage 3 or 4 event4. Early mortality is high in this group, with 8–26% of those initiating ART with advanced HIV dying within the first three months of treatment5,6.

Early deaths are predominantly due to infections as a consequence of multiple underlying pathological derangements, including immune dysfunction; chronic inflammation; immune reconstitution inflammatory syndrome (IRIS), leading to unmasking of opportunistic co-infections; malnutrition; and HIV enteropathy, which enables translocation of gut lumen microbes to the systemic circulation7,8. Biomarkers of inflammation are independently associated with mortality in HIV infection, even after initiation of ART9,10. However, few studies have focused on advanced HIV in sub-Saharan Africa, where the complex interplay between HIV replication, co-infections, enteropathy and immune dysfunction may perturb inflammatory pathways more profoundly; furthermore, few studies have explored associations between inflammatory biomarkers and cause-specific mortality11.

We previously showed in the REALITY trial, conducted among adults, older children and adolescents initiating ART in sub-Saharan Africa with advanced HIV (CD4 < 100 cells/mm3), that an enhanced package of antimicrobial prophylaxis reduces mortality by 27% over the first 24 weeks on ART, by reducing tuberculosis, cryptococcosis, candidiasis and deaths from unknown causes12. However, we lack understanding of whether, and how, this antimicrobial package might also confer benefits by targeting underlying inflammation and enteropathy.

Here, we investigate the effects of baseline inflammation, immunoregulation and enteropathy on mortality in the REALITY trial, and investigate whether enhanced infection prophylaxis modulates these pathways. Our hypotheses were that i) biomarkers of inflammation, immunoregulation and enteropathy are independently associated with mortality; ii) specific baseline biomarker signatures distinguish different causes of death; and iii) enhanced antimicrobial prophylaxis alters biomarkers of inflammation and enteropathy.

Results

Biomarkers were measured in 599 participants with advanced HIV (CD4 < 100 cells/mm3) enroled in the REALITY trial, of whom 169 died by 24 weeks (median 6 (IQR 3–10) weeks to death), and 430 survived (case-cohort design; Supplementary Fig. 1). The baseline characteristics of participants and their biomarker concentrations prior to ART initiation are shown in Table 1. Those who died, compared to those who survived, were significantly older and more wasted, with a lower CD4 count and higher WHO disease stage; mortality also differed by centre. Sub-study participants randomised to enhanced prophylaxis (cotrimoxazole plus isoniazid/pyridoxine, azithromycin, albendazole, and fluconazole) versus standard-of-care (cotrimoxazole prophylaxis) had lower mortality (HR 0.55, 95% CI 0.37, 0.81), as previously reported for the whole trial12. Of the 169 sub-study participants who died by week 24, independently adjudicated causes of death (which could be multiple) were 61 tuberculosis, 14 cryptococcosis, 21 serious bacterial infections, 53 other causes, and 70 unknown causes (Supplementary Table 1).

Table 1 Baseline characteristics and comparison between those who died before 24 weeks vs remained alive at 48 weeks

Baseline inflammatory and immunoregulatory biomarkers are associated with early mortality

At ART initiation, participants who died compared to those who survived had significantly higher plasma C-reactive protein (CRP), soluble CD14 (sCD14), interferon gamma (IFN-γ), IL-18, IL-1RA, soluble suppression of tumorigenesis 2 (sST2), lipopolysaccharide binding protein (LBP) and RANTES, higher faecal myeloperoxidase (MPO), and lower plasma intestinal fatty acid binding protein (I-FABP) (Table 1). Correlations between biomarkers are shown in Supplementary Fig. 2. We used Cox regression models with backwards elimination (exit p = 0.1; exploratory analysis) to estimate the independent effect of each baseline biomarker on all-cause mortality, adjusting for baseline viraemia, CD4, WHO stage, age, body mass index, centre, and randomised prophylaxis. Higher CRP (adjusted HR 1.98 (95% CI 1.51–2.59) per log10 higher), IFN-γ (3.09, 1.55–6.16 per log10 higher), and interferon gamma-induced protein 10 (IP-10) (2.29, 1.39–3.75 per log10 higher) at baseline, independently increased all-cause mortality; higher IL-23 (0.50, 0.32–0.80 per log10 higher), and RANTES (0.32, 0.17–0.60 per log10 higher) independently decreased mortality (Table 2). There was weaker evidence that higher IL-6 (adjusted HR 2.84, 1.00–8.06 per log10 higher) and lower IL-2 (0.20, 0.06–0.67 per log10 higher) increased mortality (p < 0.05 but not meeting Benjamini–Hochberg threshold accounting for multiple testing). There was no evidence that the association between biomarker levels and mortality was modified by the enhanced prophylaxis intervention (interaction p > 0.12). Taken together, we observed a clear pattern of biomarker associations, where higher levels of inflammatory biomarkers were independently associated with increased mortality by 24 weeks, whilst higher levels of immunoregulatory cytokines and chemokines were associated with lower risk of mortality.

Table 2 Associations between baseline biomarkers and all-cause mortality (multivariable models)

Distinct baseline biomarkers are associated with cause-specific mortality in advanced HIV

We next evaluated associations between individual biomarkers at ART initiation and cause-specific mortality, hypothesising that the associated inflammatory and immunoregulatory markers may differ by cause of death, and noting that with smaller number of events (deaths from specific causes) power is lower (Fig. 1). Higher CRP (sub-hazard ratio 2.01, 95% CI 1.20–3.39 per log10 higher) and sST2 (1.59, 1.09–2.31 per log2 higher) were associated with TB-associated deaths (occurring median 4 (IQR 2–9) weeks after ART initiation), whereas higher IL-4 (SHR 8.28, 1.90–36.06 per log10 higher) and lower IL-8 (0.23, 0.06–0.95 per log10 higher) were associated with cryptococcosis-associated deaths (occurring median 6 (IQR 3–9) weeks post-ART initiation). Deaths from serious bacterial infections (SBI) (median 2 (IQR 2–7) weeks post-ART initiation) were associated with higher CRP (2.20, 1.10–4.37 per log10 higher) and lower sCD163 (0.79, 0.63–0.98 per log2 higher). Higher IFN-γ (5.90, 1.97–17.66 per log10 higher) and sCD14 (1.98, 1.17–3.34 per log2 higher) and lower IL-9 (0.29, 0.16–0.52 per log10 higher) were associated with increased risk of death from ‘other’ causes (median 6 (IQR 3–10) weeks post-ART initiation); and higher IL-18 (4.51, 1.57–12.97 per log10 higher) and sCD14 (1.81, 1.22–2.70 per log2 higher) and lower TNFα (0.32, 0.12–0.90 per log10 higher), I-FABP (0.76, 0.61–0.95 per log2 higher) and RANTES (0.42, 0.20–0.86 per log10 higher) with deaths from unknown cause (median 6 (IQR 3–11) weeks post-ART initiation).

Fig. 1: Effects of baseline biomarkers on 24 week all-cause and cause-specific mortality in adults and adolescents with CD4 < 100 cells/mm3 initiating antiretroviral therapy in sub-Saharan Africa.
figure 1

Plots show associations between baseline biomarker concentrations (A, top panel) and model covariates (B, bottom panel) and all-cause mortality or cause-specific mortality. The model for all-cause mortality shows hazard ratios from a Cox model, while the model for cause-specific mortality shows sub-hazard ratios from Fine and Gray models, with associated two-sided p-values. The error bars show 95% confidence intervals, the centre is the point estimate of the hazard or sub-hazard ratio. ‡ 35 biomarkers considered for each cause-specific model (excluding stool biomarkers and those where >40% of values were outside limit of detection) using backwards elimination (exit p = 0.1, see Methods): naïve Bonferroni significance threshold = 0.05/35 = 0.0014; symbol indicates tests passing an ordered Benjamini–Hochberg (BH) threshold. All cause model N = 582, TB N = 591, cryptococcosis N = 582, severe bacterial infection N = 591, other N = 582, unknown N = 582. Exact p-values: RANTES all-cause 0.0004, CRP all-cause 0.0000007, IL9 other 0.00003. Source data are provided as a Source Data file.

Having identified these individual biomarkers most strongly associated with specific causes of death, which overlapped to a large degree with the baseline biomarkers most strongly associated with all-cause mortality, we next considered whether there were other biomarker combinations that would be similarly associated with mortality (Supplementary Table 2). Best subsets regression showed that the models selected using backwards elimination for deaths from TB, cryptococcosis and severe bacterial infection had the best fit (lowest Akaike Information Criterion, AIC) of all models with the same number of independent variables. For all-cause mortality and deaths from ‘other’ causes, the best fitting model was the same as that selected by backwards elimination except with IL-18 substituted for IFN-γ, these being strongly correlated (Spearman rho=0.97, Supplementary Fig. 2). For all-cause mortality the difference in fit was small (ΔAIC = 1.7) while for deaths from other causes the difference was modest (ΔAIC = 3.4) suggesting these selected models are well supported13. The best model for deaths from unknown causes included IL-7 and IL-8 substituted for TNFα and IL-18, and had a larger AIC difference of 5.3, suggesting somewhat less support for the selected model.

Clustering by baseline biomarker values identifies four distinct sub-groups

A principal components analysis including all 41 non-stool biomarkers identified 8 principal components (PCs) that together explained 78% of the variation (Supplementary Fig. 3). The cluster analysis using these components found four clusters, with 38 biomarkers showing very strong evidence of variation across the clusters (p < 0.001, 16 shown in Fig. 2). Group 1 (n = 264) had relatively low levels of RANTES, IP-10, stromal cell-derived factor 1 (SDF1a), and growth-regulated alpha protein (GROA). Group 2 (n = 77) was characterised by high levels of IL-2, IL-6, granulocyte-macrophage colony-stimulating factor (GM-CSF), and IFN-γ. Group 3 (n = 41) was characterised by high RANTES, IP-10, SDF1a, and eotaxin; all participants in this group were from centres in one country. Group 4 (n = 203) generally had low concentrations of inflammatory markers, including CRP, IL-6, TNFα, and IL-8. The baseline characteristics of these four groups are shown in Fig. 3. Groups 2 and 3 had significantly lower BMI than the other groups, while other markers of baseline disease severity were similar between groups. Mortality was lower in group 4 (19%) compared to groups 1, 2 and 3 (32%, 32% and 37%, respectively; P = 0.007). Causes of death were broadly similar across all 4 groups. Taken together, our clustering approach identified four broad patterns of biomarkers, but only one associated with lower mortality, which was characterised by having the lowest concentrations of inflammatory biomarkers.

Fig. 2: Distribution of key baseline biomarkers in 4 sub-groups identified through hierarchical clustering of principal components of 23 baseline biomarkers.
figure 2

Hierarchical clustering was undertaken following a principal components analysis, which included all biomarkers, CD4 and viral load, with variables standardised before analysis. The top principal components were used in the hierarchical cluster analysis using Ward’s linkage, with the number of clusters determined by the Calinski-Harabasz stopping rule. Box plots show the biomarker distributions within the four clusters identified. The boxes show the 25th and 75th percentiles, and the central line marks the median value. The whiskers extend to the most extreme value no further than 1.5*IQR from the 25th/75th percentile. Each individual value is plotted as a dot. Values above the limit of detection were set at that limit; for example, all RANTES values in group 3 were at the limit of detection. N = 585. P-values from Kruskal–Wallis tests. All values presented are below Benjamini–Hochberg (BH) threshold. Source data are provided as a Source Data file.

Fig. 3: Baseline viral load, CD4, age, BMI, stage and mortality in 4 sub-groups identified through hierarchical clustering.
figure 3

Among participants in the 4 sub-groups identified through hierarchical clustering of principal components derived from 23 baseline biomarkers, the baseline viral load, CD4 count, age, BMI, WHO disease stage and mortality are shown. Box plots for viral load, CD4 count, age and BMI show the distributions within the four clusters identified. The boxes show the 25th and 75th percentiles, and the central line marks the median value. The whiskers extend to the most extreme value no further than 1.5*IQR from the 25th/75th percentile. Individual data points are plotted as a dot. Bar charts for stage at enrolment and mortality (binary variables) show the means with error bars representing 95% confidence intervals. N = 579 for BMI, N = 585 for other variables. P-values from Kruskal–Wallis tests except stage and mortality which are chi-squared tests with no adjustment for multiple testing. BMI exact p-value = 0.0004. Source data are provided as a Source Data file.

Enhanced antimicrobial prophylaxis modulates enteropathy in advanced HIV

We finally evaluated the effect of enhanced prophylaxis on early changes in biomarkers from ART initiation to 4 weeks later (Table 3), hypothesising that reduction in infections, together with the immunomodulatory properties of azithromycin, would reduce inflammation and enteropathy, noting that power is lower to detect heterogeneity between enhanced and standard prophylaxis in changes from baseline. The strongest evidence was for enhanced prophylaxis being associated with larger effects than cotrimoxazole alone on the change in plasma I-FABP (interaction p = 0.002), faecal MPO (p = 0.005) and faecal alpha-1 antitrypsin (A1AT; p = 0.01) (none meeting Benjamini–Hochberg threshold accounting for multiple testing). I-FABP increased in both groups between week 0 and 4, but the increase was greater with enhanced prophylaxis (+0.8 log2 increase; 95% CI (0.7, 0.9) versus +0.5 (0.3, 0.7) with cotrimoxazole alone; difference 0.3 log2 (0.1, 0.5); interaction p = 0.002). Those receiving enhanced prophylaxis showed a greater reduction in faecal MPO (−1.5 log2 (−2.0, −1.0)) versus cotrimoxazole alone (−0.7 log2 (−1.1, −0.2); difference −0.8 (−1.4, −0.3); interaction p = 0.005). A1AT showed little change to week 4 (+0.0 log2 (−0.2, 0.3)) with cotrimoxazole alone, but reduced with enhanced prophylaxis (−0.4 (−0.6, −0.1); difference −0.4 log2 (−0.7, −0.1); interaction p = 0.01). Taken together, these data suggest that enhanced prophylaxis had no effect on systemic inflammatory or immunoregulatory biomarkers but did modulate HIV enteropathy during the first few weeks after ART initiation.

Table 3 Biomarkers over the first 4 weeks on ART by randomised enhanced prophylaxis vs cotrimoxazole only

Discussion

Changes in the expression of immune cell-derived soluble factors are associated with disease progression and outcomes in HIV infection14. In the current study, we examined a range of inflammatory, immunoregulatory and enteropathy markers, to explore associations with mortality in participants initiating ART with advanced HIV in three African countries. Our study has four major findings. First, pro-inflammatory and immunoregulatory markers prior to ART initiation were associated with mortality, independently of clinical and immunological disease stage. Second, we found disease-specific baseline patterns of biomarkers associated with mortality from different underlying causes, with distinct signatures suggesting different mechanisms underpinning mortality. Third, by clustering participants based on baseline biomarkers, we could identify four groups with distinct distributions of biomarkers and differential clinical outcomes. Finally, an enhanced prophylaxis package (containing antibacterial, anthelminthic, antifungal and antimycobacterial agents) reduced markers of enteropathy in the first few weeks of ART but not systemic inflammation. Collectively, our findings highlight the importance of the immune and inflammatory milieu in determining outcomes following ART initiation, and the potential for adjunctive antimicrobials to modulate the gut environment in advanced HIV.

In this study, increases in classical inflammatory markers such as C-reactive protein (CRP) and interleukin 6 (IL-6) were associated with all-cause mortality, consistent with the existing literature15,16. We also found that other inflammatory biomarkers, which have been studied less frequently in previous cohorts, were independently associated with mortality. Higher levels of interferon gamma-inducible protein 10 (IP-10), an inflammatory chemokine previously associated with severity of respiratory infections17 and HIV disease progression18,19, was associated with all-cause mortality in this cohort. Interferon gamma (IFN-γ), a pro-inflammatory cytokine essential for antiviral defence, was also strongly associated with all-cause mortality. IFN-γ has previously been shown to be elevated in HIV infection20 and has been associated with mortality in other viral diseases such as COVID-1921, but has not, to our knowledge, previously been shown to be associated with mortality in HIV infection.

Homoeostatic and adaptive immune markers were associated with reduced mortality in this study. In particular, higher levels of IL-2, a pleiotropic cytokine which plays a key role in T-cell homoeostasis and survival, was associated with reduced all-cause mortality. IL-2 is a strong inducer of CD4+ T-cells; the SILCAAT and ESPRIT trials previously showed that adjunctive recombinant IL-2 treatment can effectively increase CD4 counts in people living with HIV, but these gains did not translate into reductions in opportunistic infections or deaths in those trials, primarily because higher CD4 counts were due to existing cells living longer rather than being generated de novo22. RANTES (also known as CCL5), shown in this study to be associated with reduced all-cause mortality and deaths from unknown causes, is critical for effective antiviral CD8 T-cell function during chronic viral infections23. Finally, IL-23, a proinflammatory cytokine in the IL-12 family, was associated with reduced all-cause mortality. IL-23 confers protection against fungal and bacterial infections, although the specific role of IL-23 in HIV pathogenesis and progression needs to be further examined.

Additionally, we found no statistically significant association between several biomarkers and all-cause mortality, although they were associated with disease-specific causes of death or with unknown/other causes. Interestingly, increases in the Th2 cytokine IL-4 were strongly associated with deaths from cryptococcal disease. Cryptococcal clearance has previously been associated with increased concentrations of Th1 cytokines (IL-12, TNFα) and decreased Th2 cytokines (IL-4, IL-5, IL-12)24. Conversely, IL-8/CXCL8, a chemokine involved in neutrophil chemotaxis, was associated with reduced cryptococcal deaths, consistent with the role of neutrophils in antifungal defences. Higher soluble serum suppression of tumorigenicity 2 (sST2), a receptor of IL-33 in the IL-1 family, was positively associated with TB and with deaths from other causes. The IL-33/ST2 axis is emerging as a key player in induction of innate and adaptive immune responses, especially at epithelial barriers, and in tissue remodelling25. sST2 has been previously shown to be associated with all-cause mortality in adults living with HIV26, and is positively correlated with CD8 counts, activation and exhaustion in early HIV infection27. To our knowledge this is the first study to show specific associations with TB deaths, but there is an emerging interest in the role of the IL-33/ST2 axis in protection against TB28. Despite review by an endpoint committee, a substantial fraction of deaths did not have a cause identified (unknown causes) in this cohort of complex, sick patients with advanced HIV, many dying suddenly at home. IL-18, a proinflammatory cytokine in the IL-1 family, associated with deaths from unknown causes in this study, has previously been associated with cardiovascular deaths29,30,31. TNFα, a proinflammatory cytokine with broad roles in host defence against viral, bacterial and parasitic infections32, was also associated with a protective effect against deaths from unknown causes in this study. High sCD14, a soluble receptor released primarily by activated monocytes and macrophages which binds LPS, was associated with deaths from a range of other causes. sCD14 has previously been shown to be independently associated with all-cause mortality in advanced HIV and was strongly correlated with other inflammatory markers in this study, such as IL-6, CRP and D-dimer33. By contrast, monocyte activation, indicated by elevated sCD163, a soluble form of the monocyte- and macrophage-specific scavenger receptor, was associated with protection from deaths due to severe bacterial infections in this study. Monocytes have a central role in microbial detection through pattern recognition receptors, and in antibacterial defence via reactive oxygen intermediates and phagolysosome enzymes34,35. Previously, sCD163 has been shown to be associated with all-cause mortality in ART-naïve HIV-infected individuals36, in contrast to the current study. These discrepancies may highlight the fine balance that exists in the setting of HIV infection between protective anti-inflammatory responses to co-infections, and disease progression due to exuberant inflammation.

Advanced HIV leads to alteration in gut structure and function, due to loss of CD4 (particularly Th17) cells in the lamina propria37, alterations in the microbiome38, and damage to the protective intestinal barrier which usually maintains gut integrity39. We did not find any independent associations between the baseline severity of enteropathy (as measured by I-FABP, faecal myeloperoxidase, and alpha-1 antitrypsin) and mortality, similar to some40 (but not all33) previous studies. However, the randomised antimicrobial bundle (enhanced prophylaxis) led to greater changes in these biomarkers over the first 4 weeks on ART, compared to standard-of-care cotrimoxazole alone. It is plausible that azithromycin and albendazole reduced the burden of enteropathogens (including parasitic worms), which may drive enteropathy. Furthermore, azithromycin has well-recognised immunomodulatory effects41, and has previously been shown to reduce intestinal inflammation in Indian infants42. A combination of antimicrobial and anti-inflammatory activity could have led to the modulation of enteropathy soon after ART initiation, whereas enhanced prophylaxis did not have any effects on systemic inflammatory markers.

Our study had strengths and limitations. We leveraged a large cohort of participants with advanced HIV including both adolescents and adults together in the same study, thereby increasing its generalisability. We used rich data on causes of death, which were independently adjudicated by blinded reviewers, allowing us to specifically investigate cause-specific biomarker signatures; however, the pragmatic nature of the trial meant that causes of death could not be identified in a substantial minority. We were able to use baseline samples from all participants who died, providing us with sufficient power to identify important associations with biomarkers at ART initiation. We measured a wide range of plasma and faecal markers, which led to identification of novel associations. We used data reduction techniques to handle multiple analytes and to identify clustering of biomarkers, and we validated our selected markers using best subsets regression. However, our choice of multiple markers may have increased the risk of type 1 error. We did not adjust p-values directly for multiple comparisons, as this study consisted of post-hoc exploratory analyses. Rather we interpreted findings in the context of the number of tests performed, and focussed on assessing consistency across the different analyses. Standard methods for adjustment are conservative when comparisons are not independent, as is the case here since many of the biomarkers are correlated.

In summary, several soluble inflammatory, homoeostatic and adaptive immune markers at ART initiation are associated with mortality following ART initiation, with distinct biomarker patterns depending on cause of death. Further studies exploring the pathways indicated by markers associated with specific causes of death may help to identify the root drivers or mechanisms and offer insights into possible cause-specific interventions. However, enhanced antimicrobial prophylaxis modulates enteropathy in this cohort of participants with advanced HIV infection, as well as independently reducing all-cause mortality. Whether the changes in enteropathy biomarkers directly contribute to clinical benefits, such as through improved nutrient and drug absorption, also warrants further study.

Methods

REALITY trial

The Reduction of Early mortality (REALITY) trial (ISRCTN43622374) was undertaken between 2013 and 2016 in Kenya, Malawi, Uganda and Zimbabwe and recruited ART-naïve HIV-infected adults and children who were 5 years or older with a CD4 count <100 cells per mm3. Participants of any sex or gender were eligible to enrol. Participants were randomised at ART initiation to three interventions in a 2 × 2 × 2 factorial design: enhanced antimicrobial prophylaxis, adjunctive raltegravir therapy, and ready-to-use supplementary food12,43,44. The bundle of enhanced infection prophylaxis comprised continuous cotrimoxazole plus at least 12 weeks of isoniazid/pyridoxine as a single fixed-dose combination tablet, 12 weeks of fluconazole, 5 days of azithromycin, and single-dose albendazole. Patients in the standard-of-care arm received cotrimoxazole alone. The intervention bundle conferred a 27% relative reduction in mortality by 24 weeks (primary trial outcome), and 24% mortality reduction by 48 weeks, as previously reported12. All deaths were reviewed by an endpoint review committee with independent chair, to adjudicate cause of death, during the trial (i.e. without knowledge of levels of biomarkers generated subsequently on stored samples).

REALITY sample collection and storage

Blood was drawn into EDTA tubes and processed within 2 h at the screening and baseline visits, then at weeks 4, 12, 24, 36 and 48 post-randomisation. Plasma was separated from cells by centrifugation. The buffy coat cell layer was collected and treated with FACS Lysing Solution (BD Biosciences, San Jose, CA) to lyse red blood cells and fix leucocytes prior to freezing in a mixture of DMSO, fetal calf serum and phosphate-buffered saline, as previously described45. Stool was collected by participants into a plain container prior to scheduled clinic visits (in Harare and Kilifi only) at baseline, 4, 12 and 48 weeks, and transferred using a spatula into a plain storage vial. All samples were stored at −80 °C.

Immunology substudy

This study used a case-cohort design in the study centres in Kenya, Uganda and Zimbabwe (ethical approval could not be obtained for the substudy in Malawi as the trial had closed). Random sampling stratified by site (see below) was first done across a combined group comprising all deaths occurring by 24 weeks (the vast majority of deaths through 48 weeks (trial duration), 169/201 (84%)) and those who remained in follow-up (i.e., alive) until 48 weeks with complete sets of samples to week 24 and data on baseline CD8+ T-cell counts (the vast majority of those not known to have died, 1060/1316 (81%)) (Supplementary Fig. 1). The case-cohort design first randomly sampled 45% of participants from sites storing stool, buffy coat cells, plasma and baseline cell pellet (90% from one of these two sites because of missing baseline CD8+ due to reagent unavailability), 45% from sites storing buffy coat cells and plasma/cell pellets (but not stool), and 10% from one single site storing plasma/cell pellets only. Sampling was also stratified by CD4 count (0–24, 25–49, 50–99 cells/mm3; approximate terciles). Any deaths by 24 weeks not selected by the random sampling were added to the sample so that the final sample (total N = 599) included all 169 deaths occurring by 24 weeks. The study focused on early changes in each pathway (from baseline to 4 weeks) since the enhanced prophylaxis bundle was only given for the first 12 weeks and most deaths occurred early (prior to 24 weeks)7. All available baseline and 4 weeks post-ART initiation samples were therefore retrieved and assayed by laboratory scientists who were blinded to trial arm and clinical outcomes. Since this is an exploratory analysis, which is a sub-study of a randomised trial, we did not pre-specify an analysis stratified by sex or gender.

Enteropathy biomarkers

Intestinal fatty acid binding protein (I-FABP) is a marker of small intestinal enterocyte damage. Plasma concentrations were measured by ELISA according to the kit manufacturer’s instructions (Human FABP2/I-FABP Quantikine ELISA; R&D Systems Inc, Minneapolis, MN, USA). A Quantikine Immunoassay FABP2/I-FABP control set (R&D Systems Inc) was used for assay quality control. Stool samples were tested by ELISA for neopterin (limit of detection (LOD) 0.7 nmol/L; GenWay Biotech Inc, San Diego, CA, USA), myeloperoxidase (LOD 1.6 ng/mL; Immundianostik, Bensheim, Germany), and alpha-1 anti-trypsin (A1AT; LOD 1.5 ng/mL; BioVendor, Brno, Czech Republic). Biomarker concentrations were determined against a standard curve; samples above the upper LOD were re-run at lower dilutions.

Inflammatory and immunoregulatory biomarkers

A preconfigured ProcartaPlex 34-plex Human cytokine & chemokine panel (ThermoFisher Scientific/Life Technologies Ltd) was used to assess the concentrations of secreted proteins in plasma (Eotaxin/CCL11; GM-CSF; GROA/CXCL1; IFNα; IFN-γ; IL-1β; IL-1α; IL-1RA; IL-2; IL-4; IL-5; IL-6; IL-7; IL-8/CXCL8; IL-9; IL-10; IL-12p70; IL-13; IL-15; IL-17A; IL-18; IL-21; IL-22; IL-23; IL-27; IL-31; IP-10/CXCL10; MCP-1/CCL2; MIP-1α/CCL3; MIP-1β /CCL4; RANTES/CCL5; SDF1α/CXCL12; TNFα; TNFβ/LTA). Two customised 3-plex Luminex assays (R&D Systems Inc, Minneapolis, MN, USA) were used for detection of plasma C-reactive protein (CRP), lipopolysaccharide binding protein (LBP), soluble CD14 (Panel 1), D-dimer, soluble CD163 and soluble ST2 (Panel 2) based on the recommended dilution of the analytes in plasma. All multiplex assays were run in singlicate on a Luminex MagPix machine with xPonent 4.2 software. Biomarker concentrations were determined against the respective standard curves and samples above the upper limit of detection were re-run at lower dilutions.

Sample size

The target sample size for plasma baseline biomarkers was 602 patients (actual 599 due to natural variability in the random sampling). This provided 80% power to detect a hazard ratio for mortality associated with each biomarker quartile of 0.78, adjusting for the case-cohort design46.

Statistical analysis

Statistical analyses were conducted in Stata 16.1, and Figs. 2 and 3 created in R version 4.2.2. Stata analysis code is available in Supplementary Data 1, and data used to produce all figures are available in Supplementary Data 2. Biomarker values were truncated at the 1st and 95th percentile, since most data were right-skewed with high outliers. Values above or below the limits of detection (LOD) were set to the LOD. Associations between baseline values and all-cause mortality at 24 weeks were analysed using a Cox model. Thirty-five biomarkers were included as candidate covariates, and backwards elimination with exit p = 0.1 was used for variable selection. Biomarkers selected in the model were tested for interactions with the randomisation to enhanced prophylaxis. Similarly, cause-specific mortality was analysed for five causes (TB, cryptococcosis, severe bacterial infection (SBI), other and unknown; deaths could be from multiple causes) using Fine & Gray models47, with death for another cause treated as a competing risk.

All models were adjusted for prophylaxis randomisation, viral load, CD4, WHO stage, age and BMI at enrolment, and centre; and weighted according to inverse probability of selection into the substudy. Deaths were weighted as 1, and non-deaths were weighted (by centre) to reflect the inverse probability of selection from all REALITY patients at each centre ≥13 years of age and alive at week 48 (regardless of immunology substudy membership and available samples) in order to represent this population. All biomarkers were modelled as continuous variables on the log10 scale for comparability across biomarkers; there was no evidence of non-linearity (assessed using fractional polynomials). For each specific cause of death, and for all-cause mortality, best subsets regression was used to compare the model selected through backwards elimination to other candidate models. All possible models with the same number of covariates as the model selected through backwards elimination were fitted to the data and compared using AIC.

To identify whether there were underlying subgroups (or “phenotypes”) of participants based on baseline biomarker combinations, principal components analysis was run on all biomarkers, CD4 and viral load, with variables standardised before analysis. The number of principal components was chosen by examining the scree plot with an aim of explaining around 80% of the variation (Supplementary Fig. 3). The top principal components were used in a hierarchical cluster analysis using Ward’s linkage, with the number of clusters determined by the Calinski-Harabasz stopping rule. Box plots were used to describe biomarker distributions within the clusters.

Mean values of biomarkers (transformed log10, except I-FABP, sST2, D-dimer, sCD14, sCD163, LBP, A1AT, myeloperoxidase and neopterin, which used log2 transformation) at baseline and week 4 were estimated using mixed models for interval data (the meintreg command in Stata) to account for truncation of values at the LOD. Time, centre, and baseline CD4 were included as fixed effects, and participant as a random effect with unstructured covariance. Models were weighted according to inverse probability of selection into the substudy. The effect of the prophylaxis randomisation on the change in biomarker levels was investigated by including the interaction between the randomisation and time at week 4.

Ethics and inclusion statement

Researchers from Zimbabwe, Uganda, Kenya and Malawi were involved in the design, implementation, and interpretation of the REALITY trial and were authors on all manuscripts arising from the trial. The trial steering committee included researchers and independent members from each country. Adult participants provided written informed consent, and parents/guardians provided written informed consent for participants below the age of 18 years to enrol in the trial, which included storage of biological specimens for subsequent analysis. Older children additionally provided assent, according to national guidelines. The trial and the laboratory work in this study were approved by ethics committees in Kenya (Moi University Institutional Research and Ethics Committee and the Kenya Medical Research Institute Ethics Review Committee), Uganda (Joint Clinical Research Centre Institutional Review Board and the Uganda National Council for Science and Technology), Zimbabwe (Joint Parirenyatwa Hospital and College of Health Sciences Research Ethics Committee and the Medical Research Council of Zimbabwe), and the UK (University College London Ethics Committee).

Reporting summary

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