Assessment 
Biopsychology 
Comparative 
Cognitive 
Developmental 
Language 
Individual differences 
Personality 
Philosophy 
Social 
Methods 
Statistics 
Clinical 
Educational 
Industrial 
Professional items 
World psychology 
Biological: Behavioural genetics · Evolutionary psychology · Neuroanatomy · Neurochemistry · Neuroendocrinology · Neuroscience · Psychoneuroimmunology · Physiological Psychology · Psychopharmacology (Index, Outline)
Computational phylogenetics is the application of computational algorithms, methods and programs to phylogenetic analyses. The goal is to assemble a phylogenetic tree representing a hypothesis about the evolutionary ancestry of a set of genes, species, or other taxa. For example, these techniques have been used to explore the family tree of hominid species^{[1]} and the relationships between specific genes shared by many types of organisms.^{[2]} Traditional phylogenetics relies on morphological data obtained by measuring and quantifying the phenotypic properties of representative organisms, while the more recent field of molecular phylogenetics uses nucleotide sequences encoding genes or amino acid sequences encoding proteins as the basis for classification. Many forms of molecular phylogenetics are closely related to and make extensive use of sequence alignment in constructing and refining phylogenetic trees, which are used to classify the evolutionary relationships between homologous genes represented in the genomes of divergent species. The phylogenetic trees constructed by computational methods are unlikely to perfectly reproduce the evolutionary tree that represents the historical relationships between the species being analyzed. The historical species tree may also differ from the historical tree of an individual homologous gene shared by those species.
Producing a phylogenetic tree requires a measure of homology among the characteristics shared by the taxa being compared. In morphological studies, this requires explicit decisions about which physical characteristics to measure and how to use them to encode distinct states corresponding to the input taxa. In molecular studies, a primary problem is in producing a multiple sequence alignment (MSA) between the genes or amino acid sequences of interest. Progressive sequence alignment methods produce a phylogenetic tree by necessity because they incorporate new sequences into the calculated alignment in order of genetic distance.
Types of phylogenetic treesEdit
Phylogenetic trees generated by computational phylogenetics can be either rooted or unrooted depending on the input data and the algorithm used. A rooted tree is a directed graph that explicitly identifies a most recent common ancestor (MRCA), usually an imputed sequence that is not represented in the input. Genetic distance measures can be used to plot a tree with the input sequences as leaf nodes and their distances from the root proportional to their genetic distance from the hypothesized MRCA. Identification of a root usually requires the inclusion in the input data of at least one "outgroup" known to be only distantly related to the sequences of interest.
By contrast, unrooted trees plot the distances and relationships between input sequences without making assumptions regarding their descent. An unrooted tree can always be produced from a rooted tree, but a root cannot usually be placed on an unrooted tree without additional data on divergence rates, such as the assumption of the molecular clock hypothesis.^{[3]}
The set of all possible phylogenetic trees for a given group of input sequences can be conceptualized as a discretely defined multidimensional "tree space" through which search paths can be traced by optimization algorithms. Although counting the total number of trees for a nontrivial number of input sequences can be complicated by variations in the definition of a tree topology, it is always true that there are more rooted than unrooted trees for a given number of inputs and choice of parameters.^{[4]}
Coding characters and defining homologyEdit
Morphological analysisEdit
The basic problem in morphological phylogenetics is the assembly of a matrix representing a mapping from each of the taxa being compared to representative measurements for each of the phenotypic characteristics being used as a classifier. The types of phenotypic data used to construct this matrix depend on the taxa being compared; for individual species, they may involve measurements of average body size, lengths or sizes of particular bones or other physical features, or even behavioral manifestations. Of course, since not every possible phenotypic characteristic could be measured and encoded for analysis, the selection of which features to measure is a major inherent obstacle to the method. The decision of which traits to use as a basis for the matrix necessarily represents a hypothesis about which traits of a species or higher taxon are evolutionarily relevant.^{[5]} Morphological studies can be confounded by examples of convergent evolution of phenotypes.^{[6]} A major challenge in constructing useful classes is the high likelihood of intertaxon overlap in the distribution of the phenotype's variation. The inclusion of extinct taxa in morphological analysis is often difficult due to absence of or incomplete fossil records, but has been shown to have a significant effect on the trees produced; in one study only the inclusion of extinct species of apes produced a morphologically derived tree that was consistent with that produced from molecular data.^{[1]}
Some phenotypic classifications, particularly those used when analyzing very diverse groups of taxa, are discrete and unambiguous; classifying organisms as possessing or lacking a tail, for example, is straightforward in the majority of cases, as is counting features such as eyes or vertebrae. However, the most appropriate representation of continuously varying phenotypic measurements is a controversial problem without a general solution. A common method is simply to sort the measurements of interest into two or more classes, rendering continuous observed variation as discretely classifiable (e.g., all examples with humerus bones longer than a given cutoff are scored as members of one state, and all members whose humerus bones are shorter than the cutoff are scored as members of a second state). This results in an easily manipulated data set but has been criticized for poor reporting of the basis for the class definitions and for sacrificing information compared to methods that use a continuous weighted distribution of measurements.^{[7]}
Because morphological data is extremely laborintensive to collect, whether from literature sources or from field observations, reuse of previously compiled data matrices is not uncommon, although this may propagate flaws in the original matrix into multiple derivative analyses.^{[8]}
Molecular analysisEdit
The problem of character coding is very different in molecular analyses, as the characters in biological sequence data are immediate and discretely defined  distinct nucleotides in DNA or RNA sequences and distinct amino acids in protein sequences. However, defining homology can be challenging due to the inherent difficulties of multiple sequence alignment. For a given gapped MSA, several rooted phylogenetic trees can be constructed that vary in their interpretations of which changes are "mutations" versus ancestral characters, and which events are insertion mutations or deletion mutations. For example, given only a pairwise alignment with a gap region, it is impossible to determine whether one sequence bears an insertion mutation or the other carries a deletion. The problem is magnified in MSAs with unaligned and nonoverlapping gaps. In practice, sizable regions of a calculated alignment may be discounted in phylogenetic tree construction to avoid integrating noisy data into the tree calculation.
Distancematrix methodsEdit
 Main Article: Distance matrices in phylogeny
