Modified some of the exercises esp the tree and pca exercises. Plus corrected a few...
[jalview-manual.git] / TheJalviewTutorial.tex
index 89ca0fe..6e3c0db 100644 (file)
@@ -74,38 +74,39 @@ Exercise \theecount  :  #1  }
 
 {\Huge
  
-Jalview 2.10.0}
+Jalview 2.10.1}
 \vspace{0.5in}
 {\huge 
 
 Manual and  Introductory Tutorial }
 
-\vspace{2.4in}
+\vspace{2.2in}
 
 {\large
 
-David Martin, James Procter, Andrew Waterhouse, Saif Shehata, Nancy Giang,
+David Martin, James Procter 
 
+Andrew Waterhouse, Saif Shehata, Nancy Giang 
 
-Suzanne Duce and Geoff Barton
+Mungo Carstairs, Charles Ofoegbu, Kira Mour\~{a}o
+
+Suzanne Duce and Geoff Barton 
 
 }
 
-\vspace{1.2in}
+\vspace{0.9in}
 
 School of Life Sciences, University of Dundee
 
 Dundee, Scotland DD1 5EH, UK
-
-
 \vspace{2in}
 
-Manual Version 1.8
+Manual Version 1.9.1
 % post CLS lifesci course on 15th January
 % draft. Remaining items are AACon, RNA visualization/editing and Protein disorder analysis exercises.
 
-7th October 2016
+
+10th November 2017
 
 
 \end{center}
@@ -132,11 +133,11 @@ Manual Version 1.8
 \section{Introduction}
 \subsection{Jalview}
 Jalview is a multiple sequence alignment viewer, editor and analysis tool.
