# Constructing Phylogenetic Networks Based on the Isomorphism of Datasets

Authors: Juan Wang; Zhibin Zhang; Yanjuan Li
Journal: BioMed Research International
 (2016)

---

## Abstract

Constructing rooted phylogenetic networks from rooted phylogenetic trees has become an important problem in molecular evolution. So far, many methods have been presented in this area, in which most efficient methods are based on the incompatible graph, such as the CASS, the LNETWORK, and the BIMLR. This paper will research the commonness of the methods based on the incompatible graph, the relationship between incompatible graph and the phylogenetic network, and the topologies of incompatible graphs. We can find out all the simplest datasets for a topology G and construct a network for every dataset. For any one dataset C, we can compute a network from the network representing the simplest dataset which is isomorphic to C. This process will save more time for the algorithms when constructing networks.


---

## Body

## 1. Introduction

The evolutionary history of species is usually represented as a (rooted) phylogenetic tree, in which one species has only one parent. Actually, the evolution of species has caused reticulate events such as hybridizations, horizontal gene transfers, and recombinations [1–5], so species may have more than one parent. Then, the phylogenetic trees cannot describe well the evolutionary history of species. However, phylogenetic networks can represent the reticulate events, and they are a generalization of phylogenetic trees. Phylogenetic networks can also represent the conflicting evolution information that may be from different datasets or different trees [6–9].Phylogenetic networks can be classified into unrooted [10–12] and rooted networks [4, 13–19]. An unrooted phylogenetic network is an unrooted graph whose leaves are bijectively labelled by the taxa. A rooted phylogenetic network is a rooted directed acyclic graph (DAG for short) whose leaves are bijectively labelled by taxa [20–22]. The rooted phylogenetic networks have been studied widely for representing the evolution of taxa, as evolution of species is inherently directed. The paper will study relevant properties of the rooted phylogenetic networks constructed from the rooted trees.The algorithms constructing rooted phylogenetic networks from rooted phylogenetic trees are mainly classified into three types: the cluster network [17] based on the Hasse diagram; the galled network [16] based on the seed-growing algorithm; the Cass [23], the Lnetwork [24], and the BIMLR [25] based on the decomposition property of networks. In particular, the third type of methods (Cass, Lnetwork, and BIMLR) can construct more precise networks than the other methods. In the following, unless otherwise specified, we refer to rooted phylogenetic networks as networks.LetX be a set of taxa. A proper subset of X (except for both ∅ and X) is called a cluster. A cluster C is trivial if C
=
1; otherwise, it is nontrivial. Let T be a rooted phylogenetic tree on X; if there is an edge e
=
u
,
v in T such that the set of taxa which are descendants of v equals C, we say that T represents C. Figure 1 shows two rooted phylogenetic trees T
1 and T
2 and all nontrivial clusters represented by T
1 and T
2. Here, all trivial clusters are not listed. Given a network N and a cluster C, when just connecting one incoming edge and disconnecting all other incoming edges for each reticulate node (i.e., its incoming edges >1), if there is a tree edge e
=
u
,
v (i.e., incoming edge of v
≤
1) in N such that the set of taxa which are descendants of v equals C, we say that N represents C in the softwired sense. On the other hand, if there is a tree edge e
=
u
,
v in N such that the set of taxa which are descendants of v equals C, we say that N represents C in the hardwired sense.Figure 1
Two rooted phylogenetic treesT
1 and T
2.The abovementioned three types of methods constructing networks are based on clusters; that is, they first compute all of the clusters represented by input trees and then construct a network representing all clusters in the softwired sense. In this process, the third type of methods (Cass, Lnetwork, and BIMLR) will recur to the incompatibility graph (will be discussed in the following). This paper will discuss the relationship between the incompatibility graphs and the constructed networks.


## 2. Preliminaries

