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