Full text
80,928 characters
Β· extracted from
preprint-html
Β· click to expand
PaNDA: Efficient Optimization of Phylogenetic Diversity in Networks | bioRxiv /* */ /* */ <!-- <!-- /*! * yepnope1.5.4 * (c) WTFPL, GPLv2 */ (function(a,b,c){function d(a){return"[object Function]"==o.call(a)}function e(a){return"string"==typeof a}function f(){}function g(a){return!a||"loaded"==a||"complete"==a||"uninitialized"==a}function h(){var a=p.shift();q=1,a?a.t?m(function(){("c"==a.t?B.injectCss:B.injectJs)(a.s,0,a.a,a.x,a.e,1)},0):(a(),h()):q=0}function i(a,c,d,e,f,i,j){function k(b){if(!o&&g(l.readyState)&&(u.r=o=1,!q&&h(),l.onload=l.onreadystatechange=null,b)){"img"!=a&&m(function(){t.removeChild(l)},50);for(var d in y[c])y[c].hasOwnProperty(d)&&y[c][d].onload()}}var j=j||B.errorTimeout,l=b.createElement(a),o=0,r=0,u={t:d,s:c,e:f,a:i,x:j};1===y[c]&&(r=1,y[c]=[]),"object"==a?l.data=c:(l.src=c,l.type=a),l.width=l.height="0",l.onerror=l.onload=l.onreadystatechange=function(){k.call(this,r)},p.splice(e,0,u),"img"!=a&&(r||2===y[c]?(t.insertBefore(l,s?null:n),m(k,j)):y[c].push(l))}function j(a,b,c,d,f){return q=0,b=b||"j",e(a)?i("c"==b?v:u,a,b,this.i++,c,d,f):(p.splice(this.i++,0,a),1==p.length&&h()),this}function k(){var a=B;return a.loader={load:j,i:0},a}var l=b.documentElement,m=a.setTimeout,n=b.getElementsByTagName("script")[0],o={}.toString,p=[],q=0,r="MozAppearance"in l.style,s=r&&!!b.createRange().compareNode,t=s?l:n.parentNode,l=a.opera&&"[object Opera]"==o.call(a.opera),l=!!b.attachEvent&&!l,u=r?"object":l?"script":"img",v=l?"script":u,w=Array.isArray||function(a){return"[object Array]"==o.call(a)},x=[],y={},z={timeout:function(a,b){return b.length&&(a.timeout=b[0]),a}},A,B;B=function(a){function b(a){var a=a.split("!"),b=x.length,c=a.pop(),d=a.length,c={url:c,origUrl:c,prefixes:a},e,f,g;for(f=0;f<d;f++)g=a[f].split("="),(e=z[g.shift()])&&(c=e(c,g));for(f=0;f<b;f++)c=x[f](c);return c}function g(a,e,f,g,h){var i=b(a),j=i.autoCallback;i.url.split(".").pop().split("?").shift(),i.bypass||(e&&(e=d(e)?e:e[a]||e[g]||e[a.split("/").pop().split("?")[0]]),i.instead?i.instead(a,e,f,g,h):(y[i.url]?i.noexec=!0:y[i.url]=1,f.load(i.url,i.forceCSS||!i.forceJS&&"css"==i.url.split(".").pop().split("?").shift()?"c":c,i.noexec,i.attrs,i.timeout),(d(e)||d(j))&&f.load(function(){k(),e&&e(i.origUrl,h,g),j&&j(i.origUrl,h,g),y[i.url]=2})))}function h(a,b){function c(a,c){if(a){if(e(a))c||(j=function(){var a=[].slice.call(arguments);k.apply(this,a),l()}),g(a,j,b,0,h);else if(Object(a)===a)for(n in m=function(){var b=0,c;for(c in a)a.hasOwnProperty(c)&&b++;return b}(),a)a.hasOwnProperty(n)&&(!c&&!--m&&(d(j)?j=function(){var a=[].slice.call(arguments);k.apply(this,a),l()}:j[n]=function(a){return function(){var b=[].slice.call(arguments);a&&a.apply(this,b),l()}}(k[n])),g(a[n],j,b,n,h))}else!c&&l()}var h=!!a.test,i=a.load||a.both,j=a.callback||f,k=j,l=a.complete||f,m,n;c(h?a.yep:a.nope,!!i),i&&c(i)}var i,j,l=this.yepnope.loader;if(e(a))g(a,0,l,0);else if(w(a))for(i=0;i (function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0];var j=d.createElement(s);var dl=l!='dataLayer'?'&l='+l:'';j.src='//www.googletagmanager.com/gtm.js?id='+i+dl;j.type='text/javascript';j.async=true;f.parentNode.insertBefore(j,f);})(window,document,'script','dataLayer','GTM-M677548'); Skip to main content Home About Submit ALERTS / RSS Search for this keyword Advanced Search New Results PaNDA: Efficient Optimization of Phylogenetic Diversity in Networks View ORCID Profile Niels Holtgrefe , View ORCID Profile Leo van Iersel , View ORCID Profile Ruben Meuwese , View ORCID Profile Yukihiro Murakami , View ORCID Profile Jannik Schestag doi: https://doi.org/10.1101/2025.11.14.688467 Niels Holtgrefe 1 Delft University of Technology , Delft, The Netherlands Find this author on Google Scholar Find this author on PubMed Search for this author on this site ORCID record for Niels Holtgrefe Leo van Iersel 1 Delft University of Technology , Delft, The Netherlands Find this author on Google Scholar Find this author on PubMed Search for this author on this site ORCID record for Leo van Iersel Ruben Meuwese 1 Delft University of Technology , Delft, The Netherlands Find this author on Google Scholar Find this author on PubMed Search for this author on this site ORCID record for Ruben Meuwese Yukihiro Murakami 1 Delft University of Technology , Delft, The Netherlands Find this author on Google Scholar Find this author on PubMed Search for this author on this site ORCID record for Yukihiro Murakami Jannik Schestag 1 Delft University of Technology , Delft, The Netherlands Find this author on Google Scholar Find this author on PubMed Search for this author on this site ORCID record for Jannik Schestag For correspondence: j.t.schestag{at}tudelft.nl Abstract Full Text Info/History Metrics Preview PDF Abstract Phylogenetic diversity plays an important role in biodiversity, conservation, and evolutionary studies by measuring the diversity of a set of taxa based on their phylogenetic relationships. In phylogenetic trees, a subset of k taxa with maximum phylogenetic diversity can be found by a simple and efficient greedy algorithm. However, this algorithmic tractability is lost when considering phylogenetic networks, which incorporate reticulate evolutionary events such as hybridization and horizontal gene transfer. To address this challenge, we introduce PaNDA (Phylogenetic Network Diversity Algorithms), the first software package and interactive graphical user-interface for exploring, visualizing and maximizing diversity in phylogenetic networks. PaNDA includes a novel algorithm to find a subset of k taxa with maximum diversity, running in polynomial time for networks of bounded scanwidth , a measure of tree-likeness of a network that grows slower than the well-known level measure. This algorithm considers the variant of phylogenetic diversity on networks in which the branch lengths of all paths from the root to the selected taxa contribute towards their diversity. We demonstrate the scalability of this algorithm on simulated networks, successfully analyzing level-15 networks with up to 200 taxa in seconds. We also provide a proof-of-concept analysis using a phylogenetic network on Xiphophorus species, illustrating how the tool can support diversity studies based on real genomic data. The software is easily installable and freely available at https://github.com/nholtgrefe/panda . Additionally, we extend the definition of phylogenetic diversity to semi-directed phylogenetic networks, which are mixed graphs increasingly used in phylogenetic analysis to model uncertainty of the root location. We prove that finding a subset of k taxa with maximum diversity remains NP-hard on semi-directed networks, but do present a polynomial-time algorithm for networks with bounded level. 1 Introduction A prominent measure of biodiversity of a set of species, or taxa, is their phylogenetic diversity [ 13 ], which has found widespread application in conservation [ 16 , 17 , 23 ], biogeography [ 36 ], and human health [ 4 , 31 ]. Defined as the total branch length of the subtree induced by the considered taxa in a phylogenetic tree, phylogenetic diversity serves as a key indicator of heterogeneity and evolutionary remoteness [ 8 ]. In part, phylogenetic diversity has earned its popularity because the associated optimization problem, in which a subset of k taxa with maximum phylogenetic diversity is determined, can be solved efficiently by a greedy algorithm [ 33 , 41 ]. Phylogenetic networks, which generalize phylogenetic trees by accounting for reticulate evolutionary events such as hybridization and horizontal gene transfer, offer a more realistic view of the evolutionary history of taxa in many cases [ 3 , 29 ]. With the rise of methods that infer phylogenetic networks [ 29 ], the natural question has been raised: How should phylogenetic diversity be measured in phylogenetic networks? One intuitive measure is all-paths phylogenetic diversity [ 46 ], which generalizes the definition on trees by considering the total length of branches on all paths from the root to the considered set of taxa. However, accommodating reticulate events comes at a computational cost: the associated maximization problem M aximize -A ll -P aths -PD (M ap PD) (see Section 2.1 for definitions) is NP-hard [ 7 ]. Although some algorithms have been presented for M ap PD [ 7 , 24 , 25 ], these are of a theoretical nature and have not been implemented. Also, other variants of phylogenetic diversity on networks have recently received much interest from a theoretical point of view [ 7 , 24 , 25 , 42 , 43 , 44 ]. For example, it has been shown that for the more advanced average-tree phylogenetic diversity model, in which the diversity score is taken as the weighted average over all displayed trees, even computing the diversity score for a fixed set of taxa is computationally hard (more precisely, it is #P-hard) [ 42 ]. Instead, M ap PD strikes a better balance between biological accuracy and reasonable computationally complexity. Empirical work on phylogenetic diversity in networks has been restricted to [ 46 ], but its brute-force approach makes it only applicable to very small data sets. Related practical work was also presented in [ 9 , 45 ], but these consider different types of input: trees with feature presence-absence data [ 9 ] or unrooted data-display networks [ 45 ]. None of these includes an easy-to-use and scalable software tool. To address this gap, we introduce PaNDA (Phylogenetic Network Diversity Algorithms): an interactive software package for diversity optimization, visualization, and exploration in phylogenetic networks. PaNDA contains a novel algorithm that optimally solves M ap PD in polynomial time on networks of bounded scanwidth [ 6 ], a measure of tree-likeness that is particularly suitable for designing practical algorithms for phylogenetic networks. For example, networks with small scanwidth may still have large level [ 22 ], a well-known measure of network tree-likeness defined as the maximum number of edges that needs to be deleted per blob (reticulated or biconnected component) to turn the network into a tree. The algorithm has running time πͺ (2 sw sw k 2 m ), with sw the scanwidth, m the number of edges and k the number of taxa to select. This excludes the time necessary to compute the scanwidth, which can be done efficiently in practice [ 22 ] and was fast enough for all considered instances. To make diversity analysis in networks accessible and user-friendly, PaNDA is supplied with a graphical user-interface (GUI) that facilitates both optimization and exploration, see Figure 1 . Through this interface, users can use the underlying M ap PD-algorithm to find subsets of taxa of maximum phylogenetic diversity, interactively explore how diversity changes across different combinations of taxa, and visualize networks. Moreover, PaNDA provides an excellent framework to which other variants can be added in future work, which will make it easier to compare and combine these variants in benchmark studies and biological applications. Download figure Open in new tab Figure 1. The PaNDA graphical user-interface with the network presented in Figure 6 as input. We evaluate the performance of our algorithm through extensive simulations and show that it scales well, even on networks far beyond the size and complexity currently supported by existing network inference methods [ 29 ]. Specifically, optimal solutions on level-15 phylogenetic networks with up to 200 leaves can be found in seconds. To demonstrate its real-world applicability, we use PaNDA to study a phylogenetic network on a set of Xiphophorus species, showcasing how it can be used to meaningfully analyze empirical data and support biologically relevant insights. In addition to this practical contribution, we introduce a new variant of the M ap PD problem where the input network is a semi-directed phylogenetic network which contains both directed and undirected edges. These networks have gained attention recently as they account for uncertainty in root placement, addressing unidentifiability issues that arise under several evolutionary models [ 2 , 15 ]. We show that M ap PD on semi-directed networks remains NP-hard and we present an algorithm solving it in time, with n the total number of taxa and β v the visible vertex level , a parameter that can be much smaller than the level. The main advantage of this algorithm is that it can be applied directly to semi-directed networks produced by statistically consistent inference methods [ 1 , 19 , 39 ]. Both presented algorithms are applicable to binary as well as to nonbinary networks. 2 Methods 2.1 Preliminaries For k β β > 0 , we write [ k ] = {1, β¦, k } and [ k ] 0 = {0, 1, β¦, k }. We use standard graph notations [ 12 ]. Graphs Throughout this paper, we consider only simple mixed graphs, i.e., graphs that may contain both directed and undirected edges but no multiple edges between the same pair of vertices. Given a mixed graph G , for U β V ( G ), we denote by G [ U ] the subgraph induced by U . Given a vertex v β V ( G ), we use to denote its set of outgoing directed edges and for its set of incoming directed edges, where we omit the subscript if G is clear from context. We consider four types of paths in a mixed graph, all of which are assumed to be vertex-disjoint. A path is an edge path if it only contains undirected edges. A path is semi-directed if all its directed edges are oriented in the same direction. A directed path is a semi-directed path that does not contain undirected edges. An up-down path P = v 0 β¦ v t between two vertices v 0 and v t , which are called endpoints , satisfies that both v i β¦ v 0 and v i β¦ v t , for some i β [ t ], are semi-directed paths. We note that every edge path is a semi-directed path, every directed path is a semi-directed path, every semi-directed path is an up-down path, but the converse do not hold. Phylogenetic networks A directed (phylogenetic) network π© + on a set of at least two taxa X is a directed acyclic graph such that (i) there is a unique vertex with in-degree zero (the root ) and its out-degree is at least two; (ii) the vertices with out-degree zero (the leaves ) have in-degree one and they are bijectively labeled by elements of X ; (iii) all other vertices either have in-degree one and out-degree at least two ( tree vertices ), or in-degree at least two and out-degree one ( reticulation vertices , or simply reticulations ). See Figure 2a(i) for an example. The edges entering a reticulation vertex are called reticulation edges . Download figure Open in new tab Figure 2. (a): A directed phylogenetic network on X = { a, b, c, d, e } (i), its associated semi-directed network (ii), and a tree-extension of the directed network with a scanwidth of 4 (iii). The edges that make up the tree extension are drawn in gray, with the edges of the original graph drawn on top of it in black and red. The scanwidth of 4 is attained at the vertex v 3 (highlighted), since the set GW( v 3 ) contains 4 edges (in thick red). (b): A semi-directed network on { a, b, c, d } with edge-weights illustrating that naively iterating over all rootings of a semi-directed network and solving M ap PD does not solve M ap SPD (see text). A semi-directed (phylogenetic) network π© β on a set of at least two taxa X is a mixed graph which can be obtained from a directed network π© + on X by replacing every edge with an undirected edge except for the reticulation edges, and subsequently suppressing the former root vertex if its degree is 2. See Figure 2a(ii) . Note that we may still refer to the leaves, tree vertices, reticulation vertices and reticulation edges of a semi-directed network. The reticulation edges are precisely the directed edges. We say that a vertex u is above a non-reticulation vertex v if there exists a semi-directed path from u to v . We say that a vertex u is above a reticulation vertex v if there exists a semi-directed path that is not an edge path from u to v . Throughout this paper, we assume that every (directed or semi-directed) network π© is equipped with an edge weight function Ο : E (π©) β β β₯0 , which may, e.g., represent branch lengths. We generalize Ο to subsets B β E (π©) by Ο Ξ£ ( B ) = β e β B Ο ( e ). We call π© binary if the degree of each vertex is either one or three, with the exception of a possible root which has degree two. Note that the directed network in Figure 2a is not binary, but that the semi-directed network in Figure 2b is binary. A blob B of π© is a maximal subgraph without any cut-edges, and it is non-trivial if it contains at least one reticulation vertex. As an example, the vertices { Ο, v 1 , v 2 , v 3 , v 4 , v 5 , v 7 , v 8} form the vertex set of a non-trivial blob of the network in Figure 2a . A reticulation r is visible if there is a leaf x such that for every vertex u above r , every semi-directed path from u to x passes through r . The visible vertex level of is the maximum number of π© visible reticulations in any of its blobs, and the vertex level of is the maximum number of reticulations in any of π© its blobs. For binary networks, the vertex level equals the standard notion of the level of a network: the maximum number of reticulation edges to be deleted in any of its blobs to turn the network into a tree. For example, in the network of Figure 2a , the reticulations v 7 and v 8 are visible, but the reticulation v 3 is not. Hence, the visible vertex level of that network is 2, whereas both its level and vertex level are 3. We reserve the letters n and m for the number of leaves and edges in a network, respectively. Phylogenetic diversity A root-leaf path in a directed network π© + on X is a directed path from the root of π© + to a leaf in X . A leaf x β X is in the offspring off( e ) of an edge e , if there is a root-leaf path to x that traverses e . Given a set of leaves Y β X , we use the notation RP( Y ) to denote the set of all edges on root-leaf paths towards leaves in Y . The all-paths phylogenetic diversity of Y is then We now formally define M ap PD, introduced and proved to be NP-hard even for binary networks in [ 7 ]. M aximize -A ll -P aths -PD (M appd ) Input: A directed network π© + on X with edge-weight function Ο ; integers k, D . Question: Is there a set Y β X of size at most k , such that Since semi-directed networks have no roots by definition, we define a new phylogenetic diversity score for a semi-directed network π© β on X based on up-down paths. Given a set of vertices Y , we use the notation UP( Y ) to denote the set of all edges on up-down paths between any pair of vertices in Y . Let Y β X be a set of leaves. The all-paths semi-directed phylogenetic diversity of Y is then where we say that an edge uv contributes to if uv β UP( Y ). For example, letting π© β be the network in Figure 2(b) , and . Observe that SPD has the attractive property that it is a generalization of the standard definition of phylogenetic diversity for unrooted phylogenetic trees [ 13 ]. With this new notion, we can define the new problem M ap SPD. M aximize -A ll -P aths -SPD (M apspd ) Input: A semi-directed network π© β on X with edge-weight function Ο ; integers k, D . Question: Is there a set Y β X of size at most k , such that M appd can be reduced to M apspd by adding a high-weight edge from the root to a new leaf and then making the network semi-directed. This results in Theorem 1 . Theorem 1 M apspd is NP -hard, even for binary semi-directed networks . Note that the reverse direction is not as obvious as it may seem: naively iterating over all possible roots of a semi-directed network and solving M ap PD does not solve M ap SPD. Consider, for example, the network in Figure 2 (b) with k = 2. In any rooting of the network the root is forced to be above the reticulation vertex, always having { a, b } as optimal M ap PD solution with a value of 11. Contrary, any optimal solution for M ap SPD consists of one leaf from { a, b } and one from { c, d }, yielding an optimal value of 9. So, no rooting of the network has an optimal M ap PD solution corresponding to an optimal M ap SPD solution in the semi-directed network. We note that we state the problems as decision problems, but in our empirical study we in fact solve the optimization variants. That is, we find a set of taxa that maximizes the all-path phylogenetic diversity over all sets of size k . Scanwidth Given a directed acyclic graph G , we define a relation β» G on V ( G ) where u β» G v if there exists a directed path from u to v in G . We extend this relation to βͺ° G , where u βͺ° G v if either u β» G v or u = v . A tree extension of a directed acylic graph G is a rooted tree π― G with V (π― G ) = V ( G ) and such that u β» G v implies for all u, v β V ( G ). For every vertex v β V (π― G ), we let , where we often omit subscripts if G and π― G are clear from context. Note that the sets GW( v ) contain edges of the original graph, but the succession relations are according to the given tree extension. The scanwidth of the tree extension π― G is and we call π― G optimal if it has the smallest scanwidth among all tree extensions of G . The scanwidth sw G of a directed acyclic graph G , first introduced in [ 6 ], is the scanwidth of an optimal tree extension of G . See Figure 2a (iii) for an example. The subtree of π― π© rooted at v is denoted . 2.2 Algorithm for directed networks We present Algorithm 1 , which solves an instance (π©, X, Ο, k, D ) of M ap PD in polynomial time for directed networks of bounded scanwidth. The algorithm considers a tree-extension π― π© in a bottom-up fashion and uses a dynamic programming table to store intermediate solutions. We utilize a binary resolution of the network to handle cases where the input network is nonbinary. This is outlined in Lemma 2. The time complexity and correctness of the algorithm are proved in Theorem 2 . Theorem 2 . Algorithm 1 solves instances (π©, X, Ο, k, D ) of M ap PD in πͺ (2 sw sw Β· k 2 m ) time, if a tree-extension π― π© of π© of scanwidth sw is given . The intuition of the table DP at the core of Algorithm 1 is as follows. For a vertex v β V (π©), a set of edges Ξ¦ β GW( v ), and an integer t β [ k ] 0 , the table entry DP[ v , Ξ¦, t ] stores Ο Ξ£ (Ξ¦) plus the phylogenetic diversity maximized by a set A β X of size t in 1 where off( e ) β© A β β
for each e β Ξ¦. If such a set does not exist, it stores ββ, which, in practice, can be replaced by a large negative value. When v is the root Ο of the tree-extension, Ξ¦ is empty, and t equals k , the table therefore stores the maximum phylogenetic diversity in π© of a set of k leaves, thereby solving M ap PD. Lines 6, 8 and 10 of the algorithm cover the three base cases of the table, whereas Lines 13 and 15 contain recurrence relations that compute table entries based on entries corresponding to vertices further down in the tree. We note that may not necessarily be a directed network, and hence we naturally extend the definition of PD π© to general directed acyclic graphs. 2.3 Algorithm for semi-directed networks In this section, we study a generalization of the all-paths semi-directed phylogenetic diversity SPD π© . Let an integer k , a semi-directed network π© and functions Ο : X β [ k ] 0 and f : X Γ [ k ] 0 β β β₯0 βͺ {ββ} be given. Denote by X Ο the set of leaves x with Ο ( x ) > 0. We define the generalized phylogenetic diversity GPD π© ( Ο ) as where we say that a budget of h is spent on a set of leaves L if β x β L Ο ( x ) β€ h and Ο ( x ) > 0 for each x β L . In a sense, Ο models how much of the βbudgetβ k is βinvestedβ in each taxon, and f models additional diversity to be acquired, dependent on the choice of Ο . We study the following problem, where one can replace ββ with a large negative value in practice. Algorithm 1 Solving M appd parameterized by the scanwidth Download figure Open in new tab G eneralized -M aximize -A ll -P aths -SPD (G-M ap SPD) Input: A semi-directed network π© on X , integers k, D β β > 0 , and functions f : X Γ [ k ] 0 β β β₯0 βͺ {ββ} and Ο : E (π©) β β β₯0 . Question: Is there a function Ο : X β [ k ] 0 such that β x β X Ο ( x ) β€ k and GPD π© ( Ο ) β₯ D ? Observe that M apspdm is a special case of G-M ap SPD, where f ( x, t ) = 0 for each x β X , and t β [ k ] 0 . Thus, G-M ap SPD is NP-hard by Theorem 1 . B udgeted M ax -PD [ 34 ] is also a special case of G-M ap SPD. 2 We present Algorithm 2 , which solves instances (π©, X, f, Ο, k, D ) of G-M ap SPD recursively in polynomial time for networks with bounded visible vertex level. Below, we explain the steps and notation in the algorithm. The correctness and running time of the algorithm are proven in Theorem 3 , with Corollary 1 following by using the reduction in the proof of Theorem 1 . Theorem 3 Algorithm 2 solves instances (π©, X, f, Ο, k, D ) of G-M ap SPD in time, where β v is the visible vertex level, n is the number of vertices, and m is the number of edges in π©. Corollary 1 An instance (π©, X, Ο, k, D ) of M ap PD can be solved in time, where β v is the visible vertex level of π©. The algorithm first uses Rule 0 to reduce all 2-blobs : blobs with exactly 2 incident cut-edges. Algorithm 2 Solving G-M ap SPD parameterized by the visible vertex level Download figure Open in new tab Reduction Rule 0 . Let B be a 2-blob with incident cut-edges { u,v } and { w, z } such that v, w β V ( B ). Remove B , { u, v } and { w, z } and add the edge { u, z } with weight β e β E ( B ) Ο ( e ) + Ο ({ u, v }) + Ο ({ w, z }). Algorithm 2 relies on three further reduction rules that reduce trees to single vertices. Rule 1 reduces cherries βtwo leaves connected to the same vertexβto a single leaf. Rule 2 reduces degree-two vertices that may arise from applying Rule 1. Exhaustively applying these two rules to a tree creates a single edge, which can be reduced to a single vertex with Rule 3. For integers i, j, k , we use Ξ΄ i<j<k to denote the Kronecker delta , i.e., Ξ΄ i<j<k equals 1 if i < j < k , and 0 otherwise. Reduction Rule 1 . For given edges { v, x } and { v, y } of leaves x, y, add a new leaf z with edge { v, z } of weight 0 and set f β² ( z, i ) to with Ο ( v, x, y, j, i ):= f ( x, j ) + f ( y, i β j ) + Ξ΄ 0 <j<k Β· Ο ({ v, x }) + Ξ΄ 0 <i β j<k Β· Ο ({ v, y }) for each i β [ k ] 0 . Then, remove x and y with incident edges . Here, f β² is the function for the new instance which contains z , but not x and y . Reduction Rule 2 . Let v be a degree-2-vertex with edges { u, v } and { v, w }. Add an edge { u, w } of weight Ο ({ u, v }) + Ο ({ v, w }) and remove v with its incident edges . Reduction Rule 3 . Let { x, y } be the single edge of a network. Introduce a new vertex v. For each i β 0 , set f ( v, i ) to . Remove x, y and { x, y }. Before we continue, we define a non-trivial blob B to be a lowest blob, if there exists a vertex v B β V ( B ) (called a designated vertex ), if all vertices that are not in V ( B ) and adjacent to a vertex in V ( B ) \{ v B } are leaves; v B has at most one non-leaf neighbor not in V ( B ); and v B is above every vertex of B . For networks containing exactly one blob, the designated vertex v B can be ambiguous, but in a network of at least two blobs, every lowest blob has a unique designated vertex. The leaf neighbors of a blob are the leaves that are adjacent to a vertex in the blob. If the network is not a tree, the algorithm recursively processes lowest blobs until a tree remains. Specifically, for a semi-directed network π© with vertex set V , the algorithm identifies a lowest blob B with designated vertex v B on Line 6. Such a blob exists and can be found efficiently (see Lemma 8 ). We let X B be the leaf neighbors of B . Algorithm 2 reduces B βͺ X B to a single leaf u on Lines 12 and 18. The value f β² ( u, h ) for h β [ k ] 0 βcomputed in the for-loop on Line 15 which is discussed belowβstores the maximum generalized diversity that edges of B contribute when a budget of h is spent on leaves attached to B . Observe that then a budget of k β h is spent in the part above v B (the graph induced by V \ { V ( B ) βͺ X B }). Letting R V denote the visible reticulations in V ( B ), the for-loop on Line 15 iterates over every set P in the powerset π«( R V ), and over a flag Ξ± β {0, 1, 2}. With P we give a set of visible reticulations such that for each p β P , some budget is forced to be spent on some leaves in π p : the set of vertices of B βͺ X B that can be reached with an edge-path from p . The flag Ξ± indicates one of threeβnot necessarily distinctβoptions, where Ξ± = 0 stands for not necessarily spending budget on taxa above elements in P, Ξ± = 1 for definitely spending h β₯ 1 in , and Ξ± = 2 stands for definitely spending h β₯ 1 on some taxa of X \X B . For each combination of P and Ξ± (ignoring the case P = β
and Ξ± = 0), we then construct a tree T ( P,Ξ± ) capturing the maximum generalized diversity that edges of B contribute under the scenario outlined above. On Line 9, these trees are reduced to single leaves u ( P,Ξ± ) with Rules 1 to 3. The remaining lines in the for-loop amalgamate this information to compute the correct values of . It remains to present the construction of the trees T ( P,Ξ± ) , which requires more definitions. Fix a vertex w of with outgoing edge wr , where r is a reticulation with a semi-directed path to a reticulation in P . If P = β
, we set w := v B . We define sets P 0 := P , P 1 := P βͺ { w }, and P 2 := P βͺ { v B }. Let V ( P,Ξ± ) be the vertices and E ( P,Ξ± ) be the edges that are on up-down paths between two vertices in P Ξ± . In the special case that | P | = 1, we define V ( P ,0) as P and E ( P ,0) as β
. In Lemma 9 we show that V ( P ,1) and E ( P ,1) are well-defined, regardless of the vertex w that is chosen. Let M > Ο Ξ£ ( E (π©)) = β e β E (π©) Ο ( e ) be a fixed integer. For a set U of vertices, denote by hidden( U ) the set of vertices that can not be reached from U with an edge-path. We define trees T ( P,Ξ± ) by taking the graph G [ B βͺ X B ] and removing hidden( V ( P,Ξ± ) ) and the incident edges; let H ( P,Ξ± ) be a the sum of f ( u , 0) for each leaf in hidden( V ( P,Ξ± ) )βnote that H ( P,Ξ± ) = ββ, if f ( x , 0) = ββ for some leaf in hidden( V ( P,Ξ± ) ); contracting the edges E ( P,Ξ± ) to a single vertex v ( P,Ξ± ) ; if Ξ± = 2, then adding two leaf neighbors to v (which is identified with v ( P,Ξ± ) if P β β
), setting the weight of to M , and to 0 for each h β [ k ] 0 and each i β {1, 2}; for each r β P : (a) adding a vertex v r and an edge { v ( P,Ξ± ) , v r } of weight M , and (b) replacing every edge { v ( P,Ξ± ) , w } with w β π r by an edge { v r , w } of the same weight; and exhaustively removing leaves not in X . We define m ( P,Ξ± ) to be the number of edges in T ( P,Ξ± ) with a weight of M . In Figure 3 , an example of the construction is given. Download figure Open in new tab Figure 3. A graphic example of Algorithm 2 . Observe, that reticulation r i is visible, for example, with respect to y i , for i β {1, 2, 3}. Not all vertices are labeled. Edge weights smaller than M are omitted. Top left : An example of a lowest blob. Bottom : In ( i ): The construction of T ( P ,0) after Step i for P = { r 1 , r 2 }. In (1), the edges in E ( P ,0) βwhich are contracted in Step 2βare marked in red. In (2) and the top left, vertices in are marked in blue. Top right : Five other examples of constructed trees. 3 Software and Experiments Implementation Algorithm 1 has been implemented in our Python package PaNDA in a serial manner. The algorithm takes as input a directed phylogenetic network in eNewick format [ 10 ] and a tree extension, which by default is computed using software originally developed in [ 22 ]. The algorithm returnsβfor a given integer k βwhich k species maximize the all-paths phylogenetic diversity and what their diversity score is. To optimize memory usage, the solutions are computed through backtracking. Additionally, we provide a graphical user interface (GUI), allowing the user to interactively explore how diversity scores vary across different sets of taxa and to visualize phylogenetic networks (see Figure 1 ). The package and GUI are freely available at https://github.com/nholtgrefe/panda . Simulations We analyze the computational efficiency of our implementation through a simulation study, exploring how various network parameters influence its running time. Utilizing the R package SiPhyNetwork [ 26 ], we generated a dataset consisting of 6400 phylogenetic networks. Specifically, we exhaustively simulated networks under a birth-death-hybridization model until our data set consisted of 100 n -leaf level- β networks for each combination of n β {20, 50, 100, 200} and β β {0, β¦, 15}. Then, we applied our implementation of Algorithm 1 to compute the optimal phylogenetic diversity of the networks for . 3 Figure 5 depicts the computation times of these experiments on a logarithmic scale. The horizontal axis represents the network level, which is polynomial-time computable and a more familiar measure of tree-likeness than scanwidth within the phylogenetic network community. Figure 4 shows how the scanwidth compares to the level in our dataset. Download figure Open in new tab Figure 4. Scanwidth values plotted against the level for all networks in our dataset. The plot shows the mean, the interquartile range (IQR)βthe middle 50% of the dataβ, and the full range of scanwidth values. The dotted line annotated β y = x + 1β indicates the theoretical upper bound, showing that scanwidth is at most level+1 [ 22 ]. Download figure Open in new tab Figure 5. Computation times of Algorithm 1 for sets of 100 n -leaf level- β networks, using k -values of and n . Both the mean and interquartile range (IQR)βthe middle 50% of the dataβare depicted. The dotted line annotated βsw comp.β shows the mean computation time for computing an optimal tree-extension using the software from [ 22 ]; this time is not included in the other measurements. Our implementation shows great scalability, solving our largest instances in the order of seconds. Importantly, the computation of an optimal tree-extension does not pose a bottleneck for these instances, consistently completing in under one second. However, for extremely large networks, it may be advantageous to employ a heuristic tree-extension [ 22 ], which can reduce preprocessing time at the expense of increased runtime for Algorithm 1 . This trade-off is particularly relevant for small values of k , where the tree-extension computation gets close to dominating the total runtime of Algorithm 1 . Biological Data To demonstrate the practical applications and capabilities of the PaNDA software tool, we performed a phylogenetic diversity analysis focusing on 23 Xiphophorus fish species consisting of three major clades: northern swordtails, southern swordtails , and platyfishes . This genus is known to have undergone extensive hybridization (see, e.g., [ 11 ]) and has thus been used as input for several phylogenetic network inference methods [ 5 , 19 , 30 , 39 ]. We examine a level-1 phylogenetic network with branch lengths inferred in [ 5 ] with the PhyloNetworks package [ 40 ] (see Figure 6 ). Download figure Open in new tab Figure 6. A level-1 phylogenetic network with branch lengths on 23 Xiphophorus fishes from [ 5 ]. The red dashed edges are reticulation edges, and branches with length zero are indicated by a green dot, to show the network topology. Using PaNDA , we computed the set of k species that maximize the phylogenetic diversity for various values of k . Interestingly, for k = 3, the optimal solution does not include one species from each of the three traditionally defined major clades. Instead, the selected species are X. hellerii, X. malinche , and X. monticolus . While this may appear surprising at first, it is consistent with the structure of the inferred network. The inclusion of X. hellerii can be attributed to its hybrid origin, which allows it to capture phylogenetic signal from multiple ancestral lineages. X. malinche shares substantial ancestry with a large portion of the platyfishes, so no separate platyfish species is needed to represent that lineage. Furthermore, the X. monticolus / X. clemenciae lineage is essentially more phylogenetically distinct, arising from deep divergence relative to other clades. In particular, in this network, the first divergence event after the root creates the X. monticolus / X. clemenciae lineage. Together, these three species maximize phylogenetic diversity not by representing each nominal clade, but by capturing both extensive ancestral coverage and deep evolutionary distinctiveness across the network. 4 Discussion In this paper, we introduced PaNDA , the first easy-to-use and scalable software package and graphical user interface designed to compute and optimize phylogenetic diversity (PD) in phylogenetic networks. Although currently only equipped with the all-paths phylogenetic diversity computations considered in this paper ( Algorithm 1 ), in the future it can be extended with other algorithms, such as Algorithm 2 and algorithms for other PD-measures on phylogenetic networks [ 7 , 44 , 42 ], biodiversity indices [ 46 ], and algorithms that consider PD with ecological dependencies [ 14 , 21 , 27 , 32 , 37 , 38 ]. In particular, since it is at the moment not clear which variant of phylogenetic diversity on networks is most useful in practice, it would be helpful to have them all in the same software tool so they can be compared and combined easily. The implementation of Algorithm 1 demonstrates excellent scalability, enabling the maximization of phylogenetic diversity for large networks (see Figure 5 ). Our experiments also provide evidence for the value of scanwidth as a practical parameter for algorithm design in phylogenetics, showing that the parameter grows (much) slower than the level of a network (see Figure 4 ), a trend also noted in [ 22 ]. Combined with the relative elegance of Algorithm 1 compared to the theoretical contributions from [ 7 , 24 , 25 ], this suggests that scanwidth strikes a good balance between simplicity and tractability. Hence, it may be meaningful to explore whether a semi-directed scanwidth can be defined to help solve M ap SPD in practice. Other interesting theoretical questions that could be useful to handle empirical data are whether the greedy approximation from [ 7 ] can be extended to the semi-directed setting, and whether ultrametricity can be exploited algorithmically. From a practical point of view, our analysis of the Xiphophorus genus shows how PaNDA can offer a new perspective on biodiversity prioritization in the presence of reticulate events. It highlights a striking contrast with several traditional biodiversity indices, such as the Shapley value [ 18 ] and the Fair Proportion Index [ 23 , 35 ], which basically measure the average contribution to phylogenetic diversity across all possible subsets of species. Such indices may rank two closely related species highly due to their individual contributions to diversity [ 46 ]. When prioritizing conservation of the top k highest ranked species [ 23 ], this can lead to suboptimal selections, since selecting two species that share a large portion of their ancestry likely yields diminishing returns. In contrast, using PaNDA to solve M ap PD for a fixed value of k provides a different view that also takes this interdependence into account. Software and Data Availability Supporting scripts, data sets and the source code of PaNDA are available at https://github.com/nholtgrefe/panda . Acknowledgment We thank the anonymous reviewers of RECOMB 2026 for their detailed and constructive reviews. Their expertise and thoughtful suggestions substantially improved this work. A Appendix A.1 NP-hardness proof Theorem 1 . M ap SPD is NP -hard, even for binary semi-directed networks . Proof . We reduce from M ap PD, which is NP-hard even for binary networks [ 7 ]. Reduction . Let β = (π© + , X, Ο, k, D ) be an instance of M ap PD with π© + being binary and having root Ο . Construct an instance β β² = (π© β , X β² , Ο β² , k β² , D β² ) of M ap SPD as follows. Let M be the sum of all edge weights plus one, and let y be a new taxon not in X . Set X β² := X βͺ { y }, k β² := k + 1 and D β² := D + M . Denote by the directed network obtained from π© + by adding the leaf y and the edge ( Ο, y ). Set π© β to be the semi-directed network obtained from , and set Ο β² ( e ):= Ο ( e ) for all e β E (π© + ) with Ο β² (( Ο, y )):= M . Correctness . Since the out-degree of Ο is three, π© β can be obtained from by only undirecting all non-reticulation edges. So, and π© β have the same vertex and edge sets (up to the undirecting of the non-reticulation edges). Thus, π© β is binary and Ο β² is defined for all its edges. It remains to show the equivalence of β and β β² . To this end, let Y β X be arbitrary. Then, we have that . Because Ο β² (( Ο, y )) = M , . Since M being large forces y to be in any optimal solution for β β² , the equivalence follows from D β² = D + M and k β² = k + 1. Noting that the reduction takes polynomial time completes the proof. A.2 Proofs for Algorithm 1 Lemma 2 Given an instance (π©, X, Ο, k, D ) of M ap PD with π© nonbinary and a tree-extension π― π© of π©, in πͺ( m ) time one can compute an equivalent instance (π© β² , X, Ο β² , k, D ) of M ap PD and a tree-extension of π© β² such that π© β² and are binary, m β² β πͺ ( m ), and . Proof . A rooted binary tree T with leaf set { x 1 , β¦, x d +1 } and d β₯ 1 is a caterpillar tree if the removal of all x i results in a directed path P = ( v 1 , β¦, v d ), called the spine . For two leaves x i , x j of T with in-neighbors v i , v j , respectively, we say that x i comes before x j if i β€ j . Construction . We let π© β² be a carefully constructed binary resolution of π© and change π― π© into accordingly (see below). We set Ο β² ( e ):= Ο ( e ) for all e β E (π©) and Ο β² ( e ):= 0 for all e β E (π©). In particular, let v 1 = v be a vertex with d + 1 β₯ 3 out-neighbors w 1 , β¦, w d +1 in π©. Without loss of generality, assume that the w i are ordered such that consecutive vertices belong to the same connected component of , i.e., they are grouped according to the branch of they are in. Let T be a caterpillar tree with root v 1 , leaf set { w 1 , β¦, w d +1 }, spine P = ( v 1 , β¦, v d ) and the property that w i comes before w j in T if i < j . To obtain π© β² from π©, we replace v 1 and its outgoing edges ( v 1 , w i ) in π© by T . To obtain from π― π© , we replace v 1 by P such that the outgoing edges ( v 1 , z j ) of v 1 in π― π© are replaced by edges ( v d , z j ). Similarly, let v = v 1 be a vertex with d + 1 β₯ 3 in-neighbors w 1 , β¦, w d +1 in π©. Let T β² be a caterpillar tree with root v 1 , leaf set { w 1 , β¦, w d +1 } and spine P β² = ( v 1 , β¦, v d ). Let T be the graph obtained from T β² by reversing all edge directions. To obtain π© β² from π©, we replace v and its incoming edges in π© by T . To obtain from π― π© , we replace v 1 by the directed path P = ( v d , β¦, v 1 ) such that the incoming edge ( z, v 1 ) of v in π― π© is replaced by ( z, v d ). Correctness . Let e β E (π©) be arbitrary. Then, note that our construction ensures that e is on a root-leaf path to a leaf x β X in π© if and only if it is so in π© β² . Since the new edges have a weight of zero, we obtain that PD π© β² ( Y ) = PD π© ( Y ) for all Y β X . Hence, the two instances are equivalent. Moreover, the construction can be done in a single traversal of the network and tree-extension, resulting in a running time of πͺ ( m ). For the remaining conditions, first note that m β² is clearly β πͺ ( m ). Since π© β² is a valid binary resolution of π©, it is trivially binary. By [6, Lem. 5], we may also assume that for all v β V (π©), and hence our construction ensure that is binary. Next, observe that replacing vertices in π― π© that have a high in-degree in π© by a path preserves the property if u β» π© β² v . Similarly, our construction accounting for the different branches of the π― π© ensures the same property is preserved when replacing vertices with high out-degree in π©. Hence, is a tree-extension of π© β² . Furthermore, we have that for all v β V (π― π© ). Each new vertex is part of a path P , starting at an existing vertex v β V (π― π© ). These vertices have the property Hence, . Theorem 2 Algorithm 1 solves instances (π©, X, Ο, k, D ) of M ap PD in πͺ (2 sw sw Β· k 2 m ) time, if a tree-extension π― π© of π© of scanwidth sw is given . Proof. Correctness . Clearly, Algorithm 1 returns the correct result on Lines 22 to 24 if DP stores the intended values as described above. That this is true for the base cases on Lines 6, 8 and 10 of the algorithm can easily be seen. It remains to show the correctness of the recurrences on Lines 13, 15, 19 and 21. Let v β V (π©) \ X , Ξ¦ β GW( v ) and t β [ k ] 0 be arbitrary. We use the shorthand notation and L ( v , Ξ¦, t ) = { A β X | A β V (π© v ), off( e ) β© A β β
β e β Ξ¦, | A | = t }. The table stores the correct value if DP[ v , Ξ¦, t ] stores the maximum value of for any A β L ( v , Ξ¦, t ). We note that if there is no such set, then the value is ββ. Since the recurrence on Line 19 is a simplification of the one on Line 21, we only prove correctness of the latter and assume that v has two children u and w in π― π© . We show that, if Ξ¦ does not contain incoming edges, then L ( u , Ξ¦β©GW( u ), t β² ) and L ( w , Ξ¦β©GW( w ), t β t β² ) are a disjoint union of L ( v , Ξ¦, t ), for some t β² β [ t ] 0 . It immediately follows that Line 21 is correct. For each A β L ( v , Ξ¦, t ) we have A β© V (π© u ) β L ( u , Ξ¦ β© GW( u ), | A β© V (π© u )|). Since off( e ) β© A β β
for each e β Ξ¦, each e β Ξ¦ β© GW( u ) must have offspring in A β© V (π© u ). Analogously, we get A β© V (π© w ) β L ( w , Ξ¦ β© GW( w ), | A β© V (π© w )|). As u and w are in children of v in π― π© , the sets of vertices in the networks π© u and π© w are disjoint. This shows the first direction. Now, when A u β L ( u , Ξ¦ GW( u ), t β² ) and A w β L ( w , Ξ¦ β© GW( w ), t β t β² ) for some t β² β [ t ] 0 , then A u and A w are disjoint and in total have t items. Further, by definition, off( e ) β© ( A u βͺ A w ) is non-empty for all e β Ξ¦. So, A u βͺ A w β L ( v , Ξ¦, t ). Now, let v be the root, or let Ξ¦ contain an incoming edge of v . Since the recurrence on Line 13 is a simplification of the one on Line 15, we only prove correctness of the latter and assume that v has two children u and w . As induction hypothesis, suppose that DP stores the intended values for u and w in π― π© . It is sufficient to show that DP[ v , Ξ¦, t ] stores d β β β₯0 implies that there is an A β L ( v , Ξ¦, t ) with (that is, the table stores at most the maximum); and DP[ v , Ξ¦, t ] stores at least for each A β L ( v , Ξ¦, t ) (that is, the table stores at least the maximum). We handle the case that L ( v , Ξ¦, t ) is emptyβand therefore DP[ v , Ξ¦, t ] stores βββindependently. First, suppose that DP[ v , Ξ¦, t ] stores ββ. Then, for all t β² and all non-empty Ξ¨ β Ξ β ( v ), one of the tables DP[ u , (Ξ¦ βͺ Ξ¨) β© GW( u ), t β² ] or DP[ w , (Ξ¦ βͺ Ξ¨) β© GW( w ), t β t β² ] stores ββ. By the induction hypothesis, L ( u , (Ξ¦βͺΞ¨)β©GW( u ), t β² ) or L ( w , (Ξ¦βͺΞ¨)β©GW( w ), t β t β² ) is empty and therefore also L ( v , Ξ¨, t ). Now, let DP[ v , Ξ¦, t ] store d β β β₯0 . By the recurrence on Line 15 and the induction hypothesis, there is some Ξ¨ β Ξ + ( v ) and some t β² β [ t ] 0 such that there exist sets A u β L ( u, F u , t β² ) and A w β L ( w, F w , t β t β² ), where F u = (Ξ¦ βͺ Ξ¨) β© GW( u ) an F w = (Ξ¦ βͺ Ξ¨) β© GW( w ). Moreover, Let A = A u βͺ A w . We show that A satisfies A β L ( v , Ξ¦, t ) and . Since A u β L ( u, F u , t β² ) and A w β L ( w, F w , t β t β² ), we know A β V (π© v ) = V (π© u ) βͺ V (π© w ). We conclude with A u and A w being disjoint that | A | = t and that . Because Ξ¦ = (Ξ¦ β© Ξ β ( v )) βͺ (( F v βͺ F w ) \ Ξ¨) and (Ξ¦ β© Ξ β ( v )), F v , and F w are pairwise disjoint, we conclude . It remains to show that off( e ) β© A β β
for each e β Ξ¦. Let e be an incoming edge of v . Then, since Ξ¨ is non-empty, there is an edge e β² β Ξ¨. Recall that e β² consequently is outgoing of v and off( e β² ) β off( e ). Then, without loss of generality, let e β² be in F u . In consequence, off( e β² ) β© A u is non-empty and therefore also off( e ) β© A u is non-empty. Now, let e β Ξ¦ not be an incoming edge of v . Without loss of generality, e β F u and then off( e ) β© A u β
, because A u β L ( u, F u , t β² ). Now, let there be an A β L ( v , Ξ¦, t ). If such a set does not exist then DP[ v , Ξ¦, t ] stores ββ by definition. Define A u and A w as the intersection of A with X (π© u ):= X β© π© u and X (π© w ):= X β© π© w , respectively. These two sets are disjoint, as X (π© u ) and X (π© w ) are disjoint. Define Ξ¨ to contain the outgoing edges e β² of A , such that off( e β² ) β© A β β
. Because Ξ¦ has incoming edges of v , there is offspring of v in A and so Ξ¨ is non-empty. We define, as before, F u := (Ξ¨βͺΞ¦) β©GW( u ) and F w analogously. As we observe that A u β L ( u, F u , | A u |) and A w β L ( w, F w , | A w |), we conclude with the induction hypothesis that and . Then This completes the correctness proof. Running time . By Lemma 2, we may assume that π© and π― π© are binary and instead show a running time of πͺ (2 sw sw Β· k 2 n ). Since | GW( v )| β€ sw for all v β V (π©), our tableβs size is at most | V (π©)| Β· 2 sw Β· ( k + 1). For each of these table entries, we perform a maximization over at most 3 Β· ( k + 1) Β· 4 terms, since we assumed π© is binary. Thus, the time complexity becomes πͺ (2 sw sw Β· k 2 Β· n ), as desired. A.3 Proofs for Algorithm 2 Lemma 3 Rule 0 is correct and can be applied exhaustively in πͺ ( m ) time . Proof . Observe that an edge in a 2-blob contributes to the diversity of a set of taxa only if it is on an up-down path between two selected taxa. In that case, all of the edges in the blob, and the two incident cut-edges, are on such an up-down path. This proves correctness. The time complexity follows from the fact that finding and removing the 2-blobs can be done exhaustively in πͺ ( m ) time with a traversal of the network. Lemma 4 Rule 1 is correct and can be applied exhaustively in πͺ ( nk 2 ) time . Proof . Let β = (π©, X, f, Ο, k, D ) denote an instance of G-M ap SPD before the application of a reduction rule, and β β² = (π© β², X β² , f β² , Ο β² , k, D ) the instance after the application. It is easily visible that if the original instance β has a solution Ο , then Ο β² , where values of X \ { x, y } remain unchanged and Ο β² ( z ):= Ο ( x ) + Ο ( y ), is a solution for β β² . Conversely, from a solution Ο β² of β β² , we can define a solution for β by setting and Ο ( y ):= Ο β² ( z ) β Ο ( x ). Every application of Rule 1 removes one leaf and takes πͺ ( k 2 ) time. Lemma 5 Rule 2 is correct and can be applied exhaustively in πͺ ( n ) time . Proof . Observe that only if leaves on both ends are selected, then one of the edges counts towards the diversity, and in that case, both. This shows the correctness. Further, this rule can be applied once per edge and each time in constant time. The number of edges that are on an edge-path to a leaf is πͺ ( n ). Lemma 6 A tree is reduced to a single leaf in πͺ ( nk 2 ) time, by exhaustively applying Rules 1 to 3 . Proof . We prove that applying Rules 1 and 2 exhaustively is sufficient to correctly reduce trees to a single edge. Rule 3 then reduces the single edge to a single leaf in πͺ (1) time. Its correctness can be shown analogously to Lemma 4 . Let π― be a tree. We prove by induction on the number of leaves n , where n = 2 is trivial. Let n β₯ 3 and the claim be correct for all trees with n β 1 leaves. Any tree on n leaves contains a cherry, that is, two leaves x and y that share a common neighbor v , or a degree-2 vertex w . If the latter is true, apply Rule 2 exhaustively. Afterward, we can apply Rule 1 to remove one of the leaves. The resulting graph is a tree on at most n β 1 vertices, and the claim follows by the induction hypothesis. Lemma 7 Let β = (π©, X, f, Ο, k, D ) be an instance of G-M ap SPD in which we can not apply any of the Rules 1 to 3. If π© contains a non-trivial blob B, then there exists a vertex v B β V ( B ) which is above every vertex of B. In particular, no reticulations can be above such vertices v B . Proof . Let r be a reticulation in B for which there are no reticulations above r (i.e., no reticulations have a semi-directed path to r ). Let u be one of the in-neighbors of r . By Corollary 1 of [ 20 ], there is an up-down path between u and all vertices in V ( B ). By choice of r , there are no reticulations above u , so all such up-down paths must be a semi-directed path from u . This proves the existence part of the lemma. To see the second part, let v B β V ( B ) be a vertex above every vertex of B . Suppose for a contradiction that there is a reticulation r above v B . Then there is a semi-directed path from r to v B . Since v B is above r , there is a semi-directed path which is not an edge-path from v B to r . Combining these two paths gives a semi-directed cycle, which is a cycle that can be oriented as a directed cycle. But this is not allowed by Theorem 2 of [ 20 ], which gives the required contradiction. Lemma 8 Let β = (π©, X, f, Ο, k, D ) be an instance of G-M ap SPD in which we can not apply any of the Rules 1 to 3. If π© contains a non-trivial blob, then a lowest blob of π© can be found in πͺ ( m ) time, where m is the number of edges in π©. Proof . Suppose first that π© contains one blob B . Clearly, all neighbors of vertices of B , which are not in V ( B ), are leaves. By Lemma 7 , there exists a vertex which is above every vertex of B . By definition, this is a designated vertex of B , and hence B is a lowest vertex. Now suppose that π© contains at least two blobs. Define v β₯ B for a vertex v and a blob B , if there is a semi-directed path from v to every vertex of B . Define B 1 β₯ B 2 for blobs B 1 and B 2 , if v β₯ B 2 for some v β V ( B 1 ), and if for no vertices u V β ( B 2 ), u β₯ B 1 holds. Let B be a blob of π© which is smallest with respect to this partial ordering β₯, which has a neighboring blob B + with B + β₯ B . If there is no such blob, then let B be any blob of π©. If B has at most one vertex with a non-leaf neighbor not in B , then we continue our argument in the next paragraph; otherwise, B must contain two vertices v 1 , v 2 with non-leaf neighbors u 1 , u 2 β V ( B ) from blobs B 1 , B 2 , respectively. Observe that v i must have a semi-directed path to all vertices in V ( B i ) for at least one of i = 1, 2, as otherwise, V ( B ) βͺ V ( B 1 ) βͺ V ( B 2 ) is part of a bigger blob. Without loss of generality, suppose v 1 has a semi-directed path to all vertices in V ( B 1 ). We continue this process on B 1 ; note that we can avoid returning to blobs that have already been visited, for example, by updating the partial ordering β₯ with B β₯ B 1 . Since π© is a finite graph, such a process must terminate. We obtain a smallest blob B β in π© where at most one vertex v of B β has one non-leaf neighbor that is not in V ( B ) β . We claim that v is above every vertex of B β , thereby showing that v is a designated vertex of B β , and consequently that B β is a lowest blob. Since B β is smallest, no reticulation of B β is above v . By Lemma 7 , there exists a vertex u in V ( B ) β which is above every vertex in V ( B ) β . Note that there must be an edge-path between u and v . Otherwise, there would be a reticulation in V ( B ) β above either u or v , which is not possible. But this means that v must also be above every vertex in V ( B ) β , by appending the edge-path from v to u to the semi-directed paths from u to the other vertices, possibly removing duplicate edges. So B β must be a lowest blob with designated vertex v . To show the runtime, note that one can traverse through the blobs as described above by visiting each edge at most once. Therefore, the lowest blob can be found in πͺ ( m ) time. Lemma 9 Let π© be a semi-directed network with a lowest blob B with designated vertex v B and let P be a set of visible reticulations in V ( B ). Let w , be vertices with outgoing edges wr and w β² r β² respectively, where r and r β² are reticulations with a directed path to an element in P . The set of vertices and edges on up-down paths between two vertices in P βͺ { w } and those in P βͺ { w β² } are equivalent . In other words, given a set of visible reticulations P , the definitions of V ( P ,1) and E ( P ,1) are independent of the vertex w of which is chosen . Proof . If P = β
or if , the claim follows immediately. So assume P β β
and . Let be two vertices with outgoing edges wr and w β² r β² , where r and r β² are reticulations with a semi-directed path to a reticulation p and p β² in P , respectively. We require w β w β² , but the others do not need to be distinct. We show that up-down paths of U w β² := UP( P βͺ { w β² }) and U w := UP( P βͺ { w }) cover the same set of vertices and edges. First observe that any up-down path that has both endpoints in P is in both sets, U w β² and U w . Let Q w + w β² be the edge-path from w to w β² . Now let Q β U w β² use the edge w β² r β² , then Q w + w β² Q is a path in U w that covers the set of vertices and edges of Q . Let Q β U w β² be an up-down path with Q w + w β² β Q . We observe that Q \ Q w + w β² is in U w and that Q w + w β² Q w β² , p β² is in U w , where Q w β² , p β² is a directed path from w β² to p β² containing w β² r β² . These two paths cover the set of vertices and edges of Q For other updown paths Q β U w β² , add Q w + w β² and remove doubled parts. Since Q w + w β² is already covered, this shows that all vertices and edges that are covered with up-down paths in U w β² are covered with up-down paths in U w . Lemma 10 The tree T ( P,Ξ± ) can be constructed in time, where β v is the number of visible reticulations and m β² the number of edges in the original blob . Proof . For every pair of vertices in P Ξ± , we first compute the set of edges and vertices on up-down paths between them in πͺ ( m β² ) time. There are many pairs, so, finding V ( P,Ξ± ) and E ( P,Ξ± ) takes time. The remaining operations can all be done by a constant number of traversals of the blob, each taking πͺ ( m β² ) time, thus proving the lemma. Lemma 11 Let π© be a semi-directed network with a lowest blob B with a designated vertex v B . Let x be a leaf neighbor of B. Exactly one of the following two statements is true . x has an edge-path to v B . x has an edge-path to a reticulation r. The reticulation r is visible with respect to x . Proof . By Condition (III) of Theorem 2 in [ 20 ], there can be no edge-path between two reticulations in a semi-directed network. Hence, there is at most one edge-path from x to a reticulation in π©. Suppose first that x has no such edge-path. We claim that x has an edge-path to v B . If not, then every semi-directed path from v B to x contains a reticulation. Such a path must exist since v B is above every vertex in V ( B ) by definition. But then x has an edge-path to a reticulation, which is a contradiction. Now suppose that x has one edge-path to a reticulation in π©, and call this reticulation r . Take any vertex u above r . We claim that every semi-directed path from u to x contains r . Suppose, for a contradiction, that this is not the case. Then we split into two cases. Case 1: There exists a semi-directed path from u to x that is not an edge-path, which does not contain r . Find the last reticulation r β² on this path in the traversal order. The leaf x has an edge-path both to r and to r β² , contradicting our assumption. Case 2: There exists an edge-path from u to x . Since there is also an edge-path from x to r , we can combine a subset of the edges on these two edge-paths to obtain an edge-path from u to r . By definition, there is a semi-directed path from u to r which contains at least one reticulation edge. But this gives a semi-directed cycle, a cycle of directed edges and undirected edges which can be oriented to obtain a directed cycle, containing u and r . This is not possible by Condition (II) of Theorem 2 in [ 20 ], which gives our required contradiction. So in particular, for any leaf y above r , all up-down paths between x and y must contain r . Thus r is visible with respect to x . As v B is above r , there also cannot be an edge-path between x and v B . Theorem 3 Algorithm 2 solves instances (π©, X, f, Ο, k, D ) of G-M ap SPD in time, where β v is the visible vertex level, n is the number of vertices, and m is the number of edges in π©. Proof . By Lemma 3 , we can preprocess the network such that there are no 2-blobs, and that there are thus πͺ ( n ) blobs in total. We now prove the correctness of Algorithm 2 with three claims. Let β = (π©, X, f, Ο, k, D ) be an instance of G-M ap SPD. Claim 12 If π© is a tree, then Algorithm 2 correctly returns whether β is a yes -instance of G-M ap SPD in Line 4 or Line 5 . After Line 1, all subtrees in π© are reduced to leaves. Thus, if π© is a tree, we return yes or no in Line 4 or 5. The correctness of Claim 12 follows with Lemma 6 . Now let π© be a network which has at least one reticulation and on which we can not apply Rules 1 to 3. Let B denote the lowest blob found in Line 6βand to which the algorithm is applied to until a returnβwith designated vertex v B , and let X B denote the leaf neighbors of B . Claim 13 There is a solution Ο for β which only spends budget on (a subset of) X B if and only if Algorithm 2 returns yes in Line 11 . Finally, let Algorithm 2 not return in Line 4, 5, or 11. Let β β² = (π© β² , X β² , f β² , Ο β² , k, D ) be the instance given into the recursion in Line 21. Claim 14 β is a yes -instance of G-M ap SPD if and only if β β² is a yes -instance of G-M ap SPD. We observe that these three claims ar sufficient to prove the correctness of Algorithm 2 . We continue proving Claim 13 and Claim 14, afterward. Proof of Claim 13 . Let Ο be a solution for β which only spends a budget of k on X Ο β X B . Let Ξ± be 1 if v has an edge-path to a leaf in X Ο , and let Ξ± be 0, otherwise. Let P be the set of reticulations which have an edge-path to a vertex in X Ο . Since each taxon has an edge-path to at most one reticulation ( Lemma 11 ), the set P is well-defined. We show that in tree T := T ( P,Ξ± ) , the diversity of X Ο is PD π© ( X Ο ) β H ( P,Ξ± ) β Ο Ξ£ ( E ( P,Ξ± ) ) + m ( P,Ξ± ) Β· M . We implicitly use that P 1 is well-defined ( Lemma 9 ). In the light of Lemma 6 , this is sufficient to prove that in Line 10 a yes is triggered. We consider the steps of creating T . In Step 1, we remove vertices in hidden( V ( P,Ξ± ) ), which is equivalent to setting Ο to 0 in every leaf in hidden( V ( P,Ξ± ) ). We thus reduce the diversity by H ( P,Ξ± ) . Recall that E ( P,Ξ± ) is the set of edges on up-down paths between vertices in P . As we can extend these paths on both ends to leaves in X Ο , the weight of E ( P,Ξ± ) is considered in PD π© ( X Ο ), but compressed in Step 2. In Step 4, we add m ( P,Ξ± ) edges of length M as connection between π r and v P,Ξ± , which thus are all on paths between specific leaves in X Ο . In Step 1 and 5, vertices are removed that are not on up-down paths between vertices in X Ο . In consequence, yes is returned in Line 11. This completes this direction. Conversely, let yes be returned in Line 11. Thus, f ( u ( P,Ξ± ) , k ) + H ( P,Ξ± ) + Ο Ξ£ ( E ( P,Ξ± ) ) β m ( P,Ξ± ) Β· M β₯ D , for some P β R V and some Ξ± β {0, 1}. With Lemma 6 , we conclude that there is a function Ο that spends a budget of k on leaves of T ( P,Ξ± ) such that . With similar arguments as before, we conclude that Ο is a solution for π©. β Proof of Claim 14 . We can show this claim is relatively analogous to Claim 13 and thus only point out differences. In Step 3 of creating T ( P,Ξ± ) , we add two leaf neighbors of v to ensure that there is always an up-down path to v , since we want to spend a positive budget on taxa in X \ X B . These are two leaves to create the possibility of spending a budget of h β {0, 1} on X B . Consequently, we have to allow for a budget of h + 2 in u ( P,Ξ± ) . Instead of returning instantly, we search for each h the P , such that the diversity contribution in B is maximized. Which P β R V was chosen best for a specific h is irrelevant in the end. β To show the running time, we recall that finding a lowest blob can be done in πͺ ( m ) time, Lemma 8 , and Rule 0 can be applied exhaustively in πͺ ( m ) time, Lemma 3 . Note that Rule 0 will only need to be called once before any loop or recursion, since the remainder of the algorithm creates no new 2-blobs. We observe that the for loop in Line 8 is called times, because | R v | β πͺ ( β v ). The trees T ( P,Ξ± ) are computed in time each, by Lemma 10 , where m β² is the number of edges in the blob used to create T ( P,Ξ± ) . Applying Rules 1 to 3 is done in πͺ ( nk 2 ) time, Lemma 6 . Each time Algorithm 2 is called, at least one blob is reduced, such that πͺ ( n ) are necessary. Thus, the overall running time is . Funder Information Declared Dutch Research Council Footnotes { n.a.l.holtgrefe{at}tudelft.nl , l.j.j.vanIersel{at}tudelft.nl , r.h.meuwese{at}tudelft.nl , y.murakami{at}tudelft.nl } * This paper was accepted for an oral presentation at the 30th Annual International Conference on Research in Computational Molecular Biology (RECOMB 2026) in Thessaloniki, Greece, May 2026. β΅ β Supported by grant OCENW.M.21.306 from the Dutch Research Council (NWO). β΅ β‘ Supported by grant OCENW.M.21.306 from NWO. β΅ Β§ Supported by grant OCENW.GROOT.2019.015 from NWO. β΅ β Supported by grant OCENW.GROOT.2019.015 from NWO. We implemented the very helpful feedback of reviewers of RECOMB. β΅ 1 Recall that this is the subgraph of π© induced by . β΅ 2 B udgeted M ax -PD [ 34 ] is a variant of M ax -PD on unrooted phylogenetic trees in which each taxon x has a cost c x of survival. It is a special case of G-M ap SPD, if C βthe biggest cost of a taxonβis polynomial in the input size. That is, by setting f ( x, h ) to ββ for h < c x , and 0 otherwise. B udgeted M ax -PD can be solved in πͺ ( k 2 n ) time [ 34 ], or in πͺ ( C 2 n 3 ) time [ 28 ]. However, B udgeted M ax -PD is NP-hard, when taxa can have arbitrarily big costs. In that case, defining f is not possible in polynomial time. β΅ 3 In practice, choosing k = n yields a trivial solution. Nevertheless, it serves to illustrate the computability of our approach even for the largest possible values of k . References [1]. β΅ Elizabeth S. Allman , Hector BaΓ±os , John A. Rhodes , and Kristina Wicke . NANUQ+: A divide- and-conquer approach to network estimation . Algorithms for Molecular Biology , 20 ( 1 ): 14 , 2025 . doi: 10.1186/s13015-025-00274-w . OpenUrl CrossRef PubMed [2]. β΅ Hector BaΓ±os . Identifying Species Network Features from Gene Tree Quartets Under the Coalescent Model . Bulletin of Mathematical Biology , 81 ( 2 ): 494 β 534 , 2019 . doi: 10.1007/s11538-018-0485-4 . OpenUrl CrossRef PubMed [3]. β΅ Eric Bapteste , Leo van Iersel , Axel Janke , Scot Kelchner , Steven Kelk , James O. McInerney , David A. Morrison , Luay Nakhleh , Mike Steel , Leen Stougie , and James Whitfield . Networks: expanding evolutionary thinking . Trends in Genetics , 29 ( 8 ): 439 β 441 , 2013 . doi: 10.1016/j.tig.2013.05.007 . OpenUrl CrossRef PubMed Web of Science [4]. β΅ Shalome A. Bassett , Wayne Young , Matthew P.G. Barnett , Adrian L. Cookson , Warren C. McNabb , and Nicole C. Roy . Changes in Composition of Caecal Microbiota Associated with Increased Colon Inflammation in Interleukin-10 Gene-Deficient Mice Inoculated with Enterococcus Species . Nutrients , 7 ( 3 ): 1798 β 1816 , 2015 . doi: 10.3390/nu7031798 . OpenUrl CrossRef PubMed [5]. β΅ Paul Bastide , Claudia SolΓs-Lemus , Ricardo Kriebel , K. William Sparks , and CΓ©cile AnΓ© . Phylogenetic Comparative Methods on Phylogenetic Networks with Reticulations . Systematic Biology , 67 ( 5 ): 800 β 820 , 2018 . doi: 10.1093/sysbio/syy033 . OpenUrl CrossRef PubMed [6]. β΅ Vincent Berry , Celine Scornavacca , and Mathias Weller . Scanning Phylogenetic Networks Is NPhard . In Proceedings of the 46th International Conference on Current Trends in Theory and Practice of Computer Science (SOFSEM 2020) , pages 519 β 530 . Springer , 2020 . doi:10.1007/978-3-030-38919-2\_42. [7]. β΅ Magnus Bordewich , Charles Semple , and Kristina Wicke . On the complexity of optimising variants of phylogenetic diversity on phylogenetic networks . Theoretical Computer Science , 917 : 66 β 80 , 2022 . doi: 10.1016/j.tcs.2022.03.012 . OpenUrl CrossRef [8]. β΅ Eduardo Sonnewend BrondΓzio , Josef Settele , Sandra Diaz , and Hien Thu Ngo . Global assessment report on biodiversity and ecosystem services of the Intergovernmental Science-Policy Platform on Biodiversity and Ecosystem Services. IPBES , 2019 . doi: 10.5281/zenodo.3831673 . OpenUrl CrossRef [9]. β΅ Cedoljub Bundalovic-Torma , Darrell Desveaux , and David S. Guttman . RecPD: A Recombinationaware measure of phylogenetic diversity . PLoS Computational Biology , 18 ( 2 ): e1009899 , 2022 . doi: 10.1371/journal.pcbi.1009899 . OpenUrl CrossRef [10]. β΅ Gabriel Cardona , Francesc RossellΓ³ , and Gabriel Valiente . Extended Newick: it is time for a standard representation of phylogenetic networks . BMC Bioinformatics , 9 ( 1 ): 532 , 2008 . doi: 10.1186/1471-2105-9-532 . OpenUrl CrossRef PubMed [11]. β΅ Rongfeng Cui , Molly Schumer , Karla Kruesi , Ronald Walter , Peter Andolfatto , and Gil G. Rosenthal . Phylogenomics reveals extensive reticulate evolution in Xiphophorus fishes . Evolution , 67 ( 8 ): 2166 β 2179 , 2013 . doi: 10.1111/evo.12099 . OpenUrl CrossRef PubMed Web of Science [12]. β΅ Reinhard Diestel . Graph Theory , volume 173 . Springer Nature , 2025 . doi: 10.1007/978-3-662-70107-2 . OpenUrl CrossRef [13]. β΅ Daniel P. Faith . Conservation evaluation and phylogenetic diversity . Biological Conservation , 61 ( 1 ): 1 β 10 , 1992 . doi: 10.1016/0006-3207(92)91201-3 . OpenUrl CrossRef PubMed Web of Science [14]. β΅ BeΓ‘ta Faller , Charles Semple , and Dominic Welsh . Optimizing Phylogenetic Diversity with Ecological Constraints . Annals of Combinatorics , 15 ( 2 ): 255 β 266 , 2011 . doi: 10.1007/s00026-011-0093-6 . OpenUrl CrossRef [15]. β΅ Elizabeth Gross and Colby Long . Distinguishing Phylogenetic Networks . SIAM Journal on Applied Algebra and Geometry , 2 ( 1 ): 72 β 93 , 2018 . doi: 10.1137/17m1134238 . OpenUrl CrossRef [16]. β΅ Rikki Gumbs , Claudia L. Gray , Monika BΓΆhm , Ian J. Burfield , Olivia R. Couchman , Daniel P. Faith , FΓ©lix Forest , Michael Hoffmann , Nick J.B. Isaac , Walter Jetz , et al. The EDGE2 protocol: Advancing the prioritisation of Evolutionarily Distinct and Globally Endangered species for practical conservation action . PLoS Biology , 21 ( 2 ): e3001991 , 2023 . doi: 10.1371/journal.pbio.3001991 . OpenUrl CrossRef PubMed [17]. β΅ Rikki Gumbs , Claudia L. Gray , Monika BΓΆhm , Michael Hoffmann , Richard Grenyer , Walter Jetz , Shai Meiri , Uri Roll , Nisha R. Owen , and James Rosindell . Global priorities for conservation of reptilian phylogenetic diversity in the face of human impacts . Nature Communications , 11 ( 1 ): 2616 , 2020 . doi: 10.1038/s41467-020-16410-6 . OpenUrl CrossRef PubMed [18]. β΅ Claus-Jochen Haake , Akemi Kashiwada , and Francis Edward Su . The Shapley value of phylogenetic trees . Journal of Mathematical Biology , 56 ( 4 ): 479 β 497 , 2008 . doi: 10.1007/s00285-007-0126-2 . OpenUrl CrossRef PubMed Web of Science [19]. β΅ Niels Holtgrefe , Katharina T. Huber , Leo van Iersel , Mark Jones , Samuel Martin , and Vincent Moulton . Squirrel: Reconstructing Semi-directed Phylogenetic Level-1 Networks from Four-Leaved Networks or Sequence Alignments . Molecular Biology and Evolution , 42 ( 4 ): msaf067 , 2025 . doi: 10.1093/molbev/msaf067 . OpenUrl CrossRef PubMed [20]. β΅ Niels Holtgrefe , Katharina T Huber , Leo van Iersel , Mark Jones , and Vincent Moulton . Characterizing semi-directed phylogenetic networks and their multi-rootable variants . Theory in Biosciences , 145 ( 1 ): 4 , 2026 . doi: 10.1007/s12064-025-00453-8 . OpenUrl CrossRef [21]. β΅ Niels Holtgrefe , Jannik Schestag , and Norbert Zeh . Limits of Kernelization and Parametrization for Phylogenetic Diversity with Dependencies . In Proceedings of the 17th Latin American Theoretical Informatics Symposium (LATIN 2026) . Springer , 2026 . arxiv: 2602.12959 . OpenUrl [22]. β΅ Niels Holtgrefe , Leo van Iersel , and Mark Jones . Exact and Heuristic Computation of the Scanwidth of Directed Acyclic Graphs . arXiv preprint , 2024 . arxiv: 2403.12734 . [23]. β΅ Nick J.B. Isaac , Samuel T. Turvey , Ben Collen , Carly Waterman , and Jonathan E.M. Baillie . Mammals on the EDGE: Conservation Priorities Based on Threat and Phylogeny . PloS One , 2 ( 3 ): e296 , 2007 . doi: 10.1371/journal.pone.0000296 . OpenUrl CrossRef PubMed [24]. β΅ Mark Jones and Jannik Schestag . How Can We Maximize Phylogenetic Diversity? Parameterized Approaches for Networks . In Proceedings of the 18th International Symposium on Parameterized and Exact Computation (IPEC 2023) , pages 30 :1β30:12. Schloss-Dagstuhl-Leibniz Zentrum fΓΌr Informatik , 2023 . doi: 10.4230/LIPIcs.IPEC.2023.30 . OpenUrl CrossRef [25]. β΅ Mark Jones and Jannik Schestag . Parameterized Algorithms for Diversity of Networks with Ecological Dependencies . In Proceedings of the 20th International Symposium on Parameterized and Exact Computation (IPEC 2025) , pages 11 :1β11:21. Schloss-Dagstuhl-Leibniz Zentrum fΓΌr Informatik, 2025 . doi: 10.4230/LIPIcs.IPEC.2025.11 . OpenUrl CrossRef [26]. β΅ Joshua A. Justison , Claudia Solis-Lemus , and Tracy A. Heath . SiPhyNetwork: An R package for simulating phylogenetic networks . Methods in Ecology and Evolution , 14 ( 7 ): 1687 β 1698 , 2023 . doi: 10.1111/2041-210x.14116 . OpenUrl CrossRef [27]. β΅ Christian Komusiewicz and Jannik Schestag . Maximizing Phylogenetic Diversity under Ecological Constraints: A Parameterized Complexity Study . In Proceedings of the 44th IARCS Annual Conference on Foundations of Software Technology and Theoretical Computer Science (FSTTCS 2024) , pages 28 :1β28:18. Schloss-Dagstuhl-Leibniz Zentrum fΓΌr Informatik , 2024 . doi: 10.4230/LIPIcs.FSTTCS.2024.28 . OpenUrl CrossRef [28]. β΅ Christian Komusiewicz and Jannik Schestag . A Multivariate Complexity Analysis of the Generalized Noahβs Ark Problem . Discrete Applied Mathematics , 382 : 137 β 154 , 2025 . doi: 10.1016/j.dam.2025.11.037 . OpenUrl CrossRef [29]. β΅ Sungsik Kong , Claudia SolΓs-Lemus , and George P. Tiley . Phylogenetic networks empower biodiversity research . Proceedings of the National Academy of Sciences , 122 ( 31 ): e2410934122 , 2025 . doi: 10.1073/pnas.2410934122 . OpenUrl CrossRef PubMed [30]. β΅ Samuel Martin , Niels Holtgrefe , Vincent Moulton , and Richard M. Leggett . Algebraic invariants for inferring 4-leaf semi-directed phylogenetic networks . Systematic Biology , page syaf071, 2025 . doi: 10.1093/sysbio/syaf071 . OpenUrl CrossRef [31]. β΅ Rafael Molina-Venegas , Miguel A. Rodriguez , Manuel Pardo-de Santayana , Cristina Ronquillo , and David J. Mabberley . Maximum levels of global phylogenetic diversity efficiently capture plant services for humankind . Nature Ecology & Evolution , 5 ( 5 ): 583 β 588 , 2021 . doi: 10.1038/s41559-021-01414-2 . OpenUrl CrossRef PubMed [32]. β΅ Vincent Moulton , Charles Semple , and Mike Steel . Optimizing phylogenetic diversity under constraints . Journal of Theoretical Biology , 246 ( 1 ): 186 β 194 , 2007 . doi: 10.1016/j.jtbi.2006.12.021 . OpenUrl CrossRef PubMed Web of Science [33]. β΅ Fabio Pardi and Nick Goldman . Species Choice for Comparative Genomics: Being Greedy Works . PLoS Genetics , 1 , 2005 . doi: 10.1371/journal.pgen.0010071 . OpenUrl CrossRef PubMed [34]. β΅ Fabio Pardi and Nick Goldman . Resource-Aware Taxon Selection for Maximizing Phylogenetic Diversity . Systematic Biology , 56 ( 3 ): 431 β 444 , 2007 . doi: 10.1080/10635150701411279 . OpenUrl CrossRef PubMed Web of Science [35]. β΅ David W. Redding . Incorporating Genetic Distinctness and Reserve Occupancy into a Conservation Prioritisation Approach . Masterβs thesis, University of East Anglia , 2003 . [36]. β΅ Dan F. Rosauer and Walter Jetz . Phylogenetic endemism in terrestrial mammals . Global Ecology and Biogeography , 24 ( 2 ): 168 β 179 , 2015 . doi: 10.1111/geb.12237 . OpenUrl CrossRef [37]. β΅ Jannik Schestag . Weighted Food Webs Make Computing Phylogenetic Diversity So Much Harder . In Proceedings of the 51st International Conference on Current Trends in Theory and Practice of Computer Science (SOFSEM 2026) , page 187 β 202 . Springer , 2026 . [38]. β΅ Jannik Schestag and Norbert Zeh . The First Known Problem That Is FPT with Respect to Node Scanwidth but Not Treewidth . 2026 . arxiv: 2602.06903 . [39]. β΅ Claudia SolΓs-Lemus and CΓ©cile AnΓ© . Inferring Phylogenetic Networks with Maximum Pseudolikelihood under Incomplete Lineage Sorting . PLoS Genetics , 12 ( 3 ): e1005896 , 2016 . doi: 10.1371/journal.pgen.1005896 . OpenUrl CrossRef PubMed [40]. β΅ Claudia SolΓs-Lemus , Paul Bastide , and CΓ©cile AnΓ© . PhyloNetworks: A Package for Phylogenetic Networks . Molecular Biology and Evolution , 34 ( 12 ): 3292 β 3298 , 2017 . doi: 10.1093/molbev/msx235 . OpenUrl CrossRef PubMed [41]. β΅ Mike Steel . Phylogenetic Diversity and the Greedy Algorithm . Systematic Biology , 54 ( 4 ): 527 β 529 , 2005 . doi: 10.1080/10635150590947023 . OpenUrl CrossRef PubMed Web of Science [42]. β΅ Leo van Iersel , Mark Jones , Jannik Schestag , Celine Scornavacca , and Mathias Weller . Average-Tree Phylogenetic Diversity of Networks . In Proceedings of the 25th International Workshop on Algorithms in Bioinformatics (WABI 2025) , pages 14 :1β14:21. Schloss DagstuhlβLeibniz-Zentrum fΓΌr Informatik, 2025 . doi: 10.4230/LIPIcs.WABI.2025.15 . OpenUrl CrossRef [43]. β΅ Leo van Iersel , Mark Jones , Jannik Schestag , Celine Scornavacca , and Mathias Weller . Average-Tree Phylogenetic Diversity Parameterized by Scanwidth and Invisibility . Manuscript Under Review , 2025 . [44]. β΅ Leo van Iersel , Mark Jones , Jannik Schestag , Celine Scornavacca , and Mathias Weller . Phylogenetic Network Diversity Parameterized by Reticulation Number and Beyond . In Proceedings of the 22nd RECOMB International Workshop on Comparative Genomics (RECOMB-CG 2025) , pages 107 β 130 . Springer , 2025 . doi: 10.1007/978-3-031-94928-9_7 . OpenUrl CrossRef [45]. β΅ Logan Volkmann , Iain Martyn , Vincent Moulton , Andreas Spillner , and Arne O. Mooers . Prioritizing Populations for Conservation Using Phylogenetic Networks . PloS One , 9 ( 2 ): e88945 , 2014 . doi: 10.1371/journal.pone.0088945 . OpenUrl CrossRef PubMed [46]. β΅ Kristina Wicke and Mareike Fischer . Phylogenetic diversity and biodiversity indices on phylogenetic networks . Mathematical Biosciences , 298 : 80 β 90 , 2018 . doi: 10.1016/j.mbs.2018.02.005 . OpenUrl CrossRef PubMed View the discussion thread. Back to top Previous Next Posted February 25, 2026. Download PDF Email Thank you for your interest in spreading the word about bioRxiv. NOTE: Your email address is requested solely to identify you as the sender of this article. Your Email * Your Name * Send To * Enter multiple addresses on separate lines or separate them with commas. You are going to email the following PaNDA: Efficient Optimization of Phylogenetic Diversity in Networks Message Subject (Your Name) has forwarded a page to you from bioRxiv Message Body (Your Name) thought you would like to see this page from the bioRxiv website. Your Personal Message CAPTCHA This question is for testing whether or not you are a human visitor and to prevent automated spam submissions. Share PaNDA: Efficient Optimization of Phylogenetic Diversity in Networks Niels Holtgrefe , Leo van Iersel , Ruben Meuwese , Yukihiro Murakami , Jannik Schestag bioRxiv 2025.11.14.688467; doi: https://doi.org/10.1101/2025.11.14.688467 Share This Article: Copy Citation Tools PaNDA: Efficient Optimization of Phylogenetic Diversity in Networks Niels Holtgrefe , Leo van Iersel , Ruben Meuwese , Yukihiro Murakami , Jannik Schestag bioRxiv 2025.11.14.688467; doi: https://doi.org/10.1101/2025.11.14.688467 Citation Manager Formats BibTeX Bookends EasyBib EndNote (tagged) EndNote 8 (xml) Medlars Mendeley Papers RefWorks Tagged Ref Manager RIS Zotero Tweet Widget Facebook Like Google Plus One Subject Area Bioinformatics Subject Areas All Articles Animal Behavior and Cognition (7642) Biochemistry (17715) Bioengineering (13907) Bioinformatics (42003) Biophysics (21470) Cancer Biology (18624) Cell Biology (25533) Clinical Trials (138) Developmental Biology (13390) Ecology (19935) Epidemiology (2067) Evolutionary Biology (24356) Genetics (15617) Genomics (22529) Immunology (17753) Microbiology (40432) Molecular Biology (17200) Neuroscience (88681) Paleontology (667) Pathology (2840) Pharmacology and Toxicology (4828) Physiology (7653) Plant Biology (15161) Scientific Communication and Education (2046) Synthetic Biology (4304) Systems Biology (9826) Zoology (2271)
Text is read by the "Ask this paper" AI Q&A widget below.
Extraction quality varies by source β PMC NXML preserves structure
cleanly, OA-HTML may include some navigation residue, and OA-PDF can
have broken hyphenation. The publisher copy
(via DOI)
is the canonical version.