JAL-1620 version bump and release notes
[jalview.git] / help / html / calculations / tree.html
1 <html>
2 <!--
3  * Jalview - A Sequence Alignment Editor and Viewer (Version 2.8.2b1)
4  * Copyright (C) 2014 The Jalview Authors
5  * 
6  * This file is part of Jalview.
7  * 
8  * Jalview is free software: you can redistribute it and/or
9  * modify it under the terms of the GNU General Public License 
10  * as published by the Free Software Foundation, either version 3
11  * of the License, or (at your option) any later version.
12  *  
13  * Jalview is distributed in the hope that it will be useful, but 
14  * WITHOUT ANY WARRANTY; without even the implied warranty 
15  * of MERCHANTABILITY or FITNESS FOR A PARTICULAR 
16  * PURPOSE.  See the GNU General Public License for more details.
17  * 
18  * You should have received a copy of the GNU General Public License
19  * along with Jalview.  If not, see <http://www.gnu.org/licenses/>.
20  * The Jalview Authors are detailed in the 'AUTHORS' file.
21  -->
22 <head><title>Tree Calculation</title></head>
23 <body>
24 <p><strong>Calculation of trees from alignments</strong></p>
25 <p>Trees are calculated on either the complete alignment, or just the
26 currently selected group of sequences, using the functions in the
27 <strong>Calculate&#8594;Calculate tree</strong> submenu. 
28 Once calculated, trees are displayed in a new <a 
29 href="../calculations/treeviewer.html">tree viewing window</a>. There are
30 four different calculations, using one of two distance measures and
31 constructing the tree from one of two algorithms :
32 </p>
33 <p><strong>Distance Measures</strong></p>
34 <p>Trees are calculated on the basis of a measure of similarity
35 between each pair of sequences in the alignment :
36         <ul>
37                 <li><strong>PID</strong><br>The percentage identity between
38                         the two sequences at each aligned position.
39                         <ul>
40                                 <li>PID = Number of equivalent aligned non-gap symbols * 100 /
41                                         Smallest number of non-gap positions in either of both sequences<br>
42                                 <em>This is essentially the 'number of identical bases (or
43                                                 residues) per 100 base pairs (or residues)'.</em>
44                                 </li>
45                         </ul>
46                 <li><strong>BLOSUM62, PAM250, DNA</strong><br>These options
47                         use one of the available substitution matrices to compute a sum of
48                         scores for the residue pairs at each aligned position. For details
49                         about each model, see the <a href="scorematrices.html">list of
50                                 built-in score matrices.</a></li>
51         </ul>
52         </p>
53         <p><strong>Tree Construction Methods</strong></p>
54 <p>Jalview currently supports two kinds of agglomerative clustering
55 methods. These are not intended to substitute for rigorous
56 phylogenetic tree construction, and may fail on very large alignments.
57 <ul>
58 <li><strong>UPGMA tree</strong><br>
59   UPGMA stands for Unweighted Pair-Group Method using Arithmetic
60   averages. Clusters are iteratively formed and extended by finding a
61   non-member sequence with the lowest average dissimilarity over the
62   cluster members.
63 <p></p>
64 </li>
65 <li><strong>Neighbour Joining tree</strong><br>
66   First described in 1987 by Saitou and Nei, this method applies a
67   greedy algorithm to find the tree with the shortest branch
68   lengths.<br>
69   This method, as implemented in Jalview, is considerably more
70   expensive than UPGMA.
71 </li>
72 </ul>
73 </p>
74 <p>A newly calculated tree will be displayed in a new <a
75 href="../calculations/treeviewer.html">tree viewing window</a>. In
76 addition, a new entry with the same tree viewer window name will be added in the Sort
77 menu so that the alignment can be reordered to reflect the ordering of
78 the leafs of the tree. If the tree was calculated on a selected region
79 of the alignment, then the title of the tree view will reflect this.</p>
80
81 <p><strong>External Sources for Phylogenetic Trees</strong></p>
82   <p>A number of programs exist for the reliable construction of
83   phylogenetic trees, which can cope with large numbers of sequences,
84   use better distance methods and can perform bootstrapping. Jalview
85   can read <a
86   href="http://evolution.genetics.washington.edu/phylip/newick_doc.html">Newick</a>
87   format tree files using the 'Load Associated Tree' entry of the
88   alignment's File menu. Sequences in the alignment will be
89   automatically associated to nodes in the tree, by matching Sequence
90   IDs to the tree's leaf names.
91   </p>
92
93
94 </body>
95 </html>