'STRAP:multiple sequence alignments '

charite.christo.protein
Interface ProteinAlignment

All Superinterfaces:
ChRunnable
All Known Implementing Classes:
StrapAlign

public interface ProteinAlignment
extends ChRunnable

HELP PACKAGE:charite.christo.strap. PACKAGE:charite.christo.

The multiple sequence alignment panel

In the alignment window the amino acid sequences are written under each other. In case of protein files from the PDB-database helices are written in red and beta-sheets in yellow. Scrolling To scroll in the 3D alignment use the scroll-bar or turn the mouse wheel. Alternatively, drag the mouse holding SHIFT. As in a word processor the cursor is navigated it with the arrow keys. The visible part of the alignment follows the cursor and previously hidden parts of the alignment get into view. The scroll-bar serves as an overview of the entire alignment. The knob represents the visible part when the alignment is too large to be displayed as a whole.

Zooming To zoom in or out, use the CTRL + mouse wheel or set the cursor into the alignment pane and type CTRL + or CTRL -. On some computers, the plus and minus keys of the number block must be used. In the context menu (right-click) the font type is changed.

Highlighting conserved residues: For each alignment column STRAP counts the number of identical residues. If this number exceeds a threshold the residues are highlighted. This allows the user to identify, conserved alignment regions as they appear brighter. The slider JCOMPONENT:StrapView#sliderSimilarity()! below the alignment is used to manipulate the minimum number of identical residues to be regarded as conserved. If the knob is at the left then all residues are highlighted whereas only completely conserved positions are highlighted if the knob is at the right.

Editing the protein file
To change a protein file with the text editor, move the cursor to the respective protein and press CTRL-E. Specify the editor in JCOMPONENT:Customize#newButtonAll("A")!.

Upper and lower case
Some regions of a protein structure may be flexible and not localized. For those residues no atom coordinates are recorded in PDB files. They are not shown in the 3D-backbone view and the residues are written in lower case in the alignment.

Interoperability of the 3D panel and the alignment panel
The main advantage of showing the sequence alignment and the 3D-models simultaneously is that the user can relate alignment positions and 3D-positions. Clicking on an amino acid in the 3D model sets the alignment cursor to the corresponding alignment position and scrolls so that the amino acid becomes visible. If a c-Alpha atom is clicked while the CTRL key is pressed the amino acid is selected or deselected. With the SHIFT key an interval of residues is selected. Vice versa, recognizing alignment positions in 3D-models is also possible: The alignment cursor is displayed as a blue ball. By dragging over a sequence region in the alignment residues are selected.


Field Summary
static int DRAG_ALL_CHAINS
           
static int DRAG_MSA
           
static int DRAG_ORIG
           
static java.lang.String RUN_ADD_LISTENERS
           
static java.lang.String RUN_GET_DRAG_OPTIONS
           
static java.lang.String RUN_NEW_DROP_TARGET
           
 
Fields inherited from interface charite.christo.ChRunnable
APPEND, COLUMN_TITLE, DOWNLOAD_FINISHED, GET_PANEL, ICON, INTERPRET_LINE, IS_DRAG4XY, ITEM_TEXT, MODIFY_RENDERER_COMPONENT, PROGRESS, REPAINT_CURSOR, SAY_DOWNLOADING, SET_ICON_IMAGE, SET_TREE_VALUE, SHOW_IN_FRAME, TAB_TEXT, TIP_TEXT
 
Method Summary
 void addListener(StrapListener l)
           
 int countRows()
           
 void dispatch(StrapEvent ev)
           
 int findRow(Protein p)
           
 Protein getProtein(int row)
           
 javax.swing.JComponent newProteinLabel(Protein p)
           
 void removeListener(StrapListener l)
           
 
Methods inherited from interface charite.christo.ChRunnable
run
 

Field Detail

RUN_GET_DRAG_OPTIONS

static final java.lang.String RUN_GET_DRAG_OPTIONS
See Also:
Constant Field Values

RUN_NEW_DROP_TARGET

static final java.lang.String RUN_NEW_DROP_TARGET
See Also:
Constant Field Values

RUN_ADD_LISTENERS

static final java.lang.String RUN_ADD_LISTENERS
See Also:
Constant Field Values

DRAG_MSA

static final int DRAG_MSA
See Also:
Constant Field Values

DRAG_ALL_CHAINS

static final int DRAG_ALL_CHAINS
See Also:
Constant Field Values

DRAG_ORIG

static final int DRAG_ORIG
See Also:
Constant Field Values
Method Detail

countRows

int countRows()

findRow

int findRow(Protein p)

getProtein

Protein getProtein(int row)

dispatch

void dispatch(StrapEvent ev)

removeListener

void removeListener(StrapListener l)

addListener

void addListener(StrapListener l)

newProteinLabel

javax.swing.JComponent newProteinLabel(Protein p)

'STRAP:multiple sequence alignments '

'The most important classes are StrapAlign, Protein and StrapEvent.'