Main

The surface glycoprotein haemagglutinin of influenza is under strong selection by the human immune system as the primary antibody target2. Figure 1a–c shows phylogenies constructed using the HA1 domain of the haemagglutinin gene of human influenza A subtypes H3N2 (H3) and H1N1 (H1), and for influenza B. The slender ‘trunk’ of the H3 tree characterizes the evolutionary pattern of antigenic drift, and reflects the serial replacement of strains. Although brief co-circulation of closely related H3 lineages is not uncommon3, the H3 tree appears to be linear because the average survival time of side lineages is only 1.6 years (ref. 4). The H1 tree is similar to that of H3, although recent bifurcation of the main trunk has resulted in several extant lineages. It remains to be seen whether more than one will persist. Influenza B exhibits greater branching than either A subtype, having diverged into two major lineages in the early 1970s and multiple minor lineages thereafter5.

Figure 1: Evolutionary dynamics of influenza.
figure 1

a, Evolution of human influenza A subtype H3 from 1983 to 1997 derived from 357 sequences of 987 nucleotides2. b, Influenza A subtype H1, derived using 104 sequences of 1,032 nucleotides collected between 1977 and 2000. c, Influenza B, derived from 220 sequences of 1,041 nucleotides collected between 1980 and 1999. d, As a, but with horizontal distance representing the number of substitutions at the 18 positively selected codons2 and with zero-length branches removed. All trees were generated from HA1 sequences using the tree bisection-reconnection branch-swapping option of the heuristic search option of the maximum-parsimony routine of PAUP29. Tree shape is robust to other phylogenetic algorithms. (See Supplementary Information for sequence data accession numbers.) e, Distance from the root of the tree to each terminal node in nucleotide substitutions against year of isolation. Slopes of lines illustrate differences in fixation rates between H3, H1 and B. f, Proportion of laboratory-analysed influenza infections isolates identified as H3, H1 or B each year by the World Health Organization laboratories in the United States from 1976 to 2001 (ref. 30). The trends shown are suggestive of interference between subtypes, with annually fluctuating subtype dominance.

The explanation for the variation in tree shape between influenza viruses, illustrated in Fig. 1, is unknown. Furthermore, different strains evolve at different rates (Fig. 1e). Most studies suggest that H3 changes more rapidly than H1, while influenza B evolves more slowly than either A subtype3. The fixation rates calculated for the H3, H1 and B trees in Fig. 1a–c are consistent with this, at 0.0037, 0.0018 and 0.0013 nucleotide substitutions per site per year (±0.001), respectively. However, providing a biological explanation for these differences is complicated by immunological interactions between subtypes and types (Fig. 1f), although some of the variation may solely be a function of the short time periods studied6 (here 14, 24 and 20 years for H3, H1 and B respectively).

Fixation rates averaged over the whole of HA1 obscure variation among codons. For instance, 35% of replacements occur at 18 (5.5%) of the 329 codons in HA1 of H3. The excess of non-synonymous versus synonymous substitutions at these 18 codons reflects intense positive selection2,7, possibly because these codons are associated with the receptor binding site or antibody binding sites on the HA1 surface. The contrast between the fixation rate of 0.053 (±0.005) substitutions per site per year in the tree of the 18 key codons alone (Fig. 1d), and a rate of 0.0015 (±0.0001) for the 311 other codons of H3 reveals the importance of small subsets of codons to influenza evolution. We focus on identifying immunological and ecological processes that shape selection at antigenically significant codons to result in the observed evolutionary patterns of antigenic drift.

The diversity of a pathogen population is determined by the balance between the production of new strains and the competition-induced stochastic extinction of existing variants. To explain the surprisingly limited genetic diversity of influenza, we use an individual-based simulation (see Methods) to explore four determinants of this balance: the generation of new variants through mutation or reassortment, the initial establishment of those variants in the host population, cross-immunity-mediated competition between strains, and the processes governing the rate of strain extinction. Although our model is computationally intensive, it captures realistic population genetics of large numbers of unique co-circulating strains, a simplified representation of the spatial structure of human populations and contact patterns, and the stochastic nature of mutation and extinction. In addition, it enables us to compare model output with both phylogenetic and epidemiological data.

