Skip to main content
Advertisement
  • Loading metrics

Communication through autoattractants can enhance and limit collective migration of immune cells

?

This is an uncorrected proof.

Abstract

Many eukaryotic cells produce attractant molecules to which they themselves are also attracted. For example, neutrophils produce leukotriene B4 while swarming. These autoattractants create a secondary signalling layer that coordinates collective cell behaviour. The principles by which autoattractants shape migration, however, remain poorly understood. Here we use a hybrid agent-based computational model to dissect the effects of autoattractants on the collective chemotaxis of immune cells. We find that autoattractant signals strongly enhance cells’ responses to primary attractant, but only if the autoattractant is sufficiently short-lived: at longer lifetimes, accumulation degrades the directional information cells can extract. The overall effect of autoattractants therefore depends crucially on the balance between production and efficient removal — whether through cellular uptake, enzymatic breakdown, or inherent chemical instability. Optimal lifetimes exist, determined by cell speed and attractant diffusion, yet remarkably independent of cell density and primary attractant concentration. Autoattractants whose removal is governed by inherent instability rather than direct cellular breakdown coordinate migration less efficiently, but work more robustly across different environments. In the absence of cell-mediated breakdown, the model further reveals a characteristic optimal cell–cell distance: too little communication leaves cells uncoordinated, while excessive signalling drives them into slow-moving aggregates. Strikingly, the conditions that produce the most efficient chemotaxis lie close to those that trigger aggregation, suggesting that many autoattractant systems operate near a critical boundary that can be tuned by evolution either to disperse cells or to bring them together.

Author summary

Immune cells must travel through the body to reach sites of injury, infection, and developing tissue. They are guided by chemical signals. Many immune cells, such as neutrophils gathering at wounds and microglia in the brain, also release their own signals that attract others of the same kind. We call these ‘autoattractants’. In effect, the cells tell each other where to go. This communication helps coordinate group movement, but little is known about how it works. We built a computer simulation of migrating immune cells to explore how autoattractants shape their collective behaviour. We find that autoattractants must be short-lived to be useful: when autoattractant accumulates, it obscures any sense of direction. Signals that cells actively break down, or that decay on their own, carry clear directional information. With signals that decay on their own, a delicate balance emerges: just enough cooperation leads to the most efficient coordinated migration, while a little too much causes cells to clump together instead of moving forward. Our work suggests that many more cell types may use this communication than we know, and that the same system can be tuned by evolution to spread cells out or to gather them together.

1. Introduction

Many eukaryotic cells produce attractant molecules that they themselves are also attracted to. We refer to these molecules as “autoattractants”. There are many examples of this behaviour, in particular in mammalian immune cells. For example, neutrophils that sense the attractant peptide fMLP produce leukotriene B4 (LTB4), which functions as a signal-relay molecule during chemotaxis, amplifying a recruitment of additional neutrophils to sites of inflammation often characterised as ‘swarming’ [13]. LTB4 is also quickly bound and sequestered from the medium by neutrophils [4]. In response to LPS neutrophils also produce IL-8, which functions as a chemoattractant for neutrophils [5,6]. Autoattraction can also exist without swarming, however. For example, microglia are attracted to ATP, and also release it by exocytosis in response to LPS [7,8], but they do not move in swarms as neutrophils do. This may be because ATP is degraded both near microglia and in the broader extracellular space [9,10], which would limit swarm formation. Autoattractants can also be produced in response to attractant chemokines, such as in eosinophils, which produce the short-lived autoattractant prostaglandin D2 in response to the activation of its chemokine receptor CCR3 [1115].

Despite the prevalence of autoattractant signalling across these systems, the mechanics of transmitting information through autoattractants remain understudied. In particular, we focus on a specific class of interactions: the exchange of signals among identical cells during chemotaxis along self-generated gradients. Self-generated gradients are widespread among many cell types and attractants, and often play a large role in cell migrations [1618]. We focus on self-generated gradients specifically because they are inherently temporary and dynamic. If a stable, externally imposed gradient were already present and sufficient for directed migration, the additional information carried by autoattractant signalling would be less useful.

As self-generated gradients are inherently temporary, they are hard to study in vivo and in vitro. We used computational modelling to create an overview of how cells, with a particular focus on immune cells, may use autoattractant signals to enhance collective chemotaxis in self-generated gradients. We based our modelling on earlier successful work using agent-based modelling of this system [17,19], and we have previously used this technique to create predictions for migrating macrophages [20]. Crucially, we have expanded the conceptual framework to include autoattractants as separate species that can be produced, broken down, or decay in various ways. Here, we used modelling to explore: (i) how autoattractants can enhance the ability of cells to gather information during chemotaxis to weak or noisy signals; (ii) the trade-offs of various strategies for creating useful autoattractant signals; (iii) the interaction between cell speed and effective communication; and (iv) the conditions under which autoattractant signalling leads to aggregation rather than enhanced migration.

2. Results

2.1 Approach

We used a hybrid agent-based modelling approach in which cells are represented as individual off-lattice agents operating on a regular lattice of attractant concentrations. The model simulates a chemotaxis chamber: cells start at one end of a rectangular domain filled with an attractant that is initially present, which we call the primary attractant. The model is then run in discrete timesteps to generate predictions for cell behaviour and attractant concentrations across the environment over time. This approach can represent many different types of migrating immune cells and situations. We will describe the working of the model here briefly, and refer to the methods for a full description.

