2 * Jalview - A Sequence Alignment Editor and Viewer ($$Version-Rel$$)
3 * Copyright (C) $$Year-Rel$$ The Jalview Authors
5 * This file is part of Jalview.
7 * Jalview is free software: you can redistribute it and/or
8 * modify it under the terms of the GNU General Public License
9 * as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
11 * Jalview is distributed in the hope that it will be useful, but
12 * WITHOUT ANY WARRANTY; without even the implied warranty
13 * of MERCHANTABILITY or FITNESS FOR A PARTICULAR
14 * PURPOSE. See the GNU General Public License for more details.
16 * You should have received a copy of the GNU General Public License along with Jalview. If not, see <http://www.gnu.org/licenses/>.
17 * The Jalview Authors are detailed in the 'AUTHORS' file.
21 <div id="view_decorated" name="view_decorated" style="margin:8px; padding:10px; border: 2px solid red; text-align:center; display:none;"><b>Click <a href="index.html#appletParameters"> here</a> to view decorated page</b></div>
23 <!-- content start -->
24 <h2>JalviewLite Applet Parameter Documentation</h2>
26 The JalviewLite applet is configured through a series of applet parameters,
27 which are described <a href="#parameters"> below</a>. Once initialised,
28 the applet can be interacted with <em>via</em> its
29 <a href="javascript:doSubmit('jalviewLiteJs')">Javascript API</a>.
30 </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 may not be compatible with these settings. </p>
31 <p>For additional deployment notes, <a href="javascript:doSubmit('appletDeployment')">see Applet Deployment</a>.</p>
32 <p><h2>Applet Parameters</h2><br/>The applet takes the following initialisation parameters.</p>
33 <a name="parameters"></a> <table width="97%" class="borderTable" align="center" >
35 <td width="103" height="23"><strong><param name=""</strong></td>
36 <td width="80" ><strong>value=""></strong></td>
37 <td width="100%"><strong>Description</strong></td>
42 <td><strong>This parameter is necessary, and must have the value <em>sandbox</em> to allow the JalviewLite applet to run.</strong></td>
47 <td>The file to open, must be on same server as the applet.</td>
52 <td>A second file to open and show linked in a Split Frame
53 view. If one file is nucleotide and the other peptide, and at
54 least one peptide sequence matches the translation of one of the
55 nucleotide sequences, then gaps will be inserted into the
56 sequences in this file to match the aligned columns for
57 corresponding positions in the primary alignment file. This
58 parameter is ignored if enableSplitFrame is set to false (<em>since
63 <td>enableSplitFrame</td>
64 <td>true or false (default true)</td>
65 <td>Enable or disable the display of linked cDNA and Protein alignments in a split frame (<em>since 2.9</em>).</td>
71 <td>sequence in (preferably) PFAM or Fasta format</td>
72 <td>The alignment can be added as a series of sequences instead of
78 <td>Tree file in Newick format</td>
83 <td>Jalview Features file to be applied to the alignment</td>
88 <td>Jalview Annotation file will be added to the alignment</td>
93 <td>Secondary structure predictions from a <a
94 href="http://www.compbio.dundee.ac.uk/~www-jpred/">JPred</a> Concise
95 file will be added to the first sequence in the alignment.<br/>
96 <em>jpredfile</em> can be used interchangeably with this parameter.</td>
100 <td><p>fileName seq1 seq2 seq3</p>
102 <p>fileName A=seq1 B=seq2 C=seq3</p></td>
103 <td>PDB file which is to be associated with a sequence, followed by
104 space separated list of alignment sequence ids. PDB chains can be
105 specifed to map to particular sequence by using A=SeqA notation</td>
109 *Not needed post Jalview 2.3, use PDBFile instead</p></td>
111 <td>The sequence to associate a PDB file with. Note the value is case
115 <td>defaultColour</td>
116 <td> <em>One of: </em><br>
117 Clustal, Blosum62, % Identity, Hydrophobic, Zappo, Taylor, Helix
118 Propensity, Strand Propensity, Turn Propensity, Buried Index, Nucleotide, Purine/Pyrimidine, T-Coffee Scores, RNA Helices</td>
119 <td>Default is no colour.</td>
122 <td>defaultColourNuc</td>
123 <td>A colour scheme (from the list above) to apply to Nucleotide alignments</td><td>This overrides defaultColour if it is specified.</td>
126 <td>defaultColourProt</td>
127 <td>A colour scheme (from the list above) to apply to Peptide alignments</td><td>This overrides defaultColour if it is specified.</td>
130 <td>userDefinedColour</td>
131 <td><p><em>Example:</em><br>
132 D,E=red; K,R,H=0022FF; c=yellow</p></td>
133 <td>Define residue colours</td>
136 <td height="35">showFullId</td>
137 <td>true <em>or</em> false</td>
138 <td>if true displays start and end residue at the end of sequence
142 <td>showAnnotation</td>
143 <td>true <em>or</em> false</td>
144 <td>If true shows the annotation panel below the alignment.</td>
147 <td>showConservation</td>
148 <td>true <em>or</em> false</td>
149 <td>Default is true.</td>
153 <td>true <em>or</em> false</td>
154 <td>Default is true.</td>
157 <td>showConsensus</td>
158 <td>true <em>or</em> false</td>
159 <td>Default is true.</td>
162 <td>showOccupancy</td>
163 <td>true <em>or</em> false</td>
164 <td>Default is true.</td>
168 <td> Id <em>, </em> Pairwise Identity<em>, or</em> Length</td>
169 <td> Sorts the alignment on startup</td>
173 <td>colour as hex string</td>
174 <td>Background colour for applet button - purely cosmetic to blend
175 in with your web page. For orange, enter the value FF6600</td>
179 <td>true <em>or</em> false</td>
180 <td>The applet is embedded in the web page, the "Start Jalview"
181 button is not displayed.</td>
189 <td>windowHeight</td>
191 <td>frame height</td>
196 <td>Change text for the Launch Jalview Button</td>
200 <td>true <em>or</em> false</td>
201 <td>Opens new windows in wrapped mode</td>
205 <td>EMBL-EBI Search</td>
206 <td rowspan="2"><p>Right click on sequence id to see list of available
207 links. Any new links MUST have $SEQUENCE_ID$ as part of the linkURL_n
208 value. For multiple links, increment the label and url name by
210 <param name="linkLabel_2" ..., <br>
211 <param name="linkUrl_2"....<br>
213 <p>Regular expressions may also be used (<em>since Jalview 2.4</em>) to process the ID string inserted into the URL:
214 <br>$SEQUENCE_ID=/<regex to extract ID>/=$<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).
215 <br>Regex URL links are also applied to the description line (since Jalview 2.4.+).</em></p></td>
223 http://www.ebi.ac.uk/ebisearch/<br/>search.ebi?db=allebi&query=$SEQUENCE_ID$</p>
227 <td>showFeatureSettings</td>
228 <td>true <em>or</em> false</td>
229 <td>Shows the feature settings window when starting the applet</td>
232 <td>showfeaturegroups</td>
233 <td><em>separator</em> separated list of feature groups</td>
234 <td>Display the features in the given groups on the alignment</td>
237 <td>hidefeaturegroups</td>
238 <td><em>separator</em> separated list of feature groups</td>
239 <td>Hide the features in the given groups on the alignment
240 (will be overridden by showfeaturegroups for group names
241 found in both lists)</td>
244 <td>application_url</td>
245 <td><p><em>URL of dynamic JNLP servlet,</em></p>
246 <p>http://www.jalview.org/services/launchApp</p></td>
247 <td>Launches full application with original alignment, features and
248 annotations files used in applet</td>
252 <td><em>non-empty separator string</em><br>default: |</td>
253 <td>string used to separate fields in list parameters (such as <em>showfeaturegroups</em>)</td>
257 <td>Instruct the applet to output additional debug messages to the java console</td>
261 <td>When set, do not try to find Jmol classes. Set this to supress URL not found errors appearing
262 in server logs when Jmol is not available.
265 <tr><td>showbutton</td>
267 <td>Show the jalview button on the page. When false, JalviewLite will open immediately.</td>
270 <tr><td>sortByTree</td>
271 <td>true or false (default is false)</td>
272 <td>automatically sort the associated alignment view by the tree when a new tree is opened.</td>
275 <td>showTreeBootstraps</td><td>true or false (default is true)</td><td>show or hide branch bootstraps</td>
277 <tr><td>showTreeDistances</td><td>true or false (default is true)</td><td>show or hide branch lengths</td></tr>
278 <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>
280 <tr><td>heightScale</td>
281 <td>1.0 or greater</td>
282 <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>
284 <tr><td>widthScale</td>
285 <td>1.0 or greater</td>
286 <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>
288 <tr><td>scaleProteinAsCdna</td><td>true or false (default is false)</td>
289 <td>Set true to shown protein residues the same width as their encoding codons.
290 For use with parameter file2 when showing a split frame of cDNA and protein. (<em>since 2.9</em>)</td></tr>
291 <tr><td>centrecolumnlabels</td>
292 <td>true or false (default is false)</td>
293 <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>
294 <tr><td>showUnconserved</td>
295 <td>true or false (default is false)</td>
296 <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>
298 <tr><td>upperCase</td>
299 <td><em>bold</em> or other value</td>
300 <td>Indicate a text style to apply to uppercase sequence symbols. Currently, only <strong>bold</strong> is supported.</td>
302 <tr><td>automaticScrolling</td>
303 <td>true or false (default is true)</td>
304 <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>
307 <tr><td>showGroupConsensus</td>
308 <td>true or false (default is false)</td>
309 <td>When true, shows consensus annotation row for any groups on the alignment. (<em>since 2.7</em>)</td>
312 <tr><td>showGroupConservation</td>
313 <td>true or false (default is false)</td>
314 <td>When true, shows amino-acid property conservation annotation row for any groups on the alignment. (<em>since 2.7</em>)</td>
316 <tr><td>showConsensusHistogram</td>
317 <td>true or false (default is true)</td>
318 <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>
320 <tr><td>showSequenceLogo</td>
321 <td>true or false (default is false)</td>
322 <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>
324 <tr><td>normaliseSequenceLogo</td>
325 <td>true or false (default is false)</td>
326 <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>
329 <td><em>after_init()</em></td>
330 <td>name of javascript function that will be called after the jalviewLite instance has completed its initialisation. (<em>since 2.7</em>)</td>
332 <tr><td>relaxedidmatch</td>
333 <td><em>true or false (default is false)</em></td>
334 <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>
336 <tr><td>alignpdbfiles</td>
337 <td><em>true or false (default is false)</em></td>
338 <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>
340 <tr><td>externalstructureviewer</td>
341 <td><em>true or false (default is false)</em></td>
342 <td>re-route jmol colouring commands, selection and mouseover events to an external viewer using javascript callbacks. [experimental] (<em>since 2.7</em>)</td>
345 <tr><td>annotationcolour_max</td>
346 <td>colour name or RGB hex triplet (default is red)</td>
347 <td>Default colour used for maximum value when shading by annotation. (<em>since 2.7</em>)</td>
349 <tr><td>annotationcolour_min</td>
350 <td>colour name or RGB hex triplet (default is orange)</td>
351 <td>Default colour used for minimum value when shading by annotation. (<em>since 2.7</em>)</td>
353 <tr><td>jalviewhelpurl</td>
354 <td>absolute or relative url or javascript function prefixed by <em>javascript:</em> (default is http://www.jalview.org/help.html)</td>
355 <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>
357 <tr><td>resolvetocodebase</td>
358 <td>True or False (False)</td>
359 <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>
361 <tr><td>scoreFile</td>
363 <td>Multiple sequences aligment scores file. Currently is supported only the T-Coffee score_ascii file format</td>