Introduction

The interaction between multiple infectious agents circulating within the same host population alters profoundly the spreading dynamics of infections and has important biological and public health implications1,2. Interaction mechanisms can have different nature and origins. Immune mediated interactions may affect polymorphic strains of a pathogen and represent a source of competition. This is the case of influenza A3 in both humans4,5 and birds populations6, dengue in humans7, foot and mouth disease in cattle8 and many others. In this case infection by a strain of the pathogen confers a certain level of immunity to other circulating variants. Immune mediated cooperation is observed as well. The antibody dependent enhancement in dengue represents a paradigmatic example, where cross-reactive antibodies following a previous infection increase the virulence of a subsequently infecting strain7. Other examples include influenza versus Streptococcus pneumoniae9 and Malaria versus HIV10. Besides immunological mechanisms, ecological aspects can also represent a source of both competition and cooperation among pathogens. A permanent or a temporary depletion of hosts caused by a pathogen hampers the spread of another one, as in the case of measles and whooping cough11, for example. Whereas an infection by Malaria is shown to increase individual's attractiveness to mosquitos12 which in turn may increase chance to be infected by other strains.

All these interaction phenomena are at the basis of pathogen evolution1,13. Despite the great interest in the problem, little is known on the drivers of the interaction dynamics and on the mechanisms ruling pathogens' ecological communities. A full understanding of the problem is hindered by the multiplicity and complexity of the mechanisms involved, from the microscopic scale of the interaction between the pathogen and the host immune system to the global scale of hosts' behaviour and the environment14.

At the population level, several modeling studies have addressed the problem in the context of pathogens evolution15,16,17,18,19,20,21,22,23,24. These studies focus on multi-pathogen competition with the goal of understanding the evolutionary trade-off between transmissibility, infection duration and virulence. Some of them account for space structure19,20,21,22,23,24 in relation to the depletion of hosts induced by disease mortality19,20,21, acquired immunity22,24 and ability of the pathogen to persist in the population23. The resulting picture, incorporating competition and evolution dynamics, is highly complex and often sensitive to the model's details.

Within this body of work little attention has been paid to the role of host mobility other than migration and recolonisation22,23, an ingredient that potentially plays an important role in the case of rapidly spreading diseases for which depletion-replenishment considerations do not apply. Human population and many animal species (notably farmed animals) are characterised by complex mobility patterns that unfold at temporal timescales much faster than their life cycle25,26,27,28,29. The network structure of such patterns and the traveling frequency have been shown to drive the spread of single-pathogen epidemics30,31,32,33,34,35,36,37,38. In the context of two-pathogen competition induced by cross-immunity, an earlier study has shown that travel frequency determines the outcome of the competition in the case of full cross-immunity and when the competing pathogens have the same basic reproductive number, for infections conferring long-lasting immunity and during a single epidemic wave39. Here we build on this approach to explore systematically the role of epidemiological and immunological (i.e. reproductive numbers of the two pathogens and cross-immunity) and ecological parameters (spatial distribution of the hosts and mobility) in defining the co-circulation dynamics of competing pathogens. The competition dynamics is reconstructed through extensive numerical simulations of a stochastic mechanistic model and simple analytical considerations are found to explain the observed dynamics. The introduced modeling framework allows the characterization of the emerging competition dynamics and to describe the interplay of the different timescales of the processes involved. The simplifying assumptions considered here make the model applicable to a large variety of infectious diseases. Within this general framework we therefore use pathogen, strain, or variant as synonymous hereafter.

Results

We consider two pathogens spreading in a spatially structured population of hosts modeled as a metapopulation system. The metapopulation modeling framework was originally introduced in population ecology40,41 and later applied to infectious diseases in order to account for a sparse distribution of hosts and consequently different levels of mixing42,43. Several studies have recently coupled this framework with complex network approaches to account for non-trivial more realistic connectivity patterns among locations44,45,46,47,48,49,50,51. They assume individuals to mix homogeneously within the local communities (also called subpopulations, patches or nodes of the metapopulation network), whereas at the global level the coupling is defined by a network of hosts' mobility fluxes. Here we adopt this scheme considering two pathogens circulating on the metapopulation network (Figure 1a).

Figure 1
figure 1

Schematic representation of the metapopulation model with two pathogens.

(a) Scheme of the metapopulation structure in patches and links representing mobility. (b) Compartmental model of the two-strain infection. A detailed description of the infection dynamics is reported in the Methods section.

