5.2.2 Selecting part of a sequence
Within the sequence viewer, there are several ways to select part of a sequence, or select a subset of sequences from a list, alignment or assembly:
- Mouse dragging: Click and hold down the left mouse button at the start position, and drag to the end position. By using the Ctrl (Windows/Linux) or command (Mac) keys it is possible to select multiple regions of a sequence or alignment, as described in the keyboard shortcuts below.
- Select from annotations: When annotations are available, click on any annotation to select the annotated residues. As with mouse dragging, multiple selections are supported.
- Click on sequence name: This will select the whole sequence.
- Select all: Use the keyboard shortcut Ctrl+A (
+A on Mac) to select everything in the panel.
Keyboard shortcuts for selection of sequences:
- To quickly select a single residue, double-click on it.
- To select a block of residues within a single sequence, triple click.
- To select a block of residues across multiple sequences, quadruple click.
- To select a block of 10 residues, hold down Shift and Cntrl (alt/option on a Mac) and press the keyboard arrow.
- To select a specific region of sequence, click at beginning of the region you want to select, hold down Shift and then click the end.
- To modify the right-hand end of a selection, hold down Shift/alt (command on a Mac) and use the right/left arrows to select more or fewer bases. Holding down Shift and Cntrl (alt/option on a Mac) modifies the selection by 10 bases at a time.
- To select the same region across multiple sequences in an alignment, select the region you want in the first sequence, then hold down Shift / alt (command on a mac) and click the down arrow to apply the selection to the sequences underneath. Holding down Shift /Cntrl (alt/option on a mac) while pressing the down arrow will select the sequences in batches of 10.
Go to position
To jump to a particular base in a sequence you can use
Go to base under the Edit menu (for amino acid sequences, this appears as Go to Residue). This allows for the instant navigation to a particular nucleotide or amino acid coordinate for any sequence in the current document selection. It also allows the selection of a particular region of sequence, either for individual sequences or across sequence lists and alignments, or the selection of particular sequences out of a sequence list. Formatting examples are given in the setup dialog. Go to Position also appears next to the sequence viewer when in genome view (see section 5.2.4
)