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