Distancematrix methods of phylogenetic analysis explicitly rely on a measure of "genetic distance" between the sequences being classified, and therefore they require an MSA as an input. Distance is often defined as the fraction of mismatches at aligned positions, with gaps either ignored or counted as mismatches.^{[3]} Distance methods attempt to construct an alltoall matrix from the sequence query set describing the distance between each sequence pair. From this is constructed a phylogenetic tree that places closely related sequences under the same interior node and whose branch lengths closely reproduce the observed distances between sequences. Distancematrix methods may produce either rooted or unrooted trees, depending on the algorithm used to calculate them. They are frequently used as the basis for progressive and iterative types of multiple sequence alignments. The main disadvantage of distancematrix methods is their inability to efficiently use information about local highvariation regions that appear across multiple subtrees.^{[4]}
NeighborjoiningEdit
Neighborjoining methods apply general data clustering techniques to sequence analysis using genetic distance as a clustering metric. The simple neighborjoining method produces unrooted trees, but it does not assume a constant rate of evolution (i.e., a molecular clock) across lineages. Its relative, UPGMA (Unweighted Pair Group Method with Arithmetic mean) produces rooted trees and requires a constantrate assumption  that is, it assumes an ultrametric tree in which the distances from the root to every branch tip are equal.
FitchMargoliash methodEdit
The FitchMargoliash method uses a weighted least squares method for clustering based on genetic distance.^{[9]} Closely related sequences are given more weight in the tree construction process to correct for the increased inaccuracy in measuring distances between distantly related sequences. The distances used as input to the algorithm must be normalized to prevent large artifacts in computing relationships between closely related and distantly related groups. The distances calculated by this method must be linear; the linearity criterion for distances requires that the expected values of the branch lengths for two individual branches must equal the expected value of the sum of the two branch distances  a property that applies to biological sequences only when they have been corrected for the possibility of back mutations at individual sites. This correction is done through the use of a substitution matrix such as that derived from the JukesCantor model of DNA evolution. The distance correction is only necessary in practice when the evolution rates differ among branches.^{[4]} Another modification of the algorithm can be helpful, especially in case of concentrated distances (please report to Concentration of measure phenomenon and Curse of dimensionality): that modification, described in^{[10]}, has been shown to improve the efficiency of the algorithm and its robustness.
The leastsquares criterion applied to these distances is more accurate but less efficient than the neighborjoining methods. An additional improvement that corrects for correlations between distances that arise from many closely related sequences in the data set can also be applied at increased computational cost. Finding the optimal leastsquares tree with any correction factor is NPcomplete,^{[11]} so heuristic search methods like those used in maximumparsimony analysis are applied to the search through tree space.
Using outgroupsEdit
Independent information about the relationship between sequences or groups can be used to help reduce the tree search space and root unrooted trees. Standard usage of distancematrix methods involves the inclusion of at least one outgroup sequence known to be only distantly related to the sequences of interest in the query set.^{[3]} This usage can be seen as a type of experimental control. If the outgroup has been appropriately chosen, it will have a much greater genetic distance and thus a longer branch length than any other sequence, and it will appear near the root of a rooted tree. Choosing an appropriate outgroup requires the selection of a sequence that is moderately related to the sequences of interest; too close a relationship defeats the purpose of the outgroup and too distant adds noise to the analysis.^{[3]} Care should also be taken to avoid situations in which the species from which the sequences were taken are distantly related, but the gene encoded by the sequences is highly conserved across lineages. Horizontal gene transfer, especially between otherwise divergent bacteria, can also confound outgroup usage.
Maximum parsimonyEdit
Maximum parsimony (MP) is a method of identifying the potential phylogenetic tree that requires the smallest total number of evolutionary events to explain the observed sequence data. Some ways of scoring trees also include a "cost" associated with particular types of evolutionary events and attempt to locate the tree with the smallest total cost. This is a useful approach in cases where not every possible type of event is equally likely  for example, when particular nucleotides or amino acids are known to be more mutable than others.
The most naive way of identifying the most parsimonious tree is simple enumeration  considering each possible tree in succession and searching for the tree with the smallest score. However, this is only possible for a relatively small number of sequences or species because the problem of identifying the most parsimonious tree is known to be NPhard;^{[4]} consequently a number of heuristic search methods for optimization have been developed to locate a highly parsimonious tree, if not the best in the set. Most such methods involve a steepest descentstyle minimization mechanism operating on a tree rearrangement criterion.
Branch and boundEdit
The branch and bound algorithm is a general method used to increase the efficiency of searches for nearoptimal solutions of NPhard problems first applied to phylogenetics in the early 1980s.^{[12]} Branch and bound is particularly well suited to phylogenetic tree construction because it inherently requires dividing a problem into a tree structure as it subdivides the problem space into smaller regions. As its name implies, it requires as input both a branching rule (in the case of phylogenetics, the addition of the next species or sequence to the tree) and a bound (a rule that excludes certain regions of the search space from consideration, thereby assuming that the optimal solution cannot occupy that region). Identifying a good bound is the most challenging aspect of the algorithm's application to phylogenetics. A simple way of defining the bound is a maximum number of assumed evolutionary changes allowed per tree. A set of criteria known as Zharkikh's rules^{[13]} severely limit the search space by defining characteristics shared by all candidate "most parsimonious" trees. The two most basic rules require the elimination of all but one redundant sequence (for cases where multiple observations have produced identical data) and the elimination of character sites at which two or more states do not occur in at least two species. Under ideal conditions these rules and their associated algorithm would completely define a tree.
SankoffMorelCedergren algorithmEdit
The SankoffMorelCedergren algorithm was among the first published methods to simultaneously produce an MSA and a phylogenetic tree for nucleotide sequences.^{[14]} The method uses a maximum parsimony calculation in conjunction with a scoring function that penalizes gaps and mismatches, thereby favoring the tree that introduces a minimal number of such events. The imputed sequences at the interior nodes of the tree are scored and summed over all the nodes in each possible tree. The lowestscoring tree sum provides both an optimal tree and an optimal MSA given the scoring function. Because the method is highly computationally intensive, an approximate method in which initial guesses for the interior alignments are refined one node at a time. Both the full and the approximate version are in practice calculated by dynamic programming.^{[4]}
MALIGN and POYEdit
More recent phylogenetic tree/MSA methods use heuristics to isolate highscoring, but not necessarily optimal, trees. The MALIGN method uses a maximumparsimony technique to compute a multiple alignment by maximizing a cladogram score, and its companion POY uses an iterative method that couples the optimization of the phylogenetic tree with improvements in the corresponding MSA.^{[15]} However, the use of these methods in constructing evolutionary hypotheses has been criticized as biased due to the deliberate construction of trees reflecting minimal evolutionary events.^{[16]}
Maximum likelihoodEdit
The maximum likelihood method uses standard statistical techniques for inferring probability distributions to assign probabilities to particular possible phylogenetic trees. The method requires a substitution model to assess the probability of particular mutations; roughly, a tree that requires more mutations at interior nodes to explain the observed phylogeny will be assessed as having a lower probability. This is broadly similar to the maximumparsimony method, but maximum likelihood allows additional statistical flexibility by permitting varying rates of evolution across both lineages and sites. In fact, the method requires that evolution at different sites and along different lineages must be statistically independent. Maximum likelihood is thus well suited to the analysis of distantly related sequences, but because it formally requires search of all possible combinations of tree topology and branch length, it is computationally expensive to perform on more than a few sequences.
The "pruning" algorithm, a variant of dynamic programming, is often used to reduce the search space by efficiently calculating the likelihood of subtrees.^{[4]} The method calculates the likelihood for each site in a "linear" manner, starting at a node whose only descendants are leaves (that is, the tips of the tree) and working backwards toward the "bottom" node in nested sets. However, the trees produced by the method are only rooted if the substitution model is irreversible, which is not generally true of biological systems. The search for the maximumlikelihood tree also includes a branch length optimization component that is difficult to improve upon algorithmically; general global optimization tools such as the NewtonRaphson method are often used. Searching tree topologies defined by likelihood has not been shown to be NPcomplete,^{[4]} but remains extremely challenging because branchandbound search is not yet effective for trees represented in this way.
Bayesian inferenceEdit
Bayesian inference can be used to produce phylogenetic trees in a manner closely related to the maximum likelihood methods. Bayesian methods assume a prior probability distribution of the possible trees, which may simply be the probability of any one tree among all the possible trees that could be generated from the data, or may be a more sophisticated estimate derived from the assumption that divergence events such as speciation occur as stochastic processes. The choice of prior distribution is a point of contention among users of Bayesianinference phylogenetics methods.^{[4]}
Implementations of Bayesian methods generally use Markov chain Monte Carlo sampling algorithms, although the choice of move set varies; selections used in Bayesian phylogenetics include circularly permuting leaf nodes of a proposed tree at each step^{[17]} and swapping descendant subtrees of a random internal node between two related trees.^{[18]} The use of Bayesian methods in phylogenetics has been controversial, largely due to incomplete specification of the choice of move set, acceptance criterion, and prior distribution in published work.^{[4]}
Model selectionEdit
Molecular phylogenetics methods rely on a defined substitution model that encodes a hypothesis about the relative rates of mutation at various sites along the gene or amino acid sequences being studied. At their simplest, substitution models aim to correct for differences in the rates of transitions and transversions in nucleotide sequences. The use of substitution models is necessitated by the fact that the genetic distance between two sequences increases linearly only for a short time after the two sequences diverge from each other (alternatively, the distance is linear only shortly before coalescence). The longer the amount of time after divergence, the more likely it becomes that two mutations occur at the same nucleotide site. Simple genetic distance calculations will thus undercount the number of mutation events that have occurred in evolutionary history. The extent of this undercount increases with increasing time since divergence, which can lead to the phenomenon of long branch attraction, or the misassignment of two distantly related but convergently evolving sequences as closely related.^{[19]} The maximum parsimony method is particularly susceptible to this problem due to its explicit search for a tree representing a minimum number of distinct evolutionary events.^{[4]}
Types of modelsEdit
 Main article: Substitution model