We focus on the case in which the two pathogens confer long lasting immunity and interact through cross-immunity. To this end we follow the multi-strain approach introduced by Castillo-Chavez et al.18 that assumes an individual recovered from one infection to have a susceptibility to the other circulating pathogen reduced by a factor σ – a schematic representation of the compartmental model is reported in Figure 1b. The parameter σ quantifies the level of cross-immunity, with σ = 0 corresponding to complete cross-immunity and σ = 1 corresponding to no interaction. We allow the two circulating pathogens to have different transmissibility and recovery rates, indicated respectively with the parameters βa and μa for each pathogen a. Without loss of generality, we consider one of the two pathogens to have a slower infection progress, so that we can label the two pathogens slow and fast and introduce the parameter τ > 1 that quantifies the timescale separation, . With no interaction the impact of a pathogen in the population is fully determined by the basic reproductive number (with a = {s, f}), denoting the expected number of secondary infections generated by a single infectious individual in an entirely susceptible population and defining the condition for the epidemic to spread in a single population, i.e. . We indicate with r the ratio between the two basic reproductive numbers, . In the following we will explore in detail the role of the level of cross-immunity σ and of the epidemiological differences between the two pathogens encoded in the parameters τ and r. With this aim, we fix for simplicity and μf to realistic values for a generic acute infection1, namely and μf = 0.6 with a time unit of one day (corresponding to an infectious duration of 1.7days). The details of the compartmental classification are reported in the Methods section. Values explored lies in the range [0.6, 1.6] and [1, 3.5] for r and τ respectively and the whole interval of definition [0, 1] for σ – see Table 1. While some combinations of parameters may be unrealistic (e.g. antigenically similar strains inducing each other strong cross-protection are unlikely to have very different epidemiological traits) the goal of the present work is to provide a theoretical understanding of the dynamical behaviour of the system that is as general as possible and that can serve as ground of applied studies of diverse human and animal diseases.

Table 1 Model details and variables

We consider a metapopulation with V = 104 patches with an average population per patch . Demography and mobility are modelled as follows. To each node i, we assign an initial number of individuals, Ni and a degree ki denoting the number of connections the node has with other subpopulations in terms of mobility. Nodes' degrees are distributed according to a Poisson probability distribution P(k), which leads to a fairly homogenous topology and represents the simplest not trivial choice able to account for the small word property typical of empirical systems52,53. On top of the spatially structured system so defined, mobility fluxes are modelled by assigning to each individual in the subpopulation i a probability p per unit time to travel to another neighbouring subpopulation j. We assume that departing individuals choose at random one of the available ki links44, so that the probability of traveling from i to j is given by p/ki. According to the value of p, different mobility scenarios emerge: high values of p yield large mobility fluxes resulting in a well mixed metapopulation system where individuals easily move from one patch to another; on the contrary small probability values correspond to a dynamically fragmented scenario in which patches are fairly isolated. Different choices of network topology and fluxes distribution are clearly possible. Comparison between homogenous and heterogenous topologies and fluxes distributions has been addressed before39, showing no qualitative differences in the observed dynamical behaviour among the different choices. On top of these structure, different kinds of mobility behaviour can be considered as well. For example, markovian displacements (i.e. movements where the memory of the origin of the traveling individuals is lost) are found in cattle and farmed animals, whereas origin-destination trips (thus highly non-markovian) characterize human travel. The impact of the mobility model on a single-pathogen epidemic spread has been extensively studied26,46,48,51. Here we consider the simple case of markovian mobility to keep this part of the model as parsimonious as possible and better focus on the biological aspects. A summary of the parameters and their values is reported in Table 1.

Once the system is initialised with a fully susceptible host population seeded with the two strains, the transmission dynamics of the two strains is reproduced by means of Monte Carlo numerical simulations at the discrete host level. We consider hosts as integer units and we explicitly simulate both their mobility among different subpopulations and the infection transmission within each subpopulation as discrete-time stochastic processes. Throughout the analysis we will mainly consider as an indicator of the outcome of the competition between the two strains the final number of subpopulations and affected by each strain during the outbreak.

Signature of space in the two-pathogen competition

