Phylogeny-aware alignment with PRANK

  • Ari Löytynoja
Part of the Methods in Molecular Biology book series (MIMB, volume 1079)


Evolutionary analyses require sequence alignments that correctly represent evolutionary homology. Evolutionary and structural homology are not the same and sequence alignments generated with methods designed for structural matching can be seriously misleading in comparative and phylogenetic analyses. The phylogeny-aware alignment algorithm implemented in the program prank has been shown to produce good alignments for evolutionary inferences. Unlike other alignment programs, prank makes use of phylogenetic information to distinguish alignment gaps caused by insertions or deletions and, thereafter, handles the two types of events differently. As a by-product of the correct handling of insertions and deletions, prank can provide the inferred ancestral sequences as a part of the output and mark the alignment gaps differently depending on their origin in insertion or deletion events. As the algorithm infers the evolutionary history of the sequences, prank can be sensitive to errors in the guide phylogeny and violations on the underlying assumptions about the origin and patterns of gaps. These issues are discussed in detail and practical advice for the use of prank in evolutionary analysis is provided. The prank software and other methods discussed here can be found from the program home page at

Key words

Phylogeny-aware alignment Evolutionary sequence analysis Insertions and deletions Character homology 


  1. 1.
    Sankoff D (1975) Minimal mutation trees of sequences. SIAM J Appl Math 28:35–42CrossRefGoogle Scholar
  2. 2.
    Ogurtsov A, Sunyaev S, Kondrashov A (2004) Indel-based evolutionary distance and mouse-human divergence. Genome Res 14:1610–1616PubMedCrossRefGoogle Scholar
  3. 3.
    Hogeweg P, Hesper B (1984) The alignment of sets of sequences and the construction of phyletic trees: an integrated method. J Mol Evol 20:175–186PubMedCrossRefGoogle Scholar
  4. 4.
    Feng D, Doolittle R (1987) Progressive sequence alignment as a prerequisite to correct phylogenetic trees. J Mol Evol 25:351–360PubMedCrossRefGoogle Scholar
  5. 5.
    Löytynoja A, Goldman N (2008) Phylogeny-aware gap placement prevents errors in sequence alignment and evolutionary analysis. Science 320:1632–1635PubMedCrossRefGoogle Scholar
  6. 6.
    Löytynoja A, Goldman N (2005) An algorithm for progressive multiple alignment of sequences with insertions. Proc Natl Acad Sci USA 102:10557–10562PubMedCrossRefGoogle Scholar
  7. 7.
    Larkin M, Blackshields G, Brown N, Chenna R, McGettigan P, McWilliam H, Valentin F, Wallace I, Wilm A, Lopez R, Thompson J, Gibson T, Higgins D (2007) Clustal W and Clustal X version 2.0. Bioinformatics 23:2947–2948PubMedCrossRefGoogle Scholar
  8. 8.
    Edgar R (2004) MUSCLE: multiple sequence alignment with high accuracy and high throughput. Nucleic Acids Res 32:1792–1797PubMedCrossRefGoogle Scholar
  9. 9.
    Liu K, Raghavan S, Nelesen S, Linder C, Warnow T (2009) Rapid and accurate large-scale coestimation of sequence alignments and phylogenetic trees. Science 324:1561–1564PubMedCrossRefGoogle Scholar
  10. 10.
    Fletcher W, Yang Z (2010) The effect of insertions, deletions, and alignment errors on the branch-site test of positive selection. Mol Biol Evol 27:2257–2267PubMedCrossRefGoogle Scholar
  11. 11.
    Jordan G, Goldman N (2012) The effects of alignment error and alignment filtering on the sitewise detection of positive selection. Mol Biol Evol 29:1125–1139PubMedCrossRefGoogle Scholar
  12. 12.
    Dessimoz C, Gil M (2010) Phylogenetic assessment of alignments reveals neglected tree signal in gaps. Genome Biol 11:R37PubMedCrossRefGoogle Scholar
  13. 13.
    Landan G, Graur D (2007) Heads or tails: a simple reliability check for multiple sequence alignments. Mol Biol Evol 24:1380–1383PubMedCrossRefGoogle Scholar
  14. 14.
    Suchard M, Redelings B (2006) BAli-Phy: simultaneous Bayesian inference of alignment and phylogeny. Bioinformatics 22:2047–2048PubMedCrossRefGoogle Scholar
  15. 15.
    Novák A, Miklós I, Lyngsø R, Hein J (2008) StatAlign: an extendable software package for joint Bayesian estimation of alignments and evolutionary trees. Bioinformatics 24:2403–2404PubMedCrossRefGoogle Scholar
  16. 16.
    Löytynoja A, Vilella A, Goldman N (2012) Accurate extension of multiple sequence alignments using a phylogeny-aware graph algorithm. Bioinformatics 28:1684–1691PubMedCrossRefGoogle Scholar
  17. 17.
    Löytynoja A, Goldman N (2010) webPRANK: a phylogeny-aware multiple sequence aligner with interactive alignment browser. BMC Bioinformatics 11:579Google Scholar

Copyright information

© Springer Science+Business Media, LLC 2014

Authors and Affiliations

  • Ari Löytynoja
    • 1
  1. 1.Institute of BiotechnologyUniversity of HelsinkiHelsinkiFinland

Personalised recommendations