Each cell is approximated by a circle (Fig 1A), representing the area over which a cell can sense, add, and remove attractants within each simulation timestep (6 s). Each timestep, the cell uses saturable receptors to sense and break down primary attractant in the area it covers. It then moves in the direction of the gradient it senses (Fig 1B). Random noise is added to cell perception to prevent excessively shallow gradients from being followed, and the attractant diffuses between timesteps so that smooth gradients can be formed. The combination of attractant removal and movement towards attractant leads to a self-generated gradient and limited migration away from high densities of cells (Fig 1C). We have previously shown that this approach leads to a good reproduction of migration to self-generated gradients [19,16].

thumbnail
Fig 1. Schematic model setup.

A. The area within which a cell can sense attractants is approximated by a circle. B. Schematic of a single modelled cell breaking down primary attractant while also following its gradient. C. Visualisation of cells chemotaxing to a self-generated gradient of primary attractant in a sample simulation. D. Schematic of cell producing autoattractant while creating and following a gradient mostly composed of primary attractant. E. Schematic of a cell breaking down autoattractant and following a gradient mostly composed of autoattractant. F. Visualisation of cells chemotaxing to a self-generated gradient of autoattractant in a sample simulation.

https://doi.org/10.1371/journal.pcbi.1014809.g001

Cells also produce autoattractant, which is modelled similarly to the primary attractant, except that it is not initially present but instead produced by the cells in proportion to the amount of primary attractant they break down (Fig 1D). For example, if a cell breaks down 1 unit of attractant in a timestep and the ratio is set to 10, the cell will produce 10 units of autoattractant. The ratio of production is determined by the parameter settings of specific simulations. Cells also sense and break down autoattractant using receptors separate from those used for primary attractant (Fig 1E). Each cell uses information from both kinds of receptor to arrive at a single target direction, towards which it will move with a fixed speed. Though speed per model timestep is fixed, cells will vary in how consistently they head towards the migration goal, so the speed measured over timescales longer than one timestep (6 seconds) will also vary. Taken together, this leads to complex migrations, where cells can indirectly follow the gradient of primary attractant through following the autoattractant that was produced based on it (Fig 1F). We used several sets of parameters for the model, based as far as possible on plausible values for immune cells (Tables 1 and 2).

thumbnail
Table 1. Environmental and simulation parameters.

https://doi.org/10.1371/journal.pcbi.1014809.t001

2.2 Autoattractants can improve migration

We first initialised the model with a parameter set based on fast-moving immune cells (Table 1 and 2), such as neutrophils. We initialise all cells on one side of the rectangular area, and consider a cell to have migrated successfully if it is in the bottom quarter of the area by the end of the simulation. As a control, we first initialise the model with no autoattractant production. The primary attractant on its own can only recruit a limited number of cells (Fig 2A and S1 Video). When we add autoattractant production by cells we find that more cells migrate successfully (Fig 2B and S1 Video) and a clear gradient of autoattractant is formed (Fig 2B, right panel).

thumbnail
Fig 2. Autoattractant leads to more migration at correct production ratios.

A. Cell locations and primary attractant distribution during a representative model simulation with only a primary attractant. B. Cell locations and primary attractant (left) and autoattractant (right) concentration during a model simulation with an added autoattractant. C. Cell migration over a wide range of autoattractant production ratios. n = 10 per condition. D, E. Visualisations as in A of the effects of lower and higher production, which both lead to less migration compared to B, as either a very small autoattractant gradient forms (D), or it forms very far away (E).

https://doi.org/10.1371/journal.pcbi.1014809.g002

The number of cells that migrate depends on the amount of autoattractant produced (Fig 2C), but with a clear optimal level above which migration returns to a baseline level similar to that without autoattractant production. Interestingly, no amount of autoattractant causes less migration than that of the baseline without autoattractant. Smaller amounts than the optimum lead to a smaller migration (Fig 2D and S1 Video), as the wave of autoattractant formed by the frontrunners is broken down before it reaches all cells. Larger amounts also lead to less migration, as the part of the autoattractant gradient that can be sensed is further away from the first wave (Fig 2E and S1 Video). The front wave still functions normally: as the concentration is very high, the autoattractant receptors are saturated in all directions.

2.3 Optimal autoattractant production and breakdown depend on environment, but optimal lifetimes are similar

To be effective, autoattractant must reach other cells that do not sense the primary attractant gradient, and do so in the right concentration. We have shown that there is a range of different autoattractant production rates that function, but we also expect the rate of breakdown to influence the effectiveness. By altering the maximum rate of autoattractant breakdown (Eq. 10) we can effectively vary the dynamics. We systematically analyse pairs of production and breakdown values across a wide range (Fig 3A). This shows that there is a linear relationship between optimal production and optimal breakdown, leading to an optimal balance in parameter space (schematically shown in Fig 3B). Where there is relatively too much production, autoattractant accumulates as in Fig 2E. Where there is relatively too much breakdown there is insufficient autoattractant to form a large wave, as in Fig 2D.

thumbnail
Fig 3. Optimal production and breakdown values vary, but optimal autoattractant lifetimes are similar.

A. The effect of autoattractant production (as a ratio of breakdown of primary attractant) and autoattractant breakdown on migration. n = 10 per point. B. Schematic of the relation from A, highlighting that an optimal balance exists between the production and the breakdown of autoattractant. C–E. The combined effect of production and breakdown of autoattractant for different cell densities and attractant concentrations. n = 10 per point. F. Overview of the relation between migration and the mean lifetime of autoattractant for each parameter combination in A,C,D&E. Capped at a mean lifetime of 3000 s for readability. n = 10 per point. Filled circles represent the best migration for that condition.

