A within-host infection model to explore tolerance and resistance
Figures

Example of experimental within-host bacterial dynamic using Drosophila.
Adapted from Duneau et al., 2017a. Each point represents the bacterial load estimated from a single killed male fly (Drosophila melanogaster) injected with a suspension of the bacterium Providencia rettgeri containing ca. 2000 bacterial cells. Twenty hours after injection, some flies maintain a moderate load and will live on for several days, while others have reached high loads and will die rapidly.

A model of Within Host Dynamics (WHD).
(A) A description of the model. Large arrows indicate fluxes which make pathogen load (), level of defense (), and damage () vary over time. Dashed arrows indicate how each variable influences, negatively (flat arrowhead) or positively, these fluxes. Tables list parameters and their default values, separating those which determine the production or efficacy of defense (resistance parameters) from those which determine the production and the repair of damage (tolerance parameters). (B). The activation of defense as described by the functional response gives the level of defense production that is reached in the absence of negative regulation. It increases with pathogen load , (the horizontal gray line) being the maximum constitutive defense production, reached when the host is not infected. controls how fast defense expression increases with load (dashed curve: instead of 12 for the plain curve). Increasing , (dotted curve: instead of 0.5) makes increase slower when the pathogen load is low. (C) The negative regulation of defense production as described by the functional response . Down-regulation of defense production increases with both defense () and damage () levels. Note, however, that or would make independent of damage level.

