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