We focus on the role of immunity in imposing density-dependent constraints that limit influenza diversity. Influenza antibody recognition tends to decrease with genetic divergence of HA, indicating that cross-protection arising from long-lived memory responses decreases as the sequence divergence between two strains increases (Fig. 2a). In such circumstances, as the antigenic diversity of co-circulating strains increases, so should their mean infection prevalence, thereby increasing production of further variants. If such cross-immunity is the only form of interaction between strains, the expected result of this selection for antigenic novelty is exponential growth of diversity, with concomitant excessive infection incidence as shown in Fig. 2b, c. This diversification can be mitigated by lowering mutation rates and increasing the intensity of cross-immunity (Fig. 2d)—but only at the cost of greatly slowing the rate of evolution, resulting in unrealistically low fixation probabilities and diversity levels.

Figure 2: Model drift dynamics for a single subtype.
figure 2

a, Cross-immunity profile assumed for baseline model parameters (see Methods), composed of a long-lived strain-specific memory response and a short-lived nonspecific response. The former gives 99% cross-immunity (θ1 = 0.99) for strains up to an escape threshold of nt = 2 changes apart, which drops linearly with increasing genetic distance to a level of θ0 = 0.25 for strains with differences at all 12 codons. The latter gives complete protection against reinfection immediately after an infection, but this protection decays exponentially over time with a half-life of six months. b, 50-year model tree for baseline parameters but no short-lived nonspecific immunity and mutation rate δ = 10-6, showing explosive diversification. For clarity, in every model tree only the 500 strains causing most infections are shown. c, 15 years output from model run shown in b showing time series of weekly infection incidence in a single geographical patch (upper), the number of nucleotide substitutions per site (relative to the original strain) for new strains arising through time (middle), and the prevalence-weighted mean pairwise number of amino acid differences between all co-circulating strains (lower)—a measure of diversity. Genetic bottlenecks due to seasonal forcing eventually cause diversity to saturate. d, Without short-lived immunity, lowering mutation rate (δ = 2.5 × 10-6) and/or increasing the immune escape threshold (nt = 4) is only able to achieve constant diversity at the cost of very low fixation rates. e, As c, but for a model with baseline parameters including short-lived immunity. f, 50-year tree from model with baseline parameters including short-lived immunity. g, Over-restricted diversity achieved with δ = 10-6 and nt = 1. h, Reducing the intensity of cross-immunity (maximum level θ1 = 0.8, minimum level θ0 = 0.5, nt = 1) and the mutation rate (δ = 2.5 × 10-6) lowers fixation rate and gives a tree more reminiscent of influenza B.

More extensive sensitivity analysis, described in detail in the Supplementary Information, suggests that it is impossible to reproduce the observed limited diversity and high fixation rates of influenza A and B without an additional, nonspecific competitive interaction between strains. In particular, we examined the effect of functional constraints on viral evolution in three ways: first, as a crude representation of changes occurring in parts of the viral genome that were not being explicitly modelled, we assumed that every new variant had a random fitness (that is, transmissibility). Second, we explicitly modelled a set of codons that determine viral transmissibility independently from those determining antigenicity. Third, we assumed that there was a transmissibility gradient associated with antigenic space. In each case functional constraints alone are insufficient to explain the limited diversity of influenza.

The primary candidate for a nonspecific competitive interaction between strains is a second immune-response component: short-lived immunity that decays rapidly with time from last exposure and inhibits reinfection by any new strain. Such a response acts as a density-dependent constraint on overall infection incidence, thus limiting effective viral population size and reducing the likelihood of explosive diversity growth.