Illustrative cases of infection dynamics.
Each column corresponds to one of the three variables of the model (, pathogen load; , defense; , damage). In all cases, the initial pathogen load () is 10−6 and, unless otherwise specified, and are set at their homeostatic state and (indicated by horizontal dashed line). Red letters in circles indicate the outcome of the infection: C, clearance; L, low pathogen load; H, high pathogen load. Dots correspond to results of stochastic simulations where the initial pathogen load is randomly drawn from a log-normal distribution with an average in set to and variance 0.15, and then the deterministic equations of the model are solved numerically. (A-C) illustrate cases where the immune defense eventually controls the infection, either by clearing pathogens (gray curves, ) or by making it chronic (green curves, ). With , the constitutive expression of defense is strong and hence the level of defense before infection () is very high. This level slightly increases upon infection (which leads to a corresponding increase in damage, as defense induce damage when ) and returns to the homeostatic state once pathogens have been cleared. With (green curve), the initial level of defense is much lower and the infection stabilizes at the Set Point Pathogen Load (SPPL, see Figure 1). Defense and damage both peak following infection and, because pathogen are not cleared, they eventually stabilize at a level above the homeostatic state. (D-F) illustrates cases where the immune response does not suffice to control the infection (green curves, , red curves, ). In both cases, the peak in defense production induced by infection is not sufficient to stop pathogen proliferation. This, combined to the side effects of defense, provokes a sharp increase in damage. The accumulation of damage hinders defense production (because and ) which in turn makes the level of defense rapidly decrease. The infection is then out of control and eventually kills the host, when the accumulated damage exceeds the level the host can sustain (). Note that the two hosts die at very similar Pathogen Load Upon Death (PLUD, see Figure 1) although at very different times. Note also that bacteria continue proliferating after host death, so that the PLUD is below the carrying capacity at the time of death (which is fixed to one) and likely much below the load that could be reached in a cadaver. When (green curve), the immune response is strong enough to curb pathogen proliferation. This maintains the population of pathogens at a SPPL, which differs from that of the green curve in figures A-C because it is transient. These two green curves have been obtained with identical parameters; they only differ in the initial level of damage (which,in D-F, is increased by 0.3% of ). Their differences, therefore, demonstrate that the model can be bistable: with fixed parameters, the outcome of an infection might depend on initial conditions. These simulations can be reproduced using a dedicated R Shiny web application (Chang et al., 2021), where parameter values can be changed to explore their impact on the dynamics (see https://plafont.shinyapps.io/WHD_app/, DOI: 10.5281/zenodo.13309653).

Constitutive and inducible defense production determine bistability and infection outcome.
(A) The types of stable equilibria when maximum rate of constitutive defense production (γ) and defense activation rate (α) vary. Parameters are as in Figure 2 and both α and γ are varied. The vertical dashed line indicates the value of above which clearance is stable. Red labels indicate which equilibria are stable: H, high load equilibrium, L, low load equilibrium and C, clearance (the distinction between H and L equilibrium is exemplified in figures B and C). The two oblique solid lines delimit a parameter region for which the system is bistable (H/L or H/C). The color indicates which equilibrium the infection actually reaches when the initial load is and when and are set to the homeostatic state. (B) The equilibrium load as a function of α when parameters are as in A but γ is fixed to 2 (which corresponds to the vertical dotted line in A). Solid lines indicate stable equilibria while dashed lines are unstable ones. The distinction between high load and low-load equilibria is appropriate here because equilibria with intermediate loads are not stable. (C) The equilibrium load as a function of γ with parameters as in A except α fixed to 10 (which corresponds to the horizontal dotted line in A). In the bistable region, the high load equilibrium is always possible; the second possible equilibrium is either low load, when γ is below , or clearance otherwise. (D) Parameters as in A except , which reduces the negative impact of damage on defense production. (E) Parameters as in A except , which lowers defense production at low pathogen load.

Lethal Time, Set-Point Pathogen Load (SPPL), and Pathogen Load Upon Death (PLUD) are three measurable quantities which reflect both resistance and tolerance.
The three quantities are represented here as functions of the inoculated dose. The black curves have been computed with parameters as in Figure 2, while the red curves correspond to a decrease in resistance (5% decrease in defense efficiency ) and the blue to a decrease in tolerance (5% decrease in damage repair efficiency ). For each parameter set, was set at its homeostatic state and was either at the homeostatic state or increased by 1% of (indicated by boxes in the figures). (A) The Lethal Time (LT) decreases with inoculated dose and with . Decrease in resistance or in tolerance both reduces the time it takes for the pathogen to kill the host. Note that a decrease in tolerance (blue curves compared to black curves) only shifts the relationship between LT and dose, without altering its slope. (B) The stable SPPL (dashed lines) is by definition independent from initial conditions. The transient SPPL (solid lines) conversely increases with both and . Decreased resistance and decreased tolerance both increase the SPPL. Variations in transient SPPL mirror that of LT, which indicates that the SPPL is a good predictor of the host lifespan. (C) The PLUD is almost independent from the initial dose and slightly increases with . It increases with lowered resistance (low , red curves) but decreases when tolerance is lowered (low , blue curves).

Effect of parameter variations on Pathogen Load Upon Death (PLUD) and hazard ratio (HR).
In (A and B), parameters are initially fixed as in Figure 2 except for , as in red curve if Figure 3. Parameters are then varied one at a time, from –5 to +5%. For each modified parameter value, the PLUD was computed and 100 survival simulations were run with randomly drawn from a log-normal distribution with average 10−6 and variance 0.5. A Cox proportional hazard model was then fitted on simulated data so that log Hazard Ratio (log HR) could be related to parameter variation. The horizontal dashed lines would correspond to parameters which have no influence on PLUD; the vertical dashed line would correspond to those which do not impact HR. (A) The effect of tolerance parameters (defined as in Figure 2A). Arrows indicate that, as expected, any increase in the damage induced by the pathogen () decrease the PLUD, while increasing damage repair () or tolerance to damage () has the opposite effects. For the parameter set we have used here, increasing has almost no effect on PLUD and only slightly increases HR. (B) The effects of resistance parameter (defined as in Figure 2A). Variation in any of these parameters produces a positive correlation between PLUD and HR. (C) The variation in PLUD and HR when all parameters are all randomly drawn from independent Gaussian laws. The red cross corresponds to a strain with parameters as in Figure 2 and each dot is a ‘mutant strain’ which parameters have 95% chances to deviate by less than 0.5% from that of the ‘wild-type strain.’ Open circles are mutants which either log PLUD ratio or log HR ratio do not significantly deviate from zero (see text for details). We sorted mutants in four groups, according to whether their PLUD and HR has significantly increased or decreased compared to the wild strain. The distributions of traits are indicated for each group on colored circles, with segments spanning 75% of the deviation range and the central dot corresponding to the median deviation. Segments in red indicate that 75% of the mutants have either lower trait values than the wild-type strain (when the segment is inside the circle) or higher trait values (when outside).

Hazard ratio (HR) and Pathogen Load Upon Death (PLUD) estimations on D. melanogaster infected with Providencia rettgeri with or without thorax wound prior to injection.
We performed the experiment on four genotypes sampled from the Drosophila Genetic Reference Panel (lines RAL-818, RAL-630, RAL-584 and RAL-559, which have no known difference in immunity effectors). (A) Proportion of surviving flies as a function of hours post injection. Numbers in legend indicate sample sizes for no wound/wound treatments, respectively. In all lines, the wound significantly and sharply reduces survival. (B) PLUD for each D. melanogaster line. Each point represents an individual fly and the bars represent the means. Crosses are PLUD estimates which have been categorized as outliers by a Rosner test. (C) Log PLUD ratio as a function of log Hazard Ratio. For each line, we computed the log-ratio of PLUD in wounded flies to that in non-wounded (with outliers excluded). The value of zero, therefore, corresponds to a non-wounded reference, as for log-HR. Bars represents the 95% CI obtained by bootstrap. The wound consistently increases both the HR and the PLUD, as our model predicts.

Hazard ratio (HR) and Pathogen Load Upon Death (PLUD) estimations in immuno-deficient lines of D. melanogaster infected with Providencia rettgeri.
(A, D, and G) give the proportion of surviving flies as a function of hours post-injection. (B, E, and H) present per fly estimations of PLUD. Black lines represent the means, different symbols correspond to distinct replicate experiments, and small letters above graph indicate significant differences, as tested by a pairwise Wilcoxon test. (C, F, and I) present per line estimations of log PLUD ratios, as a function of estimations of log HR. Ratios are here computed relative to the control line and bars represents the 95% CI as obtained by bootstrap. In (A-C), three lines which lack effectors active against P. rettgeri (A Defensin deleted, B all Diptericins deleted and AB both Defensin and Diptericins deleted) are compared to BomΔ55C. BomΔ55C lacks Bomanins, immune effectors which are inactive against P. rettgeri, and is thus used here as a control. All three lines die significantly faster than BomΔ55C and have a significantly higher PLUD (B and C). In panels (D-F), following a similar logic, we compared DptASK1, which has Diptericin A deleted, to DrsR1, which has Drosomycin deleted. Diptericin A has been shown to be the most active AMP against P. rettgeri while Drosomycin is active mostly against gram positive bacteria and fungi. (D) demonstrates that deleting Diptericin A is sufficient to make the mutant more susceptible to the infection than Drs mutant. (E and F) demonstrate that this increase in susceptibility goes together with an increase in PLUD. In (G-I) we used RNAi to silence Diptericin A. The control is the match genetic background recommended for the TRiP RNAi panel. Silencing Diptericin A accelerates death (G) and significantly increases the PLUD (H-I).

Hazard ratio (HR) and Pathogen Load Upon Death (PLUD) estimations in D. melanogaster with RNAi-silenced Catalase infected with Providencia rettgeri.
As in Figure 8G–I, the control is the match genetic background recommended for the TRiP RNAi panel. Silencing Catalase accelerates death (panel A) and significantly decreases the PLUD (panels B-C).

Elasticity analysis of equilibrium load.
Parameters are here as in Figure 2 and the derivatives of log equilibrium load relative to log parameters, obtained from , are computed for the low load equilibrium. For this equilibrium, is the load at which the chronic infection stabilizes and can, therefore, be considered as a stable Set-Point Pathogen Load (SPPL). The parameters with greatest influence on SPPL are first the efficiency of defense () and second the parameter which shapes the impact of damage on defense production ().

The influence of initial conditions on transient Set-Point Pathogen Load (SPPL).
Left panel: each graph represents the partial derivative of log-SPPL relative to log-transformed inoculum size (, first column), pre-infection level of defense (, second column) and pre-infection level of damage (, third column) with and and set to the homeostatic state. In the first row, parameters are set as in Figure 2, while in the second row, and in the third. The vertical dashed line is the value of γ, above which clearance is stable. Two black curves (with only one visible except when ) delimits the parameter region in which the system is bistable. Within this region, the solid and dashed dark-red curves delimit a sub-region where the SPPL is transient in the conditions of the simulations. Below the red curve (which is visible only when or ) a high load infection always kills the host. The case , which we analyzed in Figure 4, is not presented here as the SPPL cannot be transient in this condition. The blue color indicates better control of the infection, i.e., decreased SPPL, while red means increased SPPL. In each case, anything that weakens the host (higher , lower or higher ) lowers the SPPL. The analysis also indicates that sensitivity to variations in and increase with both α and γ. Right panel: This analysis follows the same logic but the partial derivatives of the log of the duration of chronicity are computed. The blue color indicates again better control, i.e., longer chronicity. In most cases, anything that weakens the host shortens control. But conditions exist where this is not true (e.g. in second and third rows when γ and α are low). Contrary to what is expected, chronicity may, therefore, last longer with increased SPPL when immunity is weak.

Elasticity analysis of Set-Point Pathogen Load (SPPL) in transient chronicity according to parameters.
Each graph represents the partial derivative of log SPPL with respect to one (log-transformed) parameter, as a function of α and γ. Blue color corresponds to negative derivatives (i.e. increasing the parameter lowers the SPPL) while red indicates positive derivatives (i.e. increasing the parameter increases the SPPL). The pairs of rows correspond to the three parameter sets studied in Appendix 3—figure 1. Derivatives with respect to have been omitted in this analysis as, by definition, has no influence on SPPL. The vertical dashed line is the value of γ, above which clearance is stable. Two black curves (with only one visible except when ) delimits the parameter region in which the system is bistable. Within this region, the solid and dashed dark-red curves delimit a sub-region where the SPPL is transient in the conditions of the simulations. Below the red curve (which is visible only when or ) a high load infection always kills the host.

Elasticity analysis of the duration of transient chronicity according to parameters.
Each graph represents the partial derivative of the log duration of chronicity with respect to one (log-transformed) parameter, as a function of α and γ. Blue color corresponds to positive derivatives (i.e. increasing the parameter lengthen chronicity) while red indicates negative derivatives (i.e. increasing the parameter shortens chronicity). The three pairs of rows correspond to the three parameter sets studied in Appendix 3—figure 1. Derivatives with respect to have been omitted in this analysis as, by definition, has no influence on Set-Point Pathogen Load (SPPL). The vertical dashed line is the value of γ, above which clearance is stable. Two black curves (with only one visible except when ) delimits the parameter region in which the system is bistable. Within this region, the solid and dashed dark-red curves delimit a sub-region where the SPPL is transient in the conditions of the simulations. Below the red curve (which is visible only when or ) a high load infection always kills the host.

Elasticity analysis of the Pathogen Load Upon Death (PLUD) relative to initial conditions.
Each graph represents the partial derivative of log-PLUD relative to log-transformed inoculum size (, first column), pre-infection level of defense (, second column) and pre-infection level of damage (, third column) with and and set to the homeostatic state. In the first row, parameters are set as in Figure 2, while in the second row, in the third and in the fourth. The blue color indicates that the PLUD decreases, while red means that PLUD increases. In each case, anything that weakens the host (higher , lower or higher ) increases the PLUD although the effect of dose () is really weak. In the particular case , the dependence on is so low that numerical derivatives of PLUD cannot be distinguished from zero. The vertical dashed line is the value of , above which clearance is stable. Two black curves (with only one visible except when or ) delimits the parameter region in which the system is bistable. Within this region, the solid and dashed dark-red curves delimit a sub-region where the Set-Point Pathogen Load (SPPL) is transient in the conditions of the simulations (except when , where this never happens). Below the red curve (which is visible only when or ) a high load infection always kills the host.

Elasticity analysis of Pathogen Load Upon Death (PLUD).
Each graph represents the partial derivative of PLUD with respect to one parameter, as a function of α and γ. Blue color corresponds to negative derivatives (i.e. increasing the parameter decreases the PLUD) while red indicate positive derivatives (i.e. increasing the parameter increases the PLUD). The black curves delimit the region of bistability, as in Figure 4; above the red line, the equilibrium is below even for the most severe infection. The four braces correspond to the four parameter sets studied in Figure 4. The vertical dashed line indicates . Black and red curves are as in Appendix 4—figure 1.

Elasticity analysis of the Slope of Lethal Time (LT) to dose.
Each graph represents the partial derivative of hazard ratio with respect to one parameter, as a function of and . Blue color corresponds to positive derivatives (i.e. increasing the variable brings the slope closer to zero) while red indicate negative derivatives. The black curves delimit the region of bistability, as in Figure 4; above the red line, the equilibrium never exceeds so that the infection cannot kill the host. Each of the four rows corresponds to one of the parameter sets studied in Figure 4. The vertical dashed line indicates . Black and red curves are as in Appendix 4—figure 1.

Elasticity analysis of Hazard Ratio, relative to initial conditions.
Each graph represents the partial derivative of log(HR) with respect to the log-transformed initial state of one variable, as a function of α and γ. Blue color corresponds to negative derivatives (i.e. increasing the variable decreases hazard ratio, HR) while red indicate positive derivatives. The black curves delimit the region of bistability, as in Figure 4; above the red line, the equilibrium never exceeds so that the infection cannot kill the host. Each of the four row corresponds to one of the parameter sets studied in Figure 4. The vertical dashed line indicates . Black and red curves are as in Appendix 4—figure 1.

Elasticity analysis of Hazard Ratio, relative to parameters.
Each graph represents the partial derivative of hazard ratio with respect to one parameter, as a function of and . Blue color corresponds to negative derivatives (i.e. increasing the variable decreases HR) while red indicate positive derivatives. The black curves delimit the region of bistability, as in Figure 4; above the red line, the equilibrium never exceeds so that the infection cannot kill the host. Each of the four rows corresponds to one of the parameter sets studied in Figure 4. The vertical dashed line indicates . Black and red curves are as in Appendix 4—figure 1.

The distribution of log Pathogen Load Upon Death (PLUD) as a function of the proportion of individuals which did not die from the infection in a chosen simulated sample of 50 individuals.
Background mortality was assumed to be constant so that death time in the absence of infection are exponentially distributed. An individual was considered as killed by the infection if the time to death predicted by our model was lower than the time randomly drawn in an exponential distribution. The average of the exponential distribution was adjusted sa that we could control the proportion of individuals which did not die from the infection (represented by large dots). Red dots indicate outliers as detected by a Rosner test. PLUD was simulated with , , , , , , , , , , , , , so that the simulated distribution mimics that of experimental results.
-
Appendix 7—figure 1—source data 1
Protocol of dilution to estimate the Pathogen Load Upon Death (PLUD).
- https://cdn.elifesciences.org/articles/104052/elife-104052-app7-fig1-data1-v2.xlsx

Proportion of detected outliers using a Rosner test, with background mortality producing exponentially distributed death times (i.e. Weibull distribution with shape parameter equals one).
The proportion of Pathogen Load Upon Death (PLUD) values detected as outliers adequately reflects the proportion of individuals which died from causes other than infection. We simulated here 100 samples of 50 individual PLUD values and ran a Rosner test on each sample, using a five percent threshold p-value.

p-values of a Wilcoxon rank test where two 50 individuals samples were compared, one where all individuals died from the infection and another where some individuals died from other causes.
Each column corresponds to a different shape of Weibull distribution, 1 being the case where natural death rate is constant over time, 3 and 6 being being cases where natural death rate increases with age. Numbers given in the top margin of the graphs indicate the proportion of tests (out of 100) which yielded a significant difference, using a 0.05 significance level. In the first row, the presence of individuals which did not die from the infection creates significant Pathogen Load Upon Death (PLUD) difference. In the second row, a Rosner test is applied to detect outliers before the Wilcoxon test is run. The proportion of test yielding significant difference is markedly reduced in this situation.
Tables
Derivatives of equilibrium load with respect to model parameters. For each parameter, the derivative is given together with its sign for stable and unstable equilibria.
st. eq. | unst. eq. | ||
---|---|---|---|
Additional files
-
MDAR checklist
- https://cdn.elifesciences.org/articles/104052/elife-104052-mdarchecklist1-v2.docx
-
Source code 1
Rmarkdown file including codes and analyses associated with the experimental data.
- https://cdn.elifesciences.org/articles/104052/elife-104052-code1-v2.zip
-
Appendix 7—figure 1—source data 1
Protocol of dilution to estimate the Pathogen Load Upon Death (PLUD).
- https://cdn.elifesciences.org/articles/104052/elife-104052-app7-fig1-data1-v2.xlsx