https://doi.org/10.1371/journal.pcbi.1014809.g003

We next investigated how robust this migration is by looking into how different initial conditions may influence this relationship. In an in vivo context cells cannot expect to always encounter the same concentration of attractant, or to be at a high density optimal for collective migration. We test a lower cell density, a lower initial concentration of primary attractant, and a higher initial concentration of primary attractant (Fig 3C3E). These show different optimal production and breakdown balances. This means that the same cells may chemotax much more or less depending on these environmental factors. However, we can show that the dynamics at play are still the same by calculating the average time that an autoattractant molecule can be expected to exist, given how much autoattractant is produced and how much is broken down. We call this the lifetime of the autoattractant. In Fig 3F we examine the relationship between this lifetime and migration. This shows that all simulations in which cells migrate efficiently are within the same range of autoattractant lifetimes, between roughly 250 and 1000 seconds, despite differences in the environmental factors.

2.4 Decaying autoattractants allow for migration less dependent on environment

We showed how similar autoattractant lifetimes are optimal across environments, despite requiring very different amounts of autoattractant production and breakdown. This suggests that an autoattractant with a fixed lifetime could cause a very consistent migration in different environments. This could occur if the autoattractant decays at a consistent rate, due to enzymes being present across the tissue or due to the autoattractant oxidising rapidly on its own. Examples are ATP [10] and prostaglandin D2 [1315]. We implement this as an autoattractant that is continuously broken down over time everywhere, instead of only near cells, so that its decay depends only on time. Effectively, the autoattractant always has a fixed lifetime. Similar to the broken down autoattractant, this decaying autoattractant leads to much more effective migration than without an autoattractant (Fig 4A and S2 Video). As before, we systematically examine the relation between production and decay in this system, and a very different relationship emerges: above a certain production, the same decay is optimal (Fig 4B and S2 Video). There is now accumulation of autoattractant when decay is slow, leading to accumulation of autoattractant without a discernible gradient. An autoattractant that decays very quickly similarly does not lead to a discernible gradient, leading to poor performance at either extreme. The optimal values remain similar when we vary cell density and attractant concentration (Fig 4C4E). We can compare how well the outcomes of different parameters correlate with the baseline by examining the relation between the number of cells migrated for the same combination of autoattractant production and breakdown or decay. This shows that for cells with a broken down autoattractant the same parameters cause very different levels of migration depending on the initial attractant concentration and cell density (Fig 4F), but with a decaying autoattractant the same parameter values produce migrations that are well-correlated between conditions (Fig 4G).

thumbnail
Fig 4. Decaying autoattractants lead to migration that is more stable across environments.

A. Cell locations and primary attractant (left) and autoattractant (right) concentration in a sample model simulation with an autoattractant that decays constantly instead of being broken down by cells. B. The relationship between autoattractant decay and production and migration outcomes. n = 10 per point. C–E. As in B, but for low cell density, low initial primary attractant concentration, and high initial primary attractant concentration, respectively. F. The relationship between migration efficiency with the baseline conditions of Fig 3A (on the X axis) compared to those of Fig 3C3E (on the Y axis), each dot represents one combination of autoattractant production and autoattractant breakdown. G. The relationship between migration efficiency with the baseline conditions of Fig 4B compared to those of Fig 4C4E. Each dot represents one combination of autoattractant production and autoattractant breakdown, as in the previous panel.

https://doi.org/10.1371/journal.pcbi.1014809.g004

2.5 Slow-moving cells can migrate better or aggregate

We have previously examined only fast-moving migrating cells, with parameters based on measurements of neutrophils, but many immune cells, such as macrophages or microglia, move much more slowly. We now examined how a parameter set with cells that move 1/20th of the speed of the cells we studied previously (Table 2) affects the migration. We assumed these cells also break down the primary attractant slower, so that they still create discernible self-generated gradients, and we give them an appropriate amount of time to reach the other side of the environment.

We found that with a broken down autoattractant the general dynamics of the slow-moving cells were similar to those of the fast-moving cells, as autoattractants enhanced migration (Fig 5A and 5B and S3 Video), and there was a similar linear relationship with breakdown (Figs 5C and S1) and an optimal lifetime that was roughly 20 times as long, in proportion to the change in cell speed, and which was again similar for all conditions, though with greater variability than before (Figs 5D and S1AS1C). Furthermore, we found that a decaying autoattractant again led to similar optimal lifetimes regardless of conditions (Figs 5E and S1DS1F), but there was also an unusual new behaviour: with a large production of a rapidly decaying autoattractant, cells formed transient clumps (Fig 5E, inset lower left, S4 Video). These clumps consist of cells whose steering is more biased towards neighbouring cells than up the primary attractant gradient. Together they moved slower than individual cells, leading to an inhibited migration that is worse than that without autoattractants, which never occurred with the fast-moving cells. Other conditions within this set showed varying degrees of efficiency and direct cell-cell contact (Fig 5E insets, S4 Video).

thumbnail
Fig 5. Slow-moving cells have longer optimal autoattractant lifetimes and can more easily aggregate during migration.