We first consider the case of complete cross-immunity and analyse the impact of the difference in the epidemiological traits, encoded in the parameters τ and r, on the competition dynamics. In a homogeneous mixing population the pathogen with the largest growth rate G = μ(R0 − 1) dominates. Namely, it reaches more rapidly the majority of the population that cannot thus be infected by the other one1. The relation Gs = Gf defines then the boundary between the two regions of the parameter space where either the slow or the fast strain is dominant. This translates into the linear relation

Space structure and mobility completely alter this picture. Figure 2 shows the ratio for two different values of the traveling probability p. The light blue portion of the surface indicates the dominance of the slow strain, defined by the condition , whereas the remaining portion coloured in dark blue corresponds to the opposite situation. The boundary between the two regions (white curve in the surface projection on the (τ, r)–plane in the Figure) changes under the different mobility regimes. The region of slow strain dominance is much larger in the reduced mobility scenario (p = 10−4) and, notably, the slow strain results to be the dominant even with a smaller transmission potential (r < 1). This picture is qualitatively different from the homogenous mixing case that would divide the space of parameters according to Eq. (1), i.e. the black curve in the Figure. The scenario with higher p is closer to the homogenous mixing case, as expected. The fast strain dominates over the slow one unless the latter does not have a considerable advantage in terms of basic reproductive number (i.e. r large enough). The behaviour becomes increasingly closer to the homogenous mixing in the limit p → 1.

Figure 2
figure 2

Competition between the two strains in the phase space r, τ for two distinct values of traveling probability p.

The quantity in the z-axis is the logarithm of the ratio . Color code is proportional to the value in the z-axis and the density plot in the horizontal plane shows the same quantity for the sake of visualisation. The white curve indicates the parameter region corresponding to the crossover where the two strains co-dominate, that is identified by . To highlight the effect the of mobility we report the crossover curve for the homogenous mixing case (black dashed curve).

Host mobility thus selects the epidemiological traits that are favoured in the multi-pathogen competition. A sparse environment would favour a slow pathogen, while a high overall mixing induced by large values of p would favour the fast one. This result is analogous to the findings of previous studies focusing on the evolution of transmissibility and virulence, where virulence plays a role analogous to the infection duration in the disease dynamics19,20. In that case depletion and replenishment of individuals is the mechanism at the basis of competition. A similar result has also been found in23, where endemic diseases not conferring long lasting immunity were considered. In the present case the mechanism underlying the competition behaviour is the trade-off between the spreading velocity and the potential for spreading at the spatial level. The first is dictated by the timescale of the infection. The second quantifies the ability of the infection to generate a global epidemic by propagating out of the source through infected traveling hosts. A full understanding of the competition diagram however requires to consider the invasion dynamic of the metapopulation system.

Conditions for spatial induced crossover in the competition

In order to rationalize the role of the metapopulation structure in the outcome of the two-pathogen competition observed in Figure 2, we consider the observable R*, an additional predictor introduced to synthetically describe the conditions for the spatial invasion and that accounts for all the biological and behavioural mechanisms involved in the spatial spread (i.e. pathogen traits, host traveling behavior, structure of the mobility network and demography). The global invasion parameter R* defines the invasion threshold R* > 139,44,54. Analogously to R0 at the individual level, R* represents the average number of patches an infected patch is able to infect before the end of the local outbreak. If this is greater than one a global outbreak will occur, otherwise the epidemic will be confined around the initially seeded subpopulation. For the case of a homogenous mobility network, the analytical expression of the invasion threshold is quite simple44. This allows us to frame analytically the trade-off between spreading velocity, upper-bounded by the exponential growth in the homogenous mixing case (G) and the spatial invasion potential, encoded in R*. We assume all nodes to have the same degree . For each pathogen a the functional dependence of on the variables of the system is given by39,44:

where is the average number of infectious individuals that travel from an infected patch, i, to a neighbouring one, j, during the entire duration of the outbreak in i44. This factor depends on the traveling probability p, on the epidemiological parameters through the attack rate (resulting from the circulation of the strain a only in the fully susceptible population) and μa and on demographic () and spatial () features. The expression is the probability that an outbreak is seeded in j by the λij infectious travelers55. The factor () represents the number of connections along which the disease can spread (all possible connections except the one where the infection comes from).

