84f61e40cd8a246c54279a42883c7daf85d3b5b8
[jalview.git] / examples / appletParameters.html
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
2 <!--
3     * Jalview - A Sequence Alignment Editor and Viewer (Version 2.8)
4     * Copyright (C) 2012 J Procter, AM Waterhouse, LM Lui, J Engelhardt, G Barton, M Clamp, S Searle
5     * 
6     * This file is part of Jalview.
7     * 
8     * Jalview is free software: you can redistribute it and/or
9     * modify it under the terms of the GNU General Public License 
10     * as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
11     *  
12     * Jalview is distributed in the hope that it will be useful, but 
13     * WITHOUT ANY WARRANTY; without even the implied warranty 
14     * of MERCHANTABILITY or FITNESS FOR A PARTICULAR 
15     * PURPOSE.  See the GNU General Public License for more details.
16     * 
17     * You should have received a copy of the GNU General Public License along with Jalview.  If not, see <http://www.gnu.org/licenses/>.
18   -->
19 <head>
20   <TITLE>Applet Parameters</TITLE>
21   <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> 
22
23   <link href="css/reset.css" rel="stylesheet" type="text/css" />
24   <link href="css/style.css" rel="stylesheet" type="text/css" />
25   
26   <!--[if IE 6]>
27       <link rel="stylesheet" type="text/css" href="css/ie6.css" />
28       <![endif]-->
29
30   <!--[if IE 7]>
31       <link rel="stylesheet" type="text/css" href="css/ie7.css" />
32       <![endif]-->
33
34   <!-- dd menu -->
35   <script type="text/javascript">
36     <!--
37         var timeout         = 500;
38         var closetimer  = 0;
39         var ddmenuitem      = 0;
40
41         // open hidden layer
42         function mopen(id)
43         { 
44         // cancel close timer
45         mcancelclosetime();
46
47         // close old layer
48         if(ddmenuitem) ddmenuitem.style.visibility = 'hidden';
49
50         // get new layer and show it
51         ddmenuitem = document.getElementById(id);
52         ddmenuitem.style.visibility = 'visible';
53
54         }
55         // close showed layer
56         function mclose()
57         {
58         if(ddmenuitem) ddmenuitem.style.visibility = 'hidden';
59         }
60
61         // go close timer
62         function mclosetime()
63         {
64         closetimer = window.setTimeout(mclose, timeout);
65         }
66
67         // cancel close timer
68         function mcancelclosetime()
69         {
70         if(closetimer)
71         {
72         window.clearTimeout(closetimer);
73         closetimer = null;
74         }
75         }
76
77         // close layer when click-out
78         document.onclick = mclose; 
79         // -->
80   </script>
81   <script>
82     <!--//--><![CDATA[//><!--
83 var _gaq = _gaq || [];_gaq.push(["_setAccount", "UA-9060947-1"]);_gaq.push(["_trackPageview"]);(function() {var ga = document.createElement("script");ga.type = "text/javascript";ga.async = true;ga.src = ("https:" == document.location.protocol ? "https://ssl" : "http://www") + ".google-analytics.com/ga.js";var s = document.getElementsByTagName("script")[0];s.parentNode.insertBefore(ga, s);})();
84 //--><!]]>
85   </script>
86
87 </head>
88
89
90 <body>
91
92
93   <div id="header">
94     <div id="logo"><a href="http://www.jalview.org" title="Home"></a></div>
95     <ul id="buttons">
96       <li id="applet"><a href="applets.html" title="applet"></a></li>
97       <li id="desktop"><a href="../webstart/jalview.jnlp" title="desktop"></a></li>
98     </ul>
99   </div>
100
101   
102   <div id ="nav">
103     <div id="navInner">
104
105       <ul id="sddm">
106         <li><a href="http://www.jalview.org">Home</a></li>
107         <li><a href="http://www.jalview.org/about" onmouseover="mopen('m1')" onmouseout="mclosetime()">About</a>
108           <div id="m1" onmouseover="mcancelclosetime()" onmouseout="mclosetime()">
109             <a href="http://www.jalview.org/about/documentation">Documentation</a>
110             <a href="http://www.jalview.org/about/citation">Publications</a>
111             <a href="http://www.jalview.org/about/credits">Credits</a>
112           </div>
113         </li>
114         <li><a href="http://www.jalview.org/faq">FAQ</a></li>
115         <li><a href="http://www.jalview.org/community" onmouseover="mopen('m3')" onmouseout="mclosetime()" class="community">Community</a>
116           <div id="m3" onmouseover="mcancelclosetime()" onmouseout="mclosetime()">
117             <a href="http://www.jalview.org/mailman/listinfo/jalview-announce">News Mailing List</a>
118             <a href="http://www.jalview.org/mailman/listinfo/jalview-discuss">Discussion Mailing List</a>
119             <a href="http://www.jalview.org/community/links">Links</a>
120             <a href="http://www.jalview.org/community/community-news">Community News</a>
121           </div>
122         </li>
123         <li><a href="http://www.jalview.org/development" onmouseover="mopen('m4')" onmouseout="mclosetime()" class="development">Development</a>
124           <div id="m4" onmouseover="mcancelclosetime()" onmouseout="mclosetime()">
125             <a href="http://www.jalview.org/development/release-history">Release History</a>
126             <a href="http://issues.jalview.org">Jalview Bug Tracker</a>
127             <a href="http://source.jalview.org/gitweb/">Jalview Git Web</a>
128             <a href="http://www.jalview.org/development/development-news">Development News</a>
129           </div>
130         </li>
131         <li><a href="http://www.jalview.org/training" onmouseover="mopen('m5')" onmouseout="mclosetime()" class="training">Training</a>
132           <div id="m5" onmouseover="mcancelclosetime()" onmouseout="mclosetime()">
133             <a href="http://www.jalview.org/training/training-courses">Training Courses</a>
134             <a href="http://www.jalview.org/training/training-news">Training News</a>
135           </div>
136         </li>
137         <li><a href="http://www.jalview.org/download" class="download-right">Download</a></li>
138       </ul>
139       <div style="clear:both"></div>
140     </div>
141
142   </div>
143 <div id="pageWrap">
144
145 <div id="sideNav">
146   <ul>
147       <li ><a href="applets.html">JalviewLite Examples</a></li>
148       <li ><a href="jalviewLiteJs.html">Javascript API</a></li>
149       <li class="jvlite-nav-small"><a href="appletParameters.html">Applet Parameters</a></li>
150       <li ><a href="embedded.html">Embedded Alignment</a></li>
151       <li ><a href="embeddedWJmol.html">Jalview and Jmol</a></li>
152       <li ><a href="formComplete.html">Access from Javascript</a></li>
153       <li ><a href="javascriptLaunch.html">Javascript Launch</a></li>
154       <li ><a href="linkedapplets_ng.html">Linked JalviewLites</a></li>
155   </ul>
156 </div>
157
158 <div id="content" class="content">
159
160
161 <!-- content start -->
162 <h2>JalviewLite Applet Parameter Documentation</h2>
163 <p>
164 The JalviewLite applet is configured through a series of applet parameters,
165 which are described <a href="#parameters"> below</a>. Once initialised,
166 the applet can be interacted with <em>via</em> its 
167 <a href="jalviewLiteJs.html">Javascript API</a>.
168 </p><p><strong>Issues arising from tightening of Java Security default settings</strong><br/>JalviewLite is provided as a signed applet with 'sandbox' permissions and wildcards that allow it to be run from any website. Unfortunately, earlier versions of Java are not compatible with these settings, so if you find that you cannot see any of the examples on the left, try the <a href="u_applets.html">unsigned applet examples</a>.
169 </p>
170     <p>For additional deployment notes, <a href="#appletdeploymentnotes">see below</a>.</p>
171             <p><h2>Applet Parameters</h2><br/>The applet takes the following initialisation parameters.</p>
172         <a name="parameters"></a>        <table width="97%" class="borderTable" align="center" >
173           <tr> 
174             <td width="103" height="23"><strong>&lt;param name=&quot;&quot;</strong></td>
175             <td width="80" ><strong>value=&quot;&quot;&gt;</strong></td>
176             <td width="100%"><strong>Description</strong></td>
177           </tr>
178           <tr>
179           <td>permissions</td>
180           <td>sandbox</td>
181           <td><strong>This parameter is necessary, and must have the value <em>sandbox</em> to allow the JalviewLite applet to run.</strong></td>
182           </tr>
183           <tr> 
184             <td>file</td>
185             <td>fileName</td>
186             <td>The file to open, must be on same server as the applet.</td>
187           </tr>
188           <tr> 
189             <td>sequence1,<br>
190               sequence2,<br>
191               sequence3</td>
192             <td>sequence in (preferably) PFAM or Fasta format</td>
193             <td>The alignment can be added as a series of sequences instead of 
194               from a file.</td>
195           </tr>
196           <tr> 
197             <td>tree</td>
198             <td>fileName</td>
199             <td>Tree file in Newick format</td>
200           </tr>
201           <tr> 
202             <td>features</td>
203             <td>fileName</td>
204             <td>Jalview Features file to be applied to the alignment</td>
205           </tr>
206           <tr> 
207             <td>annotations</td>
208             <td>fileName</td>
209             <td>Jalview Annotation file will be added to the alignment</td>
210           </tr>
211           <tr> 
212             <td>jnetfile</td>
213             <td>fileName</td>
214             <td>Secondary structure predictions from a <a
215             href="http://www.compbio.dundee.ac.uk/~www-jpred/">Jnet</a> Concise 
216               file will be added to the first sequence in the alignment.</td>
217           </tr>
218           <tr> 
219             <td>PDBfile(x)</td>
220             <td><p>fileName seq1 seq2 seq3</p>
221               <p>or</p>
222               <p>fileName A=seq1 B=seq2 C=seq3</p></td>
223             <td>PDB file which is to be associated with a sequence, followed by 
224               space separated list of alignment sequence ids. PDB chains can be 
225               specifed to map to particular sequence by using A=SeqA notation</td>
226           </tr>
227           <tr> 
228             <td><p>PDBSeq<br>
229                 *Not needed post Jalview 2.3, use PDBFile instead</p></td>
230             <td>SequenceId</td>
231             <td>The sequence to associate a PDB file with. Note the value is case 
232               sensitive.</td>
233           </tr>
234           <tr> 
235             <td>defaultColour</td>
236             <td> <em>One of: </em><br>
237               Clustal, Blosum62, % Identity, Hydrophobic, Zappo, Taylor, Helix 
238               Propensity, Strand Propensity, Turn Propensity, Buried Index, Nucleotide</td>
239             <td>Default is no colour.</td>
240           </tr>
241           <tr> 
242             <td>userDefinedColour</td>
243             <td><p><em>Example:</em><br>
244                 D,E=red; K,R,H=0022FF; c=yellow</p></td>
245             <td>Define residue colours</td>
246           </tr>
247           <tr> 
248             <td height="35">showFullId</td>
249             <td>true <em>or</em> false</td>
250             <td>if true displays start and end residue at the end of sequence 
251               Id.</td>
252           </tr>
253           <tr> 
254             <td>showAnnotation</td>
255             <td>true <em>or</em> false</td>
256             <td>If true shows the annotation panel below the alignment.</td>
257           </tr>
258           <tr> 
259             <td>showConservation</td>
260             <td>true <em>or</em> false</td>
261             <td>Default is true.</td>
262           </tr>
263           <tr> 
264             <td>showQuality</td>
265             <td>true <em>or</em> false</td>
266             <td>Default is true.</td>
267           </tr>
268           <tr> 
269             <td>showConsensus</td>
270             <td>true <em>or</em> false</td>
271             <td>Default is true.</td>
272           </tr>
273           <tr> 
274             <td>sortBy</td>
275             <td> Id <em>, </em> Pairwise Identity<em>, or</em> Length</td>
276             <td> Sorts the alignment on startup</td>
277           </tr>
278           <tr> 
279             <td>RGB</td>
280             <td>colour as hex string</td>
281             <td>Background colour for applet button - purely cosmetic to blend 
282               in with your web page. For orange, enter the value FF6600</td>
283           </tr>
284           <tr> 
285             <td>embedded</td>
286             <td>true <em>or</em> false</td>
287             <td>The applet is embedded in the web page, the &quot;Start Jalview&quot; 
288               button is not displayed.</td>
289           </tr>
290           <tr> 
291             <td>windowWidth</td>
292             <td>value</td>
293             <td>frame width</td>
294           </tr>
295           <tr> 
296             <td>windowHeight</td>
297             <td>value</td>
298             <td>frame height</td>
299           </tr>
300           <tr> 
301             <td>label</td>
302             <td>label text</td>
303             <td>Change text for the Launch Jalview Button</td>
304           </tr>
305           <tr> 
306             <td>wrap</td>
307             <td>true <em>or</em> false</td>
308             <td>Opens new windows in wrapped mode</td>
309           </tr>
310           <tr> 
311             <td>linkLabel_1</td>
312             <td>EMBL-EBI Search</td>
313             <td rowspan="2"><p>Right click on sequence id to see list of available 
314                 links. Any new links MUST have $SEQUENCE_ID$ as part of the linkURL_n 
315                 value. For multiple links, increment the label and url name by 
316                 1. ie <br>
317                 &lt;param name=&quot;linkLabel_2&quot; ..., <br>
318                 &lt;param name=&quot;linkUrl_2&quot;....<br>
319               </p>
320               <p>Regular expressions may also be used (<em>since Jalview 2.4</em>) to process the ID string inserted into the URL:
321               <br>$SEQUENCE_ID=/&lt;regex to extract ID&gt;/=$<br><em>Use the debug flag to check parsing and make sure that special symbols are properly escaped (particularly when generating applet tags from CGI scripts). 
322               <br>Regex URL links are also applied to the description line (since Jalview 2.4.+).</em></p></td>
323           </tr>
324           <tr> 
325             <td> <p>
326             <br>
327                 linkUrl_1<br>
328               </p></td>
329             <td><p><br>
330                 http://www.ebi.ac.uk/ebisearch/<br/>search.ebi?db=allebi&query=$SEQUENCE_ID$</p>
331                                                 </td>
332           </tr>
333           <tr> 
334             <td>showFeatureSettings</td>
335             <td>true <em>or</em> false</td>
336             <td>Shows the feature settings window when starting the applet</td>
337           </tr>
338           <tr>
339             <td>showfeaturegroups</td>
340             <td><em>separator</em> separated list of feature groups</td>
341             <td>Display the features in the given groups on the alignment</td>
342           </tr>
343           <tr>
344             <td>hidefeaturegroups</td>
345             <td><em>separator</em> separated list of feature groups</td>
346             <td>Hide the features in the given groups on the alignment
347             (will be overridden by showfeaturegroups for group names
348             found in both lists)</td>
349           </tr>
350           <tr> 
351             <td>application_url</td>
352             <td><p><em>URL of dynamic JNLP servlet,</em></p>
353               <p>http://www.jalview.org/services/launchApp</p></td>
354             <td>Launches full application with original alignment, features and 
355               annotations files used in applet</td>
356           </tr>
357           <tr>
358           <td>separator</td>
359           <td><em>non-empty separator string</em><br>default: |</td>
360           <td>string used to separate fields in list parameters (such as <em>showfeaturegroups</em>)</td>
361           </tr>
362           <tr><td>debug</td>
363           <td>true</td>
364           <td>Instruct the applet to output additional debug messages to the java console</td>
365           </tr>
366           <tr><td>nojmol</td>
367           <td>false</td>
368           <td>When set, do not try to find Jmol classes. Set this to supress URL not found errors appearing 
369           in server logs when Jmol is not available.
370           </td>
371           </tr>
372           <tr><td>showbutton</td>
373           <td>true</td>
374           <td>Show the jalview button on the page. When false, JalviewLite will open immediately.</td>
375           </tr>
376           </tr>
377                   <tr><td>sortByTree</td>
378                   <td>true or false (default is false)</td>
379                   <td>automatically sort the associated alignment view by the tree when a new tree is opened.</td>
380                   </tr>
381                   <tr>
382                    <td>showTreeBootstraps</td><td>true or false (default is true)</td><td>show or hide branch bootstraps</td>
383                         </tr>
384         <tr><td>showTreeDistances</td><td>true or false (default is true)</td><td>show or hide branch lengths</td></tr>
385         <tr><td>showUnlinkedTreeNodes</td><td>true or false (default is false)</td><td>indicate if unassociated nodes should be highlighted in the tree view</td>
386         </tr>
387           <tr><td>heightScale</td>
388           <td>1.0 or greater</td>
389           <td>Adjust the height of each cell in the alignment grid relative to the height of a character in the alignment font. (<em>since 2.5.1</em>)</td>
390           </tr>
391           <tr><td>widthScale</td>
392           <td>1.0 or greater</td>
393           <td>Adjust the width of each cell in the alignment grid relative to the width of a character in the alignment font. (<em>since 2.5.1</em>)</td>
394           </tr>
395           <tr><td>centrecolumnlabels</td>
396           <td>true of false (default is false)</td>
397           <td>When true, text labels associated with a column in the alignment will be shown centered with respect to the column. (<em>since 2.4</em>)</td>
398           <tr><td>showUnconserved</td>
399           <td>true of false (default is false)</td>
400           <td>When true, only gaps and symbols different to the consensus sequence for a column will be shown. Useful for visualizing alignments exhibiting low sequence variation, where it is important to highlight mutations. (<em>since 2.5</em>)</td>
401           </tr>
402           <tr><td>upperCase</td>
403           <td><em>bold</em> or other value</td>
404           <td>Indicate a text style to apply to uppercase sequence symbols. Currently, only <strong>bold</strong> is supported.</td>
405           </tr>
406           <tr><td>automaticScrolling</td>
407           <td>true of false (default is true)</td>
408           <td>When true, alignment panels will automatically scroll to show any regions of the alignment highlighted due to javascript events or when mousing over a position in an associated structure. (<em>since 2.6</em>)</td>
409           </tr>
410           
411           <tr><td>showGroupConsensus</td>
412           <td>true of false (default is false)</td>
413           <td>When true, shows consensus annotation row for any groups on the alignment. (<em>since 2.7</em>)</td>
414           </tr>
415           
416           <tr><td>showGroupConservation</td>
417           <td>true of false (default is false)</td>
418           <td>When true, shows amino-acid property conservation annotation row for any groups on the alignment. (<em>since 2.7</em>)</td>
419           </tr>
420           <tr><td>showConsensusHistogram</td>
421           <td>true of false (default is true)</td>
422           <td>When true, shows the percentage occurence of the consensus symbol for each column as a histogram above the consensus sequence row. (<em>since 2.7</em>)</td>
423           </tr>
424           <tr><td>showSequenceLogo</td>
425           <td>true of false (default is false)</td>
426           <td>When true, shows a sequence logo above the consensus sequence (overlaid above the Consensus Histogram, if visible, with symbols coloured using the alignment's default colourscheme). (<em>since 2.7</em>)</td>
427           </tr>
428           <tr><td>normaliseSequenceLogo</td>
429           <td>true of false (default is false)</td>
430           <td>When true, all sequence logos will be normalised (all symbol stacks add up to full height of annotation row), rather than being scaled according to the fraction of symbols identical to the consensus. (<em>since 2.8</em>)</td>
431           </tr>
432           <tr><td>oninit</td>
433           <td><em>after_init()</em></td>
434           <td>name of javascript function that will be called after the jalviewLite instance has completed its initialisation. (<em>since 2.7</em>)</td>
435           </tr>
436           <tr><td>relaxedidmatch</td>
437           <td><em>true or false (default is false)</em></td>
438           <td>When true, use stem based matching to identify sequences that match features imported from a GFF or Jalview sequence features file, and for associating PDB data (passed on PDBfile parguments) with sequences (based on a given destination sequence ID). (<em>since 2.7</em>)</td>
439           </tr>
440           <tr><td>alignpdbfiles</td>
441           <td><em>true or false (default is false)</em></td>
442           <td>When true, and jalviewLite is able to use jmol as a structure viewer, attempt to show a superposition of all structures loaded onto the alignment, superimposed using the aligned regions of corresponding sequences. [experimental] (<em>since 2.7</em>)</td>
443           </tr>
444           <tr><td>externalstructureviewer</td>
445           <td><em>true or false (default is false)</em></td>
446           <td>re-route jmol colouring commands, selection and mouseover events to an external viewer using javascript callbacks. [experimental] (<em>since 2.7</em>)</td>
447           
448           </tr>
449           <tr><td>annotationcolour_max</td>
450           <td>colour name or RGB hex triplet (default is red)</td>
451           <td>Default colour used for maximum value when shading by annotation. (<em>since 2.7</em>)</td>
452           </tr>
453           <tr><td>annotationcolour_min</td>
454           <td>colour name or RGB hex triplet (default is orange)</td>
455           <td>Default colour used for minimum value when shading by annotation. (<em>since 2.7</em>)</td>
456           </tr>
457           <tr><td>jalviewhelpurl</td>
458           <td>absolute or relative url or javascript function prefixed by <em>javascript:</em> (default is http://www.jalview.org/help.html)</td>
459           <td>Optional parameter allowing modification of the default Jalview Help URL normally opened when JalviewLite's 'Help' menu item is selected. (<em>since 2.7</em>)</td>
460           </tr>
461           <tr><td>resolvetocodebase</td>
462           <td>True or False (False)</td>
463           <td>Set to true to re-instate pre-JalviewLite 2.7 behaviour where relative URLs were prepended with the applet 'codebase' rather than the current document base URL before resolution. (<em>since 2.7</em>)</td>
464           </tr>
465           <tr><td>scoreFile</td>
466           <td>file</td>
467           <td>Multiple sequences aligment scores file. Currently is supported only the T-Coffee score_ascii file format</td>
468           </tr>
469                   </table>
470                   <p><h2><a name="appletdeploymentnotes"/>Notes on applet deployment</h2><br/>
471         <ul>
472           <li>Package all your data files into a single (or multiple) zip / jar 
473             files. This is very useful to reduce download time of large data files. 
474             The applet archive tag can take multiple entries separated by commas, 
475             eg<br>
476             <pre>&lt;applet code=&quot;jalview.bin.JalviewLite&quot;<em><strong> 
477             archive=&quot;jalviewApplet.jar, mydata.zip&quot;</strong></em>&gt;<br>
478             </pre></li>
479           <li> Use Jalview for input to a HTML form. For an example of how to 
480             code this using Javascript, click <a href="formComplete.html">here</a>. 
481             <br>
482           </li>
483           <li>Embed Jalview into the web page, without the &quot;Start Jalview&quot; 
484             button by setting the embed parameter to true;<br>
485             &lt;param name=&quot;embedded&quot;
486           value=&quot;true&quot;&gt; </li>
487         </ul>
488         <p><strong>**NEW FEATURES** in Jalview 2.8</strong></p>
489         <ul>
490         <li>Normalised sequence logo display
491         </li>
492         <li>RNA secondary structure annotation row
493         </li>
494 <li>Jmol compatibility updated to Jmol 12.2.x series - <a href="JmolApplet-12.2.4.jar">download the JmolApplet here</a></li>
495 <li>To use Jmol as the structure viewer for Jalview, you must include 
496             the jar file in the applet archive argument thus:<br>
497             <pre>archive=&quot;jalviewApplet.jar,Jmol-12.2.4.jar&quot;</pre>
498           </li>
499           <li>Jmol 12.2.x requires at least Java 1.6 to run in the clients web browser. If the client does not have 
500             Java 1.6, or if the Jmol-12.2.jar is not added to the archive, the 
501             original Jalview structure viewer will still be available. <br>
502           </li>
503           
504         </ul>
505         <p><strong>**NEW FEATURES** in Jalview 2.7</strong></p>
506         <ul>
507         <li>Javascript callbacks capabilities<ul><li>oninit parameter and methods for registering javascript handlers for selections, mouseovers and linking to Jmol applets on the page.</li>
508         <li>To use javascript callbacks, ensure the applet tag includes the '<a href="http://download.oracle.com/javase/6/docs/technotes/guides/plugin/developer_guide/java_js.html">mayscript</a>' attribute - either as a parameter (&lt;param name="mayscript" value="true"/;gt;) or as a bare attribute in the applet html tag).</li></ul>
509         </li>
510         <li>New <a href="jalviewLiteJs.html">jalviewLite java api</a> methods for selecting, highlighting, scrolling and reordering sequences in an alignment view.
511         </li></ul>
512         <p><strong>**NEW FEATURES** in Jalview 2.6</strong></p>
513         <ul>
514         <li>Jmol compatibility updated to Jmol 12.1.x series</li>
515           <li>Jalview 2.6 works only with Jmol version 12.1.13 or later. You can use the JmolApplet.jar from 
516           the Jmol binary distribution available at the Jmol Sourceforge site, 
517           or <a href="JmolApplet-12.1.13.jar">download the Jmol applet from here</a></li>
518           <li>Minimum recommended version of Java runtime for the applet is now 1.5 (JalviewLite v2.6 without the Jmol viewer may work ok on earlier Java environments but compatibility can no-longer be guaranteed).</li>
519   </ul>
520         <br><strong>**NEW FEATURES** in Jalview 2.5</strong></p>
521         <ul>
522         <li>New parameters to control display of tree annotation, width of alignment columns, and to disable the jalview button and check for Jmol on startup.</li>
523   </ul>        
524         <br><strong>**NEW FEATURES** in Jalview 2.4</strong></p>
525         <ul>
526         <li>New applet API methods for feature display control, views, and obtaining current selection via javascript.</li>
527           <li>Group show and hide parameters:
528         &quot;showfeaturegroups&quot; and
529         &quot;hidefeaturegroups&quot;. Both take a list
530         of feature group names (separarated by &quot;|&quot; by default) to hide or show on the displayed
531         alignment.
532         </li>
533         <li>Regular expressions can be used in URL links for sequence IDs.</li>
534         <li>&quot;debug&quot; parameter to control verbosity of the applet's console output.</li>
535         <li>&quot;showbutton&quot; parameter to disable launch button and open JalviewLite immediatly.</li>
536         <li>&quot;nojmol&quot; parameter to disable check for Jmol classes.</li>
537         </ul><br>
538         <strong>**NEW FEATURES** in Jalview 2.3</strong></p>
539         <ul>
540           <li>Note that Parameter &quot;PDBFile&quot; now takes 
541             the PDB file followed by a space separated list of alignment sequence 
542             ids to associate the structure to. It is also possible to associate 
543             multiple PDB files by adding an incremental value to PDBFile (up to 
544             10). It is also possible to map specific sequences to specific chains 
545             by using the following notation:<br>
546             <br>
547             <pre>
548             &lt;param name=&quot;PDBFile&quot; value=&quot;First.pdb SeqA SeqB 
549             SeqC&quot;&gt;<br>
550             &lt;param name=&quot;PDBFile2&quot; value=&quot;Second.pdb 
551             A=SeqA B=SeqB C=SeqC&quot;&gt;<br>
552             &lt;param name=&quot;PDBFile3&quot; value=&quot;Third.pdb 
553             D=SeqX B=SeqY C=SeqZ&quot;&gt;<br>
554             </pre>
555           </li>
556           <li>Note parameter &quot;PDBSeq&quot; is no longer required.<br>
557           </li>
558           <li>Jalview 2.3 was updated to work with Jmol 11. See the <a href="/development">versions archive if you want to download the old Jmol applet</a>.</li> 
559             <p>&nbsp;</p>
560           </li>
561         </ul>
562         <strong>**NEW FEATURES** in Jalview 2.1</strong> 
563         <ul>
564           <li>Jalview Applet can read and display JNet secondary structure annotation 
565             directly via the <strong>jnetfile</strong> parameter. <br>
566           </li>
567           <li>Param &quot;UserDefinedColour&quot; - specify your own colours for each residue using a semi colon 
568             separated list. Multiple residues can be assigned the same colour 
569             using commas. eg:<br>
570             <pre>&lt;param name=&quot;userDefinedColour&quot; 
571             value=&quot;D,E=red; K,R,H=0022FF; C=yellow&quot;&gt;</pre>
572           </li>
573           <li>Param &quot;showFeatureSettings&quot;
574             - this will display the feature settings window when the applet starts.
575           </li>
576           <li>Param &quot;Application_URL&quot; value=&quot;http://www.jalview.org/services/launchApp&quot;<br/>
577             This calls a servlet which creates a JNLP file with the alignment 
578             file, annotations file and features file of the applet as arguments. 
579             If the user has Java installed, the returned JNLP file should start 
580             up the full Jalview Application. BUT this does not currently work 
581             for alignment files added to the applet in a zip file.
582             <br/>Look at the XML comments in the file downloaded from <a href="http://www.jalview.org/services/launchApp">The LaunchApp page</a> for full documentation.
583           </li>
584           <li>Alignment file can be a series of parameters using eg PFAM format 
585             <br>
586             <pre>&lt;param name=&quot;sequence1&quot; 
587             value=&quot;Q93XJ9_SOLTU/11-26 TSFLPRKPVVTSLKAI&quot;&gt;<br>
588             &lt;param name=&quot;sequence2&quot; value=&quot;FER1_PEA/14-29 TSFLRTQPMPMSVTTT&quot;&gt;<br>
589             </pre>(All the usual Jalview File formats are valid, however each 
590             new line in an alignment file must be entered as a parameter)</li>
591         </ul>
592         
593
594 <!-- content end -->
595
596
597 </div> <!-- end content div -->
598
599 </div> <!-- content -->
600 </div> <!-- pagewrap -->
601 <div id ="footer">
602 <div id="innerFooter">
603 <div id="copyright"><p>Published under <a href="http://creativecommons.org/licenses/by-sa/3.0/">CC-SA 3.0</a></p></div>
604 <div id="cite">
605 <p>
606 If you use Jalview in your work, please cite this publication:
607 </p>
608 <br />
609 <p>
610 Waterhouse, A.M., Procter, J.B., Martin, D.M.A, Clamp, M. and Barton, G. J. (2009)
611 "Jalview Version 2 - a multiple sequence alignment editor and analysis workbench"
612 Bioinformatics 25 (9) 1189-1191 <a href="http://dx.doi.org/10.1093/bioinformatics/btp033">doi: 10.1093/bioinformatics/btp033</a>
613 </p>
614 </div>
615 </div>
616 </div>
617 </body>
618 </html>