2 <head><title>Editing</title></head>
\r
4 <p><strong>Editing</strong></p>
\r
5 <p>There are two major ways to edit alignments - in 'Normal mode',
\r
6 gaps are inserted and deleted at the mouse pointer in various ways by
\r
7 clicking the left mouse button and pressing a combination of either
\r
8 shift and control (or the apple key on Macs) and dragging the mouse. Pressing
\r
9 <em>F2</em> toggles the alternative <a href="../features/cursorMode.html">'Cursor
\r
10 mode'</a> keyboard editing facility, where the space bar and delete
\r
11 keys add and remove gaps at the current editing position. The key
\r
12 strokes for both these modes are summarised in the <a
\r
13 href="../keys.html">keystrokes table</a>.</p>
\r
14 <p><strong>Tip:</strong> For large alignments, deselect "Calculate ->
\r
15 Autocalculate Consensus" to prevent the alignment performing lengthy calculations
\r
16 after every edit. </p>
\r
17 <p><em>Inserting / removing gaps</em> - hold down the
\r
18 "Shift" key. Click on a residue with the mouse and drag it
\r
19 to the left or right to insert gaps and remove gaps.<br>
\r
20 If the current selection is a group over all sequences in the
\r
21 alignment, or a group over some sequences or all columns in the
\r
22 alignment, then hold down either "Control"
\r
23 key and drag the residue left or right to edit all sequences in the defined
\r
25 <p><em>Copy/paste/cut/delete</em> - any sequences which are in the current selection
\r
26 box (indicated in red) may be cut and / or copied to a new alignment or deleted.
\r
28 <p><em>Undo / redo</em> - editing of sequences (insertion/removal of gaps, removal
\r
29 of sequences, trimming sequences etc) may be undone or redone at any time using
\r
30 the appropriate menu items from the edit menu. The undo history list only allows
\r
31 a maximum of 10 actions.
\r
32 <p><em>Trimming alignment</em> - First select a column by clicking the scale indicator
\r
33 (above the sequences) The alignment may then be trimmed to the left or right
\r
34 of this column. If multiple columns are selected, the alignment is trimmed to
\r
35 the right of the rightmost selected column (or to the left of the leftmost selected
\r
37 <p><em>Remove gapped columns</em> - Removes columns within the alignment which
\r
38 contain only space characters ("-" or "." or " ")</p>
\r
39 <p><em>Removing gaps</em> - Removes all gaps from the alignment. Gaps are "-"
\r
40 or "." or " ".</p>
\r
41 <p><em>Set gap character</em> - Switches the gap character between "."
\r
42 and "-". If the "Render Gaps" option from the "View"
\r
43 menu is unticked all gaps will appear as blank spaces.</p>
\r