The pathogen that is more efficient in propagating at the spatial level is the one with higher and infectious period. The effect of the infectious period is due to the fact that if an infected individual stays infectious longer has more chance to travel while ill and bring the disease in new patches, in the simple SIR formulation under study. This means that the slow strain is favoured, provided that the fast one does not have a much larger reproductive number. The balance between these factors becomes critical in the regime of small traveling probabilities. The observable is an increasing function of p, thus for large enough p for both strains indicating that they both spread easily through the system. In this regime the ingredient determining the competition outcome is the spreading velocity that favours, for comparable R0, the strain with short infectious duration. As a consequence of this trade-off, mobility can induce a crossover between the two regimes of fast and slow strain dominance.

On the basis of the considerations above the condition for the crossover can be easily recovered. Given that in the limit p → 1 the exponential growth of the pathogen a is given by Ga, the crossover is encountered whenever

We notice however that when r > 1 the inequality is always satisfied and, on the other hand, the condition Gf > Gs is guaranteed when r < 1. Therefore the condition above can be rewritten explicitly in the following form:

Network and demographic parameters factorise in the above expressions. This analytical reasoning is simplified and is based on the assumption that the two epidemics do not interact, which is strictly verified only in the limit of infinite network size.

The left side of Figure 3 displays the phase-space of the presence/absence of crossover for the case as obtained by Eq. (4). For all the (r, τ) values in the grey region a crossover takes place at a certain value of p. In reference to the examples reported in Figure 2, we provide the crossover curves obtained for p = 10−4 (squares) and p = 10−3 (circles), corresponding to the white curves of the previous Figure. The right panel of Figure 3 further describes the crossover behaviour by displaying the average ratio obtained from simulations as a function of p and for different values of r. In order to facilitate the comparison with the theoretical results we colour coded the curves according to the expected competition outcome. Results show a good agreement between simulations and analytical reasoning despite the simplicity of the latter, indicating that the previous theoretical argument is able to capture the fundamental mechanisms underlying the competition between the two strains. According to the relation among the epidemiological traits of the two pathogens, the level of coupling induced by mobility may be either a determinant factor or a non-influential one for the competition outcome.

Figure 3
figure 3

(a) Regions of presence or absence of crossover in the (r, τ)–plane, as obtained by solving the inequalities of Eq. (4) for the case R0 = 1.8 and any p. Squares (circles) corresponds to the points for which crossover have been recovered in the numerical simulations in correspondence of p = 10−4 (p = 10−3). (b) Simulations of the two-strain spreading for the case τ = 2 (that corresponds to the slice of the left diagram indicated by the black line). The plot shows the ratio between the number of infected cities for different values of r. The colour code indicates the theoretical prediction: dark (light) blue curves correspond to the case where according to Eq. (4) the fast (slow) strain dominates for all values of p, while the grey curves are the ones for which the crossover takes place. The value of r corresponding to each curve is indicated close to the curve itself.

Strains inducing strong cross protection each other are likely to be highly genetically similar and to have small difference in their epidemiological traits, i.e. r and τ close to one. In this case the unbalance between spreading velocity and/or potential for spatial spread would be small and so also the advantage of one strain over the other. However even under these conditions the system preserves its rich behaviour. Figure 3a indeed shows that all three competition regimes are included in the neighbourhood of the point (r, τ) = (1, 1) of the space of parameters.

Local interaction and overlap between the epidemic waves

The outcome of the competition presented in the previous section is the result of the spreading pattern of the two pathogens and their interaction. At the local level of a single patch, this is certainly due to the conditions of arrival of each pathogen seeding the local population. In this subsection we intend to address the local co-existence between the two pathogens, given its important epidemiological implications, for example for pathogen recombination56.

For a given set of parameters r and τ the outcome of the competition within each single patch depends on the time delay between the seeding of the two epidemics, Δt = tstf, where ta is the time of seeding of the strain a in the patch. Figure 4a characterises the epidemic impact through the observable αs − αf, i.e. the difference between the attack rates produced by the slow and fast strains when they are co-circulating. In the case in which the fast strain arrives first, the slow strain has minimal chance to reach a significant fraction of the population. For positive values of Δt, the quantity αs − αf rapidly approaches the limit value αf obtained in absence of strain s (dark blue portion of the plot). Referring to the case r = 1 as an example, if the population is seeded by the slow strain with more than 10 days delay with respect to the fast strain, the slow strain is prevented from spreading in the population. It can dominate over the fast one only in the case in which it has a significant advantage in terms of time of arrival (or seeding). The difference αs − αf saturates to the limit value of αs only if the slow epidemic starts 40 days in advance with respect to the fast one (light-blue portion) for r = 1. The two pathogens co-circulate and interact at the population level within the patch only if they seed the population with a small delay one with respect to the other (red portion). This condition defines the interaction time window, whose length depends on all the parameters of the system. The larger the value of r, the faster the two epidemics spread, thus increasingly reducing the time-window for possible interactions within a patch.

