[ Edit | Save/Print/Del | Add Comment | Trees | Color | Shade/Box | View Options | Gaps | Search | Selections | Selections | Consensus ]
The default position for the alignment editor is at the bottom of the graphical
user interface. If you have made an alignment and you cannot see the alignment
you can select Window/Alignments ( See Window Menu section of this manual ) and it will be displayed.
ICM has an easy to use editor for pairwise and multiple alignments.
ICM alignment editor is robust and always protects the integrity of your alignment by protecting you from making unintended changes in the alignment.
NOTE: To increase or decrease the size of the font in the Alignment Editor press the CTRL key and the '+' or '-' keys.
|
To edit an alignment one only needs four types of operations:
- select a block with one or several sequences to be moved (press Ctrl to add blocks). Important:
since you can only move the selection to the gapped space , the moving front of the selection must
be next to the gaps.
- (optional) create space on both sides around a vertical section of the alignment
- use the keyboard arrows to move the selected block with respect to the other sequences
- squeeze out the excessive gaps (an item in the alignment popup menu)
OPERATION | KEYS
|
set a vertical selection for ALL sequences in the alignment | Double-Click |
add white space by hitting the Space bar | SpaceBar |
remove white space | Backspace |
select a sub-block for shifting | Drag Left-Mouse-Button |
shift the selected block next to a gapped area | Right and Left Arrows |
8.5.2 Save, Print and Delete |
To save your alignment as a picture:
- Right click on the alignment and select the Save as image option.
- A data entry box as shown below will be displayed.
- Enter the filename you wish to call your alignment. We advice you to keep the .png file extensions.
- Select the drop down arrow next to the Style data entry box as shown below.
- Select the style you desire from full-width, as is, or 60.
Full-width:
Asis: As displayed in GUI.
60: 60 residues width
- Select the resolution for the image. We recomend 3.0.
- Select the browse button if you wish to save the picture in a directory other than the one you are running ICM in. If you decide to change directories
you will have to reenter the desired file name and click ok. The path of the file will then be entered in the save options data entry box.
- Click OK.
To save an alignment or tree:
- Right click on the alignment or tree and a menu will be displayed.
- Select the save as option.
To print an alignment or tree:
- Right click on the alignment or tree and a menu will be displayed.
- Select the print option.
To delete an alignment or tree:
- Right click on the alignment or tree and a menu will be displayed.
- Select the delete option.
To add a comment to an alignment:
- Click and drag over the region of the alignment under which you wish to add a comment. The selected region
will be highlighted in blue.
- Right click on the blue selected region and select 'Edit Comment' and either Line 1 ,2 or 3.
- Enter your comment text.
- Unselect by clicking away from the selection.
NOTE: The length of text added in a comment line can only be as long as the selected region in the alignment. However, there
are up to 3 comment lines which you can add.
|
To display and undisplay comments:
- Check and un-check the comment boxes in the view options section of the alignment editor shown below.
To edit a comment:
- Select the comment in the alignment window.
- Right click and a menu will be displayed as shown below.
- Select edit comment and the line number you wish to edit.
- Type the new comment.
NOTE: Before constructing a phylogenetic tree you need to align the sequences as described in the alignment section
|
To view a tree:
- Check the 'Tree' option in the alignment editor.
The tree will be displayed in the editor as shown below:
To display the tree alone without the alignment:
- Check the 'tree only' option in the alignment editor.
Tree functionality:
- the tree-section in the alignment is resizeable, just grab the rightmost end of the top ruler and drag it
- branch swapping : the sequences can be reordered by swapping the tree branches. Just do the following:
- Right-click on a tree-node to get a popup-menu
- swap the branches
- selecting a branch: double click on a tree-node to select the sequences belonging to it.
8.5.5 Coloring an Alignment. |
To color an alignment:
There are a number of ways to color an alignment in ICM. ICM offers a wide range of default coloring options
to choose from in the Alignment Editor.
- Click on the drop down arrow beside the "Color scheme" data entry box and a number of color schemes will be displayed.
- Select the color scheme.
NOTE: You can keep selecting from the list until you find an appropriate color scheme. See the ICM language manual for other
ways of coloring, definitions of color schemes and customizing the color. The colors are shaded from pale to bright where the brighter
color represents higher conservation at that point in a multiple alignment.
|
To see the alignment color key:
- Click the pencil icon next to the color scheme selection tools and a table as shown below will be displayed.
To color by strength of consensus:
To color your multiple alignment by the strength of consensus at each point in an alignment:
- Click and drag on the consensus strength button shown below:
8.5.6 Shading and Boxing an Alignment |
To shade an alignment:
- Click and drag over the region of the alignment you wish to shade. It should be highlighted in blue.
- Right click and a menu will be displayed as shown below.
- Select the Custom color... option
- Select your desired shading color.
To box an alignment
- Click and drag over the region of the alignment you wish to shade. It should be highlighted in blue.
- Right click and a menu will be displayed as shown below.
- Select the Draw box option.
- Select which color you wish to box your alignment in.
8.5.7 Alignment View Options |
The alignment view options are located on the right hand side of the alignment editor.
To add or remove the alignment title:
- Check the title box in the view options.
To rename an alignment:
- Right click anywhere in the alignment or on the alignment tab and a menu will be displayed.
- Select the 'Rename' option.
- Type the new name for your alignment in the data entry box which becomes activated in the ICM workspace (See below).
To add or remove the alignment consensus display.
- Check the box labeled 'consensus' in the view options.
If you have a large alignment it may be convenient to show the number of each sequence
To number your alignment:
- Check the 'order' box in the view options.
Horizontal Scroll
To view the alignment in Horizontal scroll click on the "Horizontal scroll" button in the View Options panel in the Alignment tool bar.
To view the sequence offset number for each of your sequences in an alignment:
- Check the 'offset' box in the view options.
To view the sequence ruler:
- Check the 'ruler' box in the view options.
To view secondary structure.
If one of the sequences of the alignment is linked to a structure then you can display the secondary structure by:
- Check the "show secondary structure for" box.
The secondary structure will be displayed at the bottom of the alignment.
To make an alignment clearer you may wish to HIDE gap regions.
To hide all gap regions:
- Right click on the alignment and a menu as shown below will be displayed.
- Select the "Hide gaps" option.
The gaps in your alignment will be hidden according to the preference made in the alignment
tools panel shown below. Click on the drop down arrow in the "Hidden block format" data entry box.
Two parameters can be specified directly from the Tools Panel in
the alignment window:
- the "Hidden Block Format can use the following special symbols:
- %l number of hidden chars
- %L length of the hidden block
- %f hidden from
- %t hidden to
e.g. " %f .. %t "
or " %L "
- the "Hidden block width" which defines the total length of the
hidden section.
Some predefined hidden block formats are shown here:
length: displays the length of the gap
length: displays the length of the gap in <>.
clean0: displays no indication of a gap
clean1: displays grey panel in the gap position.
clean2: displays a wider grey panel in the gap position
NOTE: The width of the hidden panel can be changed as shown below.
|
If you have hidden all the gaps individual gaps (or blocks) can be displayed by:
- Right clicking on the gap and select "Show hidden block" option.
To show all gaps:
- Right click on the alignment away from a gap region and a menu will be displayed.
- Select the "Show gaps option.
8.5.9 Searching an Alignment |
If you have a large alignment and you wish to find a specific group of amino acids within that residue the you can
use the Alignment search tool.
- Right click on the alignment away from any hidden gaps and a menu will be displayed.
- Select the "Search in alignment option" and a data entry box as shown below will be displayed.
NOTE: Another way of searching an alignment is to use the alignment selection tools which are linked to the ICM workspace and 3D graphical window.
This is described in the section entitled Making Selections in Alignments.
|
8.5.10 Making Alignment Selections |
ICM has a very powerful alignment selection tool which enables sequences and structures to be interlinked with the 3D graphical window, the alignment window
and the ICM workspace.
8.5.11 Basic Alignment Selections |
To select a single column of an alignment:
To select parts of an alignment:
- Click and drag over the region you wish to select.
To select multiple discontinuous parts of an alignment:
- Click and drag whilst holding down the control key.
To enable the easy selection of all sequences in an alignment:
- Check the box labeled "Select by mouse in all sequences".
NOTE: All selections made in the alignment window are linked to the 3D graphics window and the ICM workspace if a structure is in the alignment.
|
8.5.12 Select by Consensus |
This is a very useful tool, for example, you may want to color the consrved regions of your structure in the 3D display windowa different color to the
rest of the structure. This tool allows you to select the conserved regions in the sequence alignment. Once the selection has been made it can be used
for a number of different ICM operations such as coloring and displaying secondary structure.
A selection can be made based on the alignment consensus. The buttons relating to this are in the alignment tool panel.
Before selecting by consensus you first need to define a consensus strength:
- Click and drag on the bar labelled "Strength" and select your desired percentage.
- Enter which elements of the consensus you wish to select separated by comma. Refer to the language manual
for definition of each consensus symbol.
- Click the Select button and your selection will be highlighted in blue in the alignment windown and ICM workspace and
as green crosses in the 3D graphical display window.
Once the selection has been made it can be used
for a number of different ICM operations such as coloring and displaying secondary structure.
To invert a selection:
- Click on the invert button.
To hide a selection.
NOTE: All selections made in the alignment window are linked to the 3D graphics window and the ICM workspace if a structure is in the alignment.
|
|