With the resulting two-component immune memory response (Fig. 2a), our model reproduces key aspects of the dynamics of influenza epidemiology and evolution (Fig. 2e), including the magnitude and seasonality of influenza incidence, a fairly stable viral fixation rate through time4, and temporal fluctuations in viral diversity8 driven by the generation of short-lived viral sublineages and their eventual extinction over the course of several years. Our simulated phylogeny (Fig. 2f) is very similar to the actual pattern of H3 evolution (Fig. 1d). Observed fixation rates can be reproduced at a variety of parameter values (Fig. 2g) by trading off cross-immunity intensity against mutation rates. However, matching both fixation rates and detailed tree shape significantly restricts the space of feasible parameters. Achieving a lower fixation rate and higher level of diversity, such that the resulting tree (Fig. 2h) is more akin to influenza B (Fig. 1c) than to influenza A H3 (Fig. 1a), requires reducing both the intensity of cross-immunity and rate of mutation.

One of the key advantages of our modelling approach is that complete information is provided on the temporal dynamics of both evolution and transmission of all virus variants—information that is difficult to collect from surveillance. Figure 3a illustrates this point by showing the correlation between genetic distance and time in sequence evolution, and the variability in frequency of different strains. The phylogeny of influenza is seen to arise from multi-strain population dynamics characterized by a highly skewed survival-time distribution for strains (Fig. 3b), where 95% of strains survive for less than a year and infect fewer than 100 people. The less than 1% of strains that successfully become globally established account for 90% of all disease incidence while surviving for 2–3 years. This timescale is consistent with observed survival times of new dominant drift variants4.

Figure 3: Detailed evolutionary dynamics of model with short-lived nonspecific immunity.
figure 3

a, Three-dimensional tree with genetic distance and time of strain emergence along the y and z axes respectively. The size and colour of internal nodes represent the infection incidence caused by that strain. The traditional two-dimensional phylogenetic tree is projected on the xz plane. On the yz plane, each strain causing over 104 infections is represented by a line, the start and end of which (along the z axis) indicate time of creation and extinction, and the y-position indicates the total incidence due to that strain. b, Joint distribution of strain survival time and log10 infections caused by each strain. The left pane shows the probability density function calculated for all strains generating over ten infections (averaged over five model realizations), and the right pane the density function for all strains weighted by the number of infections they cause.

Two pandemics have occurred since the influenza virus was isolated in 1930. In each case (1957 and 1968) the pandemic strain, an avian–human influenza A reassortant, replaced the previously circulating strain of influenza A. However, coexistence is possible (Fig. 4b) in situations where subtype introduction does not generate a pandemic, as indicated by the current co-circulation of H3 and H1 after the reintroduction of H1 in 1977 into a population with considerable residual herd-immunity against this subtype. The proposed two-component immune response also helps to explain these patterns of competitive exclusion and coexistence between subtypes. Short-lived nonspecific (heterosubtypic) immunity that inhibits immediate reinfection is critical to capture the dynamics of subtype replacement during a pandemic (Fig. 4a).

Figure 4: Model dynamics for interacting subtypes.
figure 4

a, Single realization of model with baseline parameters, introducing new subtypes as strains with random genotypes into a single host in the population in years 34 and 64 of a 92-year simulation. Plot shown as Fig. 2c, but three distinct trees can be seen, corresponding to the three pandemic lineages. The strain scatter-plot on the yz plane is coloured according to subtype. Subtype replacement during pandemics occurred in 100% of the total of 25 model realizations examined. b, Subtype coexistence can also occur for these parameter values if the proportions of the host population with immunity to each subtype are close to equilibrium values. The plot shows two subtypes co-evolved from the two-strain equilibrium. c, The resulting global incidence time series for co-evolving subtypes predicts that the immunological competition generated by short-lived subtype-transcending immunity would be observable through partial competitive exclusion of different subtypes in sequential years. For ac, τ1/2 = 0.1 years for between-subtype protection and 0.5 years for within-subtype protection. Subtype coexistence is possible, but is an unlikely outcome, if τ1/2 = 0.5 for both within- and between-subtype protection. However, for larger host population sizes, coexistence may become more likely even for that parameter choice.