Figure 4
figure 4

Focus on local co-circulation of the two strains within a patch.

(a) two-strain competition within a single population as indicated by the difference between the attack rate of the slow and fast strains αs − αf, as a function of the delay in the seeding from the fast to the slow strain, Δt = tstf. Different value of r are shown. The color code indicates different regimes where the fast strain spreads undisturbed (dark-blue), the slow strain reach the whole population before the fast epidemic is seeded (light-blue), the two seeding events are close in time in the way that the two pathogens interact (red part of the curve). The three panels (b), (c) and (d) summarise the situation at the metapopulation level as recovered by simulations. We measured the time of seeding of the two strains in the subpopulations and we classify the nodes according to their epidemic outcome that can be: (1) the node is reached by the fast strain only; (2) the node is reached by both strains with the fast one arriving early enough to spread undisturbed in the population; (3) the epidemic is seeded by both strains with small delay, thus allowing interaction; (4) the epidemic is seeded by both strains with a timing corresponding to the slow strain dominance; (5) the node is reached by the slow strain only; (6) the node is reached by none of the strains. Three distinct values of r are compared; τ = 2.

At the metapopulation level such phenomena occur at the interface of the propagation waves of the two epidemics, i.e. the set of nodes that are reached by both strains. This interface region can be limited to few nodes or can be almost as large as the whole network according to the values of traveling probability and the disease parameters. However, for the interaction to occur, the two epidemics need to be seeded on such interface region with a delay within the interaction time window, otherwise we observe a complete separation of the two propagation phenomena (i.e. one strain swiping the population much after the first strain has already circulated). The extent of the interface region where interaction occurs increases with increasing mobility and is strongly affected by r (Figure 4). Large values of r make local interaction between pathogens more likely as shown by the red portion of the plot that becomes wider as r increases. This occurs despite the range of Δt is narrowed by large values of r and it is due to the fact that larger reproductive numbers in the slow strain counterbalance the shorter infection period yielding a similar exponential growth to the fast pathogen. This results in a larger region of intersection between the two epidemics.

Role of partial cross-immunity

Two interacting pathogens or strains of the same pathogen are rarely antigenicaly equal, so that the level of cross-immunity is smaller than 1. An intermediate level of cross-immunity indicates that individuals recovering from one strain are partially susceptible to the other57. This can be accounted for in our compartmental model by considering σ > 0.

We address how this ingredient affects the competition dynamics at the spatial level by first considering the case r = 1. Figure 5a shows the ratio for different values of the cross-immunity parameter σ. Varying σ from full cross-immunity (σ = 0) to no cross-immunity (σ = 1) we observe a sharp transition between two distinct classes of behaviour. For σ below a given threshold, the small level of susceptibility after the first infection does not impact the competition dynamics and the curves strictly follow the full cross-immunity case with a crossover for intermediate mobilities and the dominance of the fast strain, , for p → 1. The behaviour changes rapidly for σ above a critical value . All the curves for σ > σc display the same behaviour with the two pathogens co-circulating and reaching the same portion of the network () for all values of p except for a range of small values of p where . Figure 5b displays the sharp transition behaviour in σ obtained for p = 10−3.

Figure 5
figure 5

Role of partial cross-immunity.

(a) Simulation results of the two-strain spreading for the case τ = 2. The plot shows the ratio as function of p for different values of σ. (b) the plot shows the ratio as a function of σ for p = 10−3.

The result can be explained in a simple way in terms of herd immunity effects induced by the partial cross-immunity1. In a well mixed population the first strain to reach the population (e.g. strain a) infects a proportion αa of individuals who have a reduced probability to be infected by the second strain (strain b) after their recovery from the infection. The spread of strain b is then ruled by the effective reproductive number that results from the combination of its transmission potential and the level of susceptibility of the population, . The condition Reff > 1 allows then the second pathogen to generate an outbreak in the subpopulation and further spread in the neighbouring patches. If applied to the scenario discussed above, for large values of p where both pathogens have the potential to spread at the spatial level and competition is determined by the spreading velocity, all levels of cross-immunity such that Reff < 1 are equivalent in suppressing the spread of the slower pathogen. For σ rising above the threshold, this mechanism is not anymore in place and both strains propagate through the system reaching the whole network. Even in this case, however, the two strains do interact, as measured by the reduction of the attack rate of the slow strain. The mechanism favouring the spread of the slow strain for small values of p is still present since it is not due to the interaction between the two pathogens but to the larger invasion potential of the slow strain with respect to the fast one.

