Paweł Górecki
Current Organizations / Institutes
The organizations/institutes from the scholar's latest article
Research Subjects
Paweł Górecki has a total of 118 co-authors. Here are the top co-authors by number of shared publications:
Oliver Eulenstein
20 shared publications- Jarosław Paszek
Faculty of Mathematics, Informatics, and Mechanics University of Warsaw Banacha 2, 02-097 Warsaw, Poland
13 shared publications - Jerzy Tiuryn
Institute of Informatics, University of Warsaw, Warsaw, Poland
10 shared publications - Oliver Eulenstein
Iowa State University
8 shared publications - Agnieszka Mykowiecka
Faculty of Mathematics, Informatics, and Mechanics University of Warsaw Banacha 2, 02-097 Warsaw, Poland
7 shared publications Agnieszka Mykowiecka
Faculty of Mathematics, Informatics, and Mechanics, University of Warsaw, Warsaw, Poland
6 shared publications
Latest Publications
- Open Access
- 1 August 2026
- Published by Oxford University Press (OUP) in Bioinformatics
- Vol. 42 (Supplement)
Episode clustering in phylogenetic networks
Motivation: The classical duplication episode clustering (EC) model introduced by Guigó et al. in the 1990s provides a foundational approach for inferring genomic duplication events crucial to understanding genome evolution. This model clusters single gene duplications from a collection of gene trees at locations in the species tree to minimize the total number of such locations, called duplication episodes. However, it does not capture reticulate evolutionary histories. Results: Here, we introduce NetEC, a novel extension of this problem to phylogenetic networks. To solve NetEC, we first develop a polynomial-time dynamic programming (DP) algorithm for testing whether a given set of network nodes can serve as episode locations. We then propose a main inference algorithm that utilizes this DP component to optimize the episode count; while the feasibility test runs in polynomial time, the full optimization has exponential worst-case complexity, and an optional heuristic mode is provided for larger instances. We also propose an extended episode analysis procedure that identifies additional genomic duplication candidates below reticulation nodes, complementing the main algorithm by resolving potential upward clustering of duplications induced by reticulation. We evaluate our method on simulated data and on an empirical Pandanales dataset comprising over 29 000 gene trees, demonstrating exact and accurate inference of genomic duplication events even in the presence of multiple reticulations. Availability and implementation: All experiments were conducted using the NetEC tool (https://github.com/ppgorecki/netec), with all input data, scripts, and parameter settings for reproduction available in the same repository.
- 1 August 2026
- Published by Oxford University Press (OUP) in Bioinformatics
- Vol. 42 (Supplement)
Open AccessEpisode clustering in phylogenetic networks
Motivation: The classical duplication episode clustering (EC) model introduced by Guigó et al. in the 1990s provides a foundational approach for inferring genomic duplication events crucial to understanding genome evolution. This model clusters single gene duplications from a collection of gene trees at locations in the species tree to minimize the total number of such locations, called duplication episodes. However, it does not capture reticulate evolutionary histories. Results: Here, we introduce NetEC, a novel extension of this problem to phylogenetic networks. To solve NetEC, we first develop a polynomial-time dynamic programming (DP) algorithm for testing whether a given set of network nodes can serve as episode locations. We then propose a main inference algorithm that utilizes this DP component to optimize the episode count; while the feasibility test runs in polynomial time, the full optimization has exponential worst-case complexity, and an optional heuristic mode is provided for larger instances. We also propose an extended episode analysis procedure that identifies additional genomic duplication candidates below reticulation nodes, complementing the main algorithm by resolving potential upward clustering of duplications induced by reticulation. We evaluate our method on simulated data and on an empirical Pandanales dataset comprising over 29 000 gene trees, demonstrating exact and accurate inference of genomic duplication events even in the presence of multiple reticulations. Availability and implementation: All experiments were conducted using the NetEC tool (https://github.com/ppgorecki/netec), with all input data, scripts, and parameter settings for reproduction available in the same repository.
- Open Access
- 2 September 2025
- Published by Elsevier in Discrete Applied Mathematics
- Vol. 378, 602-613
The topology diameters of the asymmetric cluster affinity cost
- 2 September 2025
- Published by Elsevier in Discrete Applied Mathematics
- Vol. 378, 602-613
Open AccessThe topology diameters of the asymmetric cluster affinity cost
- Open Access
- 10 June 2025
- Published by Public Library of Science (PLoS) in PLOS Computational Biology
- Vol. 21 (6) , e1013069
Computing generalized cophenetic distances under all Lp norms: A near-linear time algorithmic framework
The cophenetic distance is a well-established metric in biology used to compare pairs of trees represented in a vector format. This distance was introduced by Cardona and his co-authors, building on the foundational work of Sokal and Rohlf, which dates back over 60 years. It is widely recognized for its versatility since it can analyze trees with edge weights using various vector norms. However, when comparing large-scale trees, the quadratic runtime of the current best-known (i.e., naïve) algorithm for computing the cophenetic distance can become prohibitive. Recently, a new algorithmic framework with near-linear time complexity has been developed to calculate the distances of a generalized class of cophenetic distances, which are derived from the work of Sokal and Rohlf. This improvement not only allows the cophenetic distance to be utilized in large-scale studies but also enhances the versatility of these studies by incorporating generalized variants of the cophenetic distance. However, the framework is limited to applying only the L1 and L2 vector norms, which significantly restricts the versatility of generalized cophenetic distances in large-scale applications. To address this limitation, we present a near-linear time algorithmic framework for computing the generalized cophenetic distances across all Lp vector norms. In our scalability study, we showcase the practical performance of our unrestricted algorithmic framework. Furthermore, we investigate the applicability of the generalized cophenetic distances by analyzing the distributions of key components of these distances under various vector norms.
- 10 June 2025
- Published by Public Library of Science (PLoS) in PLOS Computational Biology
- Vol. 21 (6) , e1013069
Open AccessComputing generalized cophenetic distances under all Lp norms: A near-linear time algorithmic framework
The cophenetic distance is a well-established metric in biology used to compare pairs of trees represented in a vector format. This distance was introduced by Cardona and his co-authors, building on the foundational work of Sokal and Rohlf, which dates back over 60 years. It is widely recognized for its versatility since it can analyze trees with edge weights using various vector norms. However, when comparing large-scale trees, the quadratic runtime of the current best-known (i.e., naïve) algorithm for computing the cophenetic distance can become prohibitive. Recently, a new algorithmic framework with near-linear time complexity has been developed to calculate the distances of a generalized class of cophenetic distances, which are derived from the work of Sokal and Rohlf. This improvement not only allows the cophenetic distance to be utilized in large-scale studies but also enhances the versatility of these studies by incorporating generalized variants of the cophenetic distance. However, the framework is limited to applying only the L1 and L2 vector norms, which significantly restricts the versatility of generalized cophenetic distances in large-scale applications. To address this limitation, we present a near-linear time algorithmic framework for computing the generalized cophenetic distances across all Lp vector norms. In our scalability study, we showcase the practical performance of our unrestricted algorithmic framework. Furthermore, we investigate the applicability of the generalized cophenetic distances by analyzing the distributions of key components of these distances under various vector norms.
- Open Access
- 22 November 2024
- Published by Association for Computing Machinery (ACM)
- p. 1-10
Robinson-Foulds distance between phylogenetic networks and gene trees
Phylogenetic networks enable the modelling of both vertical and reticulate evolution of species, including hybridisation, recombination, and horizontal gene transfer. Due to the vast space of phylogenetic networks, it is often constrained to subclasses, e.g., relaxed tree-child networks. A fundamental concept related to phylogenetic networks is that of displayed trees, i.e., trees derived from a network by removing a set of reticulation edges. This work addresses the NP-hard problem of computing the minimal Robinson-Foulds cost between a gene tree G and a tree displayed by a given tree-child network N. The cost can be used to compare alternative hypotheses regarding the reticulate evolution of a group of species or to infer their phylogenetic network from a collection of gene trees. We propose an algorithm for the problem with a complexity of O(2rn3), where r is the number of reticulation events and n is the number of leaves in N. Additionally, we hypothesize that the complexity can be improved to O(2r n2). Our simulation study demonstrates that the average complexity of the algorithm is significantly lower than the pessimistic complexity, by reducing the exponential factor of 2r to between 20.35r and 20.52r. That emphasizes the potential of our algorithm to process instances with 2-3 times more reticulations than the naïve approach and enables advanced applications such as network inference.
- 22 November 2024
- Published by Association for Computing Machinery (ACM)
- p. 1-10
Open AccessRobinson-Foulds distance between phylogenetic networks and gene trees
Phylogenetic networks enable the modelling of both vertical and reticulate evolution of species, including hybridisation, recombination, and horizontal gene transfer. Due to the vast space of phylogenetic networks, it is often constrained to subclasses, e.g., relaxed tree-child networks. A fundamental concept related to phylogenetic networks is that of displayed trees, i.e., trees derived from a network by removing a set of reticulation edges. This work addresses the NP-hard problem of computing the minimal Robinson-Foulds cost between a gene tree G and a tree displayed by a given tree-child network N. The cost can be used to compare alternative hypotheses regarding the reticulate evolution of a group of species or to infer their phylogenetic network from a collection of gene trees. We propose an algorithm for the problem with a complexity of O(2rn3), where r is the number of reticulation events and n is the number of leaves in N. Additionally, we hypothesize that the complexity can be improved to O(2r n2). Our simulation study demonstrates that the average complexity of the algorithm is significantly lower than the pessimistic complexity, by reducing the exponential factor of 2r to between 20.35r and 20.52r. That emphasizes the potential of our algorithm to process instances with 2-3 times more reticulations than the naïve approach and enables advanced applications such as network inference.
- Open Access
- 1 June 2024
- Published by Springer Nature in Journal of Combinatorial Optimization
- Vol. 47 (5) , 1-27
Phylogenetic network-assisted rooting of unrooted gene trees
Gene trees inferred from molecular sequence alignments are typically unrooted, and determining the most credible rooting edge is a classical problem in computational biology. One approach to solve this problem is unrooted reconciliation, where the rooting edge is postulated based on the split of the root from a given species tree. In this paper, we propose a novel variant of the gene tree rooting problem, where the gene tree root is inferred using a phylogenetic network of the species present in the gene tree. To obtain the best rooting, unrooted reconciliation can be applied, where the unrooted gene tree is jointly reconciled with a set of splits inferred from the network. However, the exponential size of the set induced by display trees of the network makes this approach computationally prohibitive. To address this, we propose a broader and easier-to-control set of splits based on the structural properties of the network. We then derive exact mathematical formulas for the rooting problem and propose two general rooting algorithms to handle cases where the input network does not meet the initial requirements. Our experimental study based on simulated gene trees and networks demonstrates that our algorithms infer gene tree rootings correctly or with a small error in most cases.
- 1 June 2024
- Published by Springer Nature in Journal of Combinatorial Optimization
- Vol. 47 (5) , 1-27
Open AccessPhylogenetic network-assisted rooting of unrooted gene trees
Gene trees inferred from molecular sequence alignments are typically unrooted, and determining the most credible rooting edge is a classical problem in computational biology. One approach to solve this problem is unrooted reconciliation, where the rooting edge is postulated based on the split of the root from a given species tree. In this paper, we propose a novel variant of the gene tree rooting problem, where the gene tree root is inferred using a phylogenetic network of the species present in the gene tree. To obtain the best rooting, unrooted reconciliation can be applied, where the unrooted gene tree is jointly reconciled with a set of splits inferred from the network. However, the exponential size of the set induced by display trees of the network makes this approach computationally prohibitive. To address this, we propose a broader and easier-to-control set of splits based on the structural properties of the network. We then derive exact mathematical formulas for the rooting problem and propose two general rooting algorithms to handle cases where the input network does not meet the initial requirements. Our experimental study based on simulated gene trees and networks demonstrates that our algorithms infer gene tree rootings correctly or with a small error in most cases.
- Open Access
- 5 March 2024
- Published by Oxford University Press (OUP) in Evolution Letters
- Vol. 8 (4) , 526-538
The interkingdom horizontal gene transfer in 44 early diverging fungi boosted their metabolic, adaptive, and immune capabilities
Numerous studies have been devoted to individual cases of horizontally acquired genes in fungi. It has been shown that such genes expand the hosts’ metabolic capabilities and contribute to their adaptations as parasites or symbionts. Some studies have provided an extensive characterization of the horizontal gene transfer (HGT) in Dikarya. However, in the early diverging fungi (EDF), a similar characterization is still missing. In order to fill this gap, we have designed a computational pipeline to obtain a statistical sample of reliable HGT events with a low false discovery rate. We have analyzed 44 EDF proteomes and identified 829 xenologs in fungi ranging from Chytridiomycota to Mucoromycota. We have identified several patterns and statistical properties of EDF HGT. We show that HGT is driven by bursts of gene exchange and duplication, resulting in highly divergent numbers and molecular properties of xenologs between fungal lineages. Ancestrally aquatic fungi are generally more likely to acquire foreign genetic material than terrestrial ones. Endosymbiotic bacteria can be a source of useful xenologs, as exemplified by NOD-like receptors transferred to Mortierellomycota. Closely related fungi have similar rates of intronization of xenologs. Posttransfer gene fusions and losses of protein domains are common and may influence the encoded proteins’ functions. We argue that there is no universal approach for HGT identification and inter- and intra-kingdom transfers require tailored identification methods. Our results help to better understand how and to what extent HGT has shaped the metabolic, adaptive, and immune capabilities of fungi. Horizontal gene transfer is a transmission of genes between organisms, distinct from vertical inheritance from parents to offspring. HGT seems to occur among all living forms. Our study focuses on horizontally transferred genes present in early diverging fungi (EDF). EDF is a relatively understudied group of organisms with vastly diverse lifestyles and tremendous ecological importance. They include arbuscular mycorrhizal Glomeromycota, the gut-dwelling symbionts of herbivores Neocallimastigomycota, or the parasitic Batrachochytrium. HGT has been reported to contribute to this diversity by facilitating niche adaptations in certain lineages. In our work, we have analyzed horizontally acquired genes in 44 fungal genomes, focusing on cases with clear phylogenetic evidence. We have designed a computational pipeline that detects a statistical sample of reliable HGTs. The pipeline is published alongside the article. We have analyzed the donors, acceptors, and properties of the transferred genes. We found transfers of genes that can expand the metabolic, adaptive, and immune capabilities of fungi.
- 5 March 2024
- Published by Oxford University Press (OUP) in Evolution Letters
- Vol. 8 (4) , 526-538
Open AccessThe interkingdom horizontal gene transfer in 44 early diverging fungi boosted their metabolic, adaptive, and immune capabilities
Numerous studies have been devoted to individual cases of horizontally acquired genes in fungi. It has been shown that such genes expand the hosts’ metabolic capabilities and contribute to their adaptations as parasites or symbionts. Some studies have provided an extensive characterization of the horizontal gene transfer (HGT) in Dikarya. However, in the early diverging fungi (EDF), a similar characterization is still missing. In order to fill this gap, we have designed a computational pipeline to obtain a statistical sample of reliable HGT events with a low false discovery rate. We have analyzed 44 EDF proteomes and identified 829 xenologs in fungi ranging from Chytridiomycota to Mucoromycota. We have identified several patterns and statistical properties of EDF HGT. We show that HGT is driven by bursts of gene exchange and duplication, resulting in highly divergent numbers and molecular properties of xenologs between fungal lineages. Ancestrally aquatic fungi are generally more likely to acquire foreign genetic material than terrestrial ones. Endosymbiotic bacteria can be a source of useful xenologs, as exemplified by NOD-like receptors transferred to Mortierellomycota. Closely related fungi have similar rates of intronization of xenologs. Posttransfer gene fusions and losses of protein domains are common and may influence the encoded proteins’ functions. We argue that there is no universal approach for HGT identification and inter- and intra-kingdom transfers require tailored identification methods. Our results help to better understand how and to what extent HGT has shaped the metabolic, adaptive, and immune capabilities of fungi. Horizontal gene transfer is a transmission of genes between organisms, distinct from vertical inheritance from parents to offspring. HGT seems to occur among all living forms. Our study focuses on horizontally transferred genes present in early diverging fungi (EDF). EDF is a relatively understudied group of organisms with vastly diverse lifestyles and tremendous ecological importance. They include arbuscular mycorrhizal Glomeromycota, the gut-dwelling symbionts of herbivores Neocallimastigomycota, or the parasitic Batrachochytrium. HGT has been reported to contribute to this diversity by facilitating niche adaptations in certain lineages. In our work, we have analyzed horizontally acquired genes in 44 fungal genomes, focusing on cases with clear phylogenetic evidence. We have designed a computational pipeline that detects a statistical sample of reliable HGTs. The pipeline is published alongside the article. We have analyzed the donors, acceptors, and properties of the transferred genes. We found transfers of genes that can expand the metabolic, adaptive, and immune capabilities of fungi.
- Open Access
- 14 February 2024
- Published by Springer Nature in Algorithms for Molecular Biology
- Vol. 19 (1) , 1-20
Unifying duplication episode clustering and gene-species mapping inference
We present a novel problem, called MetaEC, which aims to infer gene-species assignments in a collection of partially leaf-labeled gene trees labels by minimizing the size of duplication episode clustering (EC). This problem is particularly relevant in metagenomics, where incomplete data often poses a challenge in the accurate reconstruction of gene histories. To solve MetaEC, we propose a polynomial time dynamic programming (DP) formulation that verifies the existence of a set of duplication episodes from a predefined set of episode candidates. In addition, we design a method to infer distributions of gene-species mappings. We then demonstrate how to use DP to design an algorithm that solves MetaEC. Although the algorithm is exponential in the worst case, we introduce a heuristic modification of the algorithm that provides a solution with the knowledge that it is exact. To evaluate our method, we perform two computational experiments on simulated and empirical data containing whole genome duplication events, showing that our algorithm is able to accurately infer the corresponding events.
- 14 February 2024
- Published by Springer Nature in Algorithms for Molecular Biology
- Vol. 19 (1) , 1-20
Open AccessUnifying duplication episode clustering and gene-species mapping inference
We present a novel problem, called MetaEC, which aims to infer gene-species assignments in a collection of partially leaf-labeled gene trees labels by minimizing the size of duplication episode clustering (EC). This problem is particularly relevant in metagenomics, where incomplete data often poses a challenge in the accurate reconstruction of gene histories. To solve MetaEC, we propose a polynomial time dynamic programming (DP) formulation that verifies the existence of a set of duplication episodes from a predefined set of episode candidates. In addition, we design a method to infer distributions of gene-species mappings. We then demonstrate how to use DP to design an algorithm that solves MetaEC. Although the algorithm is exponential in the worst case, we introduce a heuristic modification of the algorithm that provides a solution with the knowledge that it is exact. To evaluate our method, we perform two computational experiments on simulated and empirical data containing whole genome duplication events, showing that our algorithm is able to accurately infer the corresponding events.
- Open Access
- 17 November 2023
- Published by Springer Nature in Research Square
Unifying Duplication Episode Clustering andGene-Species Mapping Inference
We present a novel problem, called MetaEC, which aims to infer gene-species assignments in a collection of gene trees with missing labels by minimizing the size of duplication episode clustering (EC). This problem is particularly relevant in metagenomics, where incomplete data often poses a challenge in the accurate reconstruction of gene histories. To solve MetaEC, we propose a polynomial time dynamic programming (DP) formulation that verifies the existence of a set of duplication episodes from a predefined set of episode candidates. In addition, we design a method to infer distributions of gene-species mappings. We then demonstrate how to use DP to design an algorithm that solves MetaEC. Although the algorithm is exponential in the worst case, we introduce a heuristic modification of the algorithm that provides a solution with the knowledge that it is exact. To evaluate our method, we perform two computational experiments on simulated and empirical data containing whole genome duplication events, showing that our algorithm is able to accurately infer the corresponding events.
- 17 November 2023
- Published by Springer Nature in Research Square
Open AccessUnifying Duplication Episode Clustering andGene-Species Mapping Inference
We present a novel problem, called MetaEC, which aims to infer gene-species assignments in a collection of gene trees with missing labels by minimizing the size of duplication episode clustering (EC). This problem is particularly relevant in metagenomics, where incomplete data often poses a challenge in the accurate reconstruction of gene histories. To solve MetaEC, we propose a polynomial time dynamic programming (DP) formulation that verifies the existence of a set of duplication episodes from a predefined set of episode candidates. In addition, we design a method to infer distributions of gene-species mappings. We then demonstrate how to use DP to design an algorithm that solves MetaEC. Although the algorithm is exponential in the worst case, we introduce a heuristic modification of the algorithm that provides a solution with the knowledge that it is exact. To evaluate our method, we perform two computational experiments on simulated and empirical data containing whole genome duplication events, showing that our algorithm is able to accurately infer the corresponding events.
- 1 January 2023
- Published by Springer Nature
- p. C1
Correction to: Rooting Gene Trees via Phylogenetic Networks
- 1 January 2023
- Published by Springer Nature
- p. C1
Correction to: Rooting Gene Trees via Phylogenetic Networks
- Open Access
- 19 May 2022
- Published by Springer Nature in Algorithms for Molecular Biology
- Vol. 17 (1) , 1-23
Embedding gene trees into phylogenetic networks by conflict resolution algorithms
Background: Phylogenetic networks are mathematical models of evolutionary processes involving reticulate events such as hybridization, recombination, or horizontal gene transfer. One of the crucial notions in phylogenetic network modelling is displayed tree, which is obtained from a network by removing a set of reticulation edges. Displayed trees may represent an evolutionary history of a gene family if the evolution is shaped by reticulation events. Results: We address the problem of inferring an optimal tree displayed by a network, given a gene tree G and a tree-child network N, under the deep coalescence and duplication costs. We propose an O(mn)-time dynamic programming algorithm (DP) to compute a lower bound of the optimal displayed tree cost, where m and n are the sizes of G and N, respectively. In addition, our algorithm can verify whether the solution is exact. Moreover, it provides a set of reticulation edges corresponding to the obtained cost. If the cost is exact, the set induces an optimal displayed tree. Otherwise, the set contains pairs of conflicting edges, i.e., edges sharing a reticulation node. Next, we show a conflict resolution algorithm that requires $$2^{r+1}-1$$ invocations of DP in the worst case, where r is the number of reticulations. We propose a similar $$O(2^kmn)$$ -time algorithm for level-k tree-child networks and a branch and bound solution to compute lower and upper bounds of optimal costs. We also extend the algorithms to a broader class of phylogenetic networks. Based on simulated data, the average runtime is $$\Theta (2^{{0.543}k}mn)$$ under the deep-coalescence cost and $$\Theta (2^{{0.355}k}mn)$$ under the duplication cost. Conclusions: Despite exponential complexity in the worst case, our algorithms perform significantly well on empirical and simulated datasets, due to the strategy of resolving internal dissimilarities between gene trees and networks. Therefore, the algorithms are efficient alternatives to enumeration strategies commonly proposed in the literature and enable analyses of complex networks with dozens of reticulations.- 19 May 2022
- Published by Springer Nature in Algorithms for Molecular Biology
- Vol. 17 (1) , 1-23
Open AccessEmbedding gene trees into phylogenetic networks by conflict resolution algorithms
Background: Phylogenetic networks are mathematical models of evolutionary processes involving reticulate events such as hybridization, recombination, or horizontal gene transfer. One of the crucial notions in phylogenetic network modelling is displayed tree, which is obtained from a network by removing a set of reticulation edges. Displayed trees may represent an evolutionary history of a gene family if the evolution is shaped by reticulation events. Results: We address the problem of inferring an optimal tree displayed by a network, given a gene tree G and a tree-child network N, under the deep coalescence and duplication costs. We propose an O(mn)-time dynamic programming algorithm (DP) to compute a lower bound of the optimal displayed tree cost, where m and n are the sizes of G and N, respectively. In addition, our algorithm can verify whether the solution is exact. Moreover, it provides a set of reticulation edges corresponding to the obtained cost. If the cost is exact, the set induces an optimal displayed tree. Otherwise, the set contains pairs of conflicting edges, i.e., edges sharing a reticulation node. Next, we show a conflict resolution algorithm that requires $$2^{r+1}-1$$ invocations of DP in the worst case, where r is the number of reticulations. We propose a similar $$O(2^kmn)$$ -time algorithm for level-k tree-child networks and a branch and bound solution to compute lower and upper bounds of optimal costs. We also extend the algorithms to a broader class of phylogenetic networks. Based on simulated data, the average runtime is $$\Theta (2^{{0.543}k}mn)$$ under the deep-coalescence cost and $$\Theta (2^{{0.355}k}mn)$$ under the duplication cost. Conclusions: Despite exponential complexity in the worst case, our algorithms perform significantly well on empirical and simulated datasets, due to the strategy of resolving internal dissimilarities between gene trees and networks. Therefore, the algorithms are efficient alternatives to enumeration strategies commonly proposed in the literature and enable analyses of complex networks with dozens of reticulations.