A rooted phylogenetic networkN
=
V
,
E on X is a rooted DAG, and its leaves are bijectively labelled as X. The indegree of a node v
∈
V is denoted by indeg
v. A node v with indeg
v
≥
2 is called a reticulate node, a node v with indeg
v
≤
1 is called a tree node, and, specially, the tree node with indegree 0 is the root node. The reticulation number in a network N
=
V
,
E is ∑
indeg
v
>
0
‍
indeg
v
-
1
=
E
-
V
+
1.Given a set of taxaX, two clusters C
1 and C
2 on X are called compatible, if they are disjoint or one contains the other; that is, C
1
∩
C
2
=
∅ or C
1
⊆
C
2 or C
2
⊆
C
1; otherwise, they are incompatible. Obviously, a trivial cluster and any one cluster are compatible. Given two incompatible clusters C
1 and C
2, C
1
∩
C
2 is called the incompatible taxa with respect to C
1 and C
2. A set of clusters C on X is called compatible, if C is pairwise compatible; otherwise, it is incompatible. For a set of clusters C, its incompatibility graph IG
C
=
V
,
E is an undirected graph with node set V
=
C and edge set E, where an edge connects two incompatible clusters.Given a cluster setC on X and a subset S of X, the result of removing all elements in X
∖
S from each cluster in C is called the restriction of C to S, denoted by C
|
S. If S (where S
>
1) and any one cluster C
∈
C are compatible and C
|
S is also compatible, then we say that S is an ST-set (Strict Tree Set) with respect to C. If there are no other ST-sets containing S except itself, we say that S is maximal. For a maximal ST-set S, there is a subtree constructed by the set of clusters C
∣
C
∈
C
,
C
⊂
S
∪
S.For each maximal ST-setS with respect to C, after collapsing it into a single taxon S, the result set is denoted as CollapseC. For example, C
=
1,2
,
1,2
,
3
,
3,4
,
1,2 is the only maximal ST-set; then, CollapseC
=
3,4
,
1,2
,
3. Then, the taxa of CollapseC are 1,2
,
3,4, denoted as X(CollapseC). A set of clusters C is called the simplest if it has no maximal ST-set with respect to C.LetC be a set of clusters on X and let N be a network representing C. Usually, a tree edge in N can represent more than one cluster in C and a cluster in C can be represented by more than one tree edge in N. A mapping ϵ is defined from C to the set of tree edges of N, such that ϵ
C is a tree edge of N that represents C for any one cluster C
∈
C. A network N is decomposable with respect to C if there exists a mapping ϵ
:
C
→
E
′ (E
′ is the set of tree edges of N) such that(i)
for any two clustersC
1
,
C
2
∈
C, C
1 and C
2 lie in the same connected component of the incompatibility graph I
G
(
C
) if and only if two tree edges ϵ
C
1 and ϵ
C
2 are contained in the same biconnected component of N.Then, we also say that the networkN has the decomposition property. The decomposition property makes the network constructed by an appropriate divide-and-conquer (DC for short) strategy; that is, it first constructs a subnetwork for each one connected component of the incompatibility graph and then merges all subnetworks into a whole network. Then, the constructed network is called DC network, and the algorithms are called DC algorithms. The paper [23] has proven the DC networks satisfying the decomposition property.Given a set of clustersC, the DC algorithms first compute the incompatibility graph IG
C and then compute the subnetwork for the result set after collapsing each one maximal ST-set into one taxon for each biconnected component of IG
C; next, “decollapse,” that is, replace each leaf labelled by a maximal ST-set by a maximal subtree, and finally integrate those subnetworks into a final network. The paper [25] has proven that there exists a DC network N for any one set of clusters C. Figure 2 shows the construction process of the DC algorithms for the set of clusters in Figure 1, in which constructing subnetwork for each one connected component (i.e., Step 2) is crucial.Figure 2
A network constructed by the DC algorithms for the set of clusters in Figure1.The Cass, the Lnetwork, and the BIMLR algorithms are the DC algorithms, which can construct the networks with fewer reticulations than other algorithms. The networks constructed by the BIMLR and the Lnetwork have fewer redundant clusters except for the input clusters than other available methods. When constructing phylogenetic networks, the BIMLR and the Lnetwork are faster than the Cass, and the constructed networks are more stable, that is, the difference between constructed networks for the same dataset when different input orders are used is smaller than the Cass. Figure 3 shows three networks constructed by the Cass for the same dataset with different input orders, while BIMLR and Lnetwork can construct only one network N
1 for the dataset with different input orders [25].Figure 3
All networks constructed by the Cass for the set of clusters C
=
1,2
,
2,3.


