TreeCluster: Clustering biological sequences using phylogenetic trees.

Metin Balaban, Niema Moshiri, Uyen Mai, Xingfan Jia, Siavash Mirarab
Author Information
  1. Metin Balaban: Bioinformatics and Systems Biology Graduate Program, UC San Diego, La Jolla, CA 92093, United States of America. ORCID
  2. Niema Moshiri: Bioinformatics and Systems Biology Graduate Program, UC San Diego, La Jolla, CA 92093, United States of America. ORCID
  3. Uyen Mai: Computer Science and Engineering, UC San Diego, La Jolla, CA 92093, United States of America.
  4. Xingfan Jia: Department of Mathematics, UC San Diego, La Jolla, CA 92093, United States of America.
  5. Siavash Mirarab: Department of Electrical and Computer Engineering, UC San Diego, La Jolla, CA 92093, United States of America.

Abstract

Clustering homologous sequences based on their similarity is a problem that appears in many bioinformatics applications. The fact that sequences cluster is ultimately the result of their phylogenetic relationships. Despite this observation and the natural ways in which a tree can define clusters, most applications of sequence clustering do not use a phylogenetic tree and instead operate on pairwise sequence distances. Due to advances in large-scale phylogenetic inference, we argue that tree-based clustering is under-utilized. We define a family of optimization problems that, given an arbitrary tree, return the minimum number of clusters such that all clusters adhere to constraints on their heterogeneity. We study three specific constraints, limiting (1) the diameter of each cluster, (2) the sum of its branch lengths, or (3) chains of pairwise distances. These three problems can be solved in time that increases linearly with the size of the tree, and for two of the three criteria, the algorithms have been known in the theoretical computer scientist literature. We implement these algorithms in a tool called TreeCluster, which we test on three applications: OTU clustering for microbiome data, HIV transmission clustering, and divide-and-conquer multiple sequence alignment. We show that, by using tree-based distances, TreeCluster generates more internally consistent clusters than alternatives and improves the effectiveness of downstream applications. TreeCluster is available at https://github.com/niemasd/TreeCluster.

