scieee AI-readable full text Open interactive document viewer

Comparison of Tree-Child Phylogenetic Networks

Cardona, Gabriel,Rosselló, Francesc,Valiente Feruglio, Gabriel Alejandro

Abstract

Phylogenetic networks are a generalization of phylogenetic trees that allow for the representation of nontreelike evolutionary events, like recombination, hybridization, or lateral gene transfer. While much progress has been made to find practical algorithms for reconstructing a phylogenetic network from a set of sequences, all attempts to endorse a class of phylogenetic networks (strictly extending the class of phylogenetic trees) with a well-founded distance measure have, to the best of our knowledge and with the only exception of the bipartition distance on regular networks, failed so far. In this paper, we present and study a new meaningful class of phylogenetic networks, called tree-child phylogenetic networks, and we provide an injective representation of these networks as multisets of vectors of natural numbers, their path multiplicity vectors. We then use this representation to define a distance on this class that extends the well-known Robinson-Foulds distance for phylogenetic trees and to give an alignment method for pairs of networks in this class. Simple polynomial algorithms for reconstructing a tree-child phylogenetic network from its path multiplicity vectors, for computing the distance between two tree-child phylogenetic networks and for aligning a pair of tree-child phylogenetic networks, are provided. They have been implemented as a Perl package and a Java applet, which can be found at http://bioinfo.uib.es/~recerca/phylonetworks/mudistance/.

Full text