A. Cell locations and primary attractant distribution in a representative model simulation with slower cells (Table 2) and only a primary attractant. B. As A, but with an added autoattractant that is broken down by the cells, displayed on the right. C. The relationship between autoattractant breakdown and production and migration outcomes. n = 10 per point. D. Overview of the relation between migration and the mean lifetime of autoattractant for the parameters in C, as well as with lower cell density and lower and higher initial primary attractant concentration. Capped at a mean lifetime of 70000 s for readability. n = 10 per point. Filled circles represent the best migration for that condition. E. The relationship between autoattractant decay and production and migration outcomes. n = 10 per point. Insets show examples of different behaviour across this spectrum.

https://doi.org/10.1371/journal.pcbi.1014809.g005

2.6 Increased diffusion of attractant leads to shorter optimal lifetimes and increased clumping

We noted that the conditions where autoattractants inhibited effective migration were very close to those that promoted effective migration. To gain additional insights into the role of the attractant and autoattractant in this process we examined both slower and faster diffusion speeds for both attractants and autoattractants. Diffusion speeds of attractants vary across several orders of magnitude for different signalling molecules and conditions [22,23], such as 6.2 m2/s for the chemokine CXCL13 [27] and up to 710 m2/s for ATP under ideal conditions [28]. We examined the effect of diffusion speeds 5x slower and 5x faster than our baseline (10 m2/s and 250 m2/s) with a broken down autoattractant for both fast (Figs 6A and S2) and slow (Figs 6B and S3) cells. We found that the optimal mean lifetime was shorter with faster autoattractant diffusion in both conditions, regardless of attractant diffusion speed. Slower autoattractant diffusion speeds consistently led to poorer migration with slow cells, but not fast cells. However, the shape of the relationship between production and breakdown was maintained throughout.

thumbnail
Fig 6. Higher diffusion promotes shorter lifetimes and efficient chemotaxis, but very short lifetimes can promote clumping.

A, B. Lifetime for fast-moving (A) and slow-moving (B) cells with different diffusion speeds. Filled circles represent the best migration for that condition. n = 10 per point. C. The relationship between production and mean lifetime of a decaying autoattractant, for different diffusion speeds of attractant and autoattractant. D. The relation between how many cells have migrated by the end of the simulation, and their average distance to the nearest cell in the first half of the simulation, for all simulations of C. E. Schematic of the relation between cell migration and cooperation, based on D.

https://doi.org/10.1371/journal.pcbi.1014809.g006

We next examined how different diffusion speeds affect migration with decaying autoattractants. Fast-moving cells maintained similar dynamics regardless of diffusion speed, though migration was impaired in the more extreme cases (S4 Fig). For slow-moving cells, however, the effects depended on which substance diffused faster. Increasing attractant diffusion alone or decreasing autoattractant diffusion alone caused slow-moving clumps to form under many more parameter combinations (Fig 6C, left middle and lower middle), as the short-range influence of the autoattractant increased relative to the attractant. Conversely, increasing autoattractant diffusion alone or decreasing attractant diffusion alone reduced the number of parameter combinations that led to slow-moving clumps (Fig 6C, right middle, upper middle). When diffusion of both attractant and autoattractant was increased together, the amount of migration resembled that of the baseline, but the parameter space of optimal migration was shifted toward shorter autoattractant lifetimes — similar to the effect seen with broken down autoattractant. Conversely, when both were decreased the area of optimal migration shifted towards longer lifetimes.

Under the conditions with high diffusion, we noted that the parameters that led to optimal migration were located very close to those that caused slow-moving clumps. To further examine this relation, we calculated the mean distance to the nearest cell for each cell in our simulations, and its relation to migration (Fig 6D). We found that very close cells were associated with inefficient migration, but also that slightly less close cells were associated with optimal migration. Distant cells were associated with suboptimal migration. We also find that the cell-cell distance is determined by the strengths of cell-perceivable gradients across the narrow axis of the model area (S5A Fig, calculation details in Methods section 4.5). Interestingly, the association between cell-cell distance and migration efficiency does not hold for faster-moving cells, or for slow-moving cells that break down autoattractant (S5B Fig), but there is a clear association between the strengths of perceived gradients and migration efficiency that does hold for fast-moving cells with decaying autoattractants (S5C Fig). Here perceptible gradients of intermediate strength are optimal, with gradients that are too weak or too strong leading to less migration. In contrast, in cells that do break down autoattractant directly there is a simple positive linear relationship between cell-cell gradient strength and migration efficiency (S5D Fig). Taken together, this suggests that there is an optimal amount of cooperation for cells that do not break down autoattractant directly, schematically shown in Fig 6E. An intermediate level of cell-cell attraction through autoattractants leads to optimal migration, with lower levels causing insufficient coordination between the cells near to the attractant gradient and those further away, and so leading to cells being left behind. Higher cooperation levels caused slow-moving clumps as cells coordinated too strongly with each other and too little to the primary attractant. In contrast, cells that break down autoattractant around them migrate best when they generate a very strong gradient.

3. Discussion

Our model makes several key predictions about the role of autoattractants in collective cell migration. Firstly, autoattractants enhance collective migration by providing a secondary signalling layer that allows trailing cells to follow the path of frontrunner cells, even when those trailing cells cannot directly sense the primary attractant gradient. This is consistent with the signalling observed in neutrophil swarming [3,29] and Dictyostelium aggregation [30].