References

  1. PLoS Med. 2015 Nov 03;12(11):e1001898; discussion e1001898 [PMID: 26529093]
  2. Bioinformatics. 2007 Jul 1;23(13):i559-68 [PMID: 17646343]
  3. Nat Methods. 2018 Oct;15(10):796-798 [PMID: 30275573]
  4. Genome Res. 2003 Sep;13(9):2178-89 [PMID: 12952885]
  5. Bioinformatics. 2011 Dec 1;27(23):3250-8 [PMID: 21984754]
  6. PLoS One. 2013 Aug 13;8(8):e70837 [PMID: 23967117]
  7. J Infect Dis. 2012 May 15;205(10):1529-33 [PMID: 22448013]
  8. PLoS One. 2010 Mar 10;5(3):e9490 [PMID: 20224823]
  9. J Infect Dis. 2011 Nov;204(9):1463-9 [PMID: 21921202]
  10. Brief Bioinform. 2008 Jul;9(4):286-98 [PMID: 18372315]
  11. mSystems. 2017 Mar 7;2(2): [PMID: 28289731]
  12. Bioinformatics. 2006 Jul 1;22(13):1658-9 [PMID: 16731699]
  13. SoftwareX. 2020 Jan-Jun;11: [PMID: 35903557]
  14. J Infect Dis. 2018 Nov 5;218(12):1943-1953 [PMID: 30010850]
  15. NPJ Biofilms Microbiomes. 2016 Apr 20;2:16004 [PMID: 28721243]
  16. Genome Biol. 2018 Jun 27;19(1):82 [PMID: 29950165]
  17. PLoS One. 2017 Aug 11;12(8):e0182238 [PMID: 28800608]
  18. Genome Biol. 2015 Jun 16;16:124 [PMID: 26076734]
  19. Appl Environ Microbiol. 2005 Mar;71(3):1501-6 [PMID: 15746353]
  20. Nucleic Acids Res. 2011 Aug;39(14):e95 [PMID: 21596775]
  21. Proc Natl Acad Sci U S A. 1996 Oct 1;93(20):10864-9 [PMID: 8855273]
  22. Nat Biotechnol. 2017 Nov;35(11):1026-1028 [PMID: 29035372]
  23. Virus Evol. 2018 Jan 08;4(1):vex042 [PMID: 29340210]
  24. Nat Methods. 2016 Jul;13(7):581-3 [PMID: 27214047]
  25. PLoS Pathog. 2009 Sep;5(9):e1000590 [PMID: 19779560]
  26. J Comput Biol. 2015 May;22(5):377-86 [PMID: 25549288]
  27. Bioinformatics. 2014 May 1;30(9):1312-3 [PMID: 24451623]
  28. BMC Bioinformatics. 2013 Nov 06;14:317 [PMID: 24191891]
  29. Genome Inform. 2009 Oct;23(1):205-11 [PMID: 20180275]
  30. Appl Environ Microbiol. 2006 Jul;72(7):5069-72 [PMID: 16820507]
  31. AIDS. 2014 Aug 24;28(13):1967-75 [PMID: 24991999]
  32. Nucleic Acids Res. 2001 Jan 1;29(1):173-4 [PMID: 11125082]
  33. J Infect Dis. 2011 Dec 15;204(12):1918-26 [PMID: 21990420]
  34. Bioinformatics. 2010 Oct 1;26(19):2460-1 [PMID: 20709691]
  35. Appl Environ Microbiol. 2011 May;77(10):3219-26 [PMID: 21421784]
  36. AIDS. 2004 Mar 26;18(5):719-28 [PMID: 15075506]
  37. Bioinformatics. 2019 Jun 1;35(11):1852-1861 [PMID: 30395173]
  38. Nucleic Acids Res. 2013 Jan;41(Database issue):D590-6 [PMID: 23193283]
  39. Bioinformatics. 2013 Apr 15;29(8):989-95 [PMID: 23428640]
  40. Science. 2009 Jun 19;324(5934):1561-4 [PMID: 19541996]
  41. Clin Infect Dis. 2012 Oct;55(8):1135-43 [PMID: 22784872]
  42. Syst Biol. 2012 Jan;61(1):90-106 [PMID: 22139466]
  43. Nucleic Acids Res. 2002 Apr 1;30(7):1575-84 [PMID: 11917018]
  44. Cell. 2014 Jul 17;158(2):250-262 [PMID: 25036628]
  45. Mol Biol Evol. 1993 May;10(3):512-26 [PMID: 8336541]
  46. Mol Biol Evol. 2018 Jul 1;35(7):1812-1819 [PMID: 29401317]

Grants

  1. P30 AI027767/NIAID NIH HHS

MeSH Term

Algorithms
Base Sequence
Cluster Analysis
Computational Biology
HIV
HIV Infections
Humans
Microbiota
Phylogeny
Sequence Alignment
Software

Word Cloud

Created with Highcharts 10.0.0phylogenetictreeclustersclusteringthreesequencesapplicationssequencedistancesTreeClusterClusteringclustercandefinepairwisetree-basedproblemsconstraintsalgorithmsusinghomologousbasedsimilarityproblemappearsmanybioinformaticsfactultimatelyresultrelationshipsDespiteobservationnaturalwaysuseinsteadoperateDueadvanceslarge-scaleinferenceargueunder-utilizedfamilyoptimizationgivenarbitraryreturnminimumnumberadhereheterogeneitystudyspecificlimiting1diameter2sumbranchlengths3chainssolvedtimeincreaseslinearlysizetwocriteriaknowntheoreticalcomputerscientistliteratureimplementtoolcalledtestapplications:OTUmicrobiomedataHIVtransmissiondivide-and-conquermultiplealignmentshowgeneratesinternallyconsistentalternativesimproveseffectivenessdownstreamavailablehttps://githubcom/niemasd/TreeClusterTreeCluster:biologicaltrees

Similar Articles

Cited By