If r ≠ 1, i.e. the two pathogens have different basic reproductive numbers, the emerging picture is more complicated. For small mobility rates, variations in the degree of cross-immunity do not lead to quantitative variations in the competition outcomes (expect for values ) and the ratio r rules the dynamics. For higher values of p, instead, both cross-immunity and the relative ratio of the reproductive numbers of the two pathogens determine the resulting competition outcome. We report these results in the Supplementary Figure S1.

It is worth noting that for very high values of the mobility rate, when competition is ruled exclusively by the epidemic growth rate, the argument based on the herd immunity effects is able to explain the observed results1. When the strain with smaller exponential growth loses its disadvantage and becomes able to spread in the metapopulation system. This is shown in the density plot in Figure 6 where p = 0.01 is considered. Despite the complexity of the spatial propagation dynamics recovered in the stochastic simulations, very simple analytical reasonings are able to shed light on the mechanisms underlying the spreading.

Figure 6
figure 6

Density plot of the ratio in the (r, σ)–plane for travelling probability p = 0.01.

The black curve indicates the condition . Simulations are obtained with τ = 2.

Conclusion

We studied the role of host mobility in the immune-mediated competition between two pathogens causing acute infections. We provided an extensive numerical characterisation of the interaction dynamics by varying the degree of cross-immunity and the difference in the epidemiological traits of the two pathogens (basic reproductive numbers and infectious periods). Depending on the relation between the pathogens' traits, mobility can play a determinant role or be non-influential for the outcome of the competition. In the space of epidemiological parameters, there exists a region for which lowering the traveling probability induces a cross over from the fast strain dominance to the slow strain one. This behaviour is determined by the trade-off between epidemic growth and potential for spread at the spatial level, the former being an advantage in a well mixed population while the second being relevant in a sparse environment with intermediate or low mobility coupling.

This non trivial result has important implications for disease ecology. The role of hosts' space structure in the multi-pathogen competition and the impact of changes in hosts' mixing patterns on the disease evolution still represent open research questions19,20,22,24. Our study characterises the epidemiological conditions under which hosts' traveling behaviour is a determinant ingredient in the competition dynamics. Reducing the degree of cross-immunity determines a rapid transition between the picture described above to a situation of no competition in the spatial propagation. This transition behaviour can be framed within a herd immunity paradigm, where the more rapid pathogen acts as a vaccine in the spreading dynamics of the other one.

As a consequence of the sharp transition in σ, results described in Figures 2 and 3, remain substantially unchanged in the more realistic case of partial cross-immunity, considering a wide range of values of σ (e.g. , with the parametrisation adopted here) compatible with epidemiological estimates (see for example58 for influenza). It is important to note, that a certain level of short-term cross-protection due to immunological mechanisms other than memory-cell immunity has been observed among antigenically distant strains (e.g. in the case of dengue7, different types and subtypes of human and avian influenza5,6, hemorrhagic disease in wildlife59) and it is indicated in many cases as the source of competition during a time scale of a single epidemic wave5,6,7. In this case, a certain degree of heterogeneity in the transmissibility and/or infectious duration can be reasonably assumed and in some cases it is also documented. Epidemiological evidence includes influenza A subtypes in birds60, dengue serotypes7 and pandemic vs. seasonal subtypes in human influenza61 (possibly as a consequence of a higher level of immunity in the population to the seasonal strain). All these multi-strains diseases represent examples of dynamical systems for the infection propagation whose study could benefit by the theoretical understanding here provided.

The modelling framework here introduced allows us to account for important features characterising host mobility patterns in a realistic way. Despite the complexity of the dynamics simulated by the mechanistic model, the analytical formulation of the global invasion potential allows for simple analytical considerations able to shed light on the behaviour observed in numerical simulations. The network formalism is an important ingredient of the model and represents an element of novelty with respect to previous studies on disease ecology where the space is introduced by placing individuals on a regular lattice19,20,22,24 or by assuming a metapopulation with two levels of mixing21,23 (high mixing within patches and low mixing between patches). Other studies adopt network approaches62,63 for studying multi-pathogen competition, however they do not account for different levels of mixing or for host traveling.

