JAL-1432 updated copyright notices
[jalview.git] / help / html / calculations / sorting.html
1 <html>
2 <!--
3  * Jalview - A Sequence Alignment Editor and Viewer (Version 2.8.0b1)
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 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  * The Jalview Authors are detailed in the 'AUTHORS' file.
19 -->
20 <head>
21 <title>Sorting Sequences</title>
22 </head>
23 <body>
24 <p><strong>Sorting Sequences</strong></p>
25 <p>Any group of selected sequences may be reordered by pressing the
26 up or down arrow keys. The whole alignment may also be reordered by
27 the use of the functions in the Sort menu (<strong>Calculate&#8594;Sort</strong>):
28 </p>
29 <ul>
30 <li><p><strong>Sort by ID</strong></p>
31 <p>Orders the sequences by the alphanumeric (0-9A-Za-z)
32 precedence of their names.</p><p>
33 </li>
34 <li><p><strong>Sort by Group</strong></p>
35 <p>Places sequences in the same group adjacent to each other.</p><p>
36 </li>
37 <li><p><strong>Sort by Pairwise Identity</strong></p>
38 <p>Places pairs of sequences together that align with the greatest
39 fraction of conserved residues.
40 </p><p>
41 </li>
42 <li><p><strong>Sort by Tree Order</strong></p>
43 <p>The leaf ordering of a particular phylogenetic tree is used to
44 order the sequences corresponding to those leaves in the
45 alignment.<br>
46 If a tree has been calculated from or associated with the current
47 alignment, its name will appear in the submenu <strong>Sort&#8594;By Tree Order</strong>.</p><p>
48 </li>
49 <li><p><strong>Sort by alignment ordering</strong></p>
50 <p>Multiple alignment methods often order the sequences in their
51 alignments by some measure of sequence identity.<br>
52 If the current alignment has been generated by one of Jalview's
53 alignment web services, the alignment ordering can be recovered by
54 its corresponding entry in the Sort menu.
55 </p>
56 </li>
57 <li><p><strong>Sort by Score</strong></p>
58 <p>This menu appears if the alignment contains any <a href="../features/annotationsFormat.html">sequence associated
59 alignment annotation</a> with associated score values. Each entry is the
60 label for a distinct group of sequence associated annotation
61 scores which can be used for sorting.</p>
62 </ul>
63 <p><strong>Reversing the Order</strong></p>
64 <p>Selecting any item from the Sort menu will sort sequences in an
65 ascending order according to the property defining the sort. If the
66 same sort is re-applied, the sequences will be sorted in the inverse
67 order. In the case of trees and alignment orderings, Jalview will
68 remember your last choice for sorting the alignment and only apply the
69 inverse ordering if you select the same tree or alignment ordering
70 item again.</p>
71
72 </body>
73 </html>