All substitution models assign a set of weights to each possible change of state represented in the sequence. The most common model types are implicitly reversible because they assign the same weight to, for example, a G>C nucleotide mutation as to a C>G mutation. The simplest possible model, the JukesCantor model, assigns an equal probability to every possible change of state for a given nucleotide base. The rate of change between any two distinct nucleotides will be onethird of the overall substitution rate.^{[4]} More advanced models distinguish between transitions and transversions. The most general possible timereversible model, called the GTR model, has six mutation rate parameters. An even more generalized model known as the general 12parameter model breaks timereversibility, at the cost of much additional complexity in calculating genetic distances that are consistent among multiple lineages.^{[4]} One possible variation on this theme adjusts the rates so that overall GC content  an important measure of DNA double helix stability  varies over time.^{[20]}
Models may also allow for the variation of rates with positions in the input sequence. The most obvious example of such variation follows from the arrangement of nucleotides in proteincoding genes into threebase codons. If the location of the open reading frame (ORF) is known, rates of mutation can be adjusted for position of a given site within a codon, since it is known that wobble base pairing can allow for higher mutation rates in the third nucleotide of a given codon without affecting the codon's meaning in the genetic code.^{[19]} A less hypothesisdriven example that does not rely on ORF identification simply assigns to each site a rate randomly drawn from a predetermined distribution, often the gamma distribution or lognormal distribution.^{[4]} Finally, a more conservative estimate of rate variations known as the covarion method allows autocorrelated variations in rates, so that the mutation rate of a given site is correlated across sites and lineages.^{[21]}
Choosing the best modelEdit
The selection of an appropriate model is critical for the production of good phylogenetic analyses, both because underparameterized or overly restrictive models may produce aberrant behavior when their underlying assumptions are violated, and because overly complex or overparameterized models are computationally expensive and the parameters may be overfit.^{[19]} The most common method of model selection is the likelihood ratio test (LRT), which produces a likelihood estimate that can be interpreted as a measure of "goodness of fit" between the model and the input data.^{[19]} However, care must be taken in using these results, since a more complex model with more parameters will always have a higher likelihood than a simplified version of the same model, which can lead to the naive selection of models that are overly complex.^{[4]} For this reason model selection computer programs will choose the simplest model that is not significantly worse than more complex substitution models. A significant disadvantage of the LRT is the necessity of making a series of pairwise comparisons between models; it has been shown that the order in which the models are compared has a major effect on the one that is eventually selected.^{[22]}
An alternative model selection method is the Akaike information criterion (AIC), formally an estimate of the KullbackLeibler divergence between the true model and the model being tested. It can be interpreted as a likelihood estimate with a correction factor to penalize overparameterized models.^{[19]} The AIC is calculated on an individual model rather than a pair, so it is independent of the order in which models are assessed. A related alternative, the Bayesian information criterion (BIC), has a similar basic interpretation but penalizes complex models more heavily.^{[19]}
See alsoEdit
 List of phylogenetics software
 Cladistics
 PHYLIP
 Phylogenetic comparative methods
 Phylogenetic tree
 Phylogenetics
 Systematics
 Microbial phylogenetics
 Evolutionary dynamics