In the absence of heterosubtypic immunity, the antigenic distance between subtypes generates very limited inter-subtype competition, and subtype elimination becomes unfeasible. With such immunity, subtype extinction becomes highly probable in the context of the globally synchronized large-scale transient dynamics associated with pandemics. However, where subtype introduction causes a smaller epidemic (for example, because of some pre-existing immunity to the new subtype) coexistence is possible if the duration (or effectiveness) of nonspecific immunity is greater within subtypes than between subtypes, a conclusion for which there is abundant empirical evidence9. Such immunity gives the less prevalent subtype a frequency-dependent advantage, mitigating the highly unstable dynamics which otherwise rapidly drive the rarer subtype extinct. The resulting incidence time series shows a pattern of fluctuating partial competitive exclusion between subtypes (Fig. 4c), consistent with epidemiological surveillance data (Fig. 1f).

Transient nonspecific immunity is paramount in the generation of such dynamics, and in limiting diversity within subtypes—although other mechanisms that induce nonspecific inter-strain competition (for example, disease-associated reductions in host contact rates) may also contribute. Persistent nonspecific immunity of lower intensity rapidly saturates to affect nearly all hosts and hence fails to impose the intense density-dependent competition that limits viral diversity.

Viral pathogens give unique insight into evolution because their short lifecycle allows dynamical data to be collected at both ecological and evolutionary timescales. Here we show that mathematical models can now give an integrated and detailed description of processes coupling these timescales, reproducing both epidemiological dynamics and patterns of sequence evolution. Thus the influence of epidemiological processes and immunological phenotype on emergent evolutionary dynamics can be explored at a level of realism not previously feasible. Quantitative information on the magnitude of factors determining evolutionary patterns can also be derived (for example, the relationship between in vitro haemagglutination assays and the protection afforded against infection with heterologous strains) that would otherwise involve epidemiological and clinical studies of impractically large scale.

Antigenic drift in human influenza has been attributed to stepwise selection for antigenic novelty resulting from an immunity phenotype in which cross-protection declines as the genetic distance between strains increases10,11. However, our study shows that without severe density-dependent constraints on the effective population size of the virus, this process alone would lead to rapidly increasing diversity of viral populations. Within a wide range of model variants and parameter ranges explored, transient nonspecific immunity that either prevents rapid reinfection or reduces transmissibility was the only clear candidate for such a constraint. A number of studies support the existence of short-lived nonspecific within-subtype10,11,12 and between-subtype13,14 immune responses, with CTL15, natural killer cells16 and cytokines being proposed effector mechanisms17. Quantitative data on the duration of such immunity and its effect on susceptibility or infectiousness is limited, but the timescales of weeks to months explored in this paper are consistent with epidemiological and experimental studies14,16,18,19.

Our analysis gives some insight into the potential causes of differences between H1, H3 and B (Fig. 1a–c), as detailed more fully in the Supplementary Information. Alone, the lower fixation rate of H1 and B might simply reflect a lower net mutation rate. However, variation in the levels of genetic diversity between H1, H3 and B may indicate differences in cross-immunity phenotype; that is, reduced maximal cross-immunity, or a lower threshold number of amino acid changes required for evasion of pre-existing immunity. Fuller explanation of differences between influenza viruses circulating within human and other mammalian species20 will require rigorous analysis of the key loci involved in antigenic selection, together with a more complete model of subtype coevolution. With robust parameterization of population demography and structure, modelling should also give insight into whether the origins of apparent differences are largely ecological (for example, lower population contact rates) or reflect underlying variation in viral phenotype.

Limitations of available quantitative data require models to simplify several aspects of influenza biology and epidemiology21. More complete descriptions of antigenicity and other aspects of viral phenotype (such as virulence or transmissibility) will further improve understanding of the constraints on viral evolution. Coupled with more sophisticated representations of spatial heterogeneity in host density and human contact patterns, model correspondence with epidemiological and sequence data will also be enhanced. Collection of such data depends on continued improvement in global surveillance of new influenza strains22. Current programmes successfully identify new variants, but the quantitative tracking of strain-specific incidence—although increasingly feasible with the advent of rapid molecular typing methods—remains a long-term objective. This work is essential if statistically predictive modelling is to be achieved, whether applied to predicting new vaccine candidate strains3,23, anticipating the effect of increasing population size and vaccine use on viral evolution, or modelling the global spread of future pandemics.

Methods

Transmission model