The framework here introduced has the potential to provide an important understanding of the multi-pathogen dynamics in more realistic and complex situations. Additional important mechanisms that were not considered in this study are worth to be mentioned. The competition was analysed during a single epidemic wave, given that no demographic turn-over nor waning of immunity were considered. These factors are crucial for many diseases, e.g. human and avian influenza and dengue. The two epidemics were assumed to start at the same time in a fully susceptible population. Emergence events where a new pathogen or a new variant starts spreading in a population already affected by other seasonally circulating variants represent however a source of great concern. Influenza again provides a paradigmatic example with its frequent zoonotic events yielding new virus subtypes that represent a threat for human population (e.g. A-H1N1pdm0964, A-H7N965). Given the general nature of the metapopulation model considered, our approach proposes a theoretical and computational framework where these additional ingredients can be further considered and implemented to deepen our understanding of pathogens competition.

Methods

Infection dynamics

The infection is modelled through the compartmental scheme of Figure 1. Individuals are divided in susceptible (S), infected by the slow strain with no previous infection history (Is), infected by the fast strain with no previous infection history (If), recovered by the slow strain (Rs), recovered by the fast strain (Rf), infected by the slow strain previously infected by the fast one (), infected by the fast strain previously infected by the slow one (), permanently recovered and immune to both strains (R). Susceptible individuals can contract the infection by either the fast or the slow pathogen with probability and respectively, with being the transmission rate of pathogen (a) and N the population of the patch. Individuals recovered by one pathogen can contract the infection by the other one with the same probability as above reduced by a factor 0 ≤ σ ≤ 1. Regardless of the infection history, infected individuals recover with the pathogen specific recovery rate, i.e. μs and μf for the slow and fast pathogen respectively. In the stochastic mechanistic simulations contagion and recovery are modelled as binomial and multinomial processes. The step of the simulation δt defines the unitary timescale of the process and corresponds to one day.

Mobility network and traveling

The mobility network is generated following the Erdős-Rényi algorithm53, which consists of assigning a link between each pair of nodes with probability . This results in a Poisson degree distribution with fairly homogenous topology. Specifically the network considered in the study has average degree , V = 104 nodes and diameter equal to 8. The traveling of hosts is implemented by assuming each individual to travel with probability p. This mobility process yields a population distribution at the equilibrium given by

where is the average population size.

In the stochastic mechanistic simulations the traveling is implemented as follows. For each subpopulation i, the number of traveling individuals are extracted from each of the eight infectious compartments through a multinomial distribution characterised by ki + 1 possible outcomes which correspond to traveling to each of the ki directions, with probability and to not traveling, with probability 1 − p. δt is the same used for the infection dynamics.

Computational modeling of competing pathogens

To simulate the spread of the two strains on the metapopulation system of susceptible hosts, we initialise the number of individuals of each subpopulation at the equilibrium value given by Eq. (5). This guarantees the system to be at the equilibrium of the mobility dynamics in such a way that the population of each node fluctuates around the initial value for the whole duration of the simulated outbreak without any significant replenishment/depletion of individuals. The epidemic is initialised by seeding 50 randomly extracted subpopulations with the slow (fast) strain and moving 0.1% of the population to the Is (If) compartment, keeping the rest of the population in the susceptible compartment. We explicitly required that the two strains are not initialised within the same nodes to avoid interaction at the beginning of the epidemic. We tested different number of initially infected subpopulations (i.e. 10 and 25) obtaining the same qualitative results.

For each set of parameters we simulate 2,000 stochastic realisations of the spatial epidemic spreading randomly selecting different initial conditions and different instances of the mobility network. Traveling across patches and infection transmission within each patch are simulated at every time step until the epidemic gets extinct, i.e. until the Is, If, and compartments are empty in all subpopulations. For each run we record the attack rate within each subpopulation produced by both the fast and the slow strain, as well as the time of arrival of each strain. In calculating the number of infected subpopulations by each strain, and , we consider that a patch is infected by a strain if at least a fraction αT of the population within the patch has contracted the disease. We set αT equal to 10% and we checked that the results are not sensitive to the value of this parameter. Quantities displayed in the plots are averages over all runs.