Comparison of Tree-Child Phylogenetic Networks Gabriel Cardona, Francesc Rossello ´, and Gabriel Valiente Abstract—Phylogenetic networks are a generalization of phylogenetic trees that allow for the representation of nontreelike evolutionary events, like recombination, hybridization, or lateral gene transfer. While much progress has been made to find practical algorithms for reconstructing a phylogenetic network from a set of sequences, all attempts to endorse a class of phylogenetic networks (strictly extending the class of phylogenetic trees) with a well-founded distance measure have, to the best of our knowledge and with the only exception of the bipartition distance on regular networks, failed so far. In this paper, we present and study a new meaningful class of phylogenetic networks, called tree-child phylogenetic networks, and we provide an injective representation of these networks as multisets of vectors of natural numbers, their path multiplicity vectors. We then use this representation to define a distance on this class that extends the well-known Robinson-Foulds distance for phylogenetic trees and to give an alignment method for pairs of networks in this class. Simple polynomial algorithms for reconstructing a tree-child phylogenetic network from its path multiplicity vectors, for computing the distance between two tree-child phylogenetic networks and for aligning a pair of tree-child phylogenetic networks, are provided. They have been implemented as a Perl package and a Java applet, which can be found at http://bioinfo.uib.es/ ~recerca/phylonetworks/mudistance/. Index Terms—Phylogenetic network, tree-child phylogenetic network, phylogenetic tree, partition distance, network alignment. Ç 1INTRODUCTION PHYLOGENETIC networks have been studied over the last years as a richer model of the evolutionary history of sets of organisms than phylogenetic trees, because they take not only mutation events but also recombination, hybridization, and lateral gene transfer events into account. The problem of reconstructing a phylogenetic network with the least possible number of recombination events is NP-hard [7], [43], and much effort has been devoted to bounding the number of recombination events needed to explain the evolutionary history of a set of sequences [2], [28], [41]. On the other hand, much progress has been made to find practical algorithms for reconstructing a phylogenetic network from a set of sequences [12], [13], [25], [31], [32], [40]. Since different reconstruction methods applied to the same sequences, or a single method applied to different sequences, may yield different phylogenetic networks for a given set of species, a sound measure to compare phylogenetic networks becomes necessary [31]. The comparison of phylogenetic networks is also needed in the assessment of phylogenetic reconstruction methods [23], and it will be required to perform queries on the future databases of phylogenetic networks [35]. Many metrics for the comparison of phylogenetic trees are known, including the Robinson-Foulds metric [38], the nearest neighbor interchange metric [44], the subtree transfer distance [1], the triplet metric [10], and the nodal distance [6]. But, to our knowledge, beside the natural extension of the Robinson-Foulds metric to regular networks (whose nodes are singled out by their sets of descendant leaves) [4], only one metric (up to small variations) for phylogenetic networks has been proposed so far. It is the socalled error,ortripartition,metric, developed by Moret et al. in a series of papers devoted to the study of reconstructibility of phylogenetic networks [20], [21], [24], [25], [29], [30], [31], and which we recall in Section 2.4. Unfortunately, it turns out that, even in its strongest form [25], this error metric never distinguishes all pairs of phylogenetic networks that, according to its authors, are distinguishable: see [9] for a discussion of the error metric’s downsides. The main goal of this paper is to introduce a metric on a restricted, but meaningful, class of phylogenetic networks: the tree-child phylogenetic networks. These are the phylogenetic networks where every nonextant species has some descendant through mutation. This is a slightly more restricted class of phylogenetic networks than the treesibling ones (see Section 2.3), where one of the versions of the error metric was defined. Tree-child phylogenetic networks include galled trees [12], [13] as a particular case, and they have been recently proposed as the class where meaningful phylogenetic networks should be searched [47]. We prove that each tree-child phylogenetic network with nleaves can be singled out, up to isomorphisms, among all tree-child phylogenetic networks with nleaves by means of a finite multisubset of IN n. This multiset of vectors consists of the path multiplicity vectors,or-vectors, in short, ðvÞof all nodes vof the network: For every node v,ðvÞis the vector listing the number of paths from vto each one of the leaves of the network. We present a simple polynomial time algorithm for reconstructing a tree-child phylogenetic network from the knowledge of this multiset. 552 IEEE/ACM TRANSACTIONS ON COMPUTATIONAL BIOLOGY AND BIOINFORMATICS, VOL. 6, NO. 4, OCTOBER-DECEMBER 2009 .G. Cardona and F. Rossello ´are with the Department of Mathematics and Computer Science, University of the Balearic Islands, E-07122 Palma de Mallorca, Spain. E-mail: {gabriel.cardona, cesc.rossello}@uib.es. .G. Valiente is with the Algorithms, Bioinformatics, Complexity, and Formal Methods Research Group, Technical University of Catalonia, E-08034 Barcelona, Spain. E-mail: [email protected]. Manuscript received 28 Aug. 2007; revised 22 Nov. 2007; accepted 28 Nov. 2007; published online 3 Dec. 2007. For information on obtaining reprints of this article, please send e-mail to: [email protected], and reference IEEECS Log Number TCBB-2007-08-0113. Digital Object Identifier no. 10.1109/TCBB.2007.70270 1545-5963/09/$25.00 ß2009 IEEE Published by the IEEE CS, CI, and EMB Societies & the ACM Authorized licensed use limited to: UNIVERSITAT POLITÈCNICA DE CATALUNYA. Downloaded on May 10,2010 at 16:14:44 UTC from IEEE Xplore. Restrictions apply. This injective representation of tree-child phylogenetic networks as multisubsets of vectors of natural numbers allows us to define a metric on any class of tree-child phylogenetic networks with the same leaves as simply the symmetric difference of the path multiplicity vectors multisets. This metric, which we call -distance, is a true distance on this class of networks, in the sense that it satisfies the axioms of distances, including the separation axiom (nonisomorphic phylogenetic networks are at nonzero distance) and the triangle inequality. Moreover, it extends the Robinson-Foulds metric for phylogenetic trees. Actually, and more in general, it extends to the whole class of treechild phylogenetic networks the bipartition distance defined on the class of regular tree-child phylogenetic networks. This class of regular tree-child phylogenetic networks includes the tree-child phylogenetic networks without outdegree 1 nodes and where no node can hybridize with a descendant of it [9]. The properties of the path multiplicity representation of tree-child phylogenetic networks allow us also to define an alignment method for them. Our algorithm outputs an injective matching from the network with less nodes into the other network that minimizes in some specific sense the difference between the -vectors of the matched nodes. Although several alignment methods for phylogenetic trees are known [27], [34], [35], [37], this is to our knowledge the first one that can be applied to a larger class of phylogenetic networks. We have implemented our algorithms to recover a treechild phylogenetic network from its path multiplicity representation and to compute the -distance, together with other related algorithms (like, for instance, the systematic and efficient generation of all tree-child phylogenetic networks with a given number of leaves), in a Perl package, which can be found at http://bioinfo.uib.es/~recerca/ phylonetworks/mudistance/. We have also implemented our alignment method as a Java applet, which can be run interactively at the aforementioned web page. The package and Web interface are both described in [8]. 2PRELIMINARIES 2.1 Directed Acyclic Graphs (DAGs) Let N¼ðV;EÞbe a DAG. We denote by diðuÞand doðuÞthe indegree and outdegree, respectively, of a node u2V. A node v2Vis a leaf if doðvÞ¼0,internal if doðvÞ>0,a root if diðvÞ¼0,atree node if diðvÞ1, and a hybrid node if diðvÞ>1. We denote by VL,VT, and VHthe sets of leaves, of tree nodes, and of hybrid nodes of N, respectively. A DAG is said to be rooted when it has only one root. Given an arc ðu; vÞ2E, we call the node uits tail and the node vits head. An arc ðu; vÞ2Eis a tree arc if vis a tree node, and a hybridization arc if vis hybrid. We denote by ET and EHthe sets of tree arcs and of hybridization arcs, respectively. A node v2Vis a child of u2Vif ðu; vÞ2V; we also say that uis a parent of v. For every node u2V, let childðuÞ denote the set of its children. All children of the same node are said to be siblings of each other. The tree children of a node uare its children that are tree nodes. A DAG is binary when all its internal tree nodes have an outdegree 2, and all its hybrid nodes have indegree 2 and outdegree 1. Let Sbe any finite set of labels. We say that the DAG Nis labeled in Sor that it is an S-DAG, for short, when its leaves are bijectively labeled by elements of S. Two DAGs N,N0 labeled in Sare isomorphic, in symbols NffiN0, when they are isomorphic as directed graphs and the isomorphism preserves the leaves’ labels. In this paper, we shall always assume, usually without any further notice, that the DAGs appearing in it are labeled in some set S, and we shall always identify, usually without any further notice either, each leaf of a DAG with its label in S. Apath in Nis a sequence of nodes ðv0;v 1;...;v kÞsuch that ðvi1;v iÞ2Efor all i¼1;...;k. We say that such a path starts in v0,passes through v1;...;v k1, and ends in vk; consistently, we call v0the origin of the path, v1;...;v k1its intermediate nodes and vkits end. The position of the node vi in the path ðv0;v 1;...;v kÞis iþ1. The length of the path ðv0;v 1;...;v kÞis k, and it is nontrivial if k1:Atrivial path is, then, simply a node. We denote by any path with origin uand end v. The height of a node is the length of a longest path starting in the node and ending in a leaf. We shall say that a path is contained in, or that it is asubpath of, a path when there exist paths and such that the path is the concatenation of the paths , , and . A path is elementary when its origin has outdegree 1 and all its intermediate nodes have in and outdegree 1. The relation on Vdefined by is a partial order, called the path ordering on N. Whenever uv, we shall say that vis a descendant of uand also that uis an ancestor of v. For every node u2V, we shall denote by CðuÞthe set of all its descendants and by CLðuÞthe set of leaves that are descendants of u: we call CLðuÞthe cluster of u. A node vof Nis a strict descendant of a node uif it is a descendant of it, and every path from a root of Nto v contains the node u: In particular, we understand every node as a strict descendant of itself. For every node u2V, we shall denote by AðuÞthe set of all its strict descendants and by ALðuÞthe set of leaves that are strict descendants of u: We call ALðuÞthe strict cluster of u. Atree path is a nontrivial path such that its end and all its intermediate nodes are tree nodes. A node vis a tree descendant of a node uwhen there exists a tree path from u to v. For every node u2V, we shall denote by TðuÞthe set of all its tree descendants and by TLðuÞthe set of leaves that are tree descendants of u: We call TLðuÞthe tree cluster of u. We recall from [9] the following easy results, which will be used several times in the next sections. Lemma 1. Let be a tree path. Then, for every other path ending in v, it is either contained in or it contains . CARDONA ET AL.: COMPARISON OF TREE-CHILD PHYLOGENETIC NETWORKS 553 Authorized licensed use limited to: UNIVERSITAT POLITÈCNICA DE CATALUNYA. Downloaded on May 10,2010 at 16:14:44 UTC from IEEE Xplore. Restrictions apply. Corollary 1. If v2TðuÞ, then v2AðuÞ, and the path is unique. 2.2 The Robinson-Foulds Metric on Phylogenetic Trees Aphylogenetic tree on a set Sof taxa is a rooted tree without outdegree 1 nodes with its leaves labeled bijectively in S, i.e., a rooted S-DAG with neither hybrid nodes nor outdegree 1 nodes. Every arc e¼ðu; vÞof a phylogenetic tree T¼ðV;EÞon Sdefines a bipartition of S: ðeÞ¼ CLðvÞ;SnCLðvÞ ðÞ : Let ðTÞdenote the set of all of these bipartitions. The Robinson-Foulds metric [38] between two phylogenetic trees Tand T0on the same set Sof taxa is defined as dRF ðT;T0Þ¼ ðTÞ4ðT0Þ jj ; where 4denotes the symmetric difference of sets. The Robinson-Foulds metric is a true distance for phylogenetic trees, in the sense that it satisfies the axioms of distances up to isomorphisms: For every phylogenetic trees T;T0;T00 on the same set Sof taxa, we have 1. Nonnegativity: dRF ðT;T0Þ0. 2. Separation: dRF ðT;T0Þ¼0if and only if TffiT0. 3. Symmetry: dRF ðT;T0Þ¼dRF ðT0;TÞ. 4. Triangle inequality: dRF ðT;T0ÞdRF ðT;T00Þþ dRF ðT00;T0Þ. 2.3 Previous Definitions of Phylogenetic Networks A natural model for describing an evolutionary history is a DAG whose arcs represent the parent-child relation. Such a DAG will satisfy some specific features depending on the nature and properties of this relation. For instance, if we assume the existence of a common ancestor of all individuals under consideration, then the DAG will be rooted:It will have only one root. If, moreover, the evolutionary history to be described is driven only by mutation events, and hence, every individual has only one parent, then the DAG will be a tree. In this line of thought, a phylogenetic network is defined formally as a rooted DAG with some specific features that are suited to model evolution under mutation and recombination, but the exact definition varies from paper to paper, see, for instance, [3], [14], [15], [16], [21], [39], [41], and [42]. For instance, Moret et al. have proposed several slightly different definitions of phylogenetic networks [20], [21], [24], [25], [29], [30]. To recall one of them, in [20], a model phylogenetic network on a set Sof taxa is defined as a rooted S-DAG N, satisfying the following conditions: 1. The root and all internal tree nodes have outdegree 2. All hybrid nodes have outdegree 1, and they can only have indegree 2 (allopolyploid hybrid nodes) or 1 (autopolyploid hybrid nodes). 2. The child of a hybrid node is always a tree node. 3. There is time consistency. If x,yare two nodes for which there exists a sequence of nodes ðv0;v 1;...;v kÞ with v0¼xand vk¼ysuch that: .for every i¼0;...;k1, either ðvi;v iþ1Þis an arc of N,orðviþ1;v iÞis a hybridization arc of N, and .at least one pair ðvi;v iþ1Þis a tree arc of N, then xand ycannot have a hybrid child in common. (This time compatibility condition (condition 3) is equivalent to the existence of a temporal representation of the network [5], [22]: An assignment of times to the nodes of the network that strictly increases on tree arcs and so that the parents of each hybrid node coexist in time. See [5, Theorem 3] or [9, Proposition 1] for a proof of this equivalence.) On the other hand, these authors define in loc. cit. a reconstructible phylogenetic network as a rooted S-DAG, where the previous conditions are relaxed as follows: Tree nodes can have any outdegree greater than 1, hybrid nodes can have any indegree greater than 1 and any outdegree greater than 0, hybrid nodes can have hybrid children, and the time consistency need not hold any longer. Therefore, reconstructible phylogenetic networks in this sense are simply rooted DAGs with neither outdegree 1 tree nodes nor hybrid leaves. These model and reconstructible phylogenetic networks are used, for instance, in [31]. A generalization of reconstructible phylogenetic networks are the hybrid phylogenies of [4]: rooted S-DAGs without outdegree 1 tree nodes. But, although outdegree 1 tree nodes cannot be reconstructed, they can be useful both from the biological point of view to include autopolyploidy in the model, as well as from the formal point of view, to restore time compatibility, and the impossibility of successive hybridizations in reconstructed phylogenetic networks [25, Fig. 13]. In papers on phylogenetic networks, it is usual to impose extra assumptions to the structure of the network, in order to narrow the output space of reconstruction algorithms or to guarantee certain desired properties. For instance, Nakhleh imposes in his PhD disertation [29] the tree-sibling 1 condition to the phylogenetic networks defined above: Every hybrid node must have at least one sibling that is a tree node. Although this condition is imposed therein to try to guarantee that the error metric considered in that work satisfies the separation axiom of distances (see Section 2.4), it has also appeared under a different characterization in some papers devoted to phylogenetic network reconstruction algorithms [17], [18]. Indeed, the phylogenetic networks considered in these papers are obtained by adding hybridization arcs to a phylogenetic tree by repeating the following procedure: 1. choose pairs of arcs ðu1;v 1Þand ðu2;v 2Þin the tree, 2. split the first into ðu1;w 1Þand ðw1;v 1Þ, with w1a new (tree) node, 3. split the second one into ðu2;w 2Þand ðw2;v 2Þ, with w2a new (hybrid) node, and 4. add a new arc ðw1;w 2Þ. It is not difficult to prove that the phylogenetic networks obtained in this way are tree sibling. An even stronger condition is the one imposed on galled trees [12], [13], [43]: No tree node has outdegree 1, all hybrid nodes have indegree 2, and no arc belongs to 554 IEEE/ACM TRANSACTIONS ON COMPUTATIONAL BIOLOGY AND BIOINFORMATICS, VOL. 6, NO. 4, OCTOBER-DECEMBER 2009 1. Nakhleh uses the term class I to refer to these networks, but for consistency with the notations, we introduce in the next section, we have renamed them here. Authorized licensed use limited to: UNIVERSITAT POLITÈCNICA DE CATALUNYA. Downloaded on May 10,2010 at 16:14:44 UTC from IEEE Xplore. Restrictions apply. two recombination cycles. Here, by a recombination cycle, we mean a pair of paths with the same origin and end and no intermediate node in common. In the aforementioned papers, these galled trees need not satisfy the time compatibility condition, but in other works, they are imposed to satisfy it [29], [30], [32]. 2.4 Previous Work on Metrics for Phylogenetic Networks While many metrics for phylogenetic trees have been introduced and implemented in the literature (see, for instance, [11], [37], and the references therein), to our knowledge, only one true distance has been defined so far on a class of phylogenetic networks strictly extending the class of phylogenetic trees. This class is that of regular networks: phylogenetic networks where the mapping v7! CðvÞinduces an isomorphism of posets between ðV;Þ and ðCðvÞ;Þ. It is clear that, on this class, the symmetric difference of the sets of clusters defines a metric that extends the Robinson-Foulds metric [4, Proposition 4.3]. A variation of this metric, on a class slightly extending a subclass of regular networks, was also presented in [9]; we shall return on it below (see Remark 5). Besides this distance, and, again, to our knowledge, the only similarity measures for phylogenetic networks proposed so far are due to Moret et al. in the series of papers quoted in Section 2.3, where they are applied in the assessment of phylogenetic network reconstruction algorithms. We briefly recall these measures in this section. The error,ortripartition,metric is a natural generalization to networks of the Robinson-Foulds metric for phylogenetic trees recalled in Section 2.2. The basis of this method is the representation of a network by means of the tripartitions associated to its arcs. For each arc e¼ðu; vÞof a DAG N labeled in S, the tripartition of Sassociated to eis ðeÞ¼ ALðvÞ;C LðvÞnALðvÞ;SnCLðvÞðÞ; where, moreover, each leaf sin ALðvÞand CLðvÞnALðvÞis weighted with the greatest number of hybrid nodes contained in a path from vto s(including vand s themselves). 2 Let ðNÞdenote the set of all these tripartitions of arcs of N. In some of the aforementioned papers, the authors enrich these tripartitions with an extra piece of information. Namely, they define the reticulation scenario RSðvÞof a hybrid node vwith parents u1;...;u kas the set of clusters of its parents: RSðvÞ¼ CLðu1Þ;...;C LðukÞ fg : Then, the enriched tripartition ðeÞassociated to an arc eis defined as ðeÞif eis a tree arc and as the pair ððeÞ;RSðvÞÞ if eis a hybridization arc with head v. Let ðNÞdenote the set of all these enriched tripartitions. For every ¼,, the error,ortripartition,metric relative to between two DAGs N1¼ðV1;E 1Þand N2¼ðV2;E 2Þ labeled in the same set Sis defined by these authors as mðN1;N 2Þ¼1 2 ðN1ÞnðN2Þjj jE1jþðN2ÞnðN1Þjj jE2j  : Unfortunately, and despite the word “metric,” this formula does not satisfy the separation axiom on any of the subclasses of phylogenetic networks where it is claimed to do so by the authors, and hence, it does not define a distance on them: For instance, mdoes not satisfy the separation axiom on the class of tree-sibling model phylogenetic networks recalled above. Moreover, this metric does not even satisfy the triangle inequality on the class of all phylogenetic trees. See [9] for a detailed discussion of this issue. Two other dissimilarity measures considered in [29], [30], and [31] are based on the representation of a rooted DAG by means of its induced subtrees: the phylogenetic trees with the same root and the same leaves as the network that are obtained by taking a spanning subtree of the network and then contracting elementary paths into nodes. For every rooted DAG N, let TðNÞdenote the set of all its induced subtrees and CðNÞthe set of all clusters of nodes of these induced subtrees. Then, for every two rooted DAGs N1¼ðV1;E 1Þand N2¼ ðV2;E 2Þlabeled in the same set S, the authors define: .mtreeðN1;N 2Þas the weight of a minimum weight edge cover of the complete bipartite graph with nodes TðN1ÞtTðN2Þand edge weights the value of the Robinson-Foulds metric between the pairs of induced subtrees of N1and N2connected by each edge. .mspðN1;N 2Þas m, replacing by C: mspðN1;N 2Þ¼1 2 CðN1ÞnCðN2Þ jj jE1jþCðN2ÞnCðN1Þ jj jE2j  : These measures do not satisfy the separation axiom on the class of tree-sibling phylogenetic networks, see, for instance, [29, Fig. 6.8]. On the positive side, Nakhleh et al. prove in [29, Section 6.4] and [30, Section 5] that they are distances on the subclass of time-consistent binary galled trees. But, it can be easily checked that on arbitrary galled trees they do not define distances either: see, for instance, Fig. 3. 3TREE-CHILD PHYLOGENETIC NETWORKS Since in this paper we are not interested in the reconstruction of networks, for the sake of generality, we assume the most general notion of phylogenetic network on a set Sof taxa: any rooted S-DAG. Therefore, its hybrid nodes can have any indegree greater than one and any outdegree, and its tree-nodes can have any outdegree. In particular, they may contain hybrid leaves and outdegree 1 tree nodes. We shall introduce two comparison methods on a specific subclass of such networks. Definition 1. A phylogenetic network satisfies the tree-child condition,oritisatree-child phylogenetic network, when every internal node has at least one tree child. Tree-child phylogenetic networks can be understood thus as general models of reticulate evolution, where every species other that the extant ones, represented by the leaves, has some descendant through mutation. This slightly CARDONA ET AL.: COMPARISON OF TREE-CHILD PHYLOGENETIC NETWORKS 555 2. Actually, Moret et al. consider also other variants of this definition, weighting only the nonstrict descendant leaves or not weighting any leaf, but for the sake of brevity and generality, we only recall here the most general version. Authorized licensed use limited to: UNIVERSITAT POLITÈCNICA DE CATALUNYA. Downloaded on May 10,2010 at 16:14:44 UTC from IEEE Xplore. Restrictions apply. strengthens the condition imposed on phylogenetic networks in [24], where tree nodes had to have at least one tree child, because we also require internal hybrid nodes to have some tree child. Therefore, if hybrid nodes are further imposed to have exactly one child (for instance, in the definition of model phylogenetic network recalled in Section 2.3), this node must be a tree node: this corresponds to the interpretation of hybrid nodes not as individuals but as recombination events, producing a new individual represented by their only child. On the other hand, if hybrid nodes represent individuals, then a hybrid node with all its children hybrid corresponds to a hybrid individual that hybridizes before undergoing a speciation event, a scenario, according to [24], that “almost never arises in reality.” The following result gives two other alternative characterizations of tree-child phylogenetic networks in terms of their strict and tree clusters. Lemma 2. The following conditions are equivalent for every phylogenetic network N¼ðV;EÞ: a. Nis tree-child. b. TLðvÞ 6¼;for every node v2VnVL. c. ALðvÞ 6¼;for every node v2V. Proof. Condition a )condition b. Given any node vother than a leaf, we can construct a tree path by successively taking tree children. This path must necessarily end in a leaf that, by definition, belongs to TLðvÞ. Condition b )condition c. If v62 VL,then,by Corollary 1, ; 6¼ TLðvÞALðvÞ, while if v2VL, then, by definition, v2ALðvÞ. Condition c )condition a. Let vbe any internal node. We want to prove that if ALðvÞ 6¼;, then vhas a tree child. Therefore, let s2ALðvÞand consider the set Wof children of vthat are ancestors of s: It is nonempty, because smust be a descendant of some child of v. Let wbe a maximal element of Wwith respect to the path ordering on N.Ifw is a tree node, we are done. Otherwise, let v0be a parent of wdifferent from v. Let be any path from the root rto v0. Concatenating this path with the arc ðv0;wÞand any path , we get a path . Since s2ALðvÞ, this path must contain v, and then, since Nis acyclic, vmust be contained in the path . Let w0be the node that follows vin this path. This node w0is a child of v, and there exists a nontrivial path (through v0), which makes w0also an ancestor of s. But then, w02Wand w0>w, which contradicts the maximality assumption on w.tu The next lemma shows that tree-child phylogenetic networks are a more general model of evolution under mutation and recombination than galled trees. Lemma 3. Every rooted galled tree is a tree-child phylogenetic network. Proof. Let N¼ðV;EÞbe a galled tree. If Ndoes not satisfy the tree-child condition, then it contains an internal node u2Vwith all its children v1;...;v k2Vhybrid. The node ucannot be hybrid, because in galled trees a hybrid node cannot have any hybrid children. Indeed, assume that uhas two parents a,b, and let u0be the other parent of the child v1of v. Let xbe the least common ancestor of aand b, and ythe least common ancestor of b and u0. Then, the recombination cycles defined by the paths ðx; ...;a;uÞand ðx; ...;b;uÞ, on one hand, and ðy; ...;b;u;v 1Þand ðy; ...;u 0;v 1Þ, on the other hand, share the arc ðb; uÞ, contradicting the hypothesis that Nis a galled tree; see Fig. 1a. Thus, uis a tree node. In this case, k2, because galled trees cannot have outdegree 1 tree nodes. Now, if uis the root of N, then ALðuÞ¼VL6¼;, and hence, by the proof of the implication condition c )condition a in Lemma 2, it has some tree child. If, on the contrary, uis not the root of N, let wbe its parent and u1and u2the parents other than uof v1and v2, respectively. Let x1be the least common ancestor of wand u1, and let x2be the least common ancestor of wand u2. Then, the recombination cycles defined by the paths ðx1;...;u 1;v 1Þand ðx1;...;w;u;v 1Þ, on the one hand, and ðx2;...;u 2;v 2Þand ðx2;...;w;u;v 2Þ, on the other hand, share the arc ðw; uÞ, contradicting again the hypothesis that Nis a galled tree; see Fig. 1b. tu Remark 1. Not every tree-child phylogenetic network is a galled tree: see, for instance, the tree-child phylogenetic network in Fig. 4. We provide now some upper bounds on the number of nodes in a tree-child phylogenetic network. Proposition 1. Let N¼ðV;EÞbe a tree-child phylogenetic network with nleaves: a. jVHjn1. b. If Nhas no outdegree 1 tree node, then jVj 2n1þPv2VHdiðvÞ. c. If Nhas no outdegree 1 tree node and if m¼maxfdiðvÞjv2VHg, then jVjðmþ2Þðn1Þþ1: Proof. a. Let rbe the root of N. Consider a mapping t: VnVL!VTnfrgthat assigns to every internal node one of its tree children; since tree nodes have a single parent, this mapping is injective. Then, jVjjVLjjVTj1, and since jVj¼jVHjþ jVTjand jVLj¼n, jVHj¼jVjjVTjjVLj1¼n1: 556 IEEE/ACM TRANSACTIONS ON COMPUTATIONAL BIOLOGY AND BIOINFORMATICS, VOL. 6, NO. 4, OCTOBER-DECEMBER 2009 Fig. 1. (a) In a galled tree, a hybrid node cannot have a hybrid child. (b) In a galled tree, a nonroot tree node cannot have two hybrid children. Authorized licensed use limited to: UNIVERSITAT POLITÈCNICA DE CATALUNYA. Downloaded on May 10,2010 at 16:14:44 UTC from IEEE Xplore. Restrictions apply. b. For every j2, let VH;j be the set of hybrid nodes with indegree j. If, for every hybrid node v,we remove from Na set of diðvÞ1arcs with head v, we obtain a tree with set of nodes Vand set of leaves VL(no internal node of Nbecomes a leaf, because when we remove an arc e, since it is a hybridization arc, there still remains some tree arc with the same tail as e). Now, in this tree, there will be at most Pv2VHdiðvÞnodes with in and outdegree 1: Ndid not have any outdegree 1 tree node, and, in the worst case, when we remove the diðvÞ1arcs with head v, this node and the tails of the removed arcs become nodes of in and outdegree 1. Since, in a tree, the number of nodes is smaller than twice the number of leaves plus the number of nodes with in and outdegree 1, the inequality in the statement follows. c. If m¼maxfdiðvÞjv2VHg,thenPv2VHdiðvÞ mjVHj. Then, combining a and b, we have jVj2n1þX v2VH diðvÞ2n1þmjVHj 2n1þmðn1Þ¼ðmþ2Þðn1Þþ1; as we claimed. tu The upper bounds in Lemma 1 are sharp, as there exist tree-child phylogenetic networks for which these inequalities are equalities: For n¼1, point a entails that Nis a tree, and b and c then simply say that Nconsists only of one node. For n2, see the next example. In particular, for every number n2of leaves, there exist arbitrarily large tree-child phylogenetic networks without outdegree 1 tree nodes with nleaves. Thus, for any number n2of leaves, there are infinitely many nonisomorphic tree-child phylogenetic networks with nleaves when the indegree of hybrid nodes is unbounded. Of course, if we do not forbid outdegree 1 tree nodes, then there exists no upper bound on the number of nodes of the network, either. Example 1. Let Tbe the “comb-like” binary phylogenetic tree labeled in f1;...;ngdescribed by the Newick string: 1;2;3;...;ðn1;nÞ...ðÞðÞðÞ; and let us fix a positive integer number m2. For every i¼1;...;n1, let us call vi;m the parent of the leaf i: To simplify the language, set vn;m ¼n. Notice that v1;m is the root of the tree. Now, for every i¼1;...;n1, split the arc ðvi;m;iÞinto a path of length m, ðvi;m;v i;m1;...;v i;1;iÞ; split the arc ðvi;m;v iþ1;mÞinto a path of length 2, ðvi;m;h iþ1;v iþ1;mÞ; and for every i¼1;...;n1and j¼1;...;m1, add an arc ðvi;j;h iþ1Þ. Fig. 2 displays 3 this construction for n¼4and m¼3. The original binary tree had 2n1nodes, and we have added ðm1Þðn1Þnew tree nodes and n1hybrid nodes (of indegree m). Therefore, the resulting tree-child phylogenetic network has ðmþ2Þðn1Þþ1nodes. In the next sections, we define a distance on the class of all tree-child phylogenetic networks. It is convenient thus to remember here that the tripartition metrics mor m recalled in Section 2.4 do not define a distance on this class, because there exist pairs of nonisomorphic tree-child phylogenetic networks on the same set of taxa with the same sets of enriched tripartitions: for instance, the networks depicted in Figs. 4 and 8 (see [9] for details). As far as the metrics mtree and msp also recalled in Section 2.4 goes, they do not define either distances on the class of all treechild phylogenetic networks, because there also exist pairs of nonisomorphic tree-child phylogenetic networks on the same set of taxa with the same sets of induced subtrees. For instance, the tree and the galled tree depicted in Fig. 3 have the same sets of induced subtrees, namely, the tree itself; hence, the same sets of clusters of induced subtrees. CARDONA ET AL.: COMPARISON OF TREE-CHILD PHYLOGENETIC NETWORKS 557 3. Henceforth, in graphical representations of phylogenetic networks, and of DAGs in general, hybrid nodes are represented by squares and tree nodes by circles. Fig. 2. A tree-child phylogenetic network with four leaves and 5 3þ1nodes. Fig. 3. A tree and a galled tree with the same sets of induced subtrees. Authorized licensed use limited to: UNIVERSITAT POLITÈCNICA DE CATALUNYA. Downloaded on May 10,2010 at 16:14:44 UTC from IEEE Xplore. Restrictions apply. 4THE -REPRESENTATION OF TREE-CHILD PHYLOGENETIC NETWORKS Let us fix henceforth a set of labels S¼fl1;...;l ng: Unless otherwise stated, all DAGs appearing henceforth are assumed to be labeled in S, usually without any further notice. Let N¼ðV;EÞbe an S-DAG. For every node u2Vand for every i¼1;...;n, we denote by miðuÞthe number of different paths from uto the leaf li. We define the pathmultiplicity vector, or simply -vector for short, of u2Vas ðuÞ¼ m1ðuÞ;...;m nðuÞðÞ; that is, ðuÞis the n-tuple holding the number of paths from uto each leaf of the graph. To simplify the notations, we shall denote henceforth by ðnÞ ithe unit vector ð0;...;0;1 i;0;...;0 |fflfflfflfflfflfflfflfflfflfflfflfflfflfflffl{zfflfflfflfflfflfflfflfflfflfflfflfflfflfflffl} n Þ: Lemma 4. Let u2Vbe any node of an S-DAG N¼ðV;EÞ. a. If u¼li2VL, then ðuÞ¼ðnÞ i. b. If u62 VLand childðuÞ¼fv1;...;v kg, then ðuÞ¼ ðv1ÞþþðvkÞ. Proof. The statement for leaves is trivial. When u2VnVL, by deleting or prepending uwe get, for every i¼1;...;n, a bijection which clearly implies the statement in this case. tu Remark 2. If v2childðuÞ, then ðuÞ¼ðvÞif and only if vis the only child of u: Any other child would contribute something to ðuÞ. Lemma 4 implies the simple Algorithm 1 to compute the -vectors of the nodes of an S-DAG in polynomial time. Since the height of the nodes can be computed in OðnþjEjÞ time, it takes OðnjEjÞ time to compute ðNÞon an S-DAG N¼ðV;EÞwith nleaves. Algorithm 1. Given S-DAG N¼ðV;EÞ, compute ðNÞ. begin for i¼1;...;n do set ðliÞ¼ðnÞ i sort VnVLincreasingly on height for each x2VnVLdo let y1;...;y k2Vbe the children of x set ðxÞ¼ðy1ÞþþðykÞ end Example 2. Consider the tree-child phylogenetic network depicted in Fig. 4. Table 1 gives the -vectors of its nodes, sorted increasingly by their heights. Example 3. Consider the phylogenetic network depicted in Fig. 5. Table 2 gives the -vectors of its nodes sorted increasingly by their heights. Definition 2. The -representation of a DAG N¼ðV;EÞis the multiset ðNÞof -vectors of its nodes: Its elements are the vectors ðuÞwith u2V, and each one appears in ðNÞas many times as the number of nodes having it as -vector. It turns out that a tree-child phylogenetic network can be singled out up to isomorphism among all tree-child phylogenetic networks by means of its -representation (Theorem 1). Before proceeding with the proof of this fact, we establish several auxiliary results. The following lemma shows that the path ordering on a tree-child phylogenetic network is almost determined by its 558 IEEE/ACM TRANSACTIONS ON COMPUTATIONAL BIOLOGY AND BIOINFORMATICS, VOL. 6, NO. 4, OCTOBER-DECEMBER 2009 Fig. 4. The tree-child phylogenetic network used in Example 2. TABLE 1 -Vectors of the Nodes of the Network Depicted in Fig. 4 Fig. 5. The tree-sibling nontree-child phylogenetic network used in Example 3. Authorized licensed use limited to: UNIVERSITAT POLITÈCNICA DE CATALUNYA. Downloaded on May 10,2010 at 16:14:44 UTC from IEEE Xplore. Restrictions apply. -representation. In it, and henceforth, the order considered between -vectors is the product partial order on IN n: ðm1;...;m nÞðm0 1;...;m 0 nÞ()mim0 i for every i¼1;...;n: Lemma 5. Let N¼ðV;EÞbe a tree-child phylogenetic network: a. If there exists a path , then ðuÞðvÞ. b. If ðuÞ>ðvÞ, then there exists a path . c. If ðuÞ¼ðvÞ, then uand vare connected by an elementary path. Proof. Assertion a is a straightforward consequence of Lemma 4. As far as b and c goes, let us assume for the moment that ðuÞðvÞand let li2TLðvÞ; in particular, miðvÞ1. Then, miðuÞmiðvÞ, and therefore, there exists also a path . Now, consider the tree path . By Lemma 1, it must happen that either the path contains the path , or vice versa, and therefore, uand vare connected by a path. If ðuÞ>ðvÞ, by a, there cannot exist any path , and therefore, there exists a path : this proves b. On the other hand, if ðuÞ¼ðvÞ, nothing prevents the existence of a path or a path . To fix ideas, assume that there exists a path ,say, ðu; v1;...;v k1;vÞ. Since, by a, ðuÞðv1Þðvk1ÞðvÞ¼ðuÞ; we conclude that ðuÞ¼ðv1Þ¼¼ðvk1Þ¼ðvÞ: As we noticed in Remark 2, this implies that each one of u; v1;...;v k1has only one child, the node that follows it in this path. Therefore, the path is elementary. The same argument shows that if it is the path that exists, then it is elementary. tu Remark 3. Assertion a in the previous lemma holds for every DAG, but assertions b and c need not be true if the DAG Ndoes not satisfy the tree-child condition, even if Nis a binary tree-sibling phylogenetic network. Indeed, consider the phylogenetic network described in Fig. 5. We have in it that ðcÞ¼ð1;1;1;1;0Þ¼ðeÞ; ðdÞ¼ð1;1;1;1;1Þ: Then, cand ehave the same -vectors, but they are not connected by any path, yielding a counterexample to assertion c. And, ðdÞ>ðeÞ, but there is no path , which yields a counterexample to assertion b. The next lemmas show how to recover the children of a node in a tree-child phylogenetic network from the knowledge of the -representation of the network. Lemma 6. Let Nbe any DAG. Let u2Vbe any internal node, and let Mu¼fw2Vju>wg: Then, Muhas maximal elements, and all of them are children of u. Proof. The set Muis nonempty, since uis not a leaf, and every descendant of uis in Mu. Since Muis finite, it has maximal elements. Let vbe any such a maximal element. Since u>v, there exists a nontrivial path . If this path passes through some other node w, then u>w>v, against the assumption that vis maximal in Mu. Therefore, the path has length 1, and vis a child of u.tu The maximal elements of Muare exactly the children of u such that the arc ðu; vÞis the only path . This includes all tree children of uand all hybrid children vof usuch that no other parent of vis a descendant of u. In time consistent phylogenetic networks, this covers all children of u. But, in arbitrary tree-child phylogenetic networks, this need not cover all of them. Consider, for instance, the right-hand side tree-child phylogenetic network in Fig. 3. In it, the only maximal element of Mbis a, but Ais also a child of b. Lemma 7. Let Nbe a tree-child phylogenetic network. Let u2V be any internal node and v1;...;v ksome of its children: a. If ðuÞ¼ðv1ÞþþðvkÞ, then uhas no other children. b. If ðuÞ>ðv1ÞþþðvkÞ, let Mu;v1;...;vk¼w2Vju>w; ðuÞðwÞþX k i¼1 ðviÞ () : Then, Mu;v1;...;vkhas maximal elements, and all of them are children of uand different from v1;...;v k. Proof. Let us assume that ðuÞ¼ðv1ÞþþðvkÞ. Then, u cannot have other children, since if it has any other child w, then ðuÞðv1Þþ...þðvkÞþðwÞ>ðv1Þþ...þðvkÞ: Assume now that ðuÞ>ðv1ÞþþðvkÞ. Then, by Lemma 4.b, uhas other children than v1;...;v k. Let N0be the DAG obtained by removing from Nthe arcs ðu; v1Þ;...;ðu; vkÞ. For any node s2V, let m0 iðsÞ be the number of different paths in N0and set 0ðsÞ¼ðm0 1ðsÞ;...;m 0 nðsÞÞ.Then,0ðuÞ¼ðuÞ ððv1ÞþþðvkÞÞ, because the paths in N that are not in N0are exactly those whose first visited vertex is one of v1;...;v k.Moreover,ifwis a CARDONA ET AL.: COMPARISON OF TREE-CHILD PHYLOGENETIC NETWORKS 559 TABLE 2 -Vectors of the Nodes of the Network Depicted in Fig. 5 Authorized licensed use limited to: UNIVERSITAT POLITÈCNICA DE CATALUNYA. Downloaded on May 10,2010 at 16:14:44 UTC from IEEE Xplore. Restrictions apply. descendant of uin N, then 0ðwÞ¼ðwÞ, because no path in Ncan possibly contain any arc ðu; viÞ (it would form a cycle with the path ). Then,wehavethatðwÞ¼0ðwÞfor every w2Mu;v1;...;vk, and thus Mu;v1;...;vk¼w2Vju>win Nand 0ðuÞ0ðwÞfg: Now, it turns out that w2Mu;v1;...;vkif and only if there exists a nontrivial path in N0. Indeed, if there exists a nontrivial path in N0, then there exists also the same path in N, and hence, u>w in N,andmoreover,byLemma5.a,0ðuÞ0ðwÞ. Conversely, let wbe a descendant of uin Nand assume that 0ðuÞ0ðwÞ¼ðwÞ.Ifli2TLðwÞ, then m0 iðuÞmiðwÞ¼1. Take the tree path in N, which also exists in N0, and any path in N0. By Lemma 1 (applied to N0), either contains ,orviceversa.But,theexistenceofa nontrivial path in Nprevents the existence of a path in N0. Therefore, it is that contains , and in particular, there exists a path also in N0. So, Mu;v1;...;vk¼fw2Vju>win N0g: Since at least one child of uhas survived in N0, the previous lemma implies that this set has maximal elements, and they are children of uin N0, and hence, they are also children of uin N, and they are different from v1;...;v k.tu As we have already mentioned, Lemma 6 applies to any DAG (and we make use of this fact in the proof of Lemma 7, because the DAG N0, we consider in it need not satisfy the tree-child condition and can have more than one root, as well as outdegree 1 tree nodes), but Lemma 7.b need not be true if Ndoes not satisfy the tree-child condition. Consider again, for instance, the tree-sibling phylogenetic network N described in Fig. 5. In it, cis a maximal element of Mr;d ¼fx2Vjr > x; ðrÞðxÞþðdÞg, but it is not a child of r. We can prove now our main result. Theorem 1. Let N,N0be tree-child phylogenetic networks. Then, NffiN0if and only if ðNÞ¼ðN0Þ. Proof. Let N¼ðV;EÞbe a tree-child phylogenetic network labeled in S, and let ðNÞbe its -representation. Let VIN nIN be the set consisting of the vectors of the form ðx; iÞwith x2ðNÞand ibetween 1 and the multiplicity of xin ðNÞ. Consider on Vthe partial order defined by ðx; iÞðy; jÞ()x>ywith respect to the product partial order;or x¼yand i<j: We know from Lemma 5 that if x2IN nbelongs to ðNÞwith multiplicity m1, then there exist mnodes in Nwith -vector x, and that they form an elementary path. For every node v2V, let ivbe the position of vin the elementary path formed by all nodes with the same -vector as v. In particular, if ðvÞappears in ðNÞwith multiplicity 1, then iv¼1. Lemma 5 implies then that the mapping  :V!V v7!  ðvÞ¼ ðvÞ;i v ðÞ is an isomorphism of partially ordered sets between V with the path ordering and Vwith the partial order . Indeed, if u>v, then either ðuÞ>ðvÞor ðuÞ¼ðvÞ, and uappears before vin the elementary path of all nodes with this -vector, and hence, iu<i v. Conversely, if ðuÞ>ðvÞor if ðuÞ¼ðvÞand iu<i v, then there exists a nontrivial path . Therefore, we can rephrase the last two lemmas as follows: 1. For every u2Vinternal, the set Mu¼ ðwÞ2 ðVÞj ðuÞ ðwÞ fg has maximal elements, and all of them are images under  of children of u. 2. For every u2Vand for every v1;...;v k2childðuÞ, we have the following: a. If ðuÞ¼ðv1ÞþþðvkÞ, then uhas no other children. b. If ðuÞ>ðv1ÞþþvðvkÞ, then the set Mu;v1;...;vk¼f  ðwÞ2 ðVÞj ðuÞ ðwÞ;ðuÞ ðwÞþðv1ÞþþðvkÞg has maximal elements, and all of them are images under  of children of uother than v1;...;v k. We shall prove that we can recover the set Eof arcs in Nfrom ðNÞ. To do that, consider the set EVV obtained through the application of Algorithm 2: Algorithm 2. Given ðNÞ, compute E. begin set E¼; sort Vdecreasingly on the partial order  for each ðx; iÞ2Vdo set m¼x while m>0do for each ðy; jÞ2Vsuch that ðx; iÞðy; jÞdo if mythen add the arc ððx; iÞ;ðy; jÞÞ to E set m¼my end Let us prove that ðu; vÞ2Eif and only if ð ðuÞ; ðvÞÞ 2 E. To do that, let u2Vbe an arbitrary node of N. If there is no arc in Ewith tail  ðuÞ, it can only be because there is no v2Vsuch that ðuÞ>ðvÞ, and hence, uis a leaf of N, and Edoes not contain any arc with tail u, either. Otherwise, let ð ðuÞ; ðv1ÞÞ;ð ðuÞ; ðv2ÞÞ;...;ð ðuÞ; ðvlÞÞ be the arcs contained in Ewith tail  ðuÞ, given in the order they 560 IEEE/ACM TRANSACTIONS ON COMPUTATIONAL BIOLOGY AND BIOINFORMATICS, VOL. 6, NO. 4, OCTOBER-DECEMBER 2009 Authorized licensed use limited to: UNIVERSITAT POLITÈCNICA DE CATALUNYA. Downloaded on May 10,2010 at 16:14:44 UTC from IEEE Xplore. Restrictions apply. 7CONCLUSION In this paper, we have presented two methods for comparing pairs of tree-child phylogenetic networks: a metric and an alignment algorithm. While the former quantifies the similarity between two networks in a way that allows to soundly establish whether a network is more similar to a second one than to a third one, the latter allows the interactive visualization of the differences between two networks. They are respectively the first true distance and the first alignment method defined on a meaningful class of phylogenetic networks strictly extending the class of phylogenetic trees, let alone the natural extension of the bipartition metric to regular networks. Since the class of tree-child phylogenetic networks includes the galled trees, this distance and this alignment can be used to compare the latter. Tree-child phylogenetic networks with no redundant arcs (for which there is already a path from the tail to the head of the arc), known as normal networks, have been recently proposed by S.J. Willson as the class of networks where to look for meaningful phylogenies [47], and polynomial time algorithms are known for reconstructing a normal network from distances [45], [46], [48], but for the moment no reconstruction algorithm for arbitrary tree-child phylogenetic networks has been developed. Therefore, it remains an interesting open question to characterize the sets of sequences whose evolution can be explained by means of a tree-child network and to provide an algorithm to reconstruct this network, as well as to characterize the computational complexity of these problems. On the other hand, several reconstruction methods for time-consistent tree-sibling phylogenetic networks have been proposed by Nakhleh and collaborators. Since no true distance for these networks is known so far, it is an interesting open question whether our distance and alignment method can be extended to these networks or not. The Supplementary Material referenced in the paper is available at http://bioinfo.uib.es/~recerca/phylonet works/mudistance/. ACKNOWLEDGMENTS The research described in this paper has been partially supported by the Spanish CICYT project TIN 2004-07925- C03-01 GRAMMARS and by Spanish DGI projects MTM2006-07773 COMGRIO and MTM2006-15038-C02-01. The authors would like to acknowledge with thanks the anonymous referees, whose comments and criticism have led to a substantial improvement of this paper. REFERENCES [1] B.L. Allen and M.A. Steel, “Subtree Transfer Operations and Their Induced Metrics on Evolutionary Trees,” Annals of Combinatorics, vol. 5, no. 1, pp. 1-13, 2001. [2] V. Bafna and V. Bansal, “The Number of Recombination Events in a Sample History: Conflict Graph and Lower Bounds,” IEEE/ACM Trans. Computational Biology and Bioinformatics, vol. 1, no. 2, pp. 78- 90, Apr.-June 2004. [3] H.-J. Bandelt, “Phylogenetic Networks,” Verhandl. Naturwiss. Vereins Hamburg, vol. 34, pp. 51-71, 1994. CARDONA ET AL.: COMPARISON OF TREE-CHILD PHYLOGENETIC NETWORKS 567 Fig. 12. The networks (a) Nand (b) N0used in Example 10. Fig. 13. An optimal alignment between the networks in Fig. 12. TABLE 4 -Vectors of the Internal Nodes of the Networks Depicted in Fig. 12 TABLE 5 Weights of the Pairs of Internal Nodes of the Networks in Fig. 12 Authorized licensed use limited to: UNIVERSITAT POLITÈCNICA DE CATALUNYA. Downloaded on May 10,2010 at 16:14:44 UTC from IEEE Xplore. Restrictions apply. [4] M.Baroni,C.Semple,andM.Steel,“AFrameworkfor Representing Reticulate Evolution,” Annals of Combinatorics, vol. 8, no. 4, pp. 391-408, 2004. [5] M. Baroni, C. Semple, and M. Steel, “Hybrids in Real Time,” Systematic Biology, vol. 55, no. 1, pp. 46-56, 2006. [6] J. Bluis and D.-G. Shin, “Nodal Distance Algorithm: Calculating a Phylogenetic Tree Comparison Metric,” Proc. Third IEEE Symp. BioInformatics and BioEng. (BIBE ’03), pp. 87-94, 2003. [7] M. Bordewich and C. Semple, “Computing the Minimum Number of Hybridization Events for a Consistent Evolutionary History,” Discrete Applied Math., vol. 155, no. 8, pp. 914-928, 2007. [8] G. Cardona, F. Rossello ´, and G. Valiente, “A Perl Package and an Alignment Tool for Phylogenetic Networks,” BMC Boinformatics, vol. 9, p. 175, 2008. [9] G. Cardona, F. Rossello ´, and G. Valiente, “Tripartitions Do Not Always Discriminate Phylogenetic Networks,” Math. Biosciences, vol. 211, no. 2, pp. 356-370, 2008. [10] D.E. Critchlow, D.K. Pearl, and C. Qian, “The Triples Distance for Rooted Bifurcating Phylogenetic Trees,” Systematic Biology, vol. 45, no. 3, pp. 323-334, 1996. [11] B. DasGupta, X. He, T. Jiang, M. Li, J. Tromp, L. Wang, and L. Zhang, “Computing Distances between Evolutionary Trees,” Handbook of Combinatorial Optimization, D.-Z. Du and P. Pardalos, eds., pp. 35-76, Kluwer Academic Publishers, 1998. [12] D. Gusfield, S. Eddhu, and C. Langley, “The Fine Structure of Galls in Phylogenetic Networks,” INFORMS J. Computing, vol. 16, no. 4, pp. 459-469, 2004. [13] D. Gusfield, S. Eddhu, and C. Langley, “Optimal, Efficient Reconstruction of Phylogenetic Networks with Constrained Recombination,” J. Bioinformatics and Computational Biology, vol. 2, no. 1, pp. 173-213, 2004. [14] D.H. Huson, “Tutorial: Introduction to Phylogenetic Networks,” Proc. German Conf. Bioinformatics (GCB), tutorial, 2006. [15] D.H. Huson, “Split Networks and Reticulate Networks,” Reconstructing Evolution: New Math. and Computational Advances, O. Gascuel and M. Steel, eds., pp. 247-276, Oxford Univ. Press, 2007. [16] D.H. Huson and D. Bryant, “Application of Phylogenetic Networks in Evolutionary Studies,” Molecular Biology and Evolution, vol. 23, no. 2, pp. 254-267, 2006. [17] G. Jin, L. Nakhleh, S. Snir, and T. Tuller, “Maximum Likelihood of Phylogenetic Networks,” Bioinformatics, vol. 22, no. 21, pp. 2604- 2611, 2006. [18] G. Jin, L. Nakhleh, S. Snir, and T. Tuller, “Efficient Parsimony- Based Methods for Phylogenetic Network Reconstruction,” Bioinformatics, vol. 23, no. 2, pp. 123-128, 2007. [19] H.W. Kuhn, “The Hungarian Method for the Assignment Problem,” Naval Research Logistics Quarterly, vol. 2, pp. 83-97, 1955. [20] C.R. Linder, B.M.E. Moret, L. Nakhleh, A. Padolina, J. Sun, A. Tholse,R.Timme,andT.Warnow,“AnErrorMetricfor Phylogenetic Networks,” Technical Report TR03-26, Univ. of New Mexico, 2003. [21] C.R. Linder, B.M.E. Moret, L. Nakhleh, and T. Warnow, “Network (Reticulate) Evolution: Biology, Models, and Algorithms,” Proc. Ninth Pacific Symp. Biocomputing (PSB), tutorial, 2003. [22] W.P. Maddison, “Gene Trees in Species Trees,” Systematic Biology, vol. 46, no. 3, pp. 523-536, 1997. [23] B.M.E. Moret, “Computational Challenges from the Tree of Life,” Proc. Seventh Workshop Algorithm Eng. and Experiments and Second Workshop Analytic Algorithmics and Combinatorics, pp. 3-16, 2005. [24] B.M.E. Moret, L. Nakhleh, and T. Warnow, “An Error Metric for Phylogenetic Networks,” Technical Report TR02-09, Univ. of New Mexico, 2002. [25] B.M.E. Moret, L. Nakhleh, T. Warnow, C.R. Linder, A. Tholse, A. Padolina, J. Sun, and R. Timme, “Phylogenetic Networks: Modeling, Reconstructibility, and Accuracy,” IEEE/ACM Trans. Computational Biology and Bioinformatics, vol. 1, no. 1, pp. 13-23, Jan.-Mar. 2004. [26] J. Munkres, “Algorithms for the Assignment and Transportation Problems,” J. SIAM, vol. 5, no. 1, pp. 32-38, 1957. [27] T. Munzner, F. Guimbretie `re, S. Tasiran, L. Zhang, and Y. Zhou, “TreeJuxtaposer: Scalable Tree Comparison Using FocusþContext with Guaranteed Visibility,” ACM Trans. Graphics, vol. 22, no. 3, pp. 453-462, 2003. [28] S.R. Myers and R.C. Griffiths, “Bounds on the Minimum Number of Recombination Events in a Sample History,” Genetics, vol. 163, no. 1, pp. 375-394, 2003. [29] L. Nakhleh, “Phylogenetic Networks,” PhD dissertation, Univ. of Texas, Austin, 2004. [30] L. Nakhleh, A. Clement, T. Warnow, C.R. Linder, and B.M.E. Moret, “Quality Measures for Phylogenetic Networks,” Technical Report TR04-06, Univ. of New Mexico, 2004. [31] L. Nakhleh, J. Sun, T. Warnow, C.R. Linder, B.M.E. Moret, and A. Tholse, “Towards the Development of Computational Tools for Evaluating Phylogenetic Network Reconstruction Methods,” Proc. Eighth Pacific Symp. Biocomputing (PSB ’03), pp. 315-326, 2003. [32] L. Nakhleh, T. Warnow, C.R. Linder, and K.S. John, “Reconstructing Reticulate Evolution in Species: Theory and Practice,” J. Computational Biology, vol. 12, no. 6, pp. 796-811, 2005. [33] T.M. Nye, P. Lio, and W.R. Gilks, “A Novel Algorithm and Web- Based Tool for Comparing Two Alternative Phylogenetic Trees,” Bioinformatics, vol. 22, no. 1, pp. 117-119, 2006. [34] R.D.M. Page, “Parallel Phylogenies: Reconstructing the History of Host-Parasite Assemblages,” Cladistics, vol. 10, no. 2, pp. 155-173, 1995. [35] R.D.M. Page, “Phyloinformatics: Toward a Phylogenetic Database,” Data Mining in Bioinformatics, J.T.-L. Wang, M.J. Zaki, H. Toivonen, and D. Shasha, eds., pp. 219-241, Springer, 2005. [36] R.D.M. Page and G. Valiente, “An Edit Script for Taxonomic Classifications,” BMC Bioinformatics, vol. 6, p. 208, 2005. [37] P. Puigbo `, S. Garcia-Vallve ´, and J.O. McInerney, “TOPD/FMTS: A New Software to Compare Phylogenetic Trees,” Bioinformatics, vol. 23, no. 12, pp. 1556-1558, 2007. [38] D.F. Robinson and L.R. Foulds, “Comparison of Phylogenetic Trees,” Math. Biosciences, vol. 53, no. 1/2, pp. 131-147, 1981. [39] C. Semple, “Hybridization Networks,” Reconstructing Evolution: New Mathematical and Computational Advances, O. Gascuel and M. Steel, eds., Oxford Univ. Press, 2007. [40] Y.S. Song, J. Hein, “Constructing Minimal Ancestral Recombination Graphs,” J. Computational Biology, vol. 12, no. 2, pp. 147-169, 2005. [41] K. Strimmer and V. Moulton, “Likelihood Analysis of Phylogenetic Networks Using Directed Graphical Models,” Molecular Biology and Evolution, vol. 17, no. 6, pp. 875-881, 2000. [42] K. Strimmer, C. Wiuf, and V. Moulton, “Recombination Analysis Using Directed Graphical Models,” Molecular Biology and Evolution, vol. 18, no. 1, pp. 97-99, 2001. [43] L. Wang, K. Zhang, and L. Zhang, “Perfect Phylogenetic Networks with Recombination,” J. Computational Biology, vol. 8, no. 1, pp. 69-78, 2001. [44] M.S. Waterman and T.F. Smith, “On the Similarity of Dendograms,” J. Theoretical Biology, vol. 73, no. 4, pp. 789-800, 1978. [45] S.J. Willson, “Unique Solvability of Certain Hybrid Networks from Their Distances,” Annals of Combinatorics, vol. 10, no. 1, pp. 165-178, 2006. [46] S.J. Willson, “Reconstruction of Some Hybrid Phylogenetic Networks with Homoplasies from Distances,” Bull. of Math. Biology, vol. 69, no. 8, pp. 2561-2590, 2007. [47] S.J. Willson, “Restrictions on Meaningful Phylogenetic Networks,” Proc. Workshop Current Challenges and Problems in Phylogenetics, accepted contributed talk, Sept. 2007. [48] S.J. Willson, “Unique Determination of Some Homoplasies at Hybridization Events,” Bull. of Math. Biology, vol. 69, no. 5, pp. 1709-1725, 2007. Gabriel Cardona is an associate professor in the Department of Mathematics and Computer Science, University of the Balearic Islands. He is a member of the Computational Biology and Bioinformatics Research Group, University of the Balearic Islands, and of the Number Theory Research Group, Technical University of Catalonia. His research interests are split between number theory (mainly, arithmetical properties of curves of genus 2) and computational biology (mainly, mathematical models of evolution). 568 IEEE/ACM TRANSACTIONS ON COMPUTATIONAL BIOLOGY AND BIOINFORMATICS, VOL. 6, NO. 4, OCTOBER-DECEMBER 2009 Authorized licensed use limited to: UNIVERSITAT POLITÈCNICA DE CATALUNYA. Downloaded on May 10,2010 at 16:14:44 UTC from IEEE Xplore. Restrictions apply. Francesc Rossello ´is an associate professor in the Department of Mathematics and Computer Science, University of Balearic Islands, and the main researcher in the Computational Biology and Bioinformatics Research Group, Research Institute on Health Sciences (IUNICS), and the University of the Balearic Islands. His current research interests include computational and systems biology, with emphasis on the development of new mathematical models in these areas and the comparison of graphs and other nonlinear structures arising in them. Gabriel Valiente is an associate professor in the Department of Software and a member of the Algorithms, Bioinformatics, Complexity, and Formal Methods Research Group, Technical University of Catalonia, Barcelona. He is also a member of the Computational Biology and Bioinformatics Research Group, University of the Balearic Islands, and an associated member of the Bioinformatics Research Centre, University of Glasgow. His research interests include computational and systems biology, with emphasis on algorithms in bioinformatics and mathematical models in computational and systems biology. .For more information on this or any other computing topic, please visit our Digital Library at www.computer.org/publications/dlib. CARDONA ET AL.: COMPARISON OF TREE-CHILD PHYLOGENETIC NETWORKS 569 Authorized licensed use limited to: UNIVERSITAT POLITÈCNICA DE CATALUNYA. Downloaded on May 10,2010 at 16:14:44 UTC from IEEE Xplore. Restrictions apply.