## 3. Topologies of Incompatibility Graphs

Definition 1.
Two networksN
1
=
V
1
,
E
1 and N
2
=
V
2
,
E
2 on X are isomorphic if and only if there exists a bijection H from V
1 to V
2 such that(i)
u
,
v is an edge in E
1 if and only if H
u
,
H
v is an edge in E
2;
(ii)
the label ofw is equal to the label of H
w for any one leaf w
∈
V
1.Given two sets of clustersC
1 on X
1 and C
2 on X
2, let C
1
′ and C
2
′ be the results after collapsing all maximal ST-sets of C
1 and C
2, respectively, C
1
′ on X
1
′ and C
2
′ on X
2
′.Definition 2.
C
1 and C
2 are isomorphic, if and only if there is a bijection G from X
1
′ to X
2
′ such that(i)
a and b are in the same cluster C
1
∈
C
1
′ if and only if G
a and G
b are in the same cluster C
2
∈
C
2
′.By Definition2, we have that the isomorphism of the cluster sets is an equivalence relation; that is, it is reflexive, symmetric, and transitive.Lemma 3.
Given a DC networkN representing the set of clusters C, then any one maximal ST-set with respect to C is a maximal subtree in N.Proof.
From the constructing process of DC networks, this conclusion is obvious.Lemma 4.
LetC
1 and C
2 be two sets of clusters on X
1 and X
2, respectively. C
1 and C
2 are isomorphic. There exists a DC network N
1 representing C
1 if and only if there exists a DC network N
2 representing C
2.Proof.
There must exist a DC networkN
1 for C
1. Given a tree edge e
=
u
,
v, the subtree of the root v in N
1 is a maximal subtree if and only if the set of taxa S is a maximal ST-set with respect to C
1, where the taxa in S are labels of leaves which are descendants of v. Replace each maximal subtree of N
1 by a node, and then denote the result network as N
1
′. Obviously, N
1
′ represents the set of clusters C
1
′. From Definition 2, there exists a bijection G from X
1
′ to X
2
′ such that a and b are in the same cluster C
1
∈
C
1
′ if and only if G
a and G
b are in the same cluster C
2
∈
C
2
′.
Then, we can obtain a networkN
2
′ from N
1
′ by replacing each one taxon a in X
1
′ by G
a in X
2
′. Obviously, N
2
′ represents C
2
′. Finally, we replace each leaf labelled by a maximal ST-set with respect to C
2 in N
2
′ by a maximal subtree, and the result network is denoted as N
2 which represents C
2.For two isomorphic sets of clustersC
1 and C
2, let N
1 be a DC network representing C
1. Lemma 4 tells us that there is a DC network N
2 representing C
2, which can be obtained from N
1.Lemma 5.
LetC
=
C
∣
C
i
s
a
s
e
t
o
f
c
l
u
s
t
e
r
s, where I
G
(
C
) is a biconnected component with two nodes. Then, any one element C in C is isomorphic to C
0
=
1,2
,
2,3.Proof.
Any one elementC
∈
C has two incompatible clusters. Let C
1
=
C
11
,
C
12 and C
2
=
C
21
,
C
22 be two sets of clusters in C, where C
11 and C
12 are incompatible and C
21 and C
22 are incompatible. Let A
1
=
C
11
∩
C
12 be the incompatible taxa with respect to C
11 and C
12, and let A
2
=
C
21
∩
C
22 be the incompatible taxa with respect to C
21 and C
22. Let B
11
=
C
11
∖
A
1, B
12
=
C
12
∖
A
1, B
21
=
C
21
∖
A
2, and B
22
=
C
22
∖
A
2; then, C
1
=
B
11
,
A
1
,
B
12
,
A
1 and C
2
=
B
21
,
A
2
,
B
22
,
A
2.
Each one ofB
11, A
1, B
12, B
21, A
2, and B
22 is a maximal ST-set if it contains more than one taxon; then, we can collapse it into one taxon which is also denoted by itself. Denote the set of clusters after collapsing all maximal ST-sets as C
1
′ and C
2
′. Obviously, there is a bijection G from X
1
′
=
B
11
,
A
1
,
B
12 to X
2
′
=
B
21
,
A
2
,
B
22, and any two taxa a
,
b
∈
X
1
′ are in the same cluster in C
1
′ if and only if G
a and G
b are in the same cluster in C
2
′. Hence, C
1 and C
2 are isomorphic. Accordingly, any one set of clusters C
∈
C is isomorphic to C
0
=
1,2
,
2,3 because C
0
∈
C.For a cluster setC, there may be several cluster sets isomorphic to C, but the simplest set of clusters isomorphic to C is only one, denoted as C
0. Let N
0 be the DC network representing C
0. Then, we can obtain a DC network representing C from N
0. Lemmas 4 and 5 show there is a DC network for any one set of clusters whose incompatible graph is a biconnected component with two nodes, and it is obtained from the network N
0 (see Figure 3) representing C
0.Lemma 6.
LetC
=
C
∣
C
i
s
a
s
e
t
o
f
c
l
u
s
t
e
r
s, where I
G
(
C
) is a linear biconnected component with three nodes (see Figure 4). Let C
1
=
1,3
,
1,2
,
1,3
,
4, C
2
=
1,3
,
1,2
,
4
,
1,2
,
3, C
3
=
1,2
,
2,3
,
3,4, and C
4
=
1,2
,
2,3
,
5
,
3,4. Then, any one set of clusters C
C
∈
C is isomorphic to one of C
1, C
2, C
3, and C
4.Figure 4
The topology of the linear biconnected component with three nodes.Proof.
Figure4 shows the topology of the linear biconnected component with three nodes. C
i is the simplest set of clusters, and its incompatible graph is the topology in Figure 4. Next, we will prove that C
i
1
≤
i
≤
4 are all simplest sets of clusters for the topology in Figure 4.
Any one set of clusters inC has three clusters denoted as C
1, C
2, and C
3. Let A be the incompatible taxa with respect to C
1 and C
2, and let B be the incompatible taxa with respect to C
2 and C
3; then A and B have the following cases: (i) A
=
B; (ii) A
⊂
B; (iii) B
⊂
A; (iv) A
∩
B
=
∅; (v) A
∩
B
≠
∅, A
⊈
B and B
⊈
A.
(i)
A
=
B
. Since there is no edge between C
1 and C
3, C
1 and C
3 are compatible; that is, C
1
∩
C
3
=
∅, or C
1
⊆
C
3, or C
3
⊆
C
1. Because A
⊆
C
1 and A
⊆
C
3, we have that C
1
∩
C
3
≠
∅. Therefore, C
1
⊆
C
3 or C
3
⊆
C
1. Then, we have the simplest set of clusters C
1
=
1,3
,
1,2
,
1,3
,
4, and any one set of clusters in this case is isomorphic to C
1.
(ii)
A
⊂
B
. Assume that B
=
A
,
B
0. It is similar to the case (i), and we have that C
1
⊆
C
3. Then, the simplest set of clusters is C
2
=
1,3
,
1,2
,
4
,
1,2
,
3, and any one set of clusters in this case is isomorphic to C
1.
(iii)
B
⊂
A
. This case is similar to case (ii). The sets of clusters are in case (ii) if and only if they are in case (iii). Hence, any one set of clusters in case (iii) and C
2 are isomorphic.
(iv)
A
∩
B
=
∅
. Then, C
1
∩
C
3
=
∅. We have that A
=
1 and B
=
1 in the simplest set of clusters, since they can be collapsed if A
≥
2 or B
≥
2. Assume that C
1
=
A
,
B
1 and C
3
=
B
,
B
2. We have that B
1
=
1 and B
2
=
1 in the simplest set of clusters, since they can be collapsed if B
1
≥
2 or B
2
≥
2. Then, C
1
=
2 and C
3
=
2 in the simplest set of clusters. C
3
=
1,2
,
2,3
,
3,4 and C
4
=
1,2
,
2,3
,
5
,
3,4 are the simplest sets of clusters in this case. Therefore, any one set of clusters in this case is isomorphic to C
3 or C
4.
(v)
A
∩
B
≠
∅
,
A
⊈
B
and
B
⊈
A
. Let A
=
A
0
,
A
1 and B
=
A
1
,
B
0, where A
0, A
1, and B
0 are not empty. We have A
0
,
A
1
,
B
0
⊆
C
2, and C
1
⊆
C
3 or C
3
⊆
C
1. If C
1
⊆
C
3, then A
1
⊆
C
3. So A
1
⊆
B, which contradicts the case that A
⊈
B. Similarly, we can get the contradiction when C
3
⊆
C
1. Thus, there exists no set of clusters in this case.Figure5 shows the DC networks for the simplest sets of clusters C
1, C
2, C
3, and C
4, respectively.Figure 5
The DC networks for all simplest cluster sets whose incompatible graphs are topologies in Figure4.Lemma 7.
LetC
=
C
∣
C
i
s
a
s
e
t
o
f
c
l
u
s
t
e
r
s, where I
G
C is a nonlinear biconnected component with three nodes (see Figure 6). Let C
1
=
1,3
,
1,2
,
4
,
1,2
,
5, C
2
=
1,2
,
1,3
,
1,4, C
3
=
1,2
,
4
,
1,3
,
5
,
1,2
,
3, C
4
=
1,2
,
4
,
1,3
,
5
,
1,2
,
3,6, C
5
=
1,2
,
2,3
,
1,3, C
6
=
1,2
,
4
,
1,3
,
2,3, C
7
=
1,2
,
4
,
1,3
,
5
,
2,3, C
8
=
1,2
,
4
,
1,3
,
5
,
2,3
,
6, C
9
=
1,2
,
3
,
1,2
,
4
,
1,3
,
4, C
10
=
1,2
,
3,5
,
1,2
,
4
,
1,3
,
4, C
11
=
1,2
,
3,5
,
1,2
,
4,6
,
1,3
,
4, and C
12
=
1,2
,
3,5
,
1,2
,
4,6
,
1,3
,
4,7. Then, any one set of clusters in C is isomorphic to one of C
i
1
≤
i
≤
12.Figure 6
The topology of the nonlinear biconnected component with three nodes.Proof.
Figure6 shows the topology of the nonlinear biconnected component with three nodes. Here, C
1, C
2, and C
3 are the clusters, and A, B, and C are the incompatible taxa corresponding to them. All cases are as follows: (i) A
=
B; then, A
⊆
C or A
=
C; (ii) A
⊂
B; then, A
⊂
C, and C
∩
B
=
A; (iii) A
∩
B
=
∅; then, A
∩
C
=
∅ and B
∩
C
=
∅; (iv) A
∩
B
≠
∅, A
⊈
B, B
⊈
A; then, A
∩
C
≠
∅ and B
∩
C
≠
∅.
(i)
A
=
B
. If A
⊆
C, then A
⊆
C
1, C
⊆
C
2, and C
⊆
C
3. We have |
A
|
=
1 in the simplest set of clusters; otherwise, A can be collapsed into one taxon. Similarly, we have |
C
|
=
2 in the simplest set of clusters. Let A
=
{
1
} and C
=
{
1,2
}; then, we can obtain the only simplest set of clusters C
1
=
1,3
,
1,2
,
4
,
1,2
,
5. Any one set of clusters meeting this case will be isomorphic to C
1.
IfA
=
C, then A
=
B
=
C. There is |
A
|
=
1 in the simplest set of clusters; otherwise, A can be collapsed into one taxon. Let A
=
B
=
C
=
{
1
}; then, we can obtain the only simplest set of clusters C
2
=
1,2
,
1,3
,
1,4. Any one set of clusters in this case will be isomorphic to C
2.
(ii)
A
⊂
B
,
A
⊂
C
, and
C
∩
B
=
A
. Then, we can obtain the simplest sets of clusters C
3
=
1,2
,
4
,
1,3
,
5
,
1,2
,
3 and C
4
=
1,2
,
4
,
1,3
,
5
,
1,2
,
3,6. Any one set of clusters in this case will be isomorphic to C
3 or C
4.
(iii)
A
∩
B
=
∅
; then,
A
∩
C
=
∅
and
B
∩
C
=
∅
. Then, we can obtain the simplest sets of clusters C
5
=
1,2
,
2,3
,
1,3 and C
6
=
1,2
,
4
,
1,3
,
2,3 and C
7
=
1,2
,
4
,
1,3
,
5
,
2,3 and C
8
=
1,2
,
4
,
1,3
,
5
,
2,3
,
6. Any one set of clusters in this case will be isomorphic to one of C
5, C
6, C
7, and C
8.
(iv)
A
∩
B
≠
∅
,
A
⊈
B, B
⊈
A
; then,
A
∩
C
≠
∅
and
B
∩
C
≠
∅
. Let A
∩
B
=
A
0; then, A
∩
C
=
A
0 and B
∩
C
=
A
0. We have A
0
=
1 in the simplest set of clusters; otherwise, A
0 can be collapsed into one taxon. Let A
0
=
1. Then, A
=
1,2, B
=
1,3, and C
=
1,4. For the first case, we can obtain the simplest sets of clusters C
9
=
1,2
,
3
,
1,2
,
4
,
1,3
,
4 and C
10
=
1,2
,
3,5
,
1,2
,
4
,
1,3
,
4 and C
11
=
1,2
,
3,5
,
1,2
,
4,6
,
1,3
,
4 and C
12
=
1,2
,
3,5
,
1,2
,
4,6
,
1,3
,
4,7. Any one set of clusters in this case will be isomorphic to one of them.Figure7 shows the DC networks for the simplest sets of clusters C
i
1
≤
i
≤
12, respectively. Lemmas 5, 6, and 7 compute all simplest sets of clusters, whose incompatible graphs are the biconnected components with two nodes or three nodes. Figures 6 and 7 show the DC networks constructed by the BIMLR algorithm for all simplest sets of clusters; then, the DC network for a set of clusters C can be obtained from the DC network representing the simplest set of clusters which is isomorphic to C; that is, it does not need to be constructed once again. This conclusion is very important to the construction of networks.Figure 7
The DC networks for all simplest cluster sets whose incompatible graphs are topologies in Figure6.


## 4. Conclusion

This paper computes all simplest sets of clusters for the topologies of incompatible graph with two nodes and three nodes. We can construct the DC networks for those simplest sets of clusters and save them. When constructing DC networks for any one set of clustersC, algorithms only need to read the DC network N
0 of the simplest set of clusters isomorphic to C and then compute the DC network for C from N
0 by replacing labels of leaves in N
0 by the taxa in C, which will save more time for the algorithms.We will compute the simplest sets of clusters for more topologies of incompatible graph in the future.



---

*Source: 4236858-2016-07-28.xml*