Protocol | Published:

Quantitative and unbiased analysis of directional persistence in cell migration

Nature Protocols volume 9, pages 19311943 (2014) | Download Citation


The mechanism by which cells control directional persistence during migration is a major question. However, the common index measuring directional persistence, namely the ratio of displacement to trajectory length, is biased, particularly by cell speed. An unbiased method is to calculate direction autocorrelation as a function of time. This function depends only on the angles of the vectors tangent to the trajectory. This method has not been widely used, because it is more difficult to compute. Here we discuss biases of the classical index and introduce a custom-made open-source computer program, DiPer, which calculates direction autocorrelation. In addition, DiPer also plots and calculates other essential parameters to analyze cell migration in two dimensions: it displays cell trajectories individually and collectively, and it calculates average speed and mean square displacements (MSDs) to assess the area explored by cells over time. This user-friendly program is executable through Microsoft Excel, and it generates plots of publication-level quality. The protocol takes 15 min to complete. We have recently used DiPer to analyze cell migration of three different mammalian cell types in 2D cultures: the mammary carcinoma cell line MDA-MB-231, the motile amoeba Dictyostelium discoideum and fish-scale keratocytes. DiPer can potentially be used not only for random migration in 2D but also for directed migration and for migration in 3D (direction autocorrelation only). Moreover, it can be used for any types of tracked particles: cellular organelles, bacteria and whole organisms.

Access optionsAccess options

Rent or Buy article

Get time limited or full article access on ReadCube.


All prices are NET prices.


  1. 1.

    et al. Inhibitory signalling to the Arp2/3 complex steers cell migration. Nature 503, 281–284 (2013).

  2. 2.

    , & Directional persistence of migrating cells requires Kif1C-mediated stabilization of trailing adhesions. Dev. Cell 23, 1153–1166 (2012).

  3. 3.

    Characterising a kinesis response: time averaged measures of cell speed and directional persistence. Agents Actions Suppl. 12, 14–33 (1983).

  4. 4.

    & On the theory of Brownian motion. Phys. Rev. 36, 823–841 (1930).

  5. 5.

    & Optimal estimation of cell movement indices from the statistical analysis of cell tracking data. AIChE J. 39, 1995–2010 (1993).

  6. 6.

    , , & Anomalous dynamics of cell migration. Proc. Natl. Acad. Sci. USA 105, 459–463 (2008).

  7. 7.

    , & Persistent cell motion in the absence of external signals: a search strategy for eukaryotic cells. PLoS ONE 3, e2093 (2008).

  8. 8.

    , , , & Human mammary epithelial cells exhibit a bimodal correlated random walk pattern. PLoS ONE 5, e9636 (2010).

  9. 9.

    , & Random versus directionally persistent cell migration. Nat. Rev. Mol. Cell Biol. 10, 538–549 (2009).

  10. 10.

    Understanding eukaryotic chemotaxis: a pseudopod-centred view. Nat. Rev. Mol. Cell Biol. 11, 453–458 (2010).

  11. 11.

    History of the concept of spatial autocorrelation: a geographer's perspective. Geogr. Anal. 40, 297–309 (2008).

  12. 12.

    , , , & Migration of cells in a social context. Proc. Natl. Acad. Sci. USA 110, 129–134 (2013).

  13. 13.

    , , , & Cell_motility: a cross-platform, open source application for the study of cell motion paths. BMC Bioinformatics 7, 289 (2006).

  14. 14.

    , & The development of a novel high-throughput computational tool for studying individual and collective cellular migration. PLoS ONE 8, e82444 (2013).

  15. 15.

    et al. Automated velocity mapping of migrating cell populations (AVeMap). Nat. Methods 9, 1081–1083 (2012).

  16. 16.

    , & Methods for cell and particle tracking. Methods Enzymol. 504, 183–200 (2012).

  17. 17.

    , , & A quorum-sensing factor in vegetative Dictyostelium discoideum cells revealed by quantitative migration analysis. PLoS ONE 6, e26901 (2011).

  18. 18.

    Cell Movements: From Molecules to Motility 2nd edn. (Garland Science, 2000).

  19. 19.

    , & Organization and patterns of inter-and intraspecific variation in the behaviour of Drosophila larvae. Animal Behav. 31, 282–291 (1983).

Download references


We thank N. Kurochkina, C. Merrifield, G. Romet-Lemonne, S. Shekhar and G. Taver for their technical advice. We acknowledge support from Fondation ARC (l'Association pour la Recherche sur le Cancer) pour la Recherche sur le Cancer (PDF20111204331 to R.G.) and from Agence Nationale pour la Recherche (ANR-11-BSV8-0010-02 to A.G.).

Author information


  1. Laboratoire d'Enzymologie et Biochimie Structurales, Gif-sur-Yvette, France.

    • Roman Gorelik
    •  & Alexis Gautreau


  1. Search for Roman Gorelik in:

  2. Search for Alexis Gautreau in:


R.G. and A.G. conceived the work; R.G. wrote all computer programs; A.G. supervised their development; and R.G. wrote the first draft of the manuscript, and a final version was reached through exchanges between both authors.

Competing interests

The authors declare no competing financial interests.

Corresponding authors

Correspondence to Roman Gorelik or Alexis Gautreau.

Supplementary information

Text files

  1. 1.

    Supplementary Data 1

    'Plot_at_Origin' program source code.

  2. 2.

    Supplementary Data 2

    'Make_Charts' program source code.

  3. 3.

    Supplementary Data 3

    'Sparse_Data' program source code.

  4. 4.

    Supplementary Data 6

    'Speed' program source code.

  5. 5.

    Supplementary Data 7

    'Dir_Ratio' program source code.

  6. 6.

    Supplementary Data 8

    'MSD' program source code.

  7. 7.

    Supplementary Data 9

    'Autocorrel' program source code.

  8. 8.

    Supplementary Data 10

    'Autocorrel No Gaps' program source code.

  9. 9.

    Supplementary Data 11

    'Autocorrel 3D' program source code.

  10. 10.

    Supplementary Data 12

    'Vel Cor' program source code.

Excel files

  1. 1.

    Supplementary Data 4

    An example input file containing migration coordinates of amoeba Dictyostelium discoideum under three different conditions: wild-type (WT), Arpin KO (knock-out), and GFP-Arpin (rescue). Note that for each condition there is one worksheet, and all trajectories within a worksheet are listed one immediately below another without spaces. Columns 4, 5, and 6 contain frame number, X coordinate, and Y coordinate, respectively. This file was used to generate outputs in Figure 2, 4a, and 5.

  2. 2.

    Supplementary Data 5

    An example input file containing migration coordinates of fish scale keratocytes under two different conditions: microinjected with either buffer (Buffer), or full-length Arpin (FL). Note that for each condition there is one worksheet, and all trajectories within a worksheet are listed one immediately below another without spaces. Columns 4, 5, and 6 contain frame number, X coordinate, and Y coordinate, respectively. This file was used to generate outputs in Figure 4b.

About this article

Publication history



Further reading


By submitting a comment you agree to abide by our Terms and Community Guidelines. If you find something abusive or that does not comply with our terms or guidelines please flag it as inappropriate.