Baseline parameter values (selected from the detailed sensitivity analyses described in the Supplementary Information as best reproducing observed patterns of evolution) are given here; parameters used in sensitivity analyses are detailed in the text. We simulate a constant population size of N (= 12 million) hosts, each with lifespan L (= 30 years), equally distributed between M (= 20) geographical patches. The locations of hosts in a patch are randomly distributed with a mean separation of one (in arbitrary units). Each host is labelled by patch index p (1 ≤ pM) and host index i (1 ≤ iN/M), and at any time is characterized by four variables, {Bp,i, Tp,i, Sp,i, Hp,i}, where Bp,i is the time of birth, Tp,i is the time of last infection, Sp,i is the index of the last strain with which the host was infected, and Hp,i characterizes the immune history of the host. Where no prior infection has occurred, S = 0 and T = -∞. On infection, hosts are assumed to incubate infection for 2 days (ref. 24), be infectious for the following 4 days (ref. 25), and recover thereafter. Results here assume no co-infection, but are not sensitive to this assumption. Infection and mutation processes were modelled stochastically using a discrete-time model formulation with a one-day time-step. On day t, the probability a host is exposed to strain s is given by

where rp(i,i′) is the distance between hosts i and i′ in patch p, R (= 4) is the threshold distance for local transmission, βL is the contact rate between hosts in the same spatial locality (defined by rp(i,i′) ≤ R), βW is a contact rate representing a less frequent process of mixing between all hosts in a patch, and βB is the rate of between-patch contacts. βB and βL are assigned values to give a basic reproduction number, R0, for local transmission in a patch of 5, R0 for mass-action transmission in a patch of 0.4, and an R0 of 0.02 between any two patches. Seasonal variation in contact rates is characterized by ɛp, and is assumed to be opposite in phase for the Northern and Southern hemispheres (represented by setting ɛp = +0.25 for 1 < pM/2, and ɛp = -0.25 for M/2 < pM).

The probability that a host is infected upon exposure depends on the strain s, and the host's immune history. Each strain is characterized by A epitopes, each consisting of C codons (three nucleotide bases). Immunity is assumed to be specific to the set of amino acids to which the host has been exposed at each codon, and for simplicity, no functional constraints are imposed on the amino acid sequences. For the default values of A = 4 and C = 3 used here, a total of 4 × 1015 strains are possible. Antigenic distance, d(s,H) between a strain s and the immune history of a host, H, is then simply defined as the number of codons in strain s for which the amino acid has not been previously encountered by the host. The level of cross-protection from infection provided at a certain antigenic distance is given by the function f(d), where we assume f(d) = θ1 + (θ0 - θ1)(d - nt)/(AC - nt) for dnt, f(d) = θ1 for 0 < d < nt, and f(d) = 1 for d = 0. nt (=2) is the threshold level of change necessary for cross-protection to drop below the maximal level set by θ1(= 0.99), and θ0 (= 0.25) is the minimal level of cross-protection mounted against a strain with no similarity to a previously encountered strain at the codons modelled (=0 for no cross-protection). These assumptions reflect empirical studies suggesting that two or more substitutions at key antigenic sites are required to escape pre-existing immunity26,27.

The probability that a host will be infected by a strain following exposure is given by

where τ (=270 days) is the decay timescale (half-life = τ1/2 = 187 days ≈ 6 months) and ω (=1) is the peak level (0 ≤ ω ≤ 1) of a short-lived strain-transcending immune response that protects against reinfection in the weeks after an infection (see main text). If a host is infected following exposure, its immune history is updated to include the new strain. If exposure does not result in infection, we assume that no immune response is raised to the new strain but that pre-existing immune responses are boosted (akin to the ‘original antigenic sin’ response28), by resetting Tp,i to t - 6 immediately after exposure.

There is a probability δ (=10-5) per base per day that a nucleotide substitution will occur in the virus in an infected host and the resulting mutant strain will replace the pre-existing strain in that individual. The individual is then infectious with the new strain. All strains are assumed to have the same intrinsic transmissibility (but see Supplementary Information), and model runs were started from near the single-strain equilibrium.