Secondly, autoattractants must be short-lived to be functional, as a long-lived autoattractant cannot give useful information on the location of the front of a moving wave. Optimal autoattractant lifetimes depend on cell and attractant characteristics more than on the environment. While the specific production and breakdown rates that yield optimal migration vary with cell density and primary attractant concentration, the optimal lifetime for autoattractants is remarkably consistent. This suggests that many autoattractants may have tightly controlled short lifetimes.

Thirdly, decaying autoattractants - those removed by spontaneous degradation or ubiquitous enzymes rather than by cellular breakdown - are more robust across environments, although they achieve a somewhat lower migration optimum. This robustness arises because the autoattractant lifetime is determined by a fixed decay rate rather than by the variable number of consuming cells, so that the lifetime varies much less across conditions.

Fourthly, slow cells are generally more efficient at migration relative to their speed, but can also clump more easily. This clumping occurs when the front cells are attracted more towards each other than towards the primary attractant, and so stop moving directionally. We find that efficient migration relies on close cell-cell interactions that are not far removed from conditions that lead to clumping instead of migration.

3.1 Implications for in vivo systems

The dynamics we describe are likely prevalent in many more systems. Autoattractant-like behaviours have been most extensively studied in Dictyostelium, where cAMP relay drives collective aggregation [30], and in neutrophils [1,3], but are also key in microglia [7,10]. We have shown that close associations of cells that communicate through short-lived autoattractants are the most efficient at collective migration. Because they would be short-lived, it is inherently difficult to find additional autoattractants in vitro or in vivo: samples collected would be depleted of autoattractant before measurements could be made. New techniques may find autoattractants in many more cell types.

In this text we have assumed that the attractant and autoattractant receptors have the same Kd, but this is not a requirement of the model. For example, an autoattractant that was produced with a tenfold higher production ratio and a tenfold higher Kd, Km and Vmax would show identical behaviour (eqs. 5, 10 and 11).

We have described good migration here as “optimal,” but it is important to keep in mind that recruiting of a large number of cells is one of several outcomes that may be selected for in vivo. In many biological systems, evolution will have shaped cells to exhibit a particular level of migration, which will often be only limited migration rather than maximal migration. This is reflected in the diversity of existing systems that may use autoattractants - each likely tuned to its specific functional requirements. Similarly, the clumping behaviour we observe could be an advantageous effect of autoattractant signalling in contexts where it is desirable for cells to find each other while migrating. For example, in lymph nodes, the aggregation of dendritic cells and T cells is functionally important for initiating adaptive immune responses, and autoattractant-driven clustering could facilitate this process [31,32].

Autoattractants released in response to primary attractants, as modelled here, should be distinguished from migration with co-attraction, where cells constitutively attract each other regardless of external gradients [33,34]. In our model, autoattractant production depends directly on sensing the primary attractant, creating a signal that transmits information about the direction of migration, rather than a simple aggregation signal. However, as we have shown, the signal can also become primarily an aggregation signal when it is so short-lived that it forms very strong local gradients.

3.2 Future extensions

Several extensions of this model merit future investigation. First, further enhancement of migration may exist through the production of an inhibitor derived from the autoattractant. Such an inhibitor could bind the same receptors as another attractant, but not provide as strong of a chemotactic signal, and so could create a smaller but more directional secondary wave [19]. Variation in chemotactic response between different receptors in general would also allow the model to potentially cover more situations. Second, pulsatile release of autoattractant, as observed in neutrophil swarming [3], could modulate the temporal dynamics of the signal. Finally, relay of the autoattractant signal, where cells amplify the signal by producing additional autoattractant in response to sensing it, could extend the effective communication range, as observed in microglial ATP signalling [7].

4. Methods

4.1 Model overview

We developed a multi-scale agent-based model of immune cell chemotaxis in which individual cells are represented as off-lattice circular agents operating on a two-dimensional regular lattice of chemical concentrations. The simulation represents a chemotaxis chamber with cells initially placed at one end and a primary attractant uniformly distributed throughout the domain. The model integrates chemical diffusion dynamics with discrete cell decision-making at each timestep.

4.2 Environment and chemical dynamics

4.2.1 Lattice and geometry.

The simulation domain is a two-dimensional grid of size lattice sites, where each site represents a m square. The domain is bounded by no-flux boundary conditions. Two chemical species are tracked on the lattice: a primary attractant and an autoattractant, each stored as a concentration value at every lattice site. In what follows, denotes the concentration at site (i,j) of a generic species (each species obeys the dynamics below independently); where species must be distinguished (Eq. 5) we write for ligand .

4.2.2 Diffusion.

Chemical diffusion is computed each timestep using the DuFort–Frankel finite difference scheme. For an interior lattice site (i,j) that is not a wall, the concentration is updated as:

(1)

where is the dimensionless diffusion number, D is the diffusion coefficient (m2/s), s is the timestep duration, and m is the lattice spacing. If a neighbouring site is a wall, the concentration at the current site from the previous timestep is used in place of that neighbour. The first diffusion step of each timestep uses a forward Euler step to provide the two-level initial condition required by the DuFort–Frankel scheme:

(2)

To reduce errors, multiple sub-steps of diffusion are performed per timestep, with proportionally reduced , so that is never larger than 0.1. The lattice sites at the bottom three rows are set to a concentration of attractant equal to that of the initial condition (Table 1) at the start of every timestep to represent inflow from the environment.

4.2.3 Decay of autoattractant.

For the simulations with a decaying autoattractant, concentration decays at every lattice site each timestep:

(3)

where is the decay time constant parameter (in timesteps).