-Jalview is designed to be platform independent (running on Mac, MS Windows, Linux
+It is designed to be platform independent (running on Mac, MS Windows, Linux
 and any other platforms that support Java). Jalview is capable of editing and
 analysing large alignments (thousands of sequences) with minimal degradation in
-performance, and able to show multiple integrated views of the alignment and
-other data. Jalview can read and write many common sequence formats including
+performance. It is able to show multiple integrated views of the alignment
+and other data. Jalview can read and write many common sequence formats including
 FASTA, Clustal, MSF(GCG) and PIR.
 
 
@@ -151,11 +152,10 @@ colouring.} and includes a javascript API to allow customisable display of
 alignments for web sites such as Pfam.\footnote{\url{http://pfam.xfam.org}}
 
 
-The Jalview Desktop in this version
-provides access to protein and nucleic acid sequence, alignment and structure
+The Jalview Desktop provides access to protein and nucleic acid sequence, alignment and structure
 databases, and includes the Jmol\footnote{ Provided under the LGPL licence at
-\url{http://www.jmol.org}} viewer for molecular structures, and the VARNA\footnote{Provided under GPL licence at \url{http://varna.lri.fr}} program for the visualization of 
-RNA secondary structure. It also
+\url{http://www.jmol.org}} and Chimera viewer for molecular structures, and the
+VARNA\footnote{Provided under GPL licence at \url{http://varna.lri.fr}} program for the visualization of RNA secondary structure. It also
 provides a graphical user interface for the multiple sequence alignment, conservation analysis 
 and protein disorder prediction methods provided as {\bf Ja}va {\bf B}ioinformatics
 {\bf A}nalysis {\bf W}eb {\bf S}ervices (JABAWS). JABAWS\footnote{released under GPL at \url{http://www.compbio.dundee.ac.uk/jabaws}} is a system for 
@@ -169,7 +169,13 @@ visualization of sequence alignments, and their interactive analysis. Tree
 building, principal components analysis, physico-chemical property conservation
 and sequence consensus analyses are built into the program. Web services enable
 Jalview to access online alignment and secondary structure prediction programs,
-as well as to retrieve protein and nucleic acid sequences, alignments, protein structures and sequence annotation. Sequences, alignments, trees, structures, features and alignment annotation may also be exchanged with the local filesystem. Multiple visualizations of an alignment may be worked on simultaneously, and the user interface provides a comprehensive set of controls for colouring and layout. Alignment views are dynamically linked with Jmol structure displays, a tree viewer and spatial cluster display, facilitating interactive exploration of the alignment's structure. The application provides its own Jalview project file format in order to store the current state of an alignment and analysis windows. Jalview also provides WYSIWIG\footnote{WYSIWIG: What You See Is What You Get.} style figure generation capabilities for the preparation of alignments for publication.
+as well as to retrieve protein and nucleic acid sequences, alignments, protein structures and sequence annotation. 
+Sequences, alignments, trees, structures, features and alignment annotation may also be exchanged with the local filesystem. 
+Multiple visualizations of an alignment may be worked on simultaneously, and the user interface provides a comprehensive set of controls for colouring and layout. 
+Alignment views are dynamically linked with Jmol and UCSF Chimera\footnote{UCSF Chimera needs to be installed separately. It is available free for academic use from \url{https://www.cgl.ucsf.edu/chimera/download.html}.} structure displays,
+a tree viewer and spatial cluster display, facilitating interactive exploration of the alignment's structure. The application provides its own Jalview project file format in order 
+to store the current state of an alignment and analysis windows. Jalview also provides WYSIWIG\footnote{WYSIWIG: What You See Is What You Get.} style
+ figure generation capabilities for the preparation of alignments for publication.
 \begin{figure}[htbp]
 \begin{center}
 \includegraphics[width=5.8in]{images/jvcapabilities.pdf}
@@ -209,23 +215,25 @@ Jalview Java alignment editor"} \newline Michele Clamp, James Cuff, Stephen M. S
 \subsection{About this Tutorial }
 
 This tutorial is written in a manual format with short exercises where
-appropriate, typically at the end of each section. This chapter concerns the
+appropriate, typically at the end of each section. The first few sections concerns the
 basic operation of Jalview and should be sufficient for those who want to
 launch Jalview (Section \ref{startingjv}), open an alignment (Section
 \ref{loadingseqs}), perform basic editing (Section
 \ref{selectingandediting}), colouring (Section \ref{colours}), and produce
 publication and presentation quality graphical output (Section \ref{layoutandoutput}).
 
-In addition, the manual covers the additional visualization and
-analysis techniques available in Jalview. This includes working
-with the embedded Jmol molecular structure viewer, building and viewing trees and PCA
-plots, and using trees for sequence conservation analysis. An overview of
+The remaining sections of the manual cover the visualization and
+analysis techniques available in Jalview. These include working
+with the embedded Jmol molecular structure viewer (or UCSF Chimera), building
+and viewing trees and Principal Components Analysis (PCA) plots, and using
+trees for sequence conservation analysis. An overview of
 the Jalview Desktop's webservices is given in Section \ref{jvwebservices}, and
 the alignment and secondary structure prediction services are described
-in detail in Sections \ref{msaservices} and \ref{protsspredservices}. Section \ref{featannot} details the creation and visualization of sequence
-and alignment annotation. Section \ref{workingwithnuc} discusses
-specific features of use when working with nucleic acid sequences, such as translation and linking to protein
-coding regions, and the display and analysis of RNA secondary structure.
+in detail in Sections \ref{msaservices} and \ref{protsspredservices}
+respectively.
+Section \ref{featannot} details the creation and visualization of sequence,
+features and alignment annotation. Section \ref{workingwithnuc} discusses
+specific features of use when working with nucleic acid sequences, such as translation and linking to protein coding regions, and the display and analysis of RNA secondary structure.
 
 %^Chapter \ref{jalviewadvanced} The third chapter covers the detail^ of Jalview and is aimed at the user who is
 %already familiar with Jalview operation but wants to get more out of their
@@ -236,8 +244,8 @@ coding regions, and the display and analysis of RNA secondary structure.
 Keystrokes using the special non-symbol keys are represented in the tutorial by
 enclosing the pressed keys with square brackets ({\em e.g.} [RETURN] or [CTRL]).
 
-Keystroke combinations are combined with a `-' symbol ({\em e.g.} [CTRL]-C means
-press [CTRL] and the `C' key) simultaneously.
+Keystroke combinations are denoted with a `-' symbol ({\em
+e.g.} [CTRL]-C means press [CTRL] and the `C' key simultaneously).
 
 Menu options are given as a path from the menu
 that contains them - for example {\sl File $\Rightarrow$ Input Alignment
@@ -256,9 +264,7 @@ Alignment' submenu of a window's `File' dropdown menu.
 
 This tutorial is based on the Jalview
 Desktop application. Much of the information will also be useful for users of
-the JalviewLite applet, which has the same core editing, analysis and visualization capabilities (see the
-\href{http://www.jalview.org/examples/applets.html}{JalviewLite Applet Examples}
-page for examples). The Jalview Desktop, however, is much more powerful, and
+the JalviewLite applet, which has the same core editing, analysis and visualization capabilities. The Jalview Desktop, however, is much more powerful, and
 includes additional support for interaction with external web services, and
 production of publication quality graphics.
 
@@ -279,7 +285,7 @@ When the application is launched with webstart, two dialogs may appear before
 the application starts. If your browser is not set up to handle webstart, then
 clicking the launch link may download a file that needs to be opened
 manually, or prompt you to select the program to handle the webstart
-file. If that is the case, then you will need to locate the {\bf javaws} program
+file. If that is the case, you will need to locate the {\bf javaws} program
 on your system\footnote{The file that is downloaded will have a type of {\bf
 application/x-java-jnlp-file} or {\bf .jnlp}. The {\bf javaws} program that can run
 this file is usually found in the {\bf bin} directory of your Java
@@ -308,7 +314,7 @@ When Jalview starts it will automatically load an example alignment from the
 Jalview site. This behaviour can be switched off in the Jalview Desktop
 preferences dialog  by unchecking the open file option.
 This alignment will look like the one in Figure \ref{startpage} (taken
-from Jalview version 2.7).
+from Jalview version 2.10.1).
 
 %[figure 3 ]
 \begin{figure}[htbp]
@@ -384,8 +390,8 @@ Opening from the jnlp file will allow Jalview to be launched offline.
 \label{gettinghelp}
 \subsubsection{Built in Documentation}
 Jalview has comprehensive on-line help documentation. Select  {\sl Help
-$\Rightarrow$ Documentation} from the main window menu and a new window will
-open (Figure \ref{help}). The appropriate topic can then be selected from the
+$\Rightarrow$ Documentation} from the main desktop window menu and a new window
+will open (Figure \ref{help}). The appropriate topic can then be selected from the
 navigation panel on the left hand side. To search for a specific topic, click
 the `search' tab and enter keywords in the box which appears.
 
@@ -410,6 +416,7 @@ kept informed of new releases and developments.
 Archives and mailing list
 subscription details can be found in the Jalview web site's \href{http://www.jalview.org/community}{community section}.
 
+
 \section{Navigation}
 \label{jvnavigation}
 The major features of the Jalview Desktop are illustrated in Figure \ref{anatomy}. The alignment window is the primary window for editing and visualization, and can contain several independent views of the alignment being worked with. The other windows (Trees, Structures, PCA plots, etc) are linked to a specific alignment view. Each area of the alignment window has a separate context menu accessed by clicking the right mouse button.  
@@ -417,10 +424,12 @@ The major features of the Jalview Desktop are illustrated in Figure \ref{anatomy
  Jalview has two navigation and editing modes: {\bf normal mode}, where
  editing and navigation is performed using the mouse, and {\bf cursor mode}
  where editing and navigation are performed using the keyboard. The {\bf F2 key}
- is used to switch between these two modes. With a Mac as the F2 is
- often assigned to screen brightness, one may often need to  type {\bf function
- [Fn] key with F2} function
- [Fn]-F2.
+ is used to switch between these two modes. 
+ {\em Note:} On MacBooks and other laptops with compact keyboards, you may need
+ to press the {\bf function key [Fn]} when pressing any of the numbered function
+ keys. So to toggle between keyboard and normal mode, press [Fn]-[F2].
 
 \begin{figure}[htb]
 \begin{center}
@@ -488,7 +497,7 @@ the arrow keys ($\uparrow$, $\downarrow$, $\leftarrow$, $\rightarrow$).
 Rapid movement to specific positions is accomplished as listed below:
 \begin{list}{$\circ$}{}
 \item {\bf Jump to Sequence {\sl n}:} Type a number {\sl n} then press [S] to
-move to sequence (row). {\sl n}
+move to sequence (row) {\sl n}.
 \item {\bf Jump to Column {\sl n}:} Type a number {\sl n} then press [C] to move to column {\sl n} in the alignment.  
 \item {\bf Jump to Residue {\sl n}:} Type a number {\sl n} then press [P] to move to residue number {\sl n} in the current sequence.  
 \item {\bf Jump to  column {\sl m} row {\sl n}:} Type the column number {\sl m}, a comma, the row number {\sl n} and press [RETURN]. 
@@ -547,10 +556,10 @@ Search tab to select specific key words.
 %Jalview provides many ways to load your own sequences. %For this section of the
 % tutorial you will need to download the file http://www.jalview.org/tutorial/alignment.fa to a suitable location on your hard drive.
 \subsection{Drag and Drop}
-       In most operating systems you can just drag a file icon from a file browser
+       In most operating systems you can drag a file icon from a file browser
        window and drop it on an open Jalview application window. The file will then be opened as a new alignment window. %You can try this with the tutorial file you have downloaded. When you have opened the file, close it again by selecting the close control on the window. If you drop an alignment file onto an open alignment window it will be appended.
        Drag and drop also works when loading data from a URL -
-simply drag the link or url from the address panel of your browser on to an
+simply drag the link or url from the address panel of your browser onto an
 alignment or the Jalview desktop background and Jalview will load data from the
 URL directly.
 %  (Figure \ref{drag})
@@ -614,7 +623,7 @@ do this. One is to right-click on the desktop background, and select the
 `Paste to new window' option in the menu that appears. The other is to select
 {\sl File $\Rightarrow$ Input Alignment $\Rightarrow$ From Textbox} from the
 main menu, paste the sequences into the text window that will appear, and select
-{sl New Window} (Figure \ref{loadtext}). In both cases, presuming that they are
+{\sl New Window} (Figure \ref{loadtext}). In both cases, presuming that they are
 in the right format, Jalview will happily read them into a new alignment window.
 %[fig 8]
 
@@ -676,59 +685,61 @@ parameters page (\url{http://www.jalview.org/jvmmemoryparams.html}).
 \exstep{Use {\sl Window $\Rightarrow$ Close All} from the Desktop window menu to
 close all windows.}
 \exstep{{\bf Loading sequences from URL:} Selecting File {\sl $\Rightarrow$
-Input Alignment $\Rightarrow$ From URL} from the Desktop and enter \textsf{http://www.jalview.org/tutorial/alignment.fa} in the box.
-
+Input Alignment $\Rightarrow$ From URL} from the Desktop and enter \url{http://www.jalview.org/tutorial/alignment.fa} in the box.
 Click {\sl OK} to load the alignment.}
+
 \exstep{{\bf Loading sequences from a file:} Close all windows using the
-{\sl Window $\Rightarrow$ Close All} menu option from the Desktop.
+{\sl Window $\Rightarrow$ Close All} menu option from the Jalview desktop.
 Then type the same URL (\url{http://www.jalview.org/tutorial/alignment.fa}) into
-your web browser and save the file to your desktop.
+your web browser and save the file to your desktop using {\sl File
+$\Rightarrow$ Save Page as}.
 Open the file you have just saved in Jalview by selecting {\sl File
-$\Rightarrow$ Input Alignment $\Rightarrow$ From File} from the desktop menu and
-selecting this file.
-Click {\sl OK} to load.}
-\exstep{{\bf Loading sequences by `Drag and Drop' / `Cut and Paste':}
-
-(i) Select {\sl Desktop $\Rightarrow$ Window
-$\Rightarrow$ Close All}. Then drag the alignment.fa file from the desktop and
-drop it onto the Jalview window, the alignment should open.
-
-(ii) Test the differences
-between (a) dragging the sequence onto the Jalview desktop  and (b)
-dragging the sequence onto an existing alignment window.
+$\Rightarrow$ Input Alignment $\Rightarrow$ From File} from the desktop menu.
+Select the file and click {\sl OK} to load.}
 
-(iii) Open \url{http://www.jalview.org/tutorial/alignment.fa} in a
-web browser. Drag the URL directly from browser onto Jalview desktop. (If
-the URL is downloaded, then locate the file in your
-download directory and open it in a text editor.)}
+\exstep{{\bf Loading sequences by `Drag and Drop' / `Cut and Paste':}
+(i) Drag the alignment.fa file that you have just saved from its folder and
+drop it onto the Jalview desktop window, the alignment should open.
+
+(ii) Open
+\url{http://www.jalview.org/examples/estrogenReceptorProtein.fa} in a web
+browser. Test the differences
+between (a) dragging the URL directly from browser onto the Jalview
+desktop.
+(If the URL is downloaded, alternatively locate the file in your download
+directory and drag it onto the desktop.) (b) dragging the URL from
+browser onto the existing alignment.fa alignment window in the Jalview desktop.
+
+(iii) Open \url{http://www.jalview.org/examples/estrogenReceptorCdna.fa} in a web
+browser. Note that this is a cDNA file. Drag the URL from
+browser onto the estrogenReceptorProtein.fa protein alignment window in
+the Jalview desktop. A dialogue box opens asking `Would you like to open as split
+window, with cDNA and protein linked?' select `Split Window' option. A
+split window opens in the Jalview desktop.
+}
 
 \exstep{{\bf The text editor:} (i) Open the alignment.fa file using text editor.
-Copy the sequence text from the file into the clipboard and paste it into the desktop
-background by right-clicking and selecting the {\sl Paste to New Window} menu
-option.
+Copy the sequence text into the clipboard  using [CTRL]-A and then [CTRL]-C.
 
-(ii) In the text editor, copy the sequence text from
-alignment.fa  into the clipboard (usually {\sl via} the browser's {\sl Edit
-$\Rightarrow$ Copy} menu option). 
+(ii) Place the mouse on the Jalview desktop and right-click the mouse
+to open the context window. Select the {\sl Paste to New Window} menu option.
 
-(iii) In the Desktop menu, select {\sl File
+(iii) In the Jalview desktop menu, select {\sl File
 $\Rightarrow$ Input Alignment $\Rightarrow$ From Textbox}.
-Paste the clipboard into the large window using the {\sl Edit $\Rightarrow$
-Paste} text box menu option. Click {\sl New Window} and the alignment will be
-loaded.}
+Paste the clipboard into the large window using [CTRL]-V. Click {\sl New Window}
+and the alignment will be loaded.}
 
 \exstep{{\bf Loading sequences from Public Database:} (i) Select {\sl File
-$\Rightarrow$ Fetch Sequence(s)...} from the Desktop. The {\sl Select Database
-Retrieval Source} dialog will open showing all the database sources. Select the
-{\bf PFAM seed} database and click {\sl OK}.
+$\Rightarrow$ Fetch Sequence(s)...} from the Jalview desktop menu. The {\sl
+Select Database Retrieval Source} dialog will open listing all the database
+sources. Select the {\bf PFAM seed} database and click {\sl OK}.
 
-(ii)Once a source has been selected, the {\sl New
+(ii) The {\sl New
 Sequence Fetcher} window will open. Enter the accession number {\bf PF03460}
 and click {\sl OK}.
 An alignment of about 174 sequences should load.}
 \exstep{These can be viewed using the Overview window accessible from {\sl View
-$\Rightarrow$ Overview Window.}
-Several database IDs can be loaded by using semicolons to separate them.}
+$\Rightarrow$ Overview Window.}}
 {\bf See the video at:
 \url{http://www.jalview.org/Help/Getting-Started}} }
 
@@ -809,8 +820,7 @@ $\Rightarrow$ Save Project} from the main menu and save the project in a
 suitable folder.}
 
 \exstep{Close all windows and then load the project {\sl via} the {\sl File
-$\Rightarrow$ Load Project} menu option. Observe how all the windows and
-positions are exactly as they were when they were saved. } 
+$\Rightarrow$ Load Project} menu option. Observe how many of the windows are as they were when they were saved. } 
 {\bf See the video at: \url{http://www.jalview.org/Help/Getting-Started}.}
 }
 
@@ -830,7 +840,7 @@ more complete sequences.
 A selected region can be copied and pasted as a new alignment 
 using the {\sl Edit $\Rightarrow$ Copy} and {\sl Edit $\Rightarrow$ Paste $\Rightarrow$ To New 
 Alignment}  in the alignment window menu options.
-{\bf To clear (unselect)  the selection press the [ESC] (escape) key.}
+{\bf To clear (unselect)  the selection press the [ESC] key.}
 
 \subsection{Selecting Arbitrary Regions}
 To select part of an alignment, place the mouse at the top left corner of the region you wish to select. Press and hold the mouse button and drag the mouse to the bottom right corner of the chosen region then release the mouse button. 
@@ -850,7 +860,11 @@ To select the same residues in all sequences, click and drag along the alignment
 This selects the entire column of the alignment. Ranges of positions from the
 alignment ruler can also be selected by clicking on the first position and then
 holding down the [SHIFT] key whilst clicking the other end of the selection.
-Discontinuous regions can be selected by holding down [CTRL] and clicking on positions to add to the column selection. Note that each [CTRL]-Click changes the current selected sequence region to that column, but adds to the column selection. Selected columns are indicated by red highlighting in the ruler bar (Figure \ref{selectcols}).
+Discontinuous regions can be selected by holding down [CTRL] and clicking on
+positions to add to the column selection. Note that each [CTRL]-Click (PC) or
+[CMD]-Click (Mac) changes the current selected sequence region to that column,
+it adds to the column selection.
+Selected columns are indicated by red highlighting in the ruler bar (Figure \ref{selectcols}).
 %[fig 13]
 
 \begin{figure}[htbp]
@@ -876,7 +890,8 @@ selection. }
 
 To select multiple complete sequences, click and drag the mouse down the
 sequence ID panel. The same techniques as used for columns (above) can be used
-with [SHIFT]-Click for continuous and [CTRL]-Click to select discontinuous
+with [SHIFT]-Click for continuous and [CTRL]-Click (or
+[CMD]-Click for Mac) to select discontinuous
 ranges of sequences (Figure \ref{selectrows}).
 %[fig 14]
 
@@ -936,9 +951,7 @@ By default the new group will have a box drawn around it. The appearance of the
 
 \exercise{Making Selections and Groups}{
 \label{exselect}
-\exstep{Close windows.
-
-Load the ferredoxin alignment ({\bf PF03460} from {\bf PFAM (seed)}).
+\exstep{Load the ferredoxin alignment ({\bf PF03460} from {\bf PFAM (seed)}).
 }
 \exstep{Selecting an arbitrary region. Choose a residue and place the mouse
 cursor on it (residue information will show in alignment window status
@@ -998,8 +1011,8 @@ The current selection can be copied to the clipboard (in PFAM format). It can
 also be output to a textbox using the output functions in the pop-up menu
 obtained by right clicking the current selection. The textbox enables quick
 manual editing of the alignment prior to importing it into a new window (using
-the [New Window] button) or saving to a file with the {\sl File $\Rightarrow$
-Save As } pulldown menu option from the text box.
+the {\sl New Window} button) or saving to a file with the {\sl File
+$\Rightarrow$ Save As } pulldown menu option from the text box.
 
 \section{Reordering an Alignment}
 Sequence reordering is simple. Highlight the sequences to be moved then press the up or down arrow keys as appropriate (Figure \ref{reorder}). If you wish to move a sequence up past several other sequences it is often quicker to select the group past which you want to move it and then move the group rather than the individual sequence.
@@ -1073,12 +1086,14 @@ to hide the unselected region.
 
 \subsection{Representing a Group with a Single Sequence}
 
-Instead of hiding a group completely, it is sometimes useful to work with just one representative sequence. The {\sl $<$Sequence ID$>$ $\Rightarrow$ Represent group with $<$Sequence ID$>$ } option from the sequence ID pop-up menu enables this variant of the hidden groups function. The remaining representative sequence can be visualized and manipulated like any other. However, any alignment edits that affect the sequence will also affect the whole sequence group. 
+Instead of hiding a group completely, it is sometimes useful to work with just one representative sequence. 
+The {\sl $<$Sequence ID$>$ $\Rightarrow$ Represent group with $<$Sequence ID$>$ } option from the sequence ID pop-up menu enables this variant 
+of the hidden groups function. The remaining representative sequence can be visualized and manipulated like any other. 
+Note, any alignment edits that affect the sequence will also affect the whole
+sequence group.
 
 \exercise{Hiding and Revealing Regions}{
-\exstep{Close windows.
-
-Load the ferredoxin alignment ({\bf PF03460} from {\bf PFAM (seed)}).
+\exstep{Load the ferredoxin alignment ({\bf PF03460} from {\bf PFAM (seed)}).
 }
 \exstep{Select a contiguous set of sequences by clicking and dragging on the sequence ID panel.
 Right click on the selected sequence IDs to bring up the sequence ID context
@@ -1167,31 +1182,6 @@ any residue in the selection or group to the immediate right of the position in
 Gaps can be removed by dragging the residue to the immediate right of the gap
 leftwards whilst holding down [SHIFT] (for single sequences) or [CTRL] (for a group of sequences).
 
-\subsection{Sliding Sequences}
-Pressing the [$\leftarrow$] or [$\rightarrow$] arrow keys when one or more
-sequences are selected will ``slide'' the entire selected sequences to the left
-or right (respectively). Slides occur regardless of the region selection -
-which, for example, allows you to easily reposition misaligned subfamilies
-within a larger alignment.
-% % better idea to introduce hiding sequences, and use the invert selection, hide
-% others, to simplify manual alignment construction
-
-\subsection{Editing in Cursor mode}
-Gaps can be easily inserted when in cursor mode (toggled with [F2]) by
-pressing [SPACE]. Gaps will be inserted at the cursor, shifting the residue
-under the cursor to the right. To insert {\sl n} gaps type {\sl n} and then
-press [SPACE]. To insert gaps into all sequences of a group, use [CTRL]-[SPACE]
-or [SHIFT]-[SPACE] (both keys held down together).
-
-Gaps can be removed in cursor mode by pressing [BACKSPACE]. First make sure you
-have everything unselected by pressing ESC. The gap under the cursor will be
-removed. To remove {\sl n} gaps, type {\sl n} and then press [BACKSPACE]. Gaps
-will be deleted up to the number specified. To delete gaps from all sequences of
-a group, press [CTRL]-[BACKSPACE] or [SHIFT]-[BACKSPACE] (both keys held down
-together). Note that the deletion will only occur if the gaps are in the same
-columns in all sequences in the selected group, and those columns are to the
-right of the selected residue.
-
 \newpage
 
 \exercise{Editing Alignments}
@@ -1271,6 +1261,31 @@ option, or their keyboard shortcuts ([CTRL]-Z and [CTRL]-Y) to step
 backwards and replay the edits you have made.}
 }
 
+\subsection{Sliding Sequences}
+Pressing the [$\leftarrow$] or [$\rightarrow$] arrow keys when one or more
+sequences are selected will ``slide'' the entire selected sequences to the left
+or right (respectively). Slides occur regardless of the region selection -
+which, for example, allows you to easily reposition misaligned subfamilies
+within a larger alignment.
+% % better idea to introduce hiding sequences, and use the invert selection, hide
+% others, to simplify manual alignment construction
+
+\subsection{Editing in Cursor mode}
+Gaps can be easily inserted when in cursor mode (toggled with [F2]) by
+pressing [SPACE]. Gaps will be inserted at the cursor, shifting the residue
+under the cursor to the right. To insert {\sl n} gaps type {\sl n} and then
+press [SPACE]. To insert gaps into all sequences of a group, use [CTRL]-[SPACE]
+or [SHIFT]-[SPACE] (both keys held down together).
+
+Gaps can be removed in cursor mode by pressing [BACKSPACE]. First make sure you
+have everything unselected by pressing ESC. The gap under the cursor will be
+removed. To remove {\sl n} gaps, type {\sl n} and then press [BACKSPACE]. Gaps
+will be deleted up to the number specified. To delete gaps from all sequences of
+a group, press [CTRL]-[BACKSPACE] or [SHIFT]-[BACKSPACE] (both keys held down
+together). Note that the deletion will only occur if the gaps are in the same
+columns in all sequences in the selected group, and those columns are to the
+right of the selected residue.
+
 
 \exercise{Keyboard Edits}
 {This continues on from the previous exercise, and recreates the final part of the example ferredoxin
@@ -1522,6 +1537,23 @@ secondary structure row is present on the alignment.
 } \parbox[c]{3in}{
 \includegraphics[width=2.75in]{images/col_rnahelix.pdf} }
 
+\subsubsection{User Defined}
+This dialog allows the user to create any number of named colour schemes at
+will. Any residue may be assigned any colour. The colour scheme can then be
+named. If you save the colour scheme, this name will appear on the Colour menu
+(Figure \ref{usercol}).
+
+
+\begin{figure}[htbp]
+\begin{center}
+\includegraphics[width=2.5in]{images/col_user1.pdf}
+\includegraphics[width=2in]{images/col_user2.pdf}
+\includegraphics[width=1.75in]{images/col_user3.pdf}
+\caption{{\bf Creation of a user defined colour scheme.} Residue types are assigned colours (left). The profile is saved (center) and can then be accessed {\sl via} the {\sl Colour} menu (right).}
+\label{usercol}
+\end{center}
+\end{figure}
+
 \exercise{Colouring Alignments}{
 \label{color}
 Note: Before you begin this exercise, ensure that the {\sl Apply Colour
@@ -1531,7 +1563,7 @@ To All Groups} flag is not selected in {\sl Colour} menu in the alignment window
 
 \exstep{Open a sequence alignment, for example the PFAM domain PF03460 in PFAM
 seed database. Select the alignment menu option {\sl Colour $\Rightarrow$
-ClustalX} and note the colour change. Now try all the other colour schemes in the {\sl Colour} menu. 
+Clustal} and note the colour change. Now try all the other colour schemes in the {\sl Colour} menu. 
 Note that some colour schemes do not colour all residues.}
 \exstep{Colour the alignment using {\sl Colour  $\Rightarrow$ Blosum62}. Select a group
 of around 4 similar sequences. Use the context menu (right click on the group)
@@ -1552,23 +1584,6 @@ toggled off by going to {\sl View  $\Rightarrow$ Show Sequence Features}.
 {\bf See the video at: \url{http://www.jalview.org/training/Training-Videos}.}
 }
 
-\subsubsection{User Defined}
-This dialog allows the user to create any number of named colour schemes at
-will. Any residue may be assigned any colour. The colour scheme can then be
-named. If you save the colour scheme, this name will appear on the Colour menu
-(Figure \ref{usercol}).
-
-
-\begin{figure}[htbp]
-\begin{center}
-\includegraphics[width=2.5in]{images/col_user1.pdf}
-\includegraphics[width=2in]{images/col_user2.pdf}
-\includegraphics[width=1.75in]{images/col_user3.pdf}
-\caption{{\bf Creation of a user defined colour scheme.} Residue types are assigned colours (left). The profile is saved (center) and can then be accessed {\sl via} the {\sl Colour} menu (right).}
-\label{usercol}
-\end{center}
-\end{figure}
-
 
 \exercise{User Defined Colour Schemes}{
 \exstep{Load a sequence alignment. Select the alignment menu option {\sl Colour $\Rightarrow$ User Defined}. A dialog window will open.}
@@ -1588,9 +1603,14 @@ It is therefore important to pick the right kind of display layout prior to gene
 
 \subsection{Multiple Alignment Views}
 
-Jalview is able to create multiple independent visualizations of the same underlying alignment - these are called {\sl Views}. Because each view displays the same underlying data, any edits performed in one view will update the alignment or annotation visible in all views.
+Jalview is able to create multiple independent visualizations of the same underlying alignment - these are called {\sl Views}. 
+Because each view displays the same underlying data, any edits performed in one view will update the alignment or annotation visible in all views.
 
-\parbox[c]{4in}{Alignment views are created using the {\sl View $\Rightarrow$ New View} option of the alignment window or by Pressing [CTRL]-T. This will create a new view with the same groups, alignment layout and display options as the current one. Pressing G will gather together Views as named tabs on the alignment window, and pressing X will expand gathered Views so they can be viewed simultaneously in their own separate windows. To delete a group, press [CTRL]-W.}\parbox[c]{2.75in}{
+\parbox[c]{4in}{Alignment views are created using the {\sl View $\Rightarrow$
+New View} option of the alignment window or by pressing [CTRL]-T.
+This will create a new view with the same groups, alignment layout and display options as the current one. 
+Pressing G will gather together Views as named tabs on the alignment window, and pressing X will expand gathered Views so they can be viewed 
+simultaneously in their own separate windows. To delete a group, press [CTRL]-W.}\parbox[c]{2.75in}{
 \begin{center}\centerline{
 \includegraphics[width=2.5in]{images/mulv_tabs.pdf}}
 \end{center}
@@ -1673,7 +1693,8 @@ above {\sl Quality}. The rows should now be reordered. Features and annotations
 \exstep{Move the mouse to the top left hand corner of the annotation labels - 
 a grey up/down arrow symbol should appear - when this is shown, the height of the {\sl Annotation Area} can be changed 
 by clicking and dragging this icon up or down.}
-}
+\bf See the video at:
+\url{http://www.jalview.org/training/Training-Videos}.}
 
 \subsection{Graphical Output}
 \label{figuregen}
@@ -1719,39 +1740,42 @@ $\Rightarrow$ EPS} menu option. Open the file in a suitable program such as
 Photoshop, Illustrator, Inkscape, Ghostview, Powerpoint (Windows), or
 Preview (Mac OS X). Zoom in and note that the image has near-infinite
 resolution.} 
+\bf See the video at:
+\url{http://www.jalview.org/training/Training-Videos}.
 }
 
-\newpage
-
-\section{Summary - the rest of the manual}
-
-The first few chapters have covered the basics of Jalview operation: from
-starting the program, importing, exporting, selecting, editing and colouring
-aligments, to the generation of figures for publication, presentation and web
-pages.
-
-The remaining chapters in the manual cover:
-
-\begin{list}{$\circ$}{}
-\item{Chapter \ref{featannot} covers the creation, manipulation and visualisation
-of sequence and alignment annotation, and retrieval of sequence and feature data
-from databases.}
-\item {Chapter \ref{msaservices} explores the range of multiple alignment
-programs offered via Jalview's web services, and introduces the use of
-AACon for protein multiple alignment conservation analysis.}
-\item {Chapter \ref{alignanalysis} introduces Jalview's built in tools for
-multiple sequence alignment analysis, including trees, PCA, and alignment
-conservation analysis. }
-\item {Chapter \ref{3Dstructure} demonstrates the structure visualization
-capabilities of Jalview.}
-\item {Chapter \ref{proteinprediction} introduces protein sequence based
-secondary structure and disorder prediction tools, including JPred.}
-\item {Chapter \ref{dnarna} covers the special functions and
-visualization techniques for working with RNA alignments and protein coding
-sequences.}
-\item {Chapter \ref{jvwebservices} provides instructions on the
-installation of your own Jalview web services.}
-\end{list}
+% left out for Glasgow 2016
+% \newpage
+% 
+% \section{Summary - the rest of the manual}
+% 
+% The first few chapters have covered the basics of Jalview operation: from
+% starting the program, importing, exporting, selecting, editing and colouring
+% aligments, to the generation of figures for publication, presentation and web
+% pages.
+% 
+% The remaining chapters in the manual cover:
+% 
+% \begin{list}{$\circ$}{}
+% \item{Chapter \ref{featannot} covers the creation, manipulation and visualisation
+% of sequence and alignment annotation, and retrieval of sequence and feature data
+% from databases.}
+% \item {Chapter \ref{msaservices} explores the range of multiple alignment
+% programs offered via Jalview's web services, and introduces the use of
+% AACon for protein multiple alignment conservation analysis.}
+% \item {Chapter \ref{alignanalysis} introduces Jalview's built in tools for
+% multiple sequence alignment analysis, including trees, PCA, and alignment
+% conservation analysis. }
+% \item {Chapter \ref{3Dstructure} demonstrates the structure visualization
+% capabilities of Jalview.}
+% \item {Chapter \ref{proteinprediction} introduces protein sequence based
+% secondary structure and disorder prediction tools, including JPred.}
+% \item {Chapter \ref{dnarna} covers the special functions and
+% visualization techniques for working with RNA alignments and protein coding
+% sequences.}
+% \item {Chapter \ref{jvwebservices} provides instructions on the
+% installation of your own Jalview web services.}
+% \end{list}
 
 \chapter{Annotation and Features}
 \label{featannot}
@@ -1768,8 +1792,8 @@ Conversely, sequence features are properties of the individual sequences, so the
 but are shown mapped on to specific residues within the alignment. 
 
 Features and annotation can be interactively created, or retrieved from external
-data sources. Webservices like JNet (see \ref{jpred} above) can be used to analyse a 
-given sequence or alignment and generate annotation for it.
+data sources. Webservices like JPred (see \ref{jpred} above) can be used to
+analyse a given sequence or alignment and generate annotation for it.
 
 
 \section{Conservation, Quality and Consensus Annotation}
@@ -1904,13 +1928,13 @@ still be selected. }
  sheet as an arrow appears. The colour of the label can be changed but not the colour of the sheet 
  arrow. 
 }
-\exstep{Right click on the title text of annotation row that you just created. 
+\exstep{Right click on the title text in the annotation row that you just
+created.
 Select {\sl Export Annotation} in context menu and, in the Export Annotation
 dialog box that will open, select the Jalview format and click the {\sl [To Textbox]} button. 
-
-The format for this file is given in the Jalview help. Press [F1] to open it, and find 
-the ``Annotations File Format'' entry in the ``Alignment Annotations'' section of the contents 
-pane. }
+(The format for this file is given in the Jalview help. Press [F1] to open it,
+and find the ``Annotations File Format'' entry in the ``Alignment Annotations'' section of the contents 
+pane.) }
 
 \exstep{Export the file to a text editor and edit the file to change the name of the annotation 
 row. Save the file and drag it onto the alignment view.}
@@ -1938,7 +1962,9 @@ JPred. Use the {\sl File $\Rightarrow$ Export Annotation} function to view the J
 Note the 
 SEQUENCE\_REF statements surrounding the row specifying the sequence association for the 
 annotation. 
-}}
+}
+\bf See the video at:
+\url{http://www.jalview.org/training/Training-Videos}.}
 
 
 \section{Importing Features from Databases}
@@ -1969,7 +1995,8 @@ the features will be displayed incorrectly.
 
 You can export all the database cross references and annotation terms shown in
 the sequence ID tooltip for a sequence by right-clicking and selecting the {\sl
-[Sequence ID] $\Rightarrow$ Sequence details \ldots} option from the popup menu.
+[Sequence ID] $\Rightarrow$ Sequence details \ldots} option from the popup
+menu.
 A similar option is provided in the {\sl Selection} sub-menu allowing you to
 obtain annotation for the sequences currently selected. 
 
@@ -2014,8 +2041,8 @@ then you may be asked if you wish to retrieve Uniprot IDs for your sequence. Pre
 If a sequence is verified, then the start/end numbering will be adjusted to match the Uniprot record. 
 
 \subsubsection{Rate of Feature Retrieval}
-Feature retrieval can take some time if a large number of sources is selected and if the alignment 
-contains a large number of sequences.  
+Feature retrieval can take some time if a large number of sources are selected
+and if the alignment contains a large number of sequences.  
 As features are retrieved, they are immediately added to the current alignment view.
 The retrieved features are shown on the sequence and can be customised as described previously.
 
@@ -2188,7 +2215,9 @@ press {\sl OK}. The features will then appear on the sequences. } \exstep{Roll
 the mouse cursor over the new features.
 Note that the position given in the tool tip is the residue number, not the column number. 
 To demonstrate that there is one feature per sequence, clear all selections by pressing [ESC] then insert a gap in sequence 3 at column 95.
-Roll the mouse over the features and you will see that the feature has moved with the sequence. Delete the gap you created.
+Roll the mouse over the features and you will see that the feature has moved
+with the sequence. Delete the gap you created using {\sl Edit
+$\Rightarrow$ Undo}.
 }
 \exstep{
 Add a similar feature to column 102. When the feature dialog box appears, clicking the Sequence Feature 
@@ -2199,7 +2228,9 @@ this so that you can see the features you have just created. Click the check
 box for ``Iron binding site"  under {\sl Display} and note that display of this
 feature type is now turned off. Click it again and note that the features are
 now displayed. Close the sequence feature settings box by clicking {\sl OK} or
-{\sl Cancel}.} }
+{\sl Cancel}.} 
+\bf See the video at:
+\url{http://www.jalview.org/training/Training-Videos}.}
 
 \chapter{Multiple Sequence Alignment}
 \label{msaservices}
@@ -2227,7 +2258,7 @@ Omega. Sievers F, Wilm A, Dineen DG, Gibson TJ, Karplus K, Li W, Lopez R,
 McWilliam H, Remmert M, Soding J, Thompson JD, Higgins DG (2011) {\sl Molecular
 Systems Biology} {\bf 7} 539
 \href{http://dx.doi.org/10.1038/msb.2011.75}{doi:10.1038/msb.2011.75}} Of these,
-T-COFFEE is slow but the accurate. ClustalW is historically
+T-COFFEE is slow but accurate. ClustalW is historically
 the most widely used. Muscle is fast and probably best for
 smaller alignments. MAFFT is probably the best for large alignments,
 however Clustal Omega, released in 2011, is arguably the fastest and most
@@ -2257,7 +2288,7 @@ additional sequences to an existing alignment without any further optimisation
 to the existing alignment. ClustalO's realignment works by generating a
 probabilistic model (a.k.a HMM) from the original alignment, and then realigns
 {\bf all} sequences to this profile. For a well aligned MSA, this process
-will simply reconstruct the original alignment (with additonal sequences), but
+will simply reconstruct the original alignment (with additional sequences), but
 in the case of low quality MSAs, some differences may be introduced.
 
 \begin{figure}[htbp]
@@ -2506,13 +2537,15 @@ position between each pair of sequences. The basic method is described in the
 Nature Structural Biology} (1995) {\bf 2}, 171-8.
 PMID: 7749921} and implemented at the SeqSpace server at the EBI.
 
-Jalview provides two different options for the PCA calculation. Protein PCAs are
-by default computed using BLOSUM 62 pairwise substitution scores, and nucleic
-acid alignment PCAs are computed using a score model based on the identity
-matrix that also treats Us and Ts as identical, to support analysis of both RNA
-and DNA alignments. The {\sl Change Parameters} menu also allows the calculation
-method to be toggled between SeqSpace and a variant calculation that is detailed
-in Jalview's built in documentation.\footnote{See
+Jalview provides two different options for the PCA calculation: SeqSpace and
+Jalview mode. In SeqSpace mode, PCAs are computed using the identity matrix, and
+gaps are treated as 'the unknown residue' (this actually differs from the
+original SeqSpace paper, and will be adjusted in a future version of Jalview).
+In Jalview mode, PCAs are computed using the chosen score matrix - which for
+protein sequences, defaults to BLOSUM 62, and for nucleotides, is the
+DNA identity matrix that also treats Us and Ts as identical, to support analysis
+of both RNA and DNA alignments. The {\sl Change Parameters} allows the
+calculation method and score models to be changed.\footnote{See
 \url{http://www.jalview.org/help/html/calculations/pca.html}.}
 
 \subsubsection{The PCA Viewer}
@@ -2536,17 +2569,21 @@ the {\sl File $\Rightarrow$ Save As $\Rightarrow$ \ldots } submenu.
 \exercise{Principal Component Analysis}
 { \exstep{Load the alignment at
 \textsf{http://www.jalview.org/tutorial/alignment.fa}.}
-\exstep{Select the menu option {\sl Calculate $\Rightarrow$ Principal Component
-Analysis}.
-A new window will open. Move this window within the desktop so that the tree,
-alignment and PCA viewer windows are all visible.
+\exstep{Select the menu option {\sl Calculate $\Rightarrow$ Tree or PCA..}.  in the alignment
+window and a dialogue box will open. Select the Principal Component Analysis option
+and then click the Calculate button.} 
+\exstep{Move
+this window within the desktop so that the alignment and PCA viewer windows are visible.
 Try rotating the plot by clicking and dragging the mouse on the plot in the PCA window.
 Note that clicking on points in the plot will highlight the sequences on the
 alignment.
-} \exstep{ Select {\sl Calculate $\Rightarrow$ Calculate Tree $\Rightarrow$
-Neighbour Joining Using BLOSUM62}. A new tree window will appear.
-Place the mouse cursor on the tree window so that the
-tree partition location will divide the alignment into a number of groups, each of a different colour.
+} \exstep{Select {\sl Calculate $\Rightarrow$ Tree or PCA..}. in the alignment
+window. In dialogue box select Neighbour
+Joining and in the drop-down list select BLOSUM62. Click the Calculate button
+and a tree window will open.}
+\exstep{Place the mouse cursor on the tree so that the
+tree partition divides the tree into a number of groups, each with a
+different (arbitrarily selected) colour.
 Note how the colour of the sequence ID label matches both the colour of
 the partitioned tree and the points in the PCA plot.} 
 {\bf See the video at:
@@ -2583,7 +2620,7 @@ region or the whole alignment, excluding any hidden regions.
 
 On calculating a tree, a new window opens (Figure \ref{trees1}) which contains
 the tree. Various display settings can be found in the tree window {\sl View}
-menu, including font, scaling and label display options, and the {\sl File
+menu, including font, scaling and label display options. The {\sl File
 $\Rightarrow$ Save As} submenu contains options for image and Newick file
 export. Newick format is a standard file format for trees which allows them to
 be exported to other programs.  Jalview can also read in external trees in
@@ -2592,6 +2629,55 @@ option. Leaf names on imported trees will be matched to the associated alignment
 - unmatched leaves will still be displayed, and can be highlighted using the
 {\sl View $\Rightarrow$ Mark Unlinked Leaves} menu option.
 
+\exercise{Trees}
+{{\sl Ensure that you have at least 1G memory available in Jalview.
+(Start with link:
+\href{http://www.jalview.org/services/launchApp?jvm-max-heap=1G}{http://www.jalview.org/services/launchApp?jvm-max-heap=1G},
+or in the table in the Development section of the Jalview web site
+(\href{http://www.jalview.org/development/development-builds}{http://www.jalview.org/development/development-builds}), go 
+to ``latest official build'' row and in the ``Webstart'' column, click
+on ``2G''.)}
+
+\exstep{Open the alignment at
+\textsf{http://www.jalview.org/tutorial/alignment.fa}.}
+
+\exstep{Select {\sl Calculate $\Rightarrow$ Tree or PCA..}. in the alignment
+window and a dialogue box opens. In the tree section select Neighbour
+Joining, in the drop-down list select BLOSUM62 and click the Calculate
+button. A tree window will open.}
+
+\exstep{Click on the
+tree window, a cursor will appear. Note that placing this cursor divides the tree into a number of groups by colour.
+Place the cursor to give about 4 groups.}
+
+
+\exstep{In the tree window, select {\sl View $\Rightarrow$ Sort Alignment
+by Tree}. The sequences are reordered to match the order in the tree and groups 
+ are formed implicitly. Alternatively in the alignment window, select
+{\sl Calculate $\Rightarrow$ Sort $\Rightarrow$ By Tree Order $\Rightarrow$
+ Neighbour Joining Tree using BLOSUM62 from...}.}
+
+\exstep{Select {\sl Calculate $\Rightarrow$ Tree or PCA..}. in the alignment
+window. In the dialogue box, select Average Distance and in the drop down
+list select BLOSUM62. Click the Calculate button and a new
+tree window will appear. The group colouring makes it easy to see the differences between the two
+trees calculated by the different methods.}
+
+\exstep{In the alignment window, select sequence 2 from
+column 60 to sequence 12 and column 123. Select {\sl Calculate $\Rightarrow$
+Tree or PCA..}. , in the dialogue box select Neighbour Joining and
+BLOSUM62, then click the Calculate button.
+ A tree will appear containing 11 sequences. It has been coloured
+ according to the already selected groups from the first tree and is calculated purely from the residues
+ in the selection.}
+
+Comparing the location of individual sequences between the three trees illustrates the importance of selecting appropriate regions of the 
+alignment for the calculation of trees.
+
+{\bf See the video at:
+\url{http://www.jalview.org/training/Training-Videos}.}
+
+}
 
 \begin{figure}
 \begin{center}
@@ -2630,14 +2716,14 @@ groups in Jalview.}
 % move to ch. 3 ?
 %Both PCA and Tree viewers are linked analysis windows. This means that their selection and display are linked to a particular alignment, and control and reflect the selection state for a particular view.
 
-\subsubsection{Recovering input Data for a Tree or PCA Plot Calculation}
+\subsubsection{Recovering input data for a Tree or PCA Plot Calculation}
 \parbox[c]{5in}{
 The {\sl File $\Rightarrow$ Input Data } option will open a new alignment window containing the original data used to calculate the tree or PCA plot (if available). This function is useful when a tree has been created and then the alignment subsequently changed. 
 }
 \parbox[c]{1.25in}{\centerline{\includegraphics[width=1.25in]{images/pca_fmenu.pdf}
 }}
 
-\subsubsection{Changing the associated View for a Tree or PCA Viewer}
+\subsubsection{Changing the associated view for a Tree or PCA Viewer}
 \parbox[c]{4in}{
 The {\sl View $\Rightarrow$ Associated Nodes With $\Rightarrow$ .. } submenu is shown when the viewer is associated with an alignment that is involved in multiple views. Selecting a different view does not affect the tree or PCA data, but will change the colouring and display of selected sequences in the display according to the colouring and selection state of the newly associated view. 
 } \parbox[c]{3in}{\centerline{
@@ -2658,80 +2744,48 @@ colourschemes and the group associated conservation and consensus annotation
 Annotation $\Rightarrow$ Group Conservation} and {\sl Group Consensus} options)
 can help when working with larger alignments.
 
-\exercise{Trees}
-{Ensure that you have at least 1G memory available in Jalview.
 
-{\sl (Start with link:
-\href{http://www.jalview.org/services/launchApp?jvm-max-heap=1G}{http://www.jalview.org/services/launchApp?jvm-max-heap=1G},
-or in the Development section of the Jalview web site
-(\href{http://www.jalview.org/development/development-builds}{http://www.jalview.org/development/development-builds})
-in the table, go to ``latest official build'' row and ``Webstart'' column, click
-on ``2G''.)}
 
-\exstep{Open the alignment at \textsf{http://www.jalview.org/tutorial/alignment.fa}. 
-Select {\sl Calculate $\Rightarrow$ Calculate Tree $\Rightarrow$ Neighbour
-Joining Using BLOSUM62}. A tree window opens.} 
-\exstep{Click on the
-tree window, a cursor will appear. Note that placing this cursor divides the tree into a number of groups by colour.
-Place the cursor to give about 4 groups.}
-\exstep{In the alignment window, select
-{\sl Calculate $\Rightarrow$ Sort $\Rightarrow$ By Tree Order $\Rightarrow$ Neighbour Joining Tree using BLOSUM62 from... }. The sequences are 
-reordered to match the order in the tree and groups are formed implicitly.
-Alternatively in the tree window, select {\sl View $\Rightarrow$ Sort Alignment
-by Tree}.} 
-\exstep{Select {\sl Calculate $\Rightarrow$ Calculate Tree
-$\Rightarrow$ Neighbour Joining Using \% Identity}. A new tree window will
-appear. The group colouring makes it easy to see the differences between the two
-trees calculated by the different methods.}
-\exstep{Select from sequence 2
-column 60 to sequence 12 column 123. Select  {\sl Calculate $\Rightarrow$ Calculate Tree $\Rightarrow$ Neighbour Joining Using BLOSUM62}.
- A new tree window will appear. The tree contains 11 sequences. It has been coloured according to the already
- selected groups from the first tree and is calculated purely from the residues
- in the selection.}
 
-Comparing the location of individual sequences between the three trees illustrates the importance of selecting appropriate regions of the 
-alignment for the calculation of trees.
+%\exercise{Pad Gaps in an Alignment}{
+%\exstep{Open the alignment at
+% \textsf{http://www.jalview.org/tutorial/alignment.fa}. In alignment window, ensure that the {\sl Edit $\Rightarrow$ Pad Gaps } option is {\sl not} ticked, and insert one gap anywhere in the
+%alignment.}
+%\exstep{Select {\sl Calculate $\Rightarrow$ Calculate Tree $\Rightarrow$
+%Neighbour Joining Using BLOSUM62}.
 
-{\bf See the video at:
-\url{http://www.jalview.org/training/Training-Videos}.}
-}
-
-\exercise{Pad Gaps in an Alignment}{
-\exstep{Open the alignment at \textsf{http://www.jalview.org/tutorial/alignment.fa}. In alignment window, ensure that the {\sl Edit $\Rightarrow$
-Pad Gaps } option is {\sl not} ticked, and insert one gap anywhere in the
-alignment.}
-\exstep{Select {\sl Calculate $\Rightarrow$ Calculate Tree $\Rightarrow$
-Neighbour Joining Using BLOSUM62}.
+%A warning dialog box {\bf ``Sequences not aligned'' } appears because the
+% sequences input to the tree calculation are of different lengths. }
 
-A warning dialog box {\bf ``Sequences not aligned'' } appears because the sequences input to the tree calculation are of different lengths. }
+%\exstep{Select {\sl Edit $\Rightarrow$ tick Pad Gaps } and perform the
+%tree calculation again. This time a new tree should appear - because padding
+%gaps ensures all the sequences are the same length after editing.}
+%{\sl Pad Gaps } option
+%can be set in Preferences using
+%{\sl Tool $\Rightarrow$ Preference $\Rightarrow$ Editing}.
 
-\exstep{Select {\sl Edit $\Rightarrow$ tick Pad Gaps } and perform the
-tree calculation again. This time a new tree should appear - because padding
-gaps ensures all the sequences are the same length after editing.}
-{\sl Pad Gaps } option
-can be set in Preferences using
-{\sl Tool $\Rightarrow$ Preference $\Rightarrow$ Editing}.
+%{\bf See the video at:
+%\url{http://www.jalview.org/training/Training-Videos}.}
+%}
 
-{\bf See the video at:
-\url{http://www.jalview.org/training/Training-Videos}.}
-}
-
-\exercise{Tree Based Conservation Analysis}{
+ \exercise{Tree Based Conservation Analysis}{
 \label{consanalyexerc}
 \exstep{Load the PF03460 PFAM seed alignment using the sequence fetcher. 
-Select {\sl Colour $\Rightarrow$ Taylor $\Rightarrow$ By Conservation}, set {\sl Conservation} shading threshold at around 20. }
-\exstep{Build a Neighbour joining tree using Select {\sl Calculate $\Rightarrow$ Calculate Tree $\Rightarrow$
-Neighbour Joining Using BLOSUM62}.}
-\exstep{Use the mouse cursor to select a point on the tree to partition the
-alignment into several sections.}
+Select {\sl Colour $\Rightarrow$ Taylor $\Rightarrow$ By Conservation}, set
+ {\sl Conservation} shading threshold at around 20. }
+ \exstep{Build a Neighbour joining tree by selecting {\sl Calculate
+ $\Rightarrow$ Tree or PCA..}. in the alignment window. In the dialogue box, select Neighbour
+Joining and in the drop-down
+list select BLOSUM62, then click the Calculate button.}
+\exstep{Use the cursor to select a point on the tree to partition the
+alignment into groups.}
 \exstep {Select {\sl View $\Rightarrow$ Sort Alignment By Tree} option in the
-tree window to re-order the sequences in the alignment using the calculated
-tree.
-Examine the variation in colouring between different groups of sequences in the alignment
-window. }
-\exstep {You may find it easier to browse the alignment if you first uncheck the
-{\sl Annotations $\Rightarrow$ Show Annotations} option. Open the
-Overview Window within the View menu to aid navigation.}
+tree window to re-order the sequences in the alignment.
+Examine the variation in colouring between different groups of sequences in the
+ alignment window. }
+\exstep {You may find it easier to browse the alignment if you first uncheck
+ the {\sl Annotations $\Rightarrow$ Show Annotations} option. Open the
+Overview Window from the View menu to aid navigation.}
 
 \exstep{Try changing the colourscheme of the residues in the alignment to
 BLOSUM62 (whilst ensuring that {\sl Apply Colour to All Groups} is selected).}
@@ -2915,76 +2969,63 @@ viewing program\footnote{See the Jmol homepage \url{http://www.jmol.org} for
 more information.} integrated with Jalview.\footnote{Earlier
 versions of Jalview included MCView - a simple main chain structure viewer.
 Structures are visualized as an alpha carbon trace and can be viewed, rotated
-and coloured in a structure viewer and the results interpreted on a sequence
-alignment.} It also supports the use of UCSF Chimera, a powerful molecular
-graphics system that needs separate installation. Jalview can also read PDB and
-mmCIF format files directly to extract sequences and secondary structure
-information, and retrieve records from the European Protein
-Databank (PDBe) using the Sequence Fetcher (see \ref{fetchseq}).
+and coloured using the sequence alignment.} It also supports the use of UCSF
+Chimera, a powerful molecular graphics system that needs separate installation.
+Jalview can also read PDB and mmCIF format files directly to extract sequences
+and secondary structure information, and retrieve records from the European
+Protein Databank (PDBe) using the Sequence Fetcher (see \ref{fetchseq}).
 
 \subsection{Configuring the default structure viewer}
 \label{configuring3dviewer}
-To configure which one is used when creating a new
+To configure which viewer is used when creating a new
 structure view, open the Structures preferences window {\sl via} {\sl Tools $\Rightarrow$ Preferences\ldots} and
 select either JMOL or CHIMERA as the default viewer. If you select Chimera,
 Jalview will search for the installed program, and if it cannot be found,
-you will be prompted to locate the Chimera binary, or directed to the UCSF
-Chimera download page.
+you will be prompted to locate the Chimera binary, or alternately, open the UCSF
+Chimera download page to obtain the software.
 
 \section{Automatic Association of PDB Structures with Sequences}
-Jalview can automatically determine which structures are associated with a
-sequence in a number of ways.
-\subsection{Discovery of PDB IDs from Sequence Database Cross-references}
-If a sequence has an ID from a public database that contains cross-references to
-the PDB, such as Uniprot. Right-click on any sequence ID and select {\sl Structure $\Rightarrow$
-Associate Structure with Sequence $\Rightarrow$ Discover PDB IDs } from the context menu (Figure \ref{auto}). Jalview will attempt to associate the
-sequence with a Uniprot sequence and from there discover any associated PDB
-structures. This takes a few seconds and applies to all sequences in the
-alignment which have valid Uniprot IDs. On moving the cursor over the sequence
-ID the tool tip\footnote{Tip: The sequence ID tooltip can often become large for
-heavily cross referenced sequence IDs. Use the {\sl View $\Rightarrow$ Sequence
-ID Tooltip $\Rightarrow$ } submenu to disable the display of database cross
-references or non-positional features. } now shows the Uniprot ID and any
-associated PDB structures.
-
-\begin{figure}[htbp]
-\begin{center}
-%TODO fix formatting
-\parbox{1.5in}{
-{\centering 
-\begin{center}
-\includegraphics[width=1.5in]{images/auto1.pdf}
-\end{center}}
-} \parbox{3.25in}{
-{\centering 
-\begin{center}
-\includegraphics[scale=0.5]{images/auto2.pdf}
-\end{center}
-}
-} \parbox{1.5in}{
-{\centering 
-\begin{center} 
-\includegraphics[width=1.5in]{images/auto3.pdf}
-\end{center}
-}
-}
+Jalview will attempt to automatically determine which structures are associated
+with a sequence via its ID, and any associated database references. To do this
+for a particular sequence or the current selection, open the Sequence ID popup
+menu and select {\sl View 3D Structure}, to open the 3D Structure Chooser. 
+%(Figure\ref{auto}). 
+
+When the structure chooser is first opened, if no database identifiers are
+available, Jalview will automatically perform a database reference
+retrieval (See \ref{fetchdbrefs}) to discover identifiers for the
+sequences to use to search the PDB. This can take a
+few seconds for each sequence and will be performed for all selected
+sequences.\footnote{After this is done, you can see the added database
+references in a tool tip by mousing over the sequence ID. You can use the {\sl
+View $\Rightarrow$ Sequence ID Tooltip $\Rightarrow$ Show Db References }
+submenu option to enable or disable these data in the tooltip.}
+
+Once the retrieval has finished, the structure chooser dialog will show any
+available PDB entries for the selected sequences.
 
-\caption{{\bf Automatic PDB ID discovery.} The tooltip (left) indicates that no PDB structure has been associated with the sequence. 
-After PDB ID discovery (center) the tool tip now indicates the Uniprot ID and
-any associated PDB structures (right).}
-\label{auto}
-\end{center}
-\end{figure}
+% 
+% \begin{figure}[htbp]
+% \begin{center}
+% %TODO fix formatting
+% \begin{center} 
+% \includegraphics[width=3.5in]{images/pdbstructurechooser.pdf}
+% \end{center}
+% 
+% 
+% \caption{{\bf The PDB Structure Chooser dialog.} }
+% \label{auto}
+% \end{center}
+% \end{figure}
 
 \subsection{Drag-and-Drop Association of PDB Files with Sequences by Filename
 Match}
 \label{multipdbfileassoc}
-If one or more PDB files stored on your computer are dragged from their location
-on the file browser onto an alignment window, Jalview will search the alignment
-for sequences with IDs that match any of the files dropped onto the alignment.
-If it discovers matches, a dialog like the one in Figure
-\ref{multipdbfileassocfig} is shown, giving the option of creating associations
-for the matches.
+If you have PDB files stored on your computer named the same way as the
+sequences in the alignment, then you can drag them from their location on the
+file browser onto an alignment window. Jalview will search the alignment for
+sequences with IDs that match any of the files, and offer a dialog like the one
+in Figure \ref{multipdbfileassocfig}.
 
 If no associations are made, then sequences extracted
 from the structure will be simply added to the alignment. However, if only
@@ -2997,6 +3038,12 @@ future so Jalview will automatically search for PDB files matching your
 sequence within a local directory. Check out 
 \href{http://issues.jalview.org/browse/JAL-801}{Jalview issue 801}}
 
+After associating sequences with PDB files, you can view the PDB structures by
+opening the Sequence ID popup
+menu and selecting {\sl View 3D Structure}. The PDB files you loaded will be
+shown in the {\bf Cached Structures} view, after selecting it from the drop down
+menu in the dialog box. 
+
 % there is no mention of the other footnote (#3) that appears saying: Tip: The sequence ID tooltip can often become large for heavily cross-referenced sequence IDs. Use the ...
 % JBP: yes there is - under 'Discovery of ' subsection.
 \begin{figure}[htbp]
@@ -3013,27 +3060,34 @@ file with any sequences with matching IDs. }
 
 
 \section{Viewing Structures}
-\label{viewAllStructures}
-The structure viewer is launched from the sequence ID context
-menu. To view a particular structure associated with a sequence in the
-alignment, select the sequence and right click the mouse to open context
-menu {\sl Structure $\Rightarrow$ 3D Structure data $\Rightarrow$} opens a Structure Chooser dialog box.
-The second way is most useful if you want to view all structural data available for
-a set of sequences in an alignment. Select all the sequence ids in the sequence
-ID panel and right click the mouse to open context
-menu {\sl Structure $\Rightarrow$ 3D Structure data $\Rightarrow$}. If any of
-the {\bf currently selected} sequences have structures associated they will
-appear in the Structure Chooser dialog box. The structures can be ranked by
-different parameters, 'Best Quality' is defaul option. Select the
-structures required and click {\sl View} to open a structure viewer containing
-the associated structures superposed according to the alignment.
-
-The structure to be displayed will be downloaded or loaded from
+\label{structurechooser}
+The structure viewer is launched via the Sequence ID context
+menu. To view structures associated with a sequence or a selected set of
+sequences in the alignment, simply right click the mouse to open the context
+menu, and select {\sl 3D Structure data \ldots} to open the Structure Chooser
+dialog box. 
+
+If any of
+the {\bf currently selected} sequences have structures in the PDB, 
+they will appear in the Structure Chooser dialog box. The structures can be ranked by
+different parameters, but are by default ordered according to their PDB
+quality score. 
+
+To view one or more structures, simply click {\sl
+View} to open a structure viewer containing the structures selected in the
+dialog. If several structures were picked, these will be shown
+superposed according to the alignment.
+You may find Jalview has already picked the best structure - using one of the
+criteria shown in the dropdown menu (e.g. 'Best Quality', which is picked by
+default). However, you are free to select your own.
+
+The structure(s) to be displayed will be downloaded or loaded from
 the local file system, and shown as a ribbon diagram coloured according to the
 associated sequence in the current alignment view (Figure \ref{structure}
 (right)). The structure can be rotated by clicking and dragging in the structure
 window. The structure can be zoomed using the mouse scroll wheel or by
 [SHIFT]-dragging the structure.
+
 Moving the mouse cursor over a sequence to which the structure is linked in the
 alignment view highlights the respective residue's sidechain atoms. The
 sidechain highlight may be obscured by other parts of the molecule. Similarly,
@@ -3048,21 +3102,23 @@ disabled for the current view.
 
 \begin{figure}[htbp]
 \begin{center}
-\parbox{3in}{
+\parbox{4in}{
 {\centering 
 \begin{center}
-\includegraphics[scale=0.5]{images/structure1.pdf}
+\includegraphics[width=4in]{images/structure1.pdf}
 \end{center}
 }
 }
-\parbox{3.2in}{
+\parbox{2.2in}{
 {\centering 
 \begin{center}
-\includegraphics[width=3in]{images/structure2.pdf}
+\includegraphics[width=2.2in]{images/structure2.pdf}
 \end{center}
 }
 }
-\caption{{\bf Structure visualization} The structure viewer is launched from the sequence ID context menu (left) and allows the structure to be visualized using the embedded Jmol molecular viewer (right). }
+\caption{{\bf Structure visualization} Structure viewers are launched from
+the 3D Structure chooser dialog (left). Jalview shows the displayed structures
+coloured according the alignment view (right). }
 \label{structure}
 \end{center}
 \end{figure}
@@ -3081,7 +3137,7 @@ alignment using the {\sl Colours $\Rightarrow$ By Sequence } option. The image
 in the structure viewer can be saved as an EPS or PNG with the {\sl File
 $\Rightarrow$ Save As $\Rightarrow$ \ldots} submenu, which also allows the raw
 data to be saved as PDB format. The mapping between the structure and the
-sequence (How well and which parts of the structure relate to the sequence) can
+sequence (how well and which parts of the structure relate to the sequence) can
 be viewed with the {\sl File $\Rightarrow$ View Mapping} menu option.
 
 \subsubsection{Using the Jmol Visualization Interface }
@@ -3266,18 +3322,8 @@ structure data. {\sl Invert selection} and {\sl Select all views} options are al
 
 Note that the {\sl Select many views} option is useful if you have different
 views that colour different areas or domains of the alignment. This option is
-further explored in Section \ref{complexstructurecolours}.
+further explored in exercise \ref{complexstructurecolours}.
 
-\begin{figure}[htbp]
-\begin{center}
-\includegraphics[width=5.5in]{images/mviewstructurecol.pdf}
-\caption{{\bf Choosing a different view for colouring a structure display}
-Browsing the {\sl View $\Rightarrow$ Colour by ..} menu provides full control
-of which alignment view is used to colour structures when the {\sl Colours
-$\Rightarrow$ By Sequence} option is selected.}
-\label{mviewstructurecol}
-\end{center}
-\end{figure}
 
 \exercise{Aligning Structures using the Ferredoxin
 Sequence Alignment}{\label{superpositionex}
@@ -3319,6 +3365,17 @@ displaying the console).
 
 Which view do you think give the best 3D superposition, and why ?} }
 
+\begin{figure}[htbp]
+\begin{center}
+\includegraphics[width=5.5in]{images/mviewstructurecol.pdf}
+\caption{{\bf Choosing a different view for colouring a structure display}
+Browsing the {\sl View $\Rightarrow$ Colour by ..} menu provides full control
+of which alignment view is used to colour structures when the {\sl Colours
+$\Rightarrow$ By Sequence} option is selected.}
+\label{mviewstructurecol}
+\end{center}
+\end{figure}
+
 \subsubsection{Colouring Complexes}
 \label{complexstructurecolours}
 The ability to control which multiple alignment view is used to colour
@@ -3383,7 +3440,7 @@ sequences in the alignment.}
 \exstep{Repeat the previous two steps for each of the other
 alignments. In each case, after selecting the DNMT1\_MOUSE.pdb structure and
 hitting the `View' button on the Structure Chooser dialog, Jalview will ask if you wish to create
-a new Jmol view. Respond {\bf `Yes'} each time. This will ensure ensure each sequence
+a new Jmol view. Respond {\bf `Yes'} each time. This will ensure each sequence
 fragment is associated with the {\bf same} Jmol view. }
 
 \exstep{Pick a different
@@ -3403,7 +3460,7 @@ Annotation\ldots } option in each alignment window to shade the alignment by the
 Ensure that you first disable the {\sl View $\Rightarrow$ Show Features} menu
 option, or you may not see any colour changes in the associated structure.
 
-{\sl Examine the regions strongly coloured at the interfaces betweeen each
+{\sl Examine the regions strongly coloured at the interfaces between each
 protein domain, and the DNA binding region. What do you think these patterns
 mean ? } }
 \exstep{Save your work as a Jalview project and verify that it can be opened
@@ -3456,57 +3513,27 @@ the same criteria as above, then the alignment will be used for a JPred
 prediction on the first sequence in the set (that is, the one that appears first in the alignment window).
 \end{list}
 
-
-\begin{figure}[htbp]
-\begin{center}
-\includegraphics[width=2.25in]{images/jpred1.pdf}
-\includegraphics[width=3in]{images/jpred2.pdf}
-\caption{{\bf Secondary Structure Prediction} Status (left) and results (right) windows for JNet predictions. }
-\label{jpred}
-\end{center}
-\end{figure}
-
-
-Jpred is launched in the same way as the other web services. Select {\sl Web
-Service $\Rightarrow$ Secondary Structure Prediction $\Rightarrow$ JNet
-Secondary Structure Prediction}\footnote{JNet is the Neural Network based
-secondary structure prediction method that the JPred server uses.} from the
-alignment window menu (Figure \ref{jpred}).
-A status window opens to inform you of the progress of the job. Upon completion, a new alignment window opens and the Jpred
-predictions are included as annotations. Consult the Jpred documentation for
-information on interpreting these results.
-
-\subsection{Hidden Columns and JNet Predictions}
-\label{hcoljnet}
-Hidden columns can be used to exclude parts of a sequence or profile from the
-input sent to the JNet service. For instance, if a sequence is known to include
-a large loop insertion, hiding that section prior to submitting the JNet
-prediction can produce different results. In some cases, these secondary
-structure predictions can be more reliable for sequence on either side of the
-insertion\footnote{This, of course, cannot be guaranteed.}. Prediction results
-returned from the service will be mapped back onto the visible parts of the
-sequence, to ensure a single frame of reference is maintained in your analysis.
-
-
 \exercise{Secondary Structure Prediction}{
 \label{secstrpredex}
 
 {\sl Note: The annotation panel can get quite busy during this exercise. Try
 hiding some annotations rows by right clicking
 the mouse in the annotation label panel and select the ``Hide this row'' option.
-The Annotations dropdown menu on the alignment wndow also provides options for
-reording and hiding autocalculated and sequence associated annotation. }
+The Annotations dropdown menu on the alignment window also provides options for
+reordering and hiding autocalculated and sequence associated annotation. }
 
 \exstep{ Open the alignment at \url{http://www.jalview.org/tutorial/alignment.fa}. Select the sequence {\sl FER\_MESCR} by 
-clicking on the sequence ID. Then select {\sl Web Service $\Rightarrow$ Secondary Structure Prediction $\Rightarrow$ JNet Secondary Structure Prediction} 
-from the alignment window menu. A status window will appear and after some time (about 2-4 min) a new window with the JPred prediction will appear. 
+clicking on the sequence ID. Then select {\sl Web Service $\Rightarrow$
+Secondary Structure Prediction $\Rightarrow$ JPred Secondary Structure
+Prediction} from the alignment window menu. A status window will appear and after some time (about 2-4 min) a new window with the JPred prediction will appear.
 Note that the number of sequences in the results window is many more than in the original alignment as 
-JNet performs a PSI-BLAST search to expand the prediction dataset. The results
-from the prediction are visible in the annotation panel. Jnet secondary
+JPred performs a PSI-BLAST search to expand the prediction dataset. The results
+from the prediction are visible in the annotation panel. JPred secondary
 structure prediction annotations are examples of sequence-associated alignment annotation. }
 % TODO: check how long this takes - about 2 mins once it gets on the cluster.
 \exstep{
-Select a different sequence and perform a JNet prediction in the same way. There will probably be minor differences in the predictions.
+Select a different sequence and perform a JPred prediction in the same way.
+There will probably be minor differences in the predictions.
 }
 \exstep{
 Select the sequence used in the second sequence prediction by clicking on its
@@ -3532,15 +3559,45 @@ sequences, then open the {\sl Sequence ID $\Rightarrow$ Selection } submenu
 by right clicking the mouse to open the context menu, and select the {\sl Add
 Reference Annotation} option.
 
-{\bf All} the JNet predictions for the sequences will now be visible in the
+{\bf All} the JPred predictions for the sequences will now be visible in the
 original alignment window.}
 
 {\bf Homework:} Go back to the last step of exercise \ref{annotatingalignex} and
 follow the instructions to view the Jalview annotations file created from the annotations
 generated by the JPred server for your sequence.
+\bf See the video at:
+\url{http://www.jalview.org/training/Training-Videos}.}
 
-}
+\begin{figure}[htbp]
+\begin{center}
+\includegraphics[width=2.25in]{images/jpred1.pdf}
+\includegraphics[width=3in]{images/jpred2.pdf}
+\caption{{\bf Secondary Structure Prediction} Status (left) and results (right)
+windows for JPred predictions. }
+\label{jpred}
+\end{center}
+\end{figure}
+
+
+Jpred is launched in the same way as the other web services. Select {\sl Web
+Service $\Rightarrow$ Secondary Structure Prediction $\Rightarrow$ JPred
+Secondary Structure Prediction}\footnote{JNet is the Neural Network based
+secondary structure prediction method that the JPred server uses.} from the
+alignment window menu (Figure \ref{jpred}).
+A status window opens to inform you of the progress of the job. Upon completion, a new alignment window opens and the Jpred
+predictions are included as annotations. Consult the Jpred documentation for
+information on interpreting these results.
 
+\subsection{Hidden Columns and JPred Predictions}
+\label{hcoljnet}
+Hidden columns can be used to exclude parts of a sequence or profile from the
+input sent to the JNet service. For instance, if a sequence is known to include
+a large loop insertion, hiding that section prior to submitting the JNet
+prediction can produce different results. In some cases, these secondary
+structure predictions can be more reliable for sequence on either side of the
+insertion\footnote{This, of course, cannot be guaranteed.}. Prediction results
+returned from the service will be mapped back onto the visible parts of the
+sequence, to ensure a single frame of reference is maintained in your analysis.
 
 \section{Protein Disorder Prediction}
 \label{protdisorderpred}
@@ -3551,7 +3608,6 @@ function. The {\sl Web Service $\Rightarrow$ Disorder} menu in the alignment win
 allows access to protein disorder prediction services provided by the configured
 JABAWS servers. 
 
-
 \begin{figure}[htbp]
 \begin{center}
 \includegraphics[width=5in]{images/disorderpredannot.pdf}
@@ -3561,7 +3617,6 @@ zoomed out view of a prediction for a single sequence. The sequence is shaded to
 \end{center}
 \end{figure}
 
-
 \subsection{Disorder Prediction Results}
 Each service operates on sequences in the alignment to identify regions likely
 to be unstructured or flexible, or alternately, fold to form globular domains.
@@ -3573,14 +3628,6 @@ thresholding (described in Section \ref{featureschemes}) can be used to
 highlight differences in disorder prediction across aligned sequences.
 
 
-\begin{figure}[htbp]
-\begin{center}
-\includegraphics[width=5in]{images/disorderpred.pdf}
-\caption{{\bf Shading alignment by sequence disorder}. Alignment of Interleukin IV homologs coloured with Blosum62 with protein disorder prediction sequence features overlaid, shaded according to their score. Borderline disordered regions appear white, reliable predictions are either Green or Brown depending on the type of disorder prediction. }
-\label{alignmentdisorder}
-\end{center}
-\end{figure}
-
 \subsection{Navigating Large Sets of Disorder Predictions}
 
 Figure \ref{alignmentdisorderannot} shows a single sequence annotated with
@@ -3591,7 +3638,6 @@ prediction annotation rows, clicking on the annotation row label will highlight
 the associated sequence in the alignment display, and double clicking will
 select that sequence.
 
-
 \subsection{Disorder Predictors provided by JABAWS 2.0}
 For full details of each predictor and the results that Jalview can display,
 please consult
@@ -3624,6 +3670,14 @@ and have been used early on in disorder prediction.'' Features give
 range(s) of residues predicted as disordered, and annotation rows gives
 raw value for each residue. Values over 0.1204 indicates disorder.
 
+\begin{figure}[htbp]
+\begin{center}
+\includegraphics[width=5in]{images/disorderpred.pdf}
+\caption{{\bf Shading alignment by sequence disorder}. Alignment of Interleukin IV homologs coloured with Blosum62 with protein disorder prediction sequence features overlaid, shaded according to their score. Borderline disordered regions appear white, reliable predictions are either Green or Brown depending on the type of disorder prediction. }
+\label{alignmentdisorder}
+\end{center}
+\end{figure}
+
 \subsubsection{RONN {\sl a.k.a.} Regional Order Neural Network}
 \href{http://www.strubi.ox.ac.uk/RONN}{RONN} employs an approach
 known as the `bio-basis' method to predict regions of disorder in
@@ -3705,16 +3759,12 @@ Sequence ID $\Rightarrow$ 3D Structure Data\ldots } popup menu. Hit the
 available temperature factors to the alignment {\sl via} the {\sl Sequence ID
 Popup $\Rightarrow$ Selection $\Rightarrow$ Add reference annotation} option.}
 
-\exstep{Apply the IUPred disorder prediction method.} 
-\exstep{Use the {\sl Per
+\exstep{Apply the IUPred disorder prediction method. Use the {\sl Per
 sequence option} in the {\sl Colour $\Rightarrow$ By annotation \ldots} dialog to shade
-the sequences by the long and short disorder predictors.
-
-{\sl Note how well the regions predicted to be disordered by the methods agree
-with the structure.}
-}
-
-}
+the sequences by the long and short disorder predictors. {\sl Note how well the disordered regions predicted by each method agree
+with the structure.}}
+\bf See the video at:
+\url{http://www.jalview.org/training/Training-Videos}.}
 
 \chapter{DNA and RNA Sequences}
 \label{dnarna}
@@ -3725,7 +3775,7 @@ now includes some specific features for working with nucleic acid sequences
 and alignments. Jalview recognises nucleotide sequences and alignments based on
 the presence of nucleotide symbols [ACGT] in greater than 85\% of the
 sequences. Built in codon-translation tables can be used to translate ORFs
-into peptides for further analysis. EMBL nucleotide records retrieved {\sl via} the
+into peptides for further analysis. ENA nucleotide records retrieved {\sl via} the
 sequence fetcher (see Section \ref{fetchseq}) are also parsed in order to
 identify codon regions and extract peptide products. Furthermore, Jalview
 records mappings between protein sequences that are derived from regions of a
@@ -3813,7 +3863,7 @@ window is only available when working with a nucleic acid alignment. It uses the
 \subsection{Linked DNA and Protein Views}
 
 \parbox{3.5in}{
-Views of alignments involving DNA sequences are linked to views of alignments containing their peptide products in a similar way to views of protein sequences and views of their associated structures. Peptides translated from cDNA that have been fetched from EMBL records for DNA contigs are linked to their `parent' coding regions. Mousing over a region of the peptide highlights codons in views showing the original coding region.
+Views of alignments involving DNA sequences are linked to views of alignments containing their peptide products in a similar way to views of protein sequences and views of their associated structures. Peptides translated from cDNA that have been fetched from ENA records for DNA contigs are linked to their `parent' coding regions. Mousing over a region of the peptide highlights codons in views showing the original coding region.
 }\parbox{3in}{
 \begin{center}
 %\begin{figure}[htbp]
@@ -3826,21 +3876,21 @@ Views of alignments involving DNA sequences are linked to views of alignments co
 }
 
 
-\subsection{Coding Regions from EMBL Records}
+\subsection{Coding Regions from ENA Records}
 
-Many EMBL records that can be retrieved with the sequence fetcher contain exons.
-Coding regions will be marked as features on the EMBL nucleotide sequence, and
+Many ENA records that can be retrieved with the sequence fetcher contain exons.
+Coding regions will be marked as features on the ENA nucleotide sequence, and
 Uniprot database cross references will be listed in the tooltip displayed when
 the mouse hovers over the sequence ID. Uniprot database cross references
-extracted from EMBL records are sequence cross references, and associate a
+extracted from ENA records are sequence cross references, and associate a
 Uniprot sequence's coordinate system with the coding regions annotated on the
-EMBL sequence. Jalview utilises cross-reference information in two ways.
+ENA sequence. Jalview utilises cross-reference information in two ways.
 \subsubsection{Retrieval of Protein or DNA Cross References}
-The {\sl Calculate $\Rightarrow$ Get Cross References } function is only available when Jalview recognises that there are protein/DNA cross-references present on sequences in the alignment. When selected, it retrieves the cross references from the alignment's dataset (a set of sequence and annotation metadata shared between alignments) or using the sequence database fetcher. This function can be used for EMBL sequences containing coding regions to open the Uniprot protein products in a new alignment window. The new alignment window that is opened to show the protein products will also allow dynamic highlighting of codon positions in the EMBL record for each residue in the protein product(s).
+The {\sl Calculate $\Rightarrow$ Get Cross References } function is only available when Jalview recognises that there are protein/DNA cross-references present on sequences in the alignment. When selected, it retrieves the cross references from the alignment's dataset (a set of sequence and annotation metadata shared between alignments) or using the sequence database fetcher. This function can be used for ENA sequences containing coding regions to open the Uniprot protein products in a new alignment window. The new alignment window that is opened to show the protein products will also allow dynamic highlighting of codon positions in the ENA record for each residue in the protein product(s).
 
 \subsubsection{Retrieval of Protein Features on Coding Regions}
 
-The Uniprot cross-references derived from EMBL records can be used by Jalview to visualize protein sequence features directly on nucleotide alignments.
+The Uniprot cross-references derived from ENA records can be used by Jalview to visualize protein sequence features directly on nucleotide alignments.
 This is because the database cross references include the sequence coordinate mapping information to correspond regions on the protein sequence with that of the nucleotide contig. 
 Jalview will use the Uniprot accession numbers associated with the sequence to retrieve features, and then map them onto the nucleotide sequence's coordinate system using 
 the coding region location.
@@ -3851,7 +3901,7 @@ the coding region location.
 \includegraphics[width=5in]{images/dnadasfeatures.pdf}
 
 \caption{Uniprot and PDB sum features retrieved and mapped onto
-coding regions of EMBL record V00488 (an earlier version of Jalview is shown
+coding regions of ENA record V00488 (an earlier version of Jalview is shown
 here).}
 
 \end{center}
@@ -3859,7 +3909,7 @@ here).}
 
 \exercise{Visualizing Protein Features on Coding Regions}
 {
-\exstep{Use the sequence fetcher to retrieve EMBL record D49489.}
+\exstep{Use the sequence fetcher to retrieve ENA record D49489.}
 \exstep{Ensure that {\sl View $\Rightarrow$ Show Sequence Features} is checked and change the 
 alignment view format to {\sl Wrapped} mode so the distinct exons can be seen.}
 \exstep{Open the {\sl DAS Settings} tab in the {\sl Sequence Feature Settings\ldots} 
@@ -4158,7 +4208,7 @@ you should ever need to reset the JABAWS server list to its defaults, use the
 
 \subsection{Running your own JABA Server}
 You can download and run JABA on your own machine using the `VMWare' or
-VirtualBox virtual machine environments. If you would like to learn how to do
+VirtualBox virtual machine environments. If you would like to do
 this, there are full instructions at the
 \href{http://www.compbio.dundee.ac.uk/jabaws/}{JABA web site}.
 
@@ -4180,9 +4230,8 @@ for an email with a download link).}
 WARNING: This is large (about 300MB) and will take some time to download.
 }
 \exstep{Unpack the archive's contents to a place on your machine with at least
-2GB of free space.
-
-(On Windows, right click on the archive, and use the 'Extract archive..' option).
+2GB of free space (On Windows, right click on the archive, and use the 'Extract
+archive..' option).
 }
 \exstep{Open the newly extracted directory and double click the VMWare virtual
 machine configuration file (jabaws.vcf). This will launch the VMWare player.