- Open Access
Introducing TreeCollapse: a novel greedy algorithm to solve the cophylogeny reconstruction problem
BMC Bioinformatics volume 15, Article number: S14 (2014)
Cophylogeny mapping is used to uncover deep coevolutionary associations between two or more phylogenetic histories at a macro coevolutionary scale. As cophylogeny mapping is NP-Hard, this technique relies heavily on heuristics to solve all but the most trivial cases. One notable approach utilises a metaheuristic to search only a subset of the exponential number of fixed node orderings possible for the phylogenetic histories in question. This is of particular interest as it is the only known heuristic that guarantees biologically feasible solutions. This has enabled research to focus on larger coevolutionary systems, such as coevolutionary associations between figs and their pollinator wasps, including over 200 taxa. Although able to converge on solutions for problem instances of this size, a reduction from the current cubic running time is required to handle larger systems, such as Wolbachia and their insect hosts.
Rather than solving this underlying problem optimally this work presents a greedy algorithm called TreeCollapse, which uses common topological patterns to recover an approximation of the coevolutionary history where the internal node ordering is fixed. This approach offers a significant speed-up compared to previous methods, running in linear time. This algorithm has been applied to over 100 well-known coevolutionary systems converging on Pareto optimal solutions in over 68% of test cases, even where in some cases the Pareto optimal solution has not previously been recoverable. Further, while TreeCollapse applies a local search technique, it can guarantee solutions are biologically feasible, making this the fastest method that can provide such a guarantee.
As a result, we argue that the newly proposed algorithm is a valuable addition to the field of coevolutionary research. Not only does it offer a significantly faster method to estimate the cost of cophylogeny mappings but by using this approach, in conjunction with existing heuristics, it can assist in recovering a larger subset of the Pareto front than has previously been possible.
Ecologically linked groups of organisms often place selective pressures on one another driving the evolutionary process . These selective pressures give rise to tightly coupled coevolutionary systems. Coevolution occurs in a wide variety of biological systems including host-parasite relationships , mimicry between species , biogeography , insect-plant interactions , host-pathogen networks , and predator-prey systems .
The study of the macro scale coevolutionary associations (φ) formed between the host and parasite phylogenies is encompassed by the field of cophylogenetics . Analysis of these systems can be applied to tackle some of the most pressing global health issues facing society today . Coevolutionary analysis of systems such as primates and malaria-causing Plasmodium  offer the potential to provide further insights into this deadly disease. Although encompassing a large number of biological scenarios each coevolutionary system consists of an independent evolutionary history often refered to as the host phylogeny and its corresponding dependent evolutionary history known as the parasite phylogeny .
Cophylogenetics aims to provide such insights by evaluating the significance of the observed associations (φ) between the host (H) and parasite (P) phylogenies and the branching patterns between H and P to identify if these ecologically linked organisms have formed deep coevolutionary bonds or if their evolutionary histories are independent . The host and parasite phylogenies considered herein are bifurcating trees where the total number of nodes for both trees is bound by O(n). Therefore, cophylogenetics aims to analyse and understand the tuple (H, P, φ), often visualised as a tanglegram  as seen in Figure 1. As a result, the complexity of this problem is bound in terms of n, the size of H and P .
A common method for evaluating the tuple (H, P, φ) is cophylogeny mapping where the parasite tree is mapped into the host tree such that the associations (φ) are conserved. A cophylogeny mapping (Φ(P)) estimates the parasite's evolutionary history with respect to its host using the four recoverable coevolutionary events of codivergence, duplication, host switch and loss.
A Codivergence event is a concurrent divergence of both a host and parasite species . A Duplication event, by contrast, is an independent divergence of a parasite species. Following this divergence event both new parasite species continue to track their initial host . A Host Switch, similar to a duplication event, is an independent divergence of a parasite species. In contrast to a duplication event, however, one of the new parasite species switches to a new host while the remaining parasite species continues to inhabit the initial host . A Loss event represents one of three possibilities: failure to diverge by the parasite species following a divergence event by its host, an extinction event of a parasite species or sampling error in the phylogenetic reconstruction of the parasite phylogeny . These four events when applied together are capable of recovering the full set of mappings possible where each parasite may only inhabit a single host. This is the permutation of the cophylogeny reconstruction problem which is considered herein. An example of all four recoverable events applied to solve a simple tanglegram can be seen in Figure 1. The aim when recovering a cophylogeny mapping is to retrieve a solution where the resultant cost is minimised. The set of all mappings with a minimum cost are contained within the Pareto set . The cophylogeny reconstruction problem is defined as the problem of reconstructing a map from the Pareto set where the mapping cost is minimised, which has been established as NP-Hard [14, 15], which has in turn given rise to a number of heuristic approaches. Currently there are two classes of heuristics, pattern and event-based methods. Event-based algorithms have been shown to be the only approach that can guarantee recovered solutions are optimal . Ronquist , however, has argued that pattern-based algorithms can produce robust approximations that can be as good as event-based methods which impose constraints upon the solution space. Imposing constraints is required due to the computational intractability of this problem, and therefore pattern-based methods have the potential to offer comparable precision to event-based methods. An existing pattern-based approach is Page's Reconciled Tree Analysis , which solves this problem optimally with the condition that host switches are not permitted. This algorithm recovers a Pareto optimal solution in O(n). This approach, while recovering an optimal solution, is unable to recover solutions which accurately represent coevolutionary interactions where host switch events are prevalent, such as host-pathogen systems or where closely related parasites infect distantly related hosts. Another well known pattern-based method is Brooks Parsimony Analysis (BPA) [18, 19]. This method uses a binary coding representation of the parasite phylogeny and uses this binary coding to map the parasite into the host. This method has been shown to produce good solutions  but has not yet been implemented due to inconsistencies in the selection of events and the ordering of nodes in the host phylogeny.
Due to the limitations faced by both these approaches, pattern-based algorithms are not often applied to this problem, with the majority of recent cophylogenetic analyses using event-based methods [21–25]. Approximating this problem using event-based methods aims to recover cophylogeny mappings where the global score is minimised. This approach is based on Ronquist's generalised definition of the cophylogeny reconstruction problem, which states that only by minimising the total cost of all events can an algorithm recover a Pareto optimal reconstruction . Two recent algorithmic approaches that have leveraged this generalised definition apply dynamic programming to modified instances of the cophylogeny reconstruction problem. The first approach ignores the relative ordering of the internal nodes of the host tree and the second approach fixes the relative order of the internal nodes of the host tree.
By ignoring the relative order of the internal nodes of the host tree the cophylogeny reconstruction problem can be solved in polynomial time. This approach is derived from a heuristic used to approximate the Feedback Arcs Set Problem which is also NP-Hard [27, 28]. Tarzan  and CoRe-PA  apply this technique to recover cophylogeny mappings in polynomial time. This approach is currently the fastest known approach for recovering solutions where all four recoverable events are permitted with the fastest proposed algorithm running in O(n2) .
An unfortunate consequence of ignoring the relative order of the internal nodes of the host tree is that recovered mappings may be time-inconsistent . A time-inconsistent solution is the case where the order of the parasite divergence events contradicts the order of the internal nodes in the parasite's phylogeny and as a result the coevolutionary history of the parasite contradicts its phylogenetic history. A mapping that is time-inconsistent is biologically infeasible . Such a mapping can be seen in Figure 2.
To overcome the limitation of potentially reporting time-inconsistent solutions Libeskind-Hadas and Charleston  proposed an algorithm where the relative ordering of the host phylogeny's internal nodes is fixed and each internal node is assigned a unique distance from the root. Under these conditions the cophylogeny reconstruction problem can be solved in polynomial time and the solutions recovered are guaranteed to be biologically feasible. The initial algorithm proposed required O(n7) running time , which significantly limited its applicability as it was unable to converge on good solutions for large problem instances. Subsequent solutions significantly reduced this running time with Edge Mapping , Improved Node Mapping , and Slicing [31, 34], all running in O(n3).
Although polynomial time algorithms exist for solving the case where the internal nodes are fixed, the number of internal node orderings increases exponentially for every internal node added to a bifurcating tree. Therefore, such algorithms rely on a metaheuristic to iterate through the exponential number of internal node orderings. This approach has been shown to be successful, with software tools such as Jane  converging on solutions for coevolutionary systems with up to 200 taxa .
Cruaud et al's analysis  demonstrated the value of coevolutionary analysis of larger phylogenetic histories and also highlighted the need for further research of large scale coevolutionary analysis. The use of algorithms such as those implemented in Jane, however, are not feasible in all cases. Consider the coevolving system of Wolbachia and their insect hosts. It is currently estimated that 20% of all insect species are inhabited by Wolbachia , and that the estimated number of insects is approximately 6 million . Such a problem instance represents a 6000 times increase in the number of taxa compared to the largest system successfully analysed using Jane. This is a significant increase in the complexity of the problem, especially when considering the exponential increase in complexity for every additional node added. This example demonstrates the need to develop further algorithms for the cophylogeny reconstruction problem, which while recovering biologically feasible reconstructions, are able to do so in sub O(n3) time.
This paper introduces a new greedy approach for solving the cophylogeny reconstruction problem where the internal node ordering is fixed. This algorithm is able to guarantee that all reported solutions are biologically feasible. Further, this approach is tested on a combination of synthetic and real data sets and is shown to recover comparable solutions to existing O(n3) algorithms but with a significantly reduced running time of O(n).
The algorithm proposed incorporates a number of techniques which have been successful in their own right for solving the cophylogeny reconstruction problem and utilises them in a novel manner to tackle the problem of recovering biologically feasible reconstructions for large coevolutionary systems. The algorithm referred to here as TreeCollapse applies a combination of both pattern and event-based reconstruction techniques, with the aim of producing a fast and scalable method for solving the cophylogeny reconstruction problem for the case where the internal node order is fixed.
This algorithm is then applied to a metaheuristuc framework similar to the dynamic programming algorithm leveraged by Jane . This research does not focus on improving the search strategies applied by the metaheurstic for traversing the exponential search space, but rather aims to minimise the time spent evaluating each instance. Unlike the dynamic programming algorithm used by Jane 2 and subsequent releases which requires an O(n3)  evaluation step for each instance processed by the metaheuristic, TreeCollapse recovers a cophylogeny mapping in O(n). This allows TreeCollapse to evaluate O(n2) instances for each case evaluated by Jane.
TreeCollapse is an extension of the pattern detection methodology first proposed by Ronquist . A significant change to Ronquist's pattern detection framework is the leveraging of local pattern detection rather than Ronquist's history classification technique [16, 38]. The proposed pattern detection framework bounds the search space of each pattern to a constant size by considering only a constant number of cherries at each step. A cherry (C) is defined by McKenzie and Steel  as:
Definition 1 In a bifurcating tree a cherry (C i ) is a pair of leaf nodes (i left , i right ) each of which is adjacent to a common ancestor (i parent ).
The proposed framework constrains all pattern detection to both O(1) running time and search space, to maximise the number of unique internal host tree node orderings which can be explored in a fixed period of time. The result of the O(1) bound on the pattern detection is the ability of this algorithm to construct cophylogeny mappings in O(n) time and space, where all reported solutions are time-consistent; using the trade off that not all solutions recovered are from the Pareto front.
Local pattern detection
The proposed algorithm reconstructs a cophylogeny mapping based on patterns formed by cherries in both the host and parasite trees. The eight patterns used consist of four base patterns, as can be seen in Figure 3, which are used to recover the four recoverable events that can occur in a coevolutionary system. These patterns are derived from the history classification framework proposed by Ronquist . An additional four patterns have been included to improve this framework's performance at handling the complexity of host switch events. These hybrid patterns extend the initial base patterns to allow each hybrid pattern to detect two consecutive events. The hybrid pattern set consists of codivergence-switch, duplication-switch, loss-switch and double switch, all of which can be seen in Figure 4. By including these hybrid patterns this approach is able to more accurately recover host switch events, which results in a reduction in the total parsimony score. This is achieved by only considering an additional two cherries which is clearly still bounded by O(1). A further in-depth analysis on the accuracy improvements achieved by the proposed hybrid patterns is discussed as part of the Results.
The patterns are detected for each cherry in the host tree by executing a depth first search. This algorithm is designed to traverse the tanglegram instance (H, P, φ), starting at the leaves of the host cherry and terminating once a path is found back to a leaf in the host tree. To ensure that this algorithm runs in O(1), the number of levels which the depth first search algorithm may traverse through the parasite tree is fixed to a constant factor. Once the algorithm has terminated, the resultant path found by the depth first search algorithm is compared to the permitted pattern set. This search algorithm is bound to O(1) as there is a constant number of levels searched and the branching rate of a bifurcating tree is also constant. It is important to note that this is only one approach to implementing this pattern detection algorithm in constant time.
Each pattern recovered by the local pattern detection algorithm gives rise to one or more cherries from the host or parasite trees to collapse, hence the algorithm's name TreeCollapse. This operation is based on a bottom up iteration technique, where the cherries in the host tree are sequentially processed based on their distance from the root. As a result, this algorithm continues until both trees consist of only a single node (the root of both the host and parasite tree).
The TreeCollapse local pattern detection framework allows for three different collapse functions. The first case is where both a host and parasite cherry are collapsed, which indicates a codivergence event. The second case is where a cherry from the parasite tree is collapsed, indicating either a duplication or host switch event. Finally, if no pattern is formed with the parasite tree, then a loss event is inferred and the host cherry is collapsed.
There are three possible final states when this process is performed to completion. First, the host tree and parasite tree are both collapsed up to their respective root nodes. In this case there is a codivergence event at the root of the host tree. The second case is where the host tree still has more than one node remaining after the parasite tree is completely collapsed. In this case we can ignore all remaining nodes in the host tree. Finally, the case where the host tree is completely collapsed before the parasite tree results in the remaining nodes in the parasite tree being appended before the root of the host tree as duplication events. As TreeCollapse handles all three scenarios, it is capable of recovering solutions for all instances of the cophylogeny reconstruction problem.
Guarantee that TreeCollapse recovers time-consistent solutions
TreeCollapse requires that each cherry in the host tree be processed in decreasing order based on the node's depth. Depth is defined in this context as the distance to the root as the sum of the branch lengths. We will refer to the depth of a node a as d(a). To prevent timing inconsistencies, TreeCollapse requires that the edge weights in the host tree are set in such a way that each internal node's depth is unique and bound between 0 and (n − 2), where the total number of the internal and leaf nodes in the tree is (2n − 1). This approach has been previously applied by dynamic programming approaches to ensure that recovered solutions are biologically feasible [32, 33]. The n leaf nodes are then assigned to a common depth of (n − 1). Under such a construction we claim that:
Theorem 1 The TreeCollapse local pattern detection and collapse framework ensures that no host switch event gives rise to time-inconsistent solutions.
Proof By contradiction we show that all cophylogeny mappings reported by TreeCollapse are time consistent. Let us assume TreeCollapse returns cophylogeny mappings that are time-inconsistent. For this to occur requires that there exists a cherry in the host tree C a which forms a switch pattern with another node in the host tree b where d(b) < d(a parent ) as seen in Figure 5.
There are two cases to consider, where b is an internal node in the initial host tree and where b is a leaf in the initial host tree. The case that b is an internal node in the host tree requires the cherry for which b was previously a parent (C b ) to be collapsed before C a . This violates the condition that TreeCollapse must process the cherries in decreasing order based on the distance from the root, which is clearly not true if C b is processed before C a . Alternatively, where b is a leaf node from the initial host tree is also invalid as the initial depths of all leaf nodes must be greater than the depth of all internal nodes, which is not true if d(b) < d(a parent ). Therefore, as d(b) ≮ d(a parent ) for all valid constructions of the host, we have proved Theorem 1.
This result can be extended to all hybrid patterns as they are each derived from the switch pattern and in all cases require that the cherry whose parent has the maximum depth is the next selected. Enforcing this restriction, however, results in an approach that potentially over-counts the number of loss events. In the next section we introduce an O(n) post processing algorithm that aims to counterbalance this result by minimising the number of loss events in the final reconstruction.
Increasing accuracy further
While the TreeCollapse algorithm guarantees that all histories reported are time-consistent, it does not give such a guarantee that reported solutions have a minimum cost, as no algorithm to date has been able to achieve this in sub O(n3) time.
To further minimise the cost of the resultant solution, we propose a postprocessing algorithm called Right Push which follows after the TreeCollapse algorithm. This post-processing step aims to find the optimum switch placement for a cophylogeny mapping for a specific event order where the node ordering is also fixed. This is achieved by minimising the number of loss events without introducing time-inconsistencies. The aim of this post-processing step is to reduce the number of overcounted loss events which result from ensuring that time-inconsistent switch events do not arise during the pattern detection and collapse phase.
Right Push is a greedy algorithm which runs bottom up through the cophylogeny mapping (Φ(P)), shifting the host switch take-off and landing edges to the optimum position. The algorithm was named Right Push as traditionally host trees are drawn with their root on the left and their leaves on the right, as seen in Figure 1, and therefore this algorithm aims to pull host switch events towards the leaves, that is, towards the "Right". A case where Right Push minimises the number of loss events can be seen in Figure 6. This algorithm selects the optimal take-off and landing edges, while ensuring the resultant solution is time-consistent by maintaining the the properties set out in Definition 2.
Definition 2 Suppose p ∈ Φ(P) has children p left and p right , with Φ(p left ) = s and Φ(p right ) = t. Then the optimal host switch location is a pair of edges e i and e j ∈ E(H) where the total number of loss events between (e i , s) and between (e j , t) is minimal, and where e i and e j lie in the same time interval.
This definition, based on prior work by Drinkwater and Charleston , allows for the optimal take-off and landing edge for the host switch event to be recovered using the level ancestor problem . Consider the children s and t where d(s) < d(t). Under this definition, we use d(s) as the search candidate using the level ancestor query function to find both e i and e j , which allows for the optimal host switch event to be recovered in O(1) .
The Right Push algorithm is therefore designed to iterate through a cophylogeny mapping (Φ(P)) consisting of O(n) parasite nodes. For each parasite node mapped into the host corresponding to a host switch event, the take-off and landing sites are evaluated using the Level Ancestor Problem to identify if a lower cost switch location exists. This evaluation check along with the host switch repositioning both run in constant time .
By shifting the host switch to the optimal position within the current cophylogeny mapping the Right Push algorithm minimises the number of loss events while maintaining the order of the current set of codivergence, duplication and host switch events, which in turn ensures that the current mapping remains time-consistent. Analysis of Right Push's impact on the accuracy of the TreeCollapse framework is discussed in detail as part of the Results.
Complexity analysis of TreeCollapse
The previous sections describe two algorithms which have been applied together to provide a novel greedy algorithm to solve the cophylogeny reconstruction problem. In this section we prove that the running time complexity of both these algorithms is in fact O(n). To assist with the complexity analysis, we define the number of nodes in the host tree to be O(m) and the number of nodes in the parasite tree to be O(k), with the total number of nodes in both trees being O(n), which is consistent with existing complexity analyses in this field [14, 15, 31–34].
To compute the complexity of TreeCollapse's local pattern detection algorithm, we will break the process into three stages: firstly, setting and storing the order of cherries to process, secondly, processing each cherry, and finally, the iteration over all current and future cherries in the host tree.
The first step in the TreeCollapse algorithm requires the generation of a list of current and future cherries in the host tree, which are sorted in descending order based on their distance from the root. Generally sorting such an unordered list requires a running time of O(m log m). In this case, however, we can use certain properties of the fixed node orderings to show the following:
Lemma 1 A list of current and future cherries in the order they will be processed can be constructed in O(m), where the number of nodes in the host tree is O(m).
Proof The input to this algorithm is a host tree where each of the internal nodes have a set of unique indices (0,. . ., m − 2). Therefore, this step reduces to creating a list of current and future cherries. Our first step is to recursively set the distance to the root for each node which is well established to take O(m). Using this result we can then construct an ordered list using a bucket sort where the number of buckets required is bounded by the number of unique depths in the host tree, O(m). Therefore, as the number of the buckets is bounded by O(m) the running time of the bucket sort also runs in O(m) .
The second stage requires the uncovering of all patterns for each cherry C i , of which there are up to O(k), as there is a pattern for each node in the parasite tree. We consider two possible approaches to process these patterns. The first, a brute force approach, is to uncover all possible patterns for each event processed. This method requires O(k2) time to process all the events for the cherry C i . An alternative approach is that for each cherry C i , all patterns recovered are stored as a list of patterns to be processed. If C i is collapsed before this list of patterns is processed then this list is allocated to its parent for subsequent processing. This approach, unlike the previous brute force method, requires that each pattern only be uncovered once for each node, and that the list of O(k) patterns is sequentially processed. If the second approach is applied we can prove the following:
Lemma 2 The number of patterns formed at each node in the host tree is
Proof By only recovering each pattern once the running time to detect all possible patterns for each node is reduced to O(k) to process each cherry C i . This running time can in fact be reduced further to as the average running time for each internal node. This can be verified by considering the number of nodes in the parasite tree. Each pattern formed by a parasite tree cherry requires at least three nodes. Of these three nodes only one of these will be reused once the cherry is collapsed. As each cherry can only apply one pattern, then the total number of patterns which can be formed by the parasite tree is O(k). Therefore, the average number of patterns formed for each internal node on average is , even if it is possible for a single cherry in the host tree to have up to O(k) patterns.
Lemma 1 and Lemma 2 give rise to the following result:
Lemma 3 The running time of the TreeCollapse Algorithm is O(k + m)
Lemma 2 establishes the running time required to process each cherry C i in the host tree. From Lemma 2 the time required to construct a cophylogeny mapping of the initial problem instance can be derived as , where k is the running time required to map the parasite tree into the host tree and m is the time taken to collapse any sections of the host that do not share a common coevolutionary history with the parasite tree.
The running time of TreeCollapse is also dependent on the running time of any post processing algorithms. As a result the running time of Right Push is required to establish the overall computational complexity of the TreeCollapse algorithm. We claim that the running time of Right Push is as follows:
Lemma 4 The running time of the Right Push algorithm is O(k + m).
Proof The Right Push algorithm is designed to iterate over the cophylogeny mapping (Φ(P)). This requires iterating over a list of size O(k). At each step the mapping instance is evaluated using the query function of the level ancestor problem. The result of this query is used to update the mapping, minimising the number of loss events in the current reconstruction ordering. The running time of a query made to the level ancestor problem is known to run in O(1), when pre-processing has been applied to the query tree ; in this context, the host tree and updating the new location is an O(1) assignment operation.
Therefore, the Right Push algorithm runs in O(pre-processing) + O(k). The preprocessing step for Right Push is the complexity of the pre-processing step of the level ancestor problem. This has previously been shown to be bounded by the size of the query tree , which in this context is the size of the host tree O(m).
Therefore, based on Lemma 3 and 4 the running time of both TreeCollapse and Right Push is bounded by O(k + m). As n = k + m we immediately get:
Theorem 2 The running time of the TreeCollapse's Local Pattern Detection framework and the post-processing algorithm Right Push is bounded by O(n).
Corollary 1 Therefore, as the space complexity of any algorithm is bounded by its time complexity, the space complexity of TreeCollapse's Local Pattern Detection framework and the post-processing algorithm Right Push is also bounded by O(n).
Applying an approximation algorithm
TreeCollapse and Right Push are algorithms designed to solve the special case of the cophylogeny reconstruction problem where the internal node order in the host tree is fixed. Therefore, TreeCollapse, similar to previous algorithms leveraging this technique, is embedded in a metaheuristic framework as a means to recover the minimum cost reconstruction.
We apply a genetic algorithm to iterate over the exponential number of node orderings. This approach was selected over other metaheuristics, such as particle swarm optimisation  or ant colony optimisation , due to genetic algorithms' proven success for this particular problem .
The chromosomes of the genetic algorithm represent each internal node within the host tree, with the exception of the root which always has a depth of 0 (the distance to itself). The depth range [i, j] allocated for each internal node is bounded by the number of ancestor nodes between the current node and the root (i), and the total number of internal nodes minus the number of descendants between the current node and its leaves (j). Therefore, i and j are constant values for all instances processed by the genetic algorithm.
Following the allocation of depths for these chromosomes, an O(n) validation step defined by Conow et al. , is run to ensure that the numerical ordering does not violate the topological ordering. This ensures that all internal nodes are assigned unique node depths between 0 and (n − 2), and that all leaves are assigned a timing of (n − 1).
The genetic algorithm's fitness function promotes minimum cost reconstructions based on the Jungle event cost scheme . Under this cost scheme codivergence events are assigned a cost of 0, while duplication and loss events are assigned a cost of 1, and host switch events are assigned a cost of 2, representing that a host switch is made up of a duplication followed by a switch. This fitness function was selected as it best represents the default cost functions of existing tools such as CoRe-PA , Jane , and Improved Node Mapping . We note, however, that any cost scheme may be used.
Results and discussion
We evaluate the TreeCollapse algorithm in three stages. The first stage evaluates the improvements offered by the newly proposed hybrid patterns compared to the four base patterns derived from Ronquist's previous work along with the improvement in accuracy provided by the post-processing algorithm Right Push. The second stage aims to establish a baseline measurement of TreeCollapse's performance by comparing its accuracy with two polynomial approximation algorithms for this problem. In the third stage TreeCollapse is compared to well established dynamic programming algorithms for approximating the cophylogeny reconstruction problem to identify the accuracy trade off required to produce a linear time algorithm for the fixed node ordering permutation of the cophylogeny reconstruction problem. In each of these stages a combination of synthetic and real data sets are used to evaluate TreeCollapse's performance.
The synthetic data applied for this analysis was constructed under a Yule process  for a previous study using CoRe-Gen (Cophylogeny Generation Model) . Of the 1000 synthetic coevolutionary systems, 47 were removed as they included at least one tree with only a single node, which cannot be processed correctly by some of the software tools included in this analysis, e.g. Jane. As a result, the synthetic data applied in this study consisted of 953 instances.
The real data sets used for this analysis consist of 102 previously published data sets. These test cases cover the full spectrum of coevolutionary instances including pathogens and their hosts , mutualistic coevolution , plant-insect interactions , mimicry between species , plant-fungi relationships , biogeography , and host-parasite systems . Further information on each of these data sets is provided in Additional File 1 (Table S1).
This evaluation compared cophylogeny mappings based on their resultant parsimony score. This score was derived using the Jungle cost scheme , consistent with previous algorithmic evaluations in this field [27, 32, 33]. For the pattern-based methods, this required a post processing step to evaluate the total cost. For event-based methods the Jungle cost scheme was applied to the algorithm itself.
As a further evaluation step the topology of TreeCollapse's reported mappings were compared with the results of the existing algorithms to identify the similarity of the mappings produced by each method. This evaluation acts as a further benchmark to evaluate how closely the newly proposed algorithm converges on the mappings recovered by these well-established algorithms. This includes an in-depth analysis of a coevolutionary system which is of particular importance to human health, i.e. primate-malaria ; where CoRe-PA, Jane and TreeCollapse each recover a unique topological mapping.
Evaluating TreeCollapse's patterns
This research builds on Ronquist's original hypothesis, that pattern-based algorithms provide an effective approximation for the cophylogeny reconstruction problem. To evaluate each pattern's additional contribution, TreeCollapse was run where the pattern detection framework consisted of the initial four base patterns plus a single additional hybrid pattern, with the aim of identifying the benefit provided by each new pattern in isolation.
The results for this analysis over both the synthetic and real data sets can be seen in Table 1. The synthetic data highlights that all additional patterns in isolation decrease the total parsimony score and that the four hybrid patterns combined provide a significant decrease to the overall parsimony score of 7.8% on average. Of note, however, is that the individual contribution is not directly proportional to the reduction achieved when they are all applied. The results for the real data set show a similar trend with the exception of the duplication-switch pattern, which indicates a slight increase in the total parsimony score. While this increase exists, the parsimony score when all four hybrid patterns are combined is reduced 11.7% on average, even further than the results achieved over the synthetic data set.
Based on the prior result and the inconsistent results surrounding the duplication-switch pattern, a more in-depth analysis was undertaken. This led to an individual analysis of each coevolutionary instance to identify whether any benefits were provided by the duplication-switch pattern to test whether if it should be removed from the TreeCollapse framework. To achieve this result each real data set instance was evaluated in terms of their distance to the Pareto front. It was confirmed that while removing duplication-switch improves the total resultant parsimony score (particularly of outliers), the number of solutions that lie on the Pareto front was reduced from 69 out of 102 (67.6%) to 67 of 102 (65.7%). As recovering Pareto optimal solutions is key, the duplication-switch pattern was retained as a default pattern within the pattern detection framework. This result, however, highlights that further work can be undertaken in both detecting other effective patterns to apply in this framework and also that pattern classification based on the particular coevolutionary instance may provide an even more robust method.
Overall, this analysis demonstrates a significant decrease in the parsimony score recovered by TreeCollapse compared to those only using the base patterns. When the results of both the synthetic and real data sets are averaged such that each group is weighted equally, it can be seen that the four hybrid patterns provide a decrease in the parsimony score of 9.7%. This is a significant result considering this is achieved without any increase in the computational complexity of the algorithm.
Improvements provided by Right Push
To evaluate the impact of Right Push, TreeCollapse was run with and without Right Push enabled. We show that across both data sets Right Push offers an average decrease to the parsimony score of 6%, without any additional increase in the computational complexity.
When comparing the total parsimony scores for synthetic and real data sets (Table 2), it can be seen that there is a 6.6% and 5.4% decrease in the total parsimony score respectively when Right Push is enabled. This result provides strong evidence of Right Push's ability to minimise the total parsimony score. This result also demonstrates the potential that the Right Push algorithm may offer to other greedy algorithms which apply pattern-based methods to recover cophylogeny mappings. Further, while the reduction of 9.7% using patterns was achieved using all four possible events, the 6% improvement offered by Right Push is achieved by only reducing loss events.
Table 2 also provides the total improvement offered by combining both the hybrid patterns and the Right Push algorithms. Over the synthetic data set it can be seen that by applying both the hybrid patterns and Right Push a decrease in the parsimony score of 9.8% is achieved. This trend continues when evaluating the performance of both the hybrid patterns and Right Push over the real data set which show a decrease of 16.1%. As a result, by applying both the hybrid patterns and the post processing algorithm Right Push, proposed in this paper an additional 12.9% decrease in the parsimony score is gained compared to the original framework proposed by Ronquist. This result is particularly significant considering that it is achieved without any increase in the computational complexity.
Establishing a baseline
Before comparing TreeCollapse against the current methods for cophylogenetic reconstruction, we compare TreeCollapse to two polynomial time approximation algorithms which provide a baseline for TreeCollapse's performance. These algorithms include Page's Reconciled Tree Analysis and Edge Only Mapping.
Page's Reconciled Tree Analysis recovers a Pareto optimal solution which can also be found by TreeCollapse in the case where host switch patterns are ignored. Page's Reconciled Tree Analysis recovers this mapping in linear time as the order of internal nodes does not impact on the final solution as host switch events are not considered.
The second method allow for only host switch and duplication events (Edge Only Mapping) and is able to achieve a cubic running time by avoiding the computational complexity of internal node orderings. This is achieved by reconstructing a cophylogeny mapping bounded by the final timing interval (the edge set adjacent to the leaf nodes) of the host tree. A mapping bounded within this edge set can be recovered using an existing fixed node ordering algorithm such as Improved Node Mapping  where the values for codivergence and loss are set to infinity and any random selected fixed node ordering is applied. This method is of interest as a dynamic programming algorithm that allows for all four recoverable events will never reconstruct a cophylogeny mapping that is more expensive than the mapping recovered by this method, and, therefore, it provides an excellent baseline for new algorithms, particularly greedy algorithms that may not offer any accuracy guarantees.
These two methods both recover Pareto optimal solutions, which are generally considered excessively expensive when applying cost schemes that assign approximately the same cost to each event, such as the Jungle cost scheme . Although known to often report solutions with a high global cost, these algorithms do offer a strong preliminary baseline for the performance of TreeCollapse, which is designed to recover solutions which better approximate this problem using all four recoverable events.
The results for this analysis can be seen in Table 3. These results show that for both synthetic and real data sets, TreeCollapse's performance is significantly better than both algorithms as the aim here is to minimise the total parsimony cost. If we consider the distance from the best solution recovered i.e. the assumed Pareto Front then it can be seen that over the synthetic data set, TreeCollapse is 11% more expensive compared to 31% additional expense for Page's Reconciled Tree Analysis and 50% for Edge Only Mapping. This is compared to the real data set where TreeCollapse is 6% more expensive compared to 54% for Page's Reconciled Tree Analysis and 45% for Edge Only Mapping. As an average, this shows that TreeCollapse is 8% more expensive than the optimal compared to 42% and 48% for these two baseline algorithms clearly demonstrating that TreeCollapse outperforms both these baseline algorithms.
An interesting result from this analysis, that does not directly relate to this study but does offer an avenue for further research, is the contrasting results of Page's Reconciled Tree Analysis and Edge Only Mapping over the real and synthetic data sets. These results, along with the contrasting results as part of the Right Push algorithm analysis and the analysis of the duplication-switch pattern, suggest that the CoRe-Gen may not be successfully modelling existing biological coevolutionary systems, compared to the 102 real data sets used in this analysis.
Comparing against dynamic programming algorithms
Finally, we compare TreeCollapse to CoRe-PA and Jane, the cutting edge approximation algorithms for solving the cophylogeny reconstruction problem. These two methods are responsible for the majority of recent coevolutionary analyses using cophylogeny mapping [53–58].
CoRe-PA was selected as it is the most recent algorithmic implementation that ignores the relative order of the internal nodes in the host tree. Although known to produce time-inconsistent solutions in the worst case, CoRe-PA was included to evaluate its overall performance compared to TreeCollapse.
Jane was selected, as the metaheuristic framework leveraged by TreeCollapse is derived from Jane's genetic algorithm . It is, therefore, expected that the optimal node ordering arrangement will be converged upon by both algorithms at approximately the same rate, if the number of iterations and population size are consistent. Therefore, the genetic algorithms for both methods were configured to run for 100 iterations with a population size of 100; the default configuration for the current version of Jane.
Table 4 records the parsimony score for these three algorithms. These results show that CoRe-PA is able to recover the cheapest global parsimony score with Jane performing almost as well, on both the synthetic and real data sets. TreeCollapse performed the worst out of these three algorithms in both sets. This result was expected, as a quadratic time reduction in the computational complexity of Jane's algorithm must come with a minor reduction in the resultant accuracy, in this case, a reduction of 8%.
Table 4 presents CoRe-PA as the best performing algorithm. To determine whether this was due to CoRe-PA recovering time-inconsistent solutions, it was necessary to individually review each case where Jane and CoRe-PA reported a cophylogeny mapping with a different parsimony score, which included 28 cases from the synthetic data set and 6 cases from the real data set. To determine whether a time-inconsistent host switch event existed, each mapping was analysed using the CoRe-PA reconstruction viewer. In all cases, a time-inconsistency was the cause for CoRe-PA recovering a reconstruction with a parsimony score less than the mapping recovered by Jane.
As a result, CoRe-PA generated time-inconsistent solutions in 2.9% of cases over the synthetic data and 5.9% of cases over the real data set. This demonstrates that CoRe-PA is often reasonably accurate at estimating cophylogeny reconstructions especially considering that it runs in polynomial time, though the result also indicates that the resultant mapping may be time-inconsistent.
Although Jane outperforms TreeCollapse, a further analysis was run to explore how often TreeCollapse was able to find a solution close to that recovered by Jane. The result of this analysis is presented in Table 5, where the number of instances where the parsimony score is equal to Jane is computed, along with the number of cases where the solution is within 1, 2, 3, or 4 or more away from Jane's reported solution.
These results demonstrate that while the total parsimony score is 8% (on average) away from the total reported by Jane, TreeCollapse is able to converge on Pareto optimal solutions in 65% of cases (68% for real data), and that 83% of solutions (84% for real data) are within a score of 2 from the Pareto front. This is a significant result as it demonstrates TreeCollapse's ability, with a high frequency, to recover solutions which are approximately equal to those recovered by Jane.
It is important to note, however, that while TreeCollapse and Jane may recover mappings with an equivalent cost in 65% of cases, that the actual configuration of the mapping may not always be identical. In a number of examples, TreeCollapse and Jane reported unique mappings, which are both Pareto optimal. An example of such a case is the primate-malaria coevolutionary system (See Figure 7), which we will consider in further detail.
The mappings recovered for the primate-malaria tanglegram for TreeCollapse, Jane and CoRe-PA can be seen in Figures 8, 9 and 10. The respective parsimony scores for each of these mappings were 24 for both TreeCollapse and Jane and 23 for CoRe-PA. Figure 10 highlights that CoRe-PA's reduced parsimony score compared to Jane and TreeCollapse is due to the time-inconsistent switch (coloured in red), which gives rise to three additional codivergence events. Jane and TreeCollpase, however, both reported solutions which are time-consistent but portray contrasting views of the origin of the parasite divergence within the host phylogeny, with TreeCollapse suggesting a longer evolutionary history between primates and malaria. This mapping further indicates a higher number of codivergence events, resulting in a more congruent reconstruction.
The unique mapping recovered for this coevolutionary system by TreeCollapse demonstrates its value as a complementary mapping algorithm for coevolutionary analyses. In this instance, by using both TreeCollapse and Jane, a larger sub-set of the Pareto front could be recovered, compared to what was achieved by using either method alone. This result affirms the value of TreeCollapse, not only as a faster way in which to approximate the cophylogeny reconstruction problem compared to approaches such as Jane, but may potentially provide further insight into coevolutionary instances.
By building on the work of Ronquist, Libeskind-Hadas and Charleston, and Conow et al, this work presents a novel greedy algorithm for solving the cophylogeny reconstruction problem where the internal node ordering is fixed, in linear time. The reported solutions, while on average 8% more expensive than those reported by Jane, are produced by an algorithm with a quadratic running time reduction. The reported results, while produced by a linear time algorithm guarantee, all reported solutions are biologically feasible, as opposed to existing quadratic time algorithms such as CoRe-PA. Further, while Jane may recover cheaper mappings than TreeCollapse in some cases, the newly proposed framework is able to uncover optimal solutions from the Pareto front that are not reported by Jane. We therefore assert that TreeCollapse is an algorithm that complements the set of existing tools for cevolutionary analysis. Finally, we have set a baseline for algorithms which solve the fixed node ordering problem in linear time, of 67.6% accuracy over 102 biological data sets. This baseline affirms Ronquist's earlier hypothesis that pattern based reconstruction frameworks offer the potential to recover accurate approximations for host-parasite systems. Furthermore, this suggests that further work in this field using pattern based methodologies, may result in even more efficient linear time algorithms for solving cophylogeny reconstruction problem, where the internal node ordering is fixed.
Availability and requirements
TreeCollapse, along with the real data set supplementary material, is available at http://sydney.edu.au/engineering/it/~mcharles/. TreeCollapse runs on any machine running Java 1.6 or higher.
Anderson R, May R: Coevolution of hosts and parasites. Parasitology. 1982, 85 (02): 411-426. 10.1017/S0031182000055360.
Hafner MS, Nadler SA: Phylogenetic trees support the coevolution of parasites and their hosts. Nature. 1988
Sorenson MD, Balakrishnan CN, Payne RB: Clade-limited colonization in brood parasitic finches (vidua spp.). Systematic Biology. 2004, 53 (1): 140-153. 10.1080/10635150490265021.
Ronquist F: Phylogenetic approaches in coevolution and biogeography. Zoologica scripta. 1997, 26 (4): 313-322. 10.1111/j.1463-6409.1997.tb00421.x.
Bennett GM, O'Grady PM: Host-plants shape insect diversity: Phylogeny, origin, and species diversity of native hawaiian leafhoppers (Cicadellidae: Nesophrosyne). Molecular Biology and Evolution. 2012, 65 (2): 705-717.
Mu J, Joy DA, Duan J, Huang Y, Carlton J, Walker J, Barnwell J, Beerli P, Charleston M, Pybus O: Host switch leads to emergence of plasmodium vivax malaria in humans. Molecular biology and evolution. 2005, 22 (8): 1686-1693. 10.1093/molbev/msi160.
Brodie ED, Ridenhour B, Brodie E: The evolutionary response of predators to dangerous prey: hotspots and coldspots in the geographic mosaic of coevolution between garter snakes and newts. Evolution. 2002, 56 (10): 2067-2082. 10.1111/j.0014-3820.2002.tb00132.x.
Charleston M, Jungles : A new solution to the Host/Parasite Phylogeny Reconciliation Problem. Mathematical Biosciences. 1998, 149 (2): 191-223. 10.1016/S0025-5564(97)10012-8.
Charleston M, Galvani A: A cophylogenetic perspective on host-pathogen evolution. DIMACS Series in Discrete Mathematics and Theoretical Computer Science. 2006, 71: 145-
Charleston MA: Recent results in cophylogeny mapping. Advances in Parasitology. 330, 54: 303-330.
Nöllenburg M, Völker M, Wolff A, Holten D: Drawing binary tanglegrams: An experimental evaluation. ALENEX. 2009, 106-119. SIAM
Charleston MA: Principles of cophylogenetic maps. Biological Evolution and Statistical Physics. 2002, Springer, New York City, 122-147.
Paterson AM, Palma RL, Gray RD: Drowning on arrival, missing the boat, and x-events: How likely are sorting events. Tangled Trees: Phylogeny, Cospeciation, and Coevolution. 2002, 287-309.
Libeskind-Hadas R, Charleston MA: On the computational complexity of the reticulate cophylogeny reconstruction problem. Journal of Computational Biology. 2009, 16 (1): 105-117. 10.1089/cmb.2008.0084.
Ovadia Y, Fielder D, Conow C, Libeskind-Hadas R: The cophylogeny reconstruction problem is np-complete. Journal of Computational Biology. 2011, 18 (1): 59-65. 10.1089/cmb.2009.0240.
Ronquist F: Parsimony analysis of coevolving species associations. Tangled Trees: Phylogeny, Cospeciation, and Coevolution. 2002, 22-64.
Page RDM: Parallel Phylogenies: Reconstructing the History of Host-Parasite Assemblages. Cladistics. 1994, 10 (2): 155-173. 10.1111/j.1096-0031.1994.tb00170.x.
Brooks DR: Hennig's parasitological method: a proposed solution. Systematic Biology. 1981, 30 (3): 229-249. 10.1093/sysbio/30.3.229.
Brooks DR: Parsimony analysis in historical biogeography and coevolution: methodological and theoretical update. Systematic Biology. 1990, 39 (1): 14-30.
Dowling AP: Testing the accuracy of TreeMap and brooks parsimony analyses of coevolutionary patterns using artificial associations. Cladistics. 2002, 18 (4): 416-435. 10.1016/S0748-3007(02)00007-5.
Althoff DM, Segraves KA, Smith CI, Leebens-Mack J, Pellmyr O: Geographic isolation trumps coevolution as a driver of yucca and yucca moth diversification. Molecular Phylogenetics and Evolution. 2012, 62 (3): 898-906. 10.1016/j.ympev.2011.11.024.
Mendlová M, Desdevises Y, Civáňová K, Pariselle A, Šimková A: Monogeneans of west african cichlid fish: evolution and cophylogenetic interactions. PLoS One. 2012, 7 (5): 37268-10.1371/journal.pone.0037268.
Dilcher M, Hasib L, Lechner M, Wieseke N, Middendorf M, Marz M, Koch A, Spiegel M, Dobler G, Hufert FT: Genetic characterization of tribeč virus and kemerovo virus, two tick-transmitted human-pathogenic orbiviruses. Virology. 2012, 423 (1): 68-76. 10.1016/j.virol.2011.11.020.
Fernández-Mendoza F, Domaschke S, García M, Jordan P, Martín MP, Printzen C: Population structure of mycobionts and photobionts of the widespread lichen cetraria aculeata. Molecular Ecology. 2011, 20 (6): 1208-1232. 10.1111/j.1365-294X.2010.04993.x.
Coulibaly-N'Golo D, Allali B, Kouassi SK, Fichet-Calvet E, Becker-Ziaja B, Rieger T, ölschläger S, Dosso H, Denys C, Ter Meulen J: Novel Arenavirus Sequences in Hylomyscus sp. and Mus (Nannomys) setulosus from Côte d'Ivoire: Implications for Evolution of Arenaviruses in Africa. PLoS One. 2011, 6 (6): 20893-10.1371/journal.pone.0020893.
Ronquist F: Reconstructing the history of host-parasite associations using generalised parsimony. Cladistics. 1995, 11 (1): 73-89. 10.1111/j.1096-0031.1995.tb00005.x.
Merkle D, Middendorf M: Reconstruction of the cophylogenetic history of related phylogenetic trees with divergence timing information. Theory in Biosciences. 2005, 123 (4): 277-299. 10.1016/j.thbio.2005.01.003.
Garey MR, Johnson DS: Computers and Intractability. 1979, Freeman, San Francisco, 174:
Merkle D, Middendorf M, Wieseke N: A parameter-adaptive dynamic programming approach for inferring cophylogenies. BMC Bioinformatics. 2010, 11 (Suppl 1): 60-10.1186/1471-2105-11-S1-S60.
Yodpinyanee A, Cousins B, Peebles J, Schramm T, Libeskind-Hadas R: Faster Dynamic Programming Algorithms for the Cophylogeny Reconstruction Problem. HMC CS Technical Report. 2011
Doyon J.-P, Ranwez V, Daubin V, Berry V: Models, algorithms and programs for phylogeny reconciliation. Briefings in Bioinformatics. 2011, 12 (5): 392-400. 10.1093/bib/bbr045.
Conow C, Fielder D, Ovadia Y, Libeskind-Hadas R: Jane: a new tool for the cophylogeny reconstruction problem. Algorithms for Molecular Biology. 2010, 5 (1): 16-10.1186/1748-7188-5-16.
Drinkwater B, Charleston MA: An Improved Node Mapping Algorithm for the Cophylogeny Reconstruction Problem. Coevolution. 2014, 2 (1): 1-17. 10.1080/23256214.2014.906070.
Doyon J.-P, Scornavacca C, Gorbunov KY, Szöllösi GJ, Ranwez V, Berry V: An efficient algorithm for gene/species trees parsimonious reconciliation with losses, duplications and transfers. Proceedings from the 14th International Conference on Research in Computational Molecular Biology (RECOMB-CG). 2011, Springer, New York City, 6398 of LNCS: 93-108.
Cruaud A, Rønsted N, Chantarasuwan B, Chou LS, Clement WL, Couloux A, Cousins B, Genson G, Harrison RD, Hanson PE: An extreme case of plant-insect codiversification: figs and fig-pollinating wasps. Systematic Biology. 2012, 61 (6): 1029-1047. 10.1093/sysbio/sys068.
Hilgenboecker K, Hammerstein P, Schlattmann P, Telschow A, Werren JH: How many species are infected with wolbachia?-a statistical analysis of current data. FEMS Microbiology Letters. 2008, 281 (2): 215-220. 10.1111/j.1574-6968.2008.01110.x.
Novotny V, Basset Y, Miller SE, Weiblen GD, Bremer B, Cizek L, Drozd P: Low host specificity of herbivorous insects in a tropical forest. Nature. 2002, 416 (6883): 841-844. 10.1038/416841a.
Ronquist F: Dispersal-vicariance analysis: a new approach to the quantification of historical biogeography. Systematic Biology. 1997, 46 (1): 195-203. 10.1093/sysbio/46.1.195.
McKenzie A, Steel M: Distributions of cherries for two models of trees. Mathematical Biosciences. 2000, 164 (1): 81-92. 10.1016/S0025-5564(99)00060-7.
Bender MA, Farach-Colton M: The level ancestor problem simplified. Theoretical Computer Science. 2004, 321 (1): 5-12. 10.1016/j.tcs.2003.05.002.
Cormen TH, Leiserson CE, Rivest RL, Stein C: Introduction to Algorithms. 2001, MIT press, Cambridge, 2:
Kennedy J, Eberhart R: Particle swarm optimization. Proceedings of IEEE International Conference on Neural Networks. 1995, Perth, Australia, 4: 1942-1948.
Dorigo M, Birattari M: Ant colony optimization. Encyclopedia of Machine Learning. 2010, Springer, New York City, 36-39.
Steel M, McKenzie A: Properties of phylogenetic trees generated by Yule-type speciation models. Mathematical Biosciences. 2001, 170 (1): 91-112. 10.1016/S0025-5564(00)00061-4.
Keller-Schmidt S, Wieseke N, Klemm K, Middendorf M: Evaluation of host parasite reconciliation methods using a new approach for cophylogeny generation. Technical report, Bioinformatics Leipzig. 2011
Jackson AP: The effect of paralogous lineages on the application of reconciliation analysis by cophylogeny mapping. Systematic Biology. 2005, 54 (1): 127-145. 10.1080/10635150590905911.
Jackson AP, Machado CA, Robbins N, Herre EA: Multi-locus phylogenetic analysis of neotropical figs does not support co-speciation with the pollinators: the importance of systematic scale in fig/wasp cophylogenetic studies. Symbiosis (Rehovot). 2008, 45 (1): 57-
McLeish M, Crespi B, Chapman T, Schwarz M: Parallel diversification of Australian gall-thrips on Acacia. Molecular Phylogenetics and Evolution. 2007, 43 (3): 714-725. 10.1016/j.ympev.2007.03.007.
Cuthill JH, Charleston M: Phylogenetic Codivergence Supports Coevolution of Mimetic Heliconius Butterflies. PloS One. 2012, 7 (5): 36464-10.1371/journal.pone.0036464.
Refrégier G, Le Gac M, Jabbour F, Widmer A, Shykoff JA, Yockteng R, Hood ME, Giraud T: Cophylogeny of the anther smut fungi and their caryophyllaceous hosts: prevalence of host shifts and importance of delimiting parasite species for inferring cospeciation. BMC Evolutionary Biology. 2008, 8 (1): 100-10.1186/1471-2148-8-100.
Badets M, Whittington I, Lalubin F, Allienne J, Maspimby J, Bentz S, Du Preez LH, Barton D, Hasegawa H, Tandon V: Correlating early evolution of parasitic platyhelminths to gondwana breakup. Systematic Biology. 2011, 60 (6): 762-781. 10.1093/sysbio/syr078.
Paterson AM, Wallis GP, Wallis LJ, Gray RD: Seabird and louse coevolution: Complex histories revealed by 12s rrna sequences and reconciliation analyses. Systematic Biology. 2000, 49 (3): 383-399. 10.1080/10635159950127303.
Susoy V, Herrmann M: Preferential host switching and codivergence shaped radiation of bark beetle symbionts, nematodes of micoletzkya (nematoda: Diplogastridae). Journal of Evolutionary Biology. 2014, 27 (5): 889-898. 10.1111/jeb.12367.
Bellec L, Clerissi C, Edern R, Foulon E, Simon N, Grimsley N, Desdevises Y: Cophylogenetic interactions between marine viruses and eukaryotic picophytoplankton. BMC Evolutionary Biology. 2014, 14 (1): 59-10.1186/1471-2148-14-59.
Toit N, Vuuren B, Matthee S, Matthee C: Biogeography and host-related factors trump parasite life history: limited congruence among the genetic structures of specific ectoparasitic lice and their rodent hosts. Molecular Ecology. 2013, 22 (20): 5185-5204. 10.1111/mec.12459.
Kvičerová J, Hypša V: Host-parasite incongruences in rodent eimeria suggest significant role of adaptation rather than cophylogeny in maintenance of host specificity. PLoS One. 2013, 8 (7): 63601-10.1371/journal.pone.0063601.
Rosenblueth M, Sayavedra L, Sámano-Sánchez H, Roth A, Martínez-Romero E: Evolutionary relationships of flavobacterial and enterobacterial endosymbionts with their scale insect hosts (hemiptera: Coccoidea). Journal of Evolutionary Biology. 2012, 25 (11): 2357-2368. 10.1111/j.1420-9101.2012.02611.x.
Forister ML, Feldman CR: Phylogenetic cascades and the origins of tropical diversity. Biotropica. 2011, 43 (3): 270-278. 10.1111/j.1744-7429.2010.00702.x.
This work was supported by an Australian Postgraduate Award to BD and an Australian Research Council Grant (grant number DP1094891) to MC.
The publication of this article was paid for by the University of Sydney.
This article has been published as part of BMC Bioinformatics Volume 15 Supplement 16, 2014: Thirteenth International Conference on Bioinformatics (InCoB2014): Bioinformatics. The full contents of the supplement are available online at http://www.biomedcentral.com/bmcbioinformatics/supplements/15/S16.
The authors declare that they have no competing interests.
BD is responsible for the creation and implementation of the TreeCollapse algorithm and framework along with contributing to this manuscript. MC is responsible for the original problem definition and contributed to this manuscript.
Electronic supplementary material
About this article
Cite this article
Drinkwater, B., Charleston, M.A. Introducing TreeCollapse: a novel greedy algorithm to solve the cophylogeny reconstruction problem. BMC Bioinformatics 15, S14 (2014). https://doi.org/10.1186/1471-2105-15-S16-S14
- Greedy Algorithms