4.3 Cell behaviour

4.3.1 Cell geometry.

Each cell is represented as a circle of radius r defining the set of lattice sites it occupies. The occupied sites are all lattice sites (defined by their midpoint (i,j)) satisfying:

(4)

where is the continuous-valued cell centre position.

4.3.2 Gradient sensing and movement.

Every timestep each cell senses the local chemical gradient across its occupied sites using a receptor-binding model with saturable kinetics. For each occupied lattice site (i,j) and each ligand , the perceived signal is computed as:

(5)

where is the concentration of ligand at site (i,j) and is the corresponding receptor dissociation constant. The net attraction A(i,j) at each site is the sum over all ligand contributions:

(6)

Additionally, environmental noise is added to the attractant grids before sensing by adding a uniform random value to every lattice site, where is the environmental noise amplitude. This random value is determined separately for each lattice site and each timestep, and is not carried forward.

The target direction is then computed as the angle from the unweighted centroid of its occupied sites to the attraction-weighted centroid of its occupied sites:

(7)

where and are the arithmetic mean coordinates of the occupied sites.

The cell’s actual heading for movement is a weighted combination of its previous heading and the newly sensed target , governed by a persistence parameter which imposes an implicit limit on how sharply a cell can turn in a single timestep:

(8)

We used a persistence of p = 0.9 throughout, corresponding to the minimum time to reverse direction (i.e., turn 180 degrees) of 2.8 minutes listed in Table 2.

The cell then attempts to move a fixed distance d in the direction :

(9)

Movement is rejected if it would place any part of the cell outside the domain boundaries, cause overlap with a wall, or cause overlap with another cell. If the move is rejected the cell selects a new random heading, but will not try to move until the next timestep, which effectively slows it down. If movement is successful the cell’s lattice sites (Eq. 4) are recalculated.

4.3.3 Attractant breakdown.

Each cell breaks down the primary attractant, and where relevant also the autoattractant, from the lattice sites it covers using Michaelis–Menten kinetics. The amount broken down at each occupied site is

(10)

where Vmax is the maximum breakdown rate and is the Michaelis constant. The concentration is set to zero if it would become negative.

4.3.4 Autoattractant production.

Each cell produces autoattractant in proportion to the total primary attractant it broke down this timestep (Eq. 10), distributed uniformly across its occupied sites. The autoattractant concentration at each occupied site is incremented by

(11)

where is the production ratio, is the primary attractant broken down at site (k,l) (Eq. 10), and is the number of occupied sites.

4.4 Simulation parameters

Simulations were parameterised to represent two broad classes of immune cells: fast-moving cells (e.g., neutrophils) and slow-moving cells (e.g., macrophages). Environmental and cell-specific parameters are summarised in Tables 1 and 2, respectively.

For each parameter combination, n = 10 replicate simulations were performed with different random seeds.

4.5 Analysis

4.5.1 Migration outcome.

Migration was quantified as the fraction of cells that had crossed into the lower quarter of the simulation domain (i.e., ) by the final timestep. For each parameter combination, n = 10 replicate simulations were performed with different random seeds, and the mean fraction of migrated cells was computed across replicates.

4.5.2 Autoattractant lifetime.

In some figures we calculate the mean effective lifetimes of autoattractant. At each recorded timestep, the total autoattractant concentration across all lattice sites was divided by the total amount of autoattractant removed by breakdown in that interval. This ratio gives the average time that a unit of autoattractant persists in the system at each point in the simulation. The mean over all recorded timesteps was then taken as the effective lifetime for that simulation.

4.5.3 Gradient strength.

To quantify the perceived cell-cell gradient strength, the concentration at each lattice site is first transformed using the same receptor-binding equation used for gradient sensing (Eq. 5), giving a receptor-occupancy field B(i,j,t). The gradient strength is then the summed absolute difference in receptor occupancy between neighbouring lattice sites along the short axis of the domain, normalised by the lattice size:

(12)

where lattice columns with i < 3 or are excluded to avoid boundary artefacts. This yields G(t) at each recorded timestep.

4.6 Implementation and data availability

All code used, as well as the parameter files for producing the data, and the code used for analysis, are on a GitHub repository at https://github.com/DMvers/AutoTaxis We have also used Zenodo to assign a DOI to the repository at time of submission: https://doi.org/10.5281/zenodo.20434528

4.7 AI usage

The authors used Claude Opus to create a draft from an outline the authors wrote. The same tool was used to draft documentation and bash scripts for the software, as well as to aid in proofreading of both code and text. After using this tool, the authors reviewed and edited the output as needed and take full responsibility for the contents.

Supporting information

S1 Fig. The relationship, for slow-moving cells, between autoattractant decay and production and migration outcomes for (A–C) a broken down autoattractant at low cell density, low initial primary attractant concentration, and high initial primary attractant concentration, and (D–F) the same for a decaying autoattractant.

https://doi.org/10.1371/journal.pcbi.1014809.s001

(TIF)

S2 Fig. The relationship between production and breakdown for fast-moving cells and a broken down autoattractant, for different diffusion speeds of attractant and autoattractant.

https://doi.org/10.1371/journal.pcbi.1014809.s002

(TIF)

S3 Fig. The relationship between production and breakdown for slow-moving cells and a broken down autoattractant, for different diffusion speeds of attractant and autoattractant.

https://doi.org/10.1371/journal.pcbi.1014809.s003

(TIF)