ReferencesEdit
 ↑ ^{1.0} ^{1.1} Strait DS, Grine FE. (2004). Inferring hominoid and early hominid phylogeny using craniodental characters: the role of fossil taxa. J Hum Evol 47(6):399452.
 ↑ Hodge T, Cope MJ. (2000). A myosin family tree. J Cell Sci 113: 33533354.
 ↑ ^{3.0} ^{3.1} ^{3.2} ^{3.3} Mount DM. (2004). Bioinformatics: Sequence and Genome Analysis 2nd ed. Cold Spring Harbor Laboratory Press: Cold Spring Harbor, NY.
 ↑ ^{4.00} ^{4.01} ^{4.02} ^{4.03} ^{4.04} ^{4.05} ^{4.06} ^{4.07} ^{4.08} ^{4.09} ^{4.10} ^{4.11} ^{4.12} ^{4.13} Felsenstein J. (2004). Inferring Phylogenies Sinauer Associates: Sunderland, MA.
 ↑ Swiderski DL, Zelditch ML, Fink WL. (1998). Why morphometrics is not special: coding quantitative data for phylogenetic analysis. 47(3):50819.
 ↑ Gaubert P, Wozencraft WC, CordeiroEstrela P, Veron G. (2005). Mosaics of convergences and noise in morphological phylogenies: what's in a viverridlike carnivoran? Syst Biol 54(6):86594.
 ↑ Wiens JJ. (2001). Character analysis in morphological phylogenetics: problems and solutions. Syst Biol 50(5):68999.
 ↑ Jenner RA. (2001). Bilaterian phylogeny and uncritical recycling of morphological data sets. Syst Biol 50(5): 730743.
 ↑ Fitch WM, Margoliash E. (1967). Construction of phylogenetic trees. Science 155: 27984.
 ↑ Lespinats, S., Grando, D., Maréchal, E., Hakimi, M.A., Tenaillon, O., et Bastien, O. (2011) “How FitchMargoliash Algorithm can benefit from Multi Dimensional Scaling.” Evolutionary Bioinformatics 2011:7 6185
 ↑ Day, WHE. (1986). Computational complexity of inferring phylogenies from dissimilarity matrices. Bulletin of Mathematical Biology 49:4617.
 ↑ Hendy MD, Penny D. (1982). Branch and bound algorithms to determine minimal evolutionary trees. Math Biosci 60: 13342.
 ↑ Ratner VA, Zharkikh AA, Kolchanov N, Rodin S, Solovyov S, Antonov AS. (1995). Molecular Evolution Biomathematics Series Vol 24. SpringerVerlag: New York, NY.
 ↑ Sankoff D, Morel C, Cedergren RJ. (1973). Evolution of 5S RNA and the nonrandomness of base replacement. Nature New Biology 245:2324.
 ↑ Wheeler WC, Gladstein DG. (1994). MALIGN: a multiple nucleic acid sequence alignment program. J Heredity 85: 41718.
 ↑ Simmons MP. (2004). Independence of alignment and tree search. Mol Phylogenet Evol 31(3):8749.
 ↑ Mau B, Newton MA. (1997). Phylogenetic inference for binary data on dendrograms using Markov chain Monte Carlo. J Comp Graph Stat 6:12231.
 ↑ Yang Z, Rannala B. (1997). bayesian phylogenetic inference using DNA sequences: a Markov chain Monte Carlo method. Mol Biol Evol 46:40918.
 ↑ ^{19.0} ^{19.1} ^{19.2} ^{19.3} ^{19.4} ^{19.5} Sullivan, Jack (2005). Model Selection in Phylogenetics. Annual Review of Ecology Evolution and Systematics 36 (1): 445.
 ↑ Galtier N, Guoy M. (1998.) Inferring pattern and process: maximumlikelihood implementation of a nonhomogeneous model of DNA sequence evolution for phylogenetic analysis. Mol. Biol. Evol. 15:871–79.
 ↑ Fitch WM, Markowitz E. (1970). An improved method for determining codon variability in a gene and its application to the rate of fixation of mutations in evolution. Biochemical Genetics 4:579593.
 ↑ Pol D. (2004.) Empirical problems of the hierarchical likelihood ratio test for model selection. Syst Biol 53:949–62.
