Skip to content

Commit 27f3a70

Browse files
committed
New page: =A simple GUI for protein structure alignment= BioJava (in SVN) contains a simple GUI for easier working with protein structure alignments. The following code launches the user interface:...
1 parent 254be0c commit 27f3a70

File tree

2 files changed

+88
-0
lines changed

2 files changed

+88
-0
lines changed
Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
---
2+
title: BioJava:CookBook:PDB:alignGUI
3+
---
4+
5+
A simple GUI for protein structure alignment
6+
============================================
7+
8+
BioJava (in SVN) contains a simple GUI for easier working with protein
9+
structure alignments. The following code launches the user interface:
10+
11+
<java> import org.biojava.bio.structure.gui.\*;
12+
13+
public static void main(String[] args){
14+
15+
`   new AlignmentGui(); `
16+
17+
} </java>
18+
19+
In the user interface specify 2 PDB files (and optionally chain IDs)
20+
that should be superimposed.
21+
22+
![](AlignmentGui.jpg "AlignmentGui.jpg")
23+
24+
After pressing the \*Submit\* button, the alignment is calculated. A new
25+
frame pops up that shows the alternative solutions for this alignment:
26+
27+
![](AltAligFrame.jpg "AltAligFrame.jpg")
28+
29+
The columns in this table are:
30+
31+
#1 the number of the alternative alignment
32+
eqr the number of structurally equivalent residues
33+
score the score for this alternative alignment
34+
rms root mean sqare
35+
gaps number of gaps in the alignment
36+
37+
The \*Show in Jmol\* button allows to display this alternative alignment
38+
in Jmol, if it can be found on the classpath.
39+
40+
![](AlignmentJmol.jpg "AlignmentJmol.jpg")
41+
42+
The \*Distance Matrix\* button shows the distance matrix that is used
43+
for the alignment and the path that has been choosen.
44+
45+
### Configure PDB installation (Optional)
46+
47+
If you have a PDB installation that contains all PDB files in a single
48+
directory you can configure the System property PDB\_DIR to point to
49+
this directory. (e.g. at startup specify -DPDB\_DIR=path/to/PDB/files )
Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
=A simple GUI for protein structure alignment=
2+
3+
BioJava (in SVN) contains a simple GUI for easier working with protein structure alignments.
4+
The following code launches the user interface:
5+
6+
<java>
7+
import org.biojava.bio.structure.gui.*;
8+
9+
public static void main(String[] args){
10+
new AlignmentGui();
11+
}
12+
</java>
13+
14+
In the user interface specify 2 PDB files (and optionally chain IDs) that should be superimposed.
15+
16+
[[Image:AlignmentGui.jpg]]
17+
18+
After pressing the *Submit* button, the alignment is calculated. A new frame pops up that shows the alternative solutions for this alignment:
19+
20+
[[Image:AltAligFrame.jpg]]
21+
22+
The columns in this table are:
23+
<pre>
24+
#1 the number of the alternative alignment
25+
eqr the number of structurally equivalent residues
26+
score the score for this alternative alignment
27+
rms root mean sqare
28+
gaps number of gaps in the alignment
29+
</pre>
30+
31+
The *Show in Jmol* button allows to display this alternative alignment in Jmol, if it can be found on the classpath.
32+
33+
[[Image:AlignmentJmol.jpg]]
34+
35+
The *Distance Matrix* button shows the distance matrix that is used for the alignment and the path that has been choosen.
36+
37+
38+
===Configure PDB installation (Optional)===
39+
If you have a PDB installation that contains all PDB files in a single directory you can configure the System property PDB_DIR to point to this directory. (e.g. at startup specify -DPDB_DIR=path/to/PDB/files )

0 commit comments

Comments
 (0)