S4 Fig. The relationship between production and mean lifetime for fast-moving cells and a decaying autoattractant, for different diffusion speeds of attractant and autoattractant.

https://doi.org/10.1371/journal.pcbi.1014809.s004

(TIF)

S5 Fig. For A,C,D: Gradient strength is represented by the average difference in autoattractant receptor binding over every 10 m (one grid site) distance across the narrow side of the environment.

Higher gradient strength indicates stronger cell-cell attraction. Details of calculation in methods section 4.5. A. The relation between gradient strength and the average distance between cells in the first half of the simulation as in Fig 6D. B. The relation between the fraction of cells migrated by the end of the simulation, and the average distance between cells in the first half of the simulation, for the simulations of Figs 3A, 4B, 5C, and 5E. C. The relation between gradient strength and the fraction of cells migrated, for cells with decaying autoattractant, as in Figs 4B and Fig 5E. D. The relation between gradient strength and the fraction of cells migrated, for fast and slow-moving cells with broken down autoattractant, as in Figs 3A and 5C.

https://doi.org/10.1371/journal.pcbi.1014809.s005

(TIF)

S1 Video. Visualisation of the simulations corresponding to Fig 2A, 2B, 2D and 2E, showing the effect of different production ratios on the migration of fast-moving cells that break down autoattractant.

https://doi.org/10.1371/journal.pcbi.1014809.s006

(MP4)

S2 Video. Visualisation of the simulation corresponding to Fig 4A and two additional conditions from Fig 4B, showing the effect of a decaying autoattractant on the migration of fast-moving cells that do not break down autoattractant.

https://doi.org/10.1371/journal.pcbi.1014809.s007

(MP4)

S3 Video. Visualisation of the simulations corresponding to Fig 5A and 5B, showing the effect of an autoattractant on the migration of slow-moving cells that break down autoattractant.

https://doi.org/10.1371/journal.pcbi.1014809.s008

(MP4)

S4 Video. Visualisation of the simulations corresponding to the four insets of Fig 5E, showing the effect of different production ratios and autoattractant lifetimes on slow-moving cells that do not break down autoattractant.

https://doi.org/10.1371/journal.pcbi.1014809.s009

(MP4)

Acknowledgments

The authors acknowledge the use of the UCL Myriad High Performance Computing Facility (Myriad@UCL), and associated support services, in the completion of this work. The authors also acknowledge the use of the UCL Condenser private cloud platform, and the support of the UCL Centre for Advanced Research Computing, in the completion of this work.