Further readingEdit
 Charles Semple and Mike Steel (2003), Phylogenetics, Oxford University Press, ISBN 9780198509424
 Barry A. Cipra (2007), Algebraic Geometers See Ideal Approach to Biology, SIAM News, Volume 40, Number 6
 (2007) "Section 16.4. Hierarchical Clustering by Phylogenetic Trees" Numerical Recipes: The Art of Scientific Computing, 3rd, Cambridge University Press.
Topics in phylogenetics


Relevant fields: phylogenetics  computational phylogenetics  molecular phylogeny  cladistics 
Basic concepts: synapomorphy  phylogenetic tree  phylogenetic network  long branch attraction 
Phylogeny inference methods: maximum parsimony  maximum likelihood  neighbour joining  UPGMA  Bayesian inference 
Current topics: PhyloCode  DNA barcoding 
List of evolutionary biology topics 
Basic topics in evolutionary biology  (edit) 

Processes of evolution: evidence  macroevolution  microevolution  speciation  
Mechanisms: selection  genetic drift  gene flow  mutation  phenotypic plasticity  
Modes: anagenesis  catagenesis  cladogenesis  
History: History of evolutionary thought  Charles Darwin  The Origin of Species  modern evolutionary synthesis  
Subfields: population genetics  ecological genetics  human evolution  molecular evolution  phylogenetics  systematics  evodevo  
List of evolutionary biology topics  Timeline of evolution  Timeline of human evolution 
This page uses Creative Commons Licensed content from Wikipedia (view authors). 