update author list in license for (JAL-826)
[jalview.git] / help / html / features / pdbviewer.html
1 <html>
2 <!--
3  * Jalview - A Sequence Alignment Editor and Viewer (Version 2.7)
4  * Copyright (C) 2011 J Procter, AM Waterhouse, J Engelhardt, LM Lui, G Barton, M Clamp, S Searle
5  * 
6  * This file is part of Jalview.
7  * 
8  * Jalview is free software: you can redistribute it and/or
9  * modify it under the terms of the GNU General Public License 
10  * as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
11  * 
12  * Jalview is distributed in the hope that it will be useful, but 
13  * WITHOUT ANY WARRANTY; without even the implied warranty 
14  * of MERCHANTABILITY or FITNESS FOR A PARTICULAR 
15  * PURPOSE.  See the GNU General Public License for more details.
16  * 
17  * You should have received a copy of the GNU General Public License along with Jalview.  If not, see <http://www.gnu.org/licenses/>.
18 -->
19 <head>
20 <title>PDB Viewer</title>
21 </head>
22 <body>
23 <p><strong>The Jalview internal PDB Viewer</strong><br>
24 Since Jalview 2.3, the <a href="jmol.html">Jmol PDB Viewer</a> is
25 the main method for <a href="viewingpdbs.html">viewing PDB
26 structures</a>. The documentation below concerns the original Jalview
27 PDB viewer, which is only used in situations where Jmol is unavailable
28 or cannot operate.</p>
29 <p><strong>The PDB Viewer Window</strong>
30 <p>This interactive structure viewing window is opened by selecting
31 the <strong>&quot;Sequence&#8594;View PDB entry:&quot;</strong> entry in
32 the <a href="../menus/popupMenu.html">sequence id pop-up menu</a>. This
33 can only be done for sequences which have an <a href="viewingpdbs.html">associated
34 PDB structure</a>, and the PDB Viewer will only be associated with the
35 particular alignment view from which it was opened.</p>
36 <p><strong>Controls</strong></p>
37 <p>The structure is rendered as an alpha-carbon trace. Moving the
38 mouse over the structure brings up tooltips with a residue name and PDB
39 sequence position. If a mapping exists to a residue in the associated
40 sequence, then this will be highlighted in the associated view in its
41 alignment window, and vice versa for viewing the coordinates associated
42 with a particular residue in the sequence in a particular view on the
43 alignment.</p>
44 <p>Selecting a residue highlights its associated sequence residue
45 and alpha carbon location.</p>
46 <p>
47 <table>
48         <tr>
49                 <td><strong>Action</strong></td>
50                 <td><strong>Windows</strong></td>
51                 <td><strong>Unix</strong></td>
52                 <td><strong>Mac/OSX</strong></td>
53         </tr>
54         <tr>
55                 <td>Select/<br>
56                 Deselect<br>
57                 Residue</td>
58                 <td>Left Click</td>
59                 <td>Left Click</td>
60                 <td>Click</td>
61         </tr>
62         <tr>
63                 <td>Rotate View</td>
64                 <td>Left Click and Drag</td>
65                 <td>Left Click and Drag</td>
66                 <td>Click and Drag</td>
67         </tr>
68         <tr>
69                 <td>Roll View</td>
70                 <td>Right Click and drag</td>
71                 <td>Right Click and Drag</td>
72                 <td>TODO</td>
73         </tr>
74         <tr>
75                 <td>Move Origin</td>
76                 <td>Middle-Button and Drag</td>
77                 <td>Middle-Button and Drag</td>
78                 <td>TODO</td>
79         </tr>
80         <tr>
81                 <td>Zoom In</td>
82                 <td>Up Arrow</td>
83                 <td>Up Arrow</td>
84                 <td>Up Arrow</td>
85         </tr>
86         <tr>
87                 <td>Zoom Out</td>
88                 <td>Down Arrow</td>
89                 <td>Down Arrow</td>
90                 <td>Down Arrow</td>
91         </tr>
92 </table>
93 </p>
94 <p>There are three menus:
95 <ul>
96         <li><Strong>File<br>
97         </strong>
98         <ul>
99                 <li><strong>Save As<br>
100                 </strong><em>Saves the current view as an EPS or PNG file.</em></li>
101                 <li><strong>View Mapping<br>
102                 </strong><em> Opens a text window showing the alignment between the
103                 residues corresponding to alpha-carbon atoms in the PDB structure and
104                 the residues in the associated sequence.</em></li>
105         </ul>
106         </li>
107         <li><strong>Colours<br>
108         </strong>
109         <ul>
110                 <li><strong>By Sequence<br>
111                 </strong><em> Colours each residue in the structure with the colour of its
112                 corresponding residue in the associated sequence as rendered in the
113                 associated alignment view, including any Uniprot sequence features or
114                 region colourings.<br>
115                 Residues which only exist in the PDB structure are coloured white if
116                 they are insertions (relative to the associated sequence in the
117                 alignment) and grey if they are N or C terminal flanks outside the
118                 region mapped to the alignment window's sequence.</em></li>
119                 <li><strong>By Chain<br>
120                 </strong><em> Assigns a random colour to each PDB chain.</em>
121                 <li><strong>Charge &amp; Cysteine<br>
122                 </strong><em> Highlights cysteines in yellow, anionic (Aspartic Acid or
123                 Glutamic Acid) residues in red, and cationic (Lysine or Arginine)
124                 residues in blue.</em></li>
125                 <li><strong><em>Standard and User Defined Jalview
126                 colourschemes.<br>
127                 </em></strong> The remaining entries apply the colourschemes available from the
128                 standard and user defined <a href="../colourSchemes/index.html">amino
129                 acid colours</a>.</em></li>
130         </ul>
131         </li>
132         <li><strong>View<br>
133         </strong><em> These options can be turned off to improve performance when
134         viewing large structures, some at the expense of visual clarity.</em>
135         <ul>
136                 <li><strong>Wireframe<br>
137                 </strong><em> Draws thin lines rather than thick lines for the
138                 alpha-carbon trace.</em></li>
139                 <li><strong>Depthcue<br>
140                 </strong><em>Shades the structure so parts of the structure near the front
141                 of the view are brighter than those further away.</em></li>
142                 <li><strong>Z Buffering<br>
143                 </strong><em> Applies depth sorting to correctly render occluded regions
144                 of the backbone trace.</em></li>
145                 <li><strong>Show All Chains<br>
146                 </strong><em> When turned on, shows all chains in the PDB file, not just
147                 the one associated with a sequence in the alignment window.</em></li>
148                 <!--  NOT YET IMPLEMENTED <li><strong>Associate View</strong><br>
149                 Change which view on the associated sequence's alignment is to be
150                 associated with the PDB viewer.-->
151         </ul>
152         </li>
153 </ul>
154 </p>
155 <p><strong>Notes for PDB Viewing in the Jalview Applet</strong>
156 <p>The applet can only load PDB files by copying and pasting the
157 text into the popup window which appears when &quot;Show PDB
158 Structure&quot; is selected after right clicking on a sequence name.</p>
159 </body>
160 </html>