References

  1. 1. Afonso PV, Janka-Junttila M, Lee YJ, McCann CP, Oliver CM, Aamer KA, et al. LTB4 is a signal-relay molecule during neutrophil chemotaxis. Dev Cell. 2012;22(5):1079–91. pmid:22542839
  2. 2. McDonald PP, McColl SR, Braquet P, Borgeat P. Autocrine enhancement of leukotriene synthesis by endogenous leukotriene B4 and platelet-activating factor in human neutrophils. Br J Pharmacol. 1994;111(3):852–60. pmid:8019762
  3. 3. Strickland E, Pan D, Godfrey C, Kim JS, Hopke A, Ji W, et al. Self-extinguishing relay waves enable homeostatic control of human neutrophil swarming. Dev Cell. 2024;59(19):2659-2671.e4. pmid:38971157
  4. 4. Bray MA. The pharmacology and pathophysiology of leukotriene B4. Br Med Bull. 1983;39(3):249–54. pmid:6313116
  5. 5. Baggiolini M, Clark-Lewis I. Interleukin-8, a chemotactic and inflammatory cytokine. FEBS Lett. 1992;307(1):97–101. pmid:1639201
  6. 6. Bazzoni F, Cassatella MA, Rossi F, Ceska M, Dewald B, Baggiolini M. Phagocytosing neutrophils produce and release high amounts of the neutrophil-activating peptide 1/interleukin 8. J Exp Med. 1991;173(3):771–4. pmid:1997655
  7. 7. Dou Y, Wu H-J, Li H-Q, Qin S, Wang Y-E, Li J, et al. Microglial migration mediated by ATP-induced ATP release from lysosomes. Cell Res. 2012;22(6):1022–33.
  8. 8. Imura Y, Morizawa Y, Komatsu R, Shibata K, Shinozaki Y, Kasai H, et al. Microglia release ATP by exocytosis: Microglia exocytose ATP. Glia. 2013;61(8):1320–30.
  9. 9. Tulapurkar ME, Schäfer R, Hanck T, Flores RV, Weisman GA, González FA, et al. Endocytosis mechanism of P2Y2 nucleotide receptor tagged with green fluorescent protein: Clathrin and actin cytoskeleton dependence. Cell Mol Life Sci. 2005;62(12):1388–99. pmid:15924261
  10. 10. Calovi S, Mut-Arbona P, Sperlágh B. Microglia and the purinergic signaling system. Neuroscience. 2019;405:137–47. pmid:30582977
  11. 11. Humbles AA, Lu B, Friend DS, Okinaga S, Lora J, Al-Garawi A, et al. The murine CCR3 receptor regulates both the role of eosinophils and mast cells in allergen-induced airway inflammation and hyperresponsiveness. Proc Natl Acad Sci U S A. 2002;99(3):1479–84. pmid:11830666
  12. 12. Amorim NRT, Luna-Gomes T, Gama-Almeida M, Souza-Almeida G, Canetti C, Diaz BL, et al. Leptin elicits LTC4 synthesis by eosinophils mediated by sequential two-step autocrine activation of CCR3 and PGD2 receptors. Front Immunol. 2018;9:2139. pmid:30298073
  13. 13. Liston TE, Roberts LJ 2nd. Metabolic fate of radiolabeled prostaglandin D2 in a normal human male volunteer. J Biol Chem. 1985;260(24):13172–80. pmid:3863815
  14. 14. Schuligoi R, Schmidt R, Geisslinger G, Kollroser M, Peskar BA, Heinemann A. PGD2 metabolism in plasma: Kinetics and relationship with bioactivity on DP1 and CRTH2 receptors. Biochem Pharmacol. 2007;74(1):107–17.
  15. 15. Hirai H, Tanaka K, Yoshie O, Ogawa K, Kenmotsu K, Takamori Y, et al. Prostaglandin D2 selectively induces chemotaxis in T helper type 2 cells, eosinophils, and basophils via seven-transmembrane receptor CRTH2. J Exp Med. 2001;193(2):255–61. pmid:11208866
  16. 16. Tweedy L, Knecht DA, Mackay GM, Insall RH. Self-generated chemoattractant gradients: Attractant depletion extends the range and robustness of chemotaxis. PLoS Biol. 2016;14(3):e1002404. pmid:26981861
  17. 17. Tweedy L, Insall RH. Self-generated gradients yield exceptionally robust steering cues. Front Cell Dev Biol. 2020;8:133.
  18. 18. Insall RH, Paschke P, Tweedy L. Steering yourself by the bootstraps: How cells create their own gradients for chemotaxis. Trends Cell Biol. 2022;32(7):585–96. pmid:35351380
  19. 19. Dowdell A, Paschke PI, Thomason PA, Tweedy L, Insall RH. Competition between chemoattractants causes unexpected complexity and can explain negative chemotaxis. Curr Biol. 2023;33(9):1704-1715.e3. pmid:37001521
  20. 20. Kiran A, Thomason PA, Versluis DM, Paschke PI, Donnelly H, Tweedy L, et al. Macrophages self-generate and refine chemotactic gradients during migration towards complement C5a. PLoS Biol. 2026;24(4):e3003728. pmid:41926388
  21. 21. Muinonen-Martin AJ, Veltman DM, Kalna G, Insall RH. An improved chamber for direct visualisation of chemotaxis. PLoS One. 2010;5(12):e15309. pmid:21179457
  22. 22. Young ME, Carroad PA, Bell RL. Estimation of diffusion coefficients of proteins. Biotechnol Bioeng. 1980;22(5):947–55.
  23. 23. Francis K, Palsson BO. Effective intercellular communication distances are determined by the relative time constants for cyto/chemokine secretion and diffusion. Proc Natl Acad Sci U S A. 1997;94(23):12258–62. pmid:9356436
  24. 24. Hoang AN, Jones CN, Dimisko L, Hamza B, Martel J, Kojic N, et al. Measuring neutrophil speed and directionality during chemotaxis, directly from a droplet of whole blood. Technology (Singap World Sci). 2013;1(1):49. pmid:24809064
  25. 25. Irimia D, Liu S-Y, Tharp WG, Samadani A, Toner M, Poznansky MC. Microfluidic system for measuring neutrophil migratory responses to fast switches of chemical gradients. Lab Chip. 2006;6(2):191–8. pmid:16450027
  26. 26. Snyderman R, Fudman EJ. Demonstration of a chemotactic factor receptor on macrophages. J Immunol. 1980;124(6):2754–7. pmid:7373048
  27. 27. Miller H, Cosgrove J, Wollman AJM, Taylor E, Zhou Z, O’Toole PJ, et al. High-speed single-molecule tracking of CXCL13 in the B-follicle. Front Immunol. 2018;9:1073. pmid:29872430
  28. 28. Bowen WJ, Martin HL. The diffusion of adenosine triphosphate through aqueous solutions. Arch Biochem Biophys. 1964;107:30–6. pmid:14211563
  29. 29. Lämmermann T, Afonso PV, Angermann BR, Wang JM, Kastenmüller W, Parent CA, et al. Neutrophil swarms require LTB4 and integrins at sites of cell death in vivo. Nature. 2013;498(7454):371–5. pmid:23708969
  30. 30. Pálsson E, Lee KJ, Goldstein RE, Franke J, Kessin RH, Cox EC. Selection for spiral waves in the social amoebae Dictyostelium. Proc Natl Acad Sci U S A. 1997;94(25):13719–23. pmid:9391092
  31. 31. Eisenbarth SC. Dendritic cell subsets in T cell programming: Location dictates function. Nat Rev Immunol. 2019;19(2):89–103. pmid:30464294
  32. 32. Bousso P. T-cell activation by dendritic cells in the lymph node: Lessons from the movies. Nat Rev Immunol. 2008;8(9):675–84. pmid:19172690
  33. 33. Malet-Engra G, Yu W, Oldani A, Rey-Barroso J, Gov NS, Scita G, et al. Collective cell motility promotes chemotactic prowess and resistance to chemorepulsion. Curr Biol. 2015;25(2):242–50. pmid:25578904
  34. 34. Carmona-Fontaine C, Theveneau E, Tzekou A, Tada M, Woods M, Page KM, et al. Complement fragment C3a controls mutual cell attraction during collective cell migration. Dev Cell. 2011;21(6):1026–37. pmid:22118769