Skip to main content
Log in

Faster exact computation of rSPR distance

  • Published:
Journal of Combinatorial Optimization Aims and scope Submit manuscript

Abstract

Due to hybridization events in evolution, studying two different genes of a set of species may yield two related but different phylogenetic trees for the set of species. In this case, we want to measure the dissimilarity of the two trees. The rooted subtree prune and regraft (rSPR) distance of the two trees has been used for this purpose, and many algorithms and software tools have been developed for computing the rSPR distance of two given phylogenetic trees. The previously fastest exact algorithm for this problem runs in \(O\left( 2.415^dn\right) \) time, where \(n\) and \(d\) are the number of leaves and the rSPR distance of the input trees, respectively. In this paper, we present a faster exact algorithm which runs in \(O\left( 2.344^dn\right) \) time. Our experiments show that the new algorithm is significantly faster than the newest version (namely, v1.1.1) of the previously best software (namely, rSPR) for RSPR distance.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Institutional subscriptions

Fig. 1
Fig. 2
Fig. 3
Fig. 4
Fig. 5
Fig. 6
Fig. 7
Fig. 8
Fig. 9
Fig. 10
Fig. 11
Fig. 12
Fig. 13
Fig. 14
Fig. 15
Fig. 16
Fig. 17
Fig. 18
Fig. 19
Fig. 20
Fig. 21
Fig. 22
Fig. 23
Fig. 24
Fig. 25
Fig. 26
Fig. 27
Fig. 28
Fig. 29
Fig. 30
Fig. 31
Fig. 32
Fig. 33
Fig. 34
Fig. 35
Fig. 36
Fig. 37
Fig. 38
Fig. 39

Similar content being viewed by others

Sujatha Thankeswaran Parvathy, Varatharajalu Udayasuriyan & Vijaipal Bhadana

Notes

  1. In other words, we can use a similar argument of Whidden et al. (2010) to prove the correctness of the processing of \(T_1\) and \(F_2\) in this case.

References

  • Beiko RG, Hamilton N (2006) Phylogenetic identification of lateral genetic transfer events. BMC Evol Biol 6:159–169

    Article  Google Scholar 

  • Bonet ML, John KSt, Mahindru R, Amenta N (2006) Approximating subtree distances between phylogenies. J Comput Biol 13:1419–1434

    Article  MathSciNet  Google Scholar 

  • Bordewich M, McCartin C, Semple C (2008) A 3-approximation algorithm for the subtree distance between phylogenies. J Discret Algorithms 6:458–471

    Article  MATH  MathSciNet  Google Scholar 

  • Bordewich M, Semple C (2005) On the computational complexity of the rooted subtree prune and regraft distance. Ann Combinatorics 8:409–423

    Article  MathSciNet  Google Scholar 

  • Chen Z-Z, Wang L (2012) FastHN: a fast tool for minimum hybridization networks. BMC Bioinform 13:155

    Article  Google Scholar 

  • Chen Z-Z, Wang L (2013) An ultrafast tool for minimum reticulate networks. J Comput Biol 20(1):38–41

    Article  MathSciNet  Google Scholar 

  • Gasieniec L, Jansson J, Lingas A, Östlin A (1999) On the complexity of constructing evolutionary trees. J Comb Optim 3:183–197

    Article  MATH  MathSciNet  Google Scholar 

  • Goloboff PA (2007) Calculating SPR distances between trees. Cladistics 24(4):591–597

    Article  Google Scholar 

  • Grass Phylogeny Working Group (2001) Phylogeny and subfamilial classification of the grasses (poaceae). Ann Mo Bot Gard 88:373–457

    Google Scholar 

  • Hein J, Jing T, Wang L, Zhang K (1996) On the complexity of comparing evolutionary trees. Discret Appl Math 71:153–169

    Article  MATH  Google Scholar 

  • Hill T, Nordström KJ, Thollesson M, Säfström TM, Vernersson AK, Fredriksson R, Schiöth HB (2010) SPRIT: identifying horizontal gene transfer in rooted phylogenetic trees. BMC Evolut Biol 10:42

    Article  Google Scholar 

  • Ma B, Wang L, Zhang L (1999) Fitting distances by tree metrics with increment error. J Comb Optim 3:213–225

    Article  MATH  MathSciNet  Google Scholar 

  • Ma B, Zhang L (2011) Efficient estimation of the accuracy of the maximum likelihood method for ancestral state reconstruction. J Comb Optim 21:409–422

    Article  MathSciNet  Google Scholar 

  • MacLeod D, Charlebois RL, Doolittle F, Bapteste E (2005) Deduction of probable events of lateral gene transfer through comparison of phylogenetic trees by recursive consolidation and rearrangement. BMC Evolut Biol 5(1):27

    Article  Google Scholar 

  • Rodrigues EM, Sagot M-F, Wakabayashi Y (2007) The maximum agreement forest problem: approximation algorithms and computational experiments. Theor Comput Sci 374:91–110

    Article  MATH  MathSciNet  Google Scholar 

  • Than C, Ruths D, Nakhleh L (2008) PhyloNet: a software package for analyzing and reconstructing reticulate evolutionary relationships. BMC Bioinform 9:322

    Article  Google Scholar 

  • Wu Y (2009) A practical method for exact computation of subtree prune and regraft distance. Bioinformatics 25(2):190–196

    Article  Google Scholar 

  • Whidden C, Beiko RG, Zeh N (2010) Fast FPT algorithms for computing rooted agreement forest: theory and experiments. LNCS 6049:141–153

    Google Scholar 

  • Whidden C, Zeh N (2009) A unifying view on approximation and FPT of agreement forests. LNCS 5724:390–401

    Google Scholar 

Download references

Acknowledgments

Zhi-Zhong Chen was supported in part by the Grant-in-Aid for Scientific Research of the Ministry of Education, Science, Sports and Culture of Japan, under Grant No. 24500023. Lusheng Wang was fully supported by a grant from the Research Grants Council of the Hong Kong Special Administrative Region, China [Project No. CityU 121608].

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Zhi-Zhong Chen.

Rights and permissions

Reprints and permissions

About this article

Cite this article

Chen, ZZ., Fan, Y. & Wang, L. Faster exact computation of rSPR distance. J Comb Optim 29, 605–635 (2015). https://doi.org/10.1007/s10878-013-9695-8

Download citation

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s10878-013-9695-8

Keywords

Navigation