{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,2,27]],"date-time":"2026-02-27T06:23:39Z","timestamp":1772173419064,"version":"3.50.1"},"update-to":[{"DOI":"10.1371\/journal.pcbi.1012585","type":"new_version","label":"New version","source":"publisher","updated":{"date-parts":[[2025,8,7]],"date-time":"2025-08-07T00:00:00Z","timestamp":1754524800000}}],"reference-count":43,"publisher":"Public Library of Science (PLoS)","issue":"7","license":[{"start":{"date-parts":[[2025,7,28]],"date-time":"2025-07-28T00:00:00Z","timestamp":1753660800000},"content-version":"vor","delay-in-days":0,"URL":"http:\/\/creativecommons.org\/licenses\/by\/4.0\/"}],"funder":[{"name":"Minist\u00e8re de l\u2019Enseignement sup\u00e9rieur et de la Recherche"}],"content-domain":{"domain":["www.ploscompbiol.org"],"crossmark-restriction":false},"short-container-title":["PLoS Comput Biol"],"abstract":"<jats:p>Ancestral sequence reconstruction is an important task in bioinformatics, with applications ranging from protein engineering to the study of genome evolution. When sequences can only undergo substitutions, optimal reconstructions can be efficiently computed using well-known algorithms. However, accounting for indels in ancestral reconstructions is much harder. First, for biologically-relevant problem formulations, no polynomial-time exact algorithms are available. Second, multiple reconstructions are often equally parsimonious or likely, making it crucial to correctly display uncertainty in the results. Here, we consider a parsimony approach where only deletions are allowed, while addressing the aforementioned limitations. First, we describe an exact algorithm to obtain all the optimal solutions. The algorithm runs in polynomial time if only one solution is sought. Second, we show that all possible optimal reconstructions for a fixed node can be represented using a graph computable in polynomial time. While previous studies have proposed graph-based representations of ancestral reconstructions, this result is the first to offer a solid mathematical justification for this approach. Finally we provide arguments for the relevance of the deletion-only case for the general case.<\/jats:p>","DOI":"10.1371\/journal.pcbi.1012585","type":"journal-article","created":{"date-parts":[[2025,7,28]],"date-time":"2025-07-28T17:55:44Z","timestamp":1753725344000},"page":"e1012585","update-policy":"https:\/\/doi.org\/10.1371\/journal.pcbi.corrections_policy","source":"Crossref","is-referenced-by-count":0,"title":["Algorithms to reconstruct past indels: The deletion-only parsimony problem"],"prefix":"10.1371","volume":"21","author":[{"given":"Jordan","family":"Moutet","sequence":"first","affiliation":[],"role":[{"role":"author","vocabulary":"crossref"}]},{"given":"Eric","family":"Rivals","sequence":"additional","affiliation":[],"role":[{"role":"author","vocabulary":"crossref"}]},{"ORCID":"https:\/\/orcid.org\/0000-0001-8084-1464","authenticated-orcid":true,"given":"Fabio","family":"Pardi","sequence":"additional","affiliation":[],"role":[{"role":"author","vocabulary":"crossref"}]}],"member":"340","published-online":{"date-parts":[[2025,7,28]]},"reference":[{"issue":"1","key":"pcbi.1012585.ref001","doi-asserted-by":"crossref","first-page":"1315","DOI":"10.1038\/s41598-020-57913-y","article-title":"Exploring the therapeutic potential of modern and ancestral phenylalanine\/tyrosine ammonia-lyases as supplementary treatment of hereditary tyrosinemia","volume":"10","author":"NM Hendrikse","year":"2020","journal-title":"Sci Rep."},{"key":"pcbi.1012585.ref002","doi-asserted-by":"crossref","first-page":"844","DOI":"10.1016\/j.toxrep.2020.07.004","article-title":"Safety evaluation of a novel variant of consensus bacterial phytase","volume":"7","author":"GS Ladics","year":"2020","journal-title":"Toxicol Rep."},{"issue":"1","key":"pcbi.1012585.ref003","doi-asserted-by":"crossref","first-page":"349","DOI":"10.1073\/pnas.1012457108","article-title":"Feasibility of reconstructed ancestral H5N1 influenza viruses for cross-clade protective vaccine development","volume":"108","author":"MF Ducatez","year":"2011","journal-title":"Proc Natl Acad Sci U S A."},{"issue":"9","key":"pcbi.1012585.ref004","doi-asserted-by":"crossref","first-page":"1483","DOI":"10.1093\/oxfordjournals.molbev.a004211","article-title":"Recreating a functional ancestral archosaur visual pigment","volume":"19","author":"BSW Chang","year":"2002","journal-title":"Mol Biol Evol."},{"issue":"12","key":"pcbi.1012585.ref005","doi-asserted-by":"crossref","first-page":"2412","DOI":"10.1101\/gr.2800104","article-title":"Reconstructing large regions of an ancestral mammalian genome in silico","volume":"14","author":"M Blanchette","year":"2004","journal-title":"Genome Res."},{"issue":"9","key":"pcbi.1012585.ref006","doi-asserted-by":"crossref","DOI":"10.1093\/molbev\/msae177","article-title":"Insertions and deletions: computational methods, evolutionary dynamics, and biological applications","volume":"41","author":"BD Redelings","year":"2024","journal-title":"Mol Biol Evol."},{"issue":"18","key":"pcbi.1012585.ref007","doi-asserted-by":"crossref","first-page":"3303","DOI":"10.1093\/bioinformatics\/btz068","article-title":"Rapid alignment-free phylogenetic identification of metagenomic sequences","volume":"35","author":"B Linard","year":"2019","journal-title":"Bioinformatics."},{"issue":"12","key":"pcbi.1012585.ref008","doi-asserted-by":"crossref","DOI":"10.1093\/bioinformatics\/btad692","article-title":"EPIK: precise and scalable evolutionary placement with informative k-mers","volume":"39","author":"N Romashchenko","year":"2023","journal-title":"Bioinformatics."},{"issue":"4","key":"pcbi.1012585.ref009","doi-asserted-by":"crossref","first-page":"406","DOI":"10.1093\/sysbio\/20.4.406","article-title":"Toward defining the course of evolution: minimum change for a specific tree topology","volume":"20","author":"WM Fitch","year":"1971","journal-title":"Systemat. Biol."},{"issue":"1","key":"pcbi.1012585.ref010","doi-asserted-by":"crossref","first-page":"35","DOI":"10.1137\/0128004","article-title":"Minimal mutation trees of sequences","volume":"28","author":"D Sankoff","year":"1975","journal-title":"SIAM J Appl Math."},{"issue":"4","key":"pcbi.1012585.ref011","doi-asserted-by":"crossref","first-page":"1641","DOI":"10.1093\/genetics\/141.4.1641","article-title":"A new method of inference of ancestral nucleotide and amino acid sequences","volume":"141","author":"Z Yang","year":"1995","journal-title":"Genetics."},{"issue":"2","key":"pcbi.1012585.ref012","doi-asserted-by":"crossref","first-page":"313","DOI":"10.1007\/BF02198858","article-title":"Probabilistic reconstruction of ancestral protein sequences","volume":"42","author":"JM Koshi","year":"1996","journal-title":"J Mol Evol."},{"issue":"6","key":"pcbi.1012585.ref013","doi-asserted-by":"crossref","first-page":"1699","DOI":"10.2307\/2410994","article-title":"Likelihood of ancestor states in adaptive radiation","volume":"51","author":"D Schluter","year":"1997","journal-title":"Evolution."},{"issue":"6","key":"pcbi.1012585.ref014","doi-asserted-by":"crossref","first-page":"890","DOI":"10.1093\/oxfordjournals.molbev.a026369","article-title":"A fast algorithm for joint reconstruction of ancestral amino acid sequences","volume":"17","author":"T Pupko","year":"2000","journal-title":"Mol Biol Evol."},{"key":"pcbi.1012585.ref015","doi-asserted-by":"crossref","unstructured":"Snir S, Pachter L. Phylogenetic profiling of insertions and deletions in vertebrate genomes. In: Annual International Conference on Research in Computational Molecular Biology. 2006. p. 265\u201380.","DOI":"10.1007\/11732990_23"},{"issue":"4","key":"pcbi.1012585.ref016","doi-asserted-by":"crossref","first-page":"446","DOI":"10.1089\/cmb.2007.A006","article-title":"Exact and heuristic algorithms for the indel maximum likelihood problem","volume":"14","author":"AB Diallo","year":"2007","journal-title":"J Comput Biol."},{"issue":"8","key":"pcbi.1012585.ref017","doi-asserted-by":"crossref","first-page":"967","DOI":"10.1089\/cmb.2010.0325","article-title":"Tracing the most parsimonious indel history","volume":"18","author":"S Snir","year":"2011","journal-title":"J Comput Biol."},{"key":"pcbi.1012585.ref018","doi-asserted-by":"crossref","unstructured":"Fredslund J, Hein J, Scharling T. A large version of the small parsimony problem. In: Algorithms in Bioinformatics: Third International Workshop, WABI 2003, Budapest, Hungary, September 15\u201320, 2003. Proceedings 3. 2003. p. 417\u201332.","DOI":"10.1007\/978-3-540-39763-2_30"},{"issue":"3","key":"pcbi.1012585.ref019","doi-asserted-by":"crossref","first-page":"289","DOI":"10.1093\/bioinformatics\/btl578","article-title":"Indelign: a probabilistic framework for annotation of insertions and deletions in a multiple alignment","volume":"23","author":"J Kim","year":"2007","journal-title":"Bioinformatics."},{"key":"pcbi.1012585.ref020","doi-asserted-by":"crossref","first-page":"171","DOI":"10.1007\/978-1-59745-581-7_11","article-title":"Computational reconstruction of ancestral DNA sequences","author":"M Blanchette","year":"2008","journal-title":"Phylogenomics."},{"issue":"2","key":"pcbi.1012585.ref021","doi-asserted-by":"crossref","first-page":"369","DOI":"10.1093\/sysbio\/49.2.369","article-title":"Gaps as characters in sequence-based phylogenetic analyses","volume":"49","author":"MP Simmons","year":"2000","journal-title":"Syst Biol."},{"key":"pcbi.1012585.ref022","doi-asserted-by":"crossref","DOI":"10.1093\/nar\/gks498","article-title":"FastML: a web server for probabilistic reconstruction of ancestral sequences","volume":"40","author":"H Ashkenazy","year":"2012","journal-title":"Nucleic Acids Res."},{"issue":"10","key":"pcbi.1012585.ref023","doi-asserted-by":"crossref","DOI":"10.1371\/journal.pcbi.1010633","article-title":"Engineering indel and substitution variants of diverse and ancient enzymes using Graphical Representation of Ancestral Sequence Predictions (GRASP)","volume":"18","author":"G Foley","year":"2022","journal-title":"PLOS Comput Biol."},{"issue":"2","key":"pcbi.1012585.ref024","doi-asserted-by":"crossref","first-page":"307","DOI":"10.1093\/sysbio\/syac050","article-title":"ARPIP: ancestral sequence reconstruction with insertions and deletions under the poisson indel process","volume":"72","author":"G Jowkar","year":"2023","journal-title":"Syst Biol."},{"issue":"7","key":"pcbi.1012585.ref025","doi-asserted-by":"crossref","DOI":"10.1093\/molbev\/msae109","article-title":"Please mind the gap: indel-aware parsimony for fast and accurate ancestral sequence reconstruction and multiple sequence alignment including long indels","volume":"41","author":"C Iglhaut","year":"2024","journal-title":"Mol Biol Evol."},{"key":"pcbi.1012585.ref026","doi-asserted-by":"crossref","DOI":"10.1093\/bioinformatics\/btae254","article-title":"Optimal phylogenetic reconstruction of insertion and deletion events","volume":"40","author":"S Tule","year":"2024","journal-title":"Bioinformatics."},{"issue":"3","key":"pcbi.1012585.ref027","doi-asserted-by":"crossref","first-page":"721","DOI":"10.1142\/S0219720006002168","article-title":"On the inference of parsimonious indel evolutionary scenarios","volume":"4","author":"L Chindelevitch","year":"2006","journal-title":"J Bioinform Comput Biol."},{"key":"pcbi.1012585.ref028","doi-asserted-by":"crossref","unstructured":"Diallo AB, Makarenkov V, Blanchette M. Finding maximum likelihood indel scenarios. In: Comparative Genomics: RECOMB 2006 International Workshop, RCG 2006 Montreal, Canada, September 24-26, 2006 Proceedings, 2006. p. 171\u201385.","DOI":"10.1007\/11864127_14"},{"key":"pcbi.1012585.ref029","unstructured":"Diallo AB. Inference of insertion and deletion scenarios for ancestral genome reconstruction and phylogenetic analyses: algorithms and biological applications. 2009."},{"issue":"2","key":"pcbi.1012585.ref030","doi-asserted-by":"crossref","first-page":"114","DOI":"10.1007\/BF02193625","article-title":"An evolutionary model for maximum likelihood alignment of DNA sequences","volume":"33","author":"JL Thorne","year":"1991","journal-title":"J Mol Evol."},{"issue":"1","key":"pcbi.1012585.ref031","doi-asserted-by":"crossref","first-page":"3","DOI":"10.1007\/BF00163848","article-title":"Inching toward reality: an improved likelihood model of sequence evolution","volume":"34","author":"JL Thorne","year":"1992","journal-title":"J Mol Evol."},{"issue":"3","key":"pcbi.1012585.ref032","doi-asserted-by":"crossref","first-page":"529","DOI":"10.1093\/molbev\/msh043","article-title":"A \u201cLong Indel\u201d model for evolutionary sequence alignment","volume":"21","author":"I Mikl\u00f3s","year":"2004","journal-title":"Mol Biol Evol."},{"issue":"4","key":"pcbi.1012585.ref033","doi-asserted-by":"crossref","first-page":"1160","DOI":"10.1073\/pnas.1220450110","article-title":"Evolutionary inference via the poisson indel process","volume":"110","author":"A Bouchard-C\u00f4t\u00e9","year":"2013","journal-title":"Proc Natl Acad Sci U S A."},{"issue":"2","key":"pcbi.1012585.ref034","doi-asserted-by":"crossref","first-page":"236","DOI":"10.1093\/sysbio\/syaa050","article-title":"The cumulative indel model: fast and accurate statistical evolutionary alignment","volume":"70","author":"N De Maio","year":"2021","journal-title":"Syst Biol."},{"issue":"8","key":"pcbi.1012585.ref035","doi-asserted-by":"crossref","first-page":"1227","DOI":"10.1093\/bioinformatics\/btw791","article-title":"Historian: accurate reconstruction of ancestral sequences and evolutionary rates","volume":"33","author":"IH Holmes","year":"2017","journal-title":"Bioinformatics."},{"issue":"8","key":"pcbi.1012585.ref036","doi-asserted-by":"crossref","first-page":"1170","DOI":"10.1093\/bioinformatics\/bts058","article-title":"HandAlign: Bayesian multiple sequence alignment, phylogeny and ancestral reconstruction","volume":"28","author":"O Westesson","year":"2012","journal-title":"Bioinformatics."},{"issue":"5","key":"pcbi.1012585.ref037","doi-asserted-by":"crossref","first-page":"1016","DOI":"10.1093\/sysbio\/syaa002","article-title":"Using parsimony-guided tree proposals to accelerate convergence in bayesian phylogenetic inference","volume":"69","author":"C Zhang","year":"2020","journal-title":"Syst Biol."},{"issue":"5","key":"pcbi.1012585.ref038","doi-asserted-by":"crossref","first-page":"1039","DOI":"10.1093\/sysbio\/syad031","article-title":"Online phylogenetics with matoptimize produces equivalent trees and is dramatically more efficient for large SARS-CoV-2 phylogenies than de novo and maximum-likelihood implementations","volume":"72","author":"AM Kramer","year":"2023","journal-title":"Syst Biol."},{"issue":"6","key":"pcbi.1012585.ref039","doi-asserted-by":"crossref","first-page":"368","DOI":"10.1007\/BF01734359","article-title":"Evolutionary trees from DNA sequences: a maximum likelihood approach","volume":"17","author":"J Felsenstein","year":"1981","journal-title":"J Mol Evol."},{"issue":"3","key":"pcbi.1012585.ref040","doi-asserted-by":"crossref","first-page":"452","DOI":"10.1093\/bioinformatics\/18.3.452","article-title":"Multiple sequence alignment using partial order graphs","volume":"18","author":"C Lee","year":"2002","journal-title":"Bioinformatics."},{"issue":"1","key":"pcbi.1012585.ref041","doi-asserted-by":"crossref","first-page":"77","DOI":"10.1093\/sysbio\/26.1.77","article-title":"Phylogenetic analysis under Dollo\u2019s Law","volume":"26","author":"JS Farris","year":"1977","journal-title":"Systemat Biol."},{"key":"pcbi.1012585.ref042","doi-asserted-by":"crossref","first-page":"241","DOI":"10.1186\/1471-2148-7-241","article-title":"OrthoMaM: a database of orthologous genomic markers for placental mammal phylogenetics","volume":"7","author":"V Ranwez","year":"2007","journal-title":"BMC Evol Biol."},{"key":"pcbi.1012585.ref043","doi-asserted-by":"crossref","DOI":"10.1093\/nar\/gkad834","article-title":"OrthoMaM v12: a database of curated single-copy ortholog alignments and trees to study mammalian evolutionary genomics","volume":"52","author":"R Allio","year":"2024","journal-title":"Nucleic Acids Res."}],"updated-by":[{"DOI":"10.1371\/journal.pcbi.1012585","type":"new_version","label":"New version","source":"publisher","updated":{"date-parts":[[2025,8,7]],"date-time":"2025-08-07T00:00:00Z","timestamp":1754524800000}}],"container-title":["PLOS Computational Biology"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/dx.plos.org\/10.1371\/journal.pcbi.1012585","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2025,8,7]],"date-time":"2025-08-07T17:57:32Z","timestamp":1754589452000},"score":1,"resource":{"primary":{"URL":"https:\/\/dx.plos.org\/10.1371\/journal.pcbi.1012585"}},"subtitle":[],"editor":[{"given":"Mingfu","family":"Shao","sequence":"first","affiliation":[],"role":[{"role":"editor","vocabulary":"crossref"}]}],"short-title":[],"issued":{"date-parts":[[2025,7,28]]},"references-count":43,"journal-issue":{"issue":"7","published-online":{"date-parts":[[2025,7,28]]}},"URL":"https:\/\/doi.org\/10.1371\/journal.pcbi.1012585","relation":{"has-preprint":[{"id-type":"doi","id":"10.1101\/2024.10.24.620030","asserted-by":"object"}]},"ISSN":["1553-7358"],"issn-type":[{"value":"1553-7358","type":"electronic"}],"subject":[],"published":{"date-parts":[[2025,7,28]]}}}