b1588e599b4b74cfa4590fefa64aef7d5c0c3b0e
[jalview.git] / help / help / html / features / clarguments-reference.html
1 <html>
2 <!--
3  * Jalview is distributed in the hope that it will be useful, but 
4  * WITHOUT ANY WARRANTY; without even the implied warranty 
5  * of MERCHANTABILITY or FITNESS FOR A PARTICULAR 
6  * PURPOSE.  See the GNU General Public License for more details.
7  * 
8  * You should have received a copy of the GNU General Public License
9  * along with Jalview.  If not, see <http://www.gnu.org/licenses/>.
10  * The Jalview Authors are detailed in the 'AUTHORS' file.
11  -->
12 <title>Command Line: reference</title>
13 <body>
14
15   <h1>Command Line: reference</h1>
16
17   <p>
18   <a href="clarguments.html">Command Line: introduction</a>
19   <br/>
20   <a href="clarguments-basic.html">Command Line: basic usage</a>
21   <br/>
22   <a href="clarguments-advanced.html">Command Line: advanced usage</a>
23   <br/>
24   <a href="clarguments-argfiles.html">Command Line: argument files</a>
25   <br/>
26   Command Line: reference
27   </p>
28
29   <hr/>
30
31   <ul>
32   <li><a href="#initialisingarguments">Initialising arguments</a></li>
33   <li><a href="#openinganalignment">Opening an alignment</a></li>
34   <li><a href="#adding3dstructure">Adding 3D structure</a></li>
35   <li><a href="#processingalignments">Processing alignments</a></li>
36   <li><a href="#outputtingalignmentfiles">Outputting alignment files</a></li>
37   <li><a href="#exportingimagefiles">Exporting image files</a></li>
38   <li><a href="#controllingflowofarguments">Controlling flow of arguments</a></li>
39   </ul>
40
41
42   <h2><a name="initialisingarguments"></a>Initialising arguments</h2>
43
44   <table border="1" cellpadding="3">
45     <tr valign="top">
46     <td><strong>argument</strong></td>
47     <td><strong>action</strong></td>
48     </tr>
49
50     <tr valign="top">
51     <td><code>&#8209;&#8209;help / -h</code>
52     </td>
53     <td>Display a help statement.</td>
54     </tr>
55
56     <tr valign="top"><td><code>&#8209;&#8209;help&#8209;config</code></td><td>Help for arguments used to configure Jalview from startup</td></tr>
57     <tr valign="top"><td><code>&#8209;&#8209;help&#8209;opening</code></td><td>Help for arguments used to open and format alignments</td></tr>
58     <tr valign="top"><td><code>&#8209;&#8209;help&#8209;structure</code></td><td>Help for arguments used to add and format 3D structure data</td></tr>
59     <tr valign="top"><td><code>&#8209;&#8209;help&#8209;process</code></td><td>Help for arguments used to process an alignment once opened</td></tr>
60     <tr valign="top"><td><code>&#8209;&#8209;help&#8209;output</code></td><td>Help for arguments used to save data from a processed alignment</td></tr>
61     <tr valign="top"><td><code>&#8209;&#8209;help&#8209;image</code></td><td>Help for arguments used to export an image of an alignment</td></tr>
62     <tr valign="top"><td><code>&#8209;&#8209;help&#8209;structureimage</code></td><td>Help for arguments used to export an image of an structure</td></tr>
63     <tr valign="top"><td><code>&#8209;&#8209;help&#8209;flow</code></td><td>Help for arguments that control processing of the other arguments</td></tr>
64     <tr valign="top"><td><code>&#8209;&#8209;help&#8209;all</code></td><td>Help for all arguments</td></tr>
65
66     <tr valign="top">
67     <td><code>&#8209;&#8209;headless</code></td>
68     <td>Run Jalview in headless mode.  In headless mode, no GUI interface will be created and Jalview will quit after all arguments have been processed.
69     <br/>
70     If you use a command line argument to specify an output file of some kind (<code>&#8209;&#8209;output</code>, <code>&#8209;&#8209;image</code> or <code>&#8209;&#8209;structureimage</code>) then <strong>headless mode will be assumed</strong>.  If you don't want this behaviour use <code>&#8209;&#8209;gui</code>.
71     </td>
72     </tr>
73
74     <tr valign="top">
75     <td><code>&#8209;&#8209;gui</code></td>
76     <td>Force Jalview to run in graphical mode.  This can be used to counter the assumption of headless mode when an argument that creates an output file is used.  <code>&#8209;&#8209;gui</code> takes precedence over <code>&#8209;&#8209;headless</code>.</td>
77     </tr>
78
79     <tr valign="top">
80     <td><code>&#8209;&#8209;jabaws&nbsp;<em>URL</em></code></td>
81     <td>Set a different URL to connect to a JABAWS server.</td>
82     </tr>
83
84     <tr valign="top">
85     <td><code>&#8209;&#8209;news / &#8209;&#8209;nonews</code></td>
86     <td>Show (/ or don't show) the news feed.</td>
87     </tr>
88
89     <tr valign="top">
90     <td><code>&#8209;&#8209;splash / &#8209;&#8209;nosplash</code></td>
91     <td>Show (/ or don't show) the About Jalview splash screen.</td>
92     </tr>
93
94     <tr valign="top">
95     <td><code>&#8209;&#8209;javaconsole / &#8209;&#8209;nojavaconsole</code></td>
96     <td>Show (/ or don't show) the Java Console.  Using one of these overrides any saved Preference.</td>
97     </tr>
98
99     <tr valign="top">
100     <td><code>&#8209;&#8209;questionnaire / &#8209;&#8209;noquestionnaire</code></td>
101     <td>Show (/ or don't show) the questionnaire if one is available.</td>
102     </tr>
103
104     <tr valign="top">
105     <td><code>&#8209;&#8209;nousagestats</code></td>
106     <td>Don't send usage stats via Google analytics for this session. <em>Note: usage stats are useful for future funding for Jalview!</em></td>
107     </tr>
108
109     <tr valign="top">
110     <td><code>&#8209;&#8209;nostartupfile</code></td>
111     <td>Don't show the default startup file.</td>
112     </tr>
113
114     <tr valign="top">
115     <td><code>&#8209;&#8209;webservicediscovery / &#8209;&#8209;nowebservicediscovery</code></td>
116     <td>Attempt (/ or don't attempt) to connect to JABAWS web services.</td>
117     </tr>
118
119     <tr valign="top">
120     <td><code>&#8209;&#8209;props&nbsp;<em>filename</em></code></td>
121     <td>Use file <em>filename</em> as the preferences file <em>instead</em> of the usual <code>~/.jalview_properties</code> file.</td>
122     </tr>
123
124     <tr valign="top">
125     <td><code>&#8209;&#8209;debug</code></td>
126     <td>Start Jalview in debug log level.</td>
127     </tr>
128
129     <tr valign="top">
130     <td><code>&#8209;&#8209;quiet</code></td>
131     <td>Stop all output to STDOUT (after the Java Virtual Machine has started).  Use <code>&#8209;&#8209;quiet</code> a second time to stop all output to STDERR.</td>
132     </tr>
133
134 <!--
135     <tr valign="top">
136     <td><code>&#8209;&#8209;P<em>PREFERENCE=VALUE</em></code></td>
137     <td>Set a Jalview preference for this session only.  Experimental.</td>
138     </tr>
139 -->
140
141 <!--
142     <tr valign="top">
143     <td><code>&#8209;&#8209;initsubstitutions / &#8209;&#8209;noinitsubstitutions</code></td>
144     <td>Set <code>&#8209;&#8209;substitutions</code> to be initially enabled (or initially disabled).</td>
145     </tr>
146 -->
147
148 <!--
149     <tr valign="top">
150     <td><code>&#8209;&#8209;threads <em>NUMBER</em></code></td>
151     <td>When opening multiple alignment windows, set a limit of <em>NUMBER</em> alignments being processed at one time.  The default is 3.</td>
152 -->
153
154     </tr>
155
156     <tr valign="top">
157     <td><code>&#8209;&#8209;jvmmempc=<em>PERCENT</em></code></td>
158     <td>
159       Limit maximum heap size (memory) to <em>PERCENT</em>% of total physical memory detected.
160       This defaults to 90 if total physical memory can be detected.
161       <br/>
162       The equals sign ("=") separator must be used with no spaces.
163       <br/>
164       See <a href="../memory.html">Memory usage settings for Jalview</a> for more details.
165     </td>
166     </tr>
167
168     <tr valign="top">
169     <td><code>&#8209;&#8209;jvmmemmax=<em>MAXMEMORY</em></code></td>
170     <td>
171       Limit maximum heap size (memory) to <em>MAXMEMORY</em>. <em>MAXMEMORY</em> can be specified in bytes, kilobytes(k), megabytes(m),
172       gigabytes(g) or if you're lucky enough, terabytes(t).
173       This defaults to 32g if total physical memory can be detected, or to 8g if total physical memory cannot be detected.
174       <br/>
175       The equals sign ("=") separator must be used with no spaces.
176       <br/>
177       See <a href="../memory.html">Memory usage settings for Jalview</a> for more details.
178     </td>
179     </tr>
180
181   </table>
182
183
184   <h2><a name="openinganalignment"></a>Opening an alignment</h2>
185
186   <table border="1" cellpadding="3">
187     <tr valign="top">
188     <td><strong>argument</strong></td>
189     <td><strong>action</strong></td>
190     <td><strong>sub-value modifiers</strong> (optional)</td>
191     <td><strong>linked</strong> (optional)</td>
192     </tr>
193
194     <tr valign="top">
195     <td><code>&#8209;&#8209;open&nbsp;<em>filename/URL ...</em></code></td>
196     <td>
197     Opens one or more alignment files <em>filename</em> or URLs <em>URL</em> in new alignment windows.
198     </td>
199     <td>
200       <code>
201         colour=<em>name</em>,
202         <br/>
203         title=<em>string</em>,
204         <br/>
205         features=<em>filename</em>,
206         <br/>
207         annotations=<em>filename</em>,
208         <br/>
209         tree=<em>filename</em>,
210         <br/>
211         showannotations,
212         <br/>
213         showssannotations,
214         <br/>
215         sortbytree,
216         <br/>
217         wrap
218       </code>
219     </td>
220     <td align="center">&#x2713;</td>
221     </tr>
222
223     <tr valign="top">
224     <td><code>&#8209;&#8209;append&nbsp;<em>filename/URL ...</em></code></td>
225     <td>Appends one or more alignment files <em>filename</em> or URLs <em>URL</em> to the open alignment window (or opens a new alignment if none already open).</td>
226     <td>
227     <code>
228         colour=<em>name</em>,
229         <br/>
230         title=<em>string</em>,
231         <br/>
232         features=<em>filename</em>,
233         <br/>
234         annotations=<em>filename</em>,
235         <br/>
236         tree=<em>filename</em>,
237         <br/>
238         showannotations,
239         <br/>
240         showssannotations,
241         <br/>
242         sortbytree,
243         <br/>
244         wrap
245       </code>
246     </td>
247     <td align="center">&#x2713;</td>
248     </tr>
249
250     <tr valign="top">
251     <td><code>&#8209;&#8209;title&nbsp;<em>"string"</em></code></td>
252     <td>Specifies the title for the open alignment window as <em>string</em>.</td>
253     <td></td>
254     <td align="center">&#x2713;</td>
255     </tr>
256
257     <tr valign="top">
258     <td><code>&#8209;&#8209;colour&nbsp;<em>name</em></code></td>
259     <td>Applies the colour scheme <em>name</em> to the open alignment window.  Valid values for <em>name</em> include:
260     <br/>
261     <code>clustal</code>,
262     <br/>
263     <code>blosum62</code>,
264     <br/>
265     <code>pc-identity</code>,
266     <br/>
267     <code>zappo</code>,
268     <br/>
269     <code>taylor</code>,
270     <br/>
271     <code>gecos-flower</code>,
272     <br/>
273     <code>gecos-blossom</code>,
274     <br/>
275     <code>gecos-sunset</code>,
276     <br/>
277     <code>gecos-ocean</code>,
278     <br/>
279     <code>hydrophobic</code>,
280     <br/>
281     <code>helix-propensity</code>,
282     <br/>
283     <code>strand-propensity</code>,
284     <br/>
285     <code>turn-propensity</code>,
286     <br/>
287     <code>buried-index</code>,
288     <br/>
289     <code>nucleotide</code>,
290     <br/>
291     <code>nucleotide-ambiguity</code>,
292     <br/>
293     <code>purine-pyrimidine</code>,
294     <br/>
295     <code>rna-helices</code>,
296     <br/>
297     <code>t-coffee-scores</code>,
298     <br/>
299     <code>sequence-id</code>.
300     <br/>
301     <br/>
302     Names of user defined schemes will also work, and jalview colour scheme specifications like:
303     <br/>
304         <code>&#8209;&#8209;colour "D,E=red; K,R,H=0022FF; C,c=yellow"</code>
305     <td></td>
306     <td align="center">&#x2713;</td>
307     </tr>
308
309     <tr valign="top">
310     <td><code>&#8209;&#8209;features&nbsp;<em>filename/URL</em></code></td>
311     <td>Add a feature file <em>filename</em> or URL <em>URL</em> to the open alignment.</td>
312     <td></td>
313     <td align="center">&#x2713;</td>
314     </tr>
315
316
317
318     <tr valign="top">
319     <td><code>&#8209;&#8209;tree&nbsp;<em>filename/URL</em></code></td>
320     <td>Add a tree file <em>filename</em> or URL <em>URL</em> to the open alignment.</td>
321     <td></td>
322     <td align="center">&#x2713;</td>
323     </tr>
324
325     <tr valign="top">
326     <td><code>&#8209;&#8209;sortbytree / &#8209;&#8209;nosortbytree</code></td>
327     <td>Enforces sorting (or not sorting) the alignment in the order of an attached phylogenetic tree.</td>
328     <td></td>
329     <td align="center">&#x2713;</td>
330     </tr>
331
332
333     <tr valign="top">
334     <td><code>&#8209;&#8209;annotations&nbsp;<em>filename/URL</em></code></td>
335     <td>Add an annotations file <em>filename</em> or URL <em>URL</em> to the open alignment.</td>
336     <td></td>
337     <td align="center">&#x2713;</td>
338     </tr>
339
340     <tr valign="top">
341     <td><code>&#8209;&#8209;showannotations / &#8209;&#8209;noshowannotations</code></td>
342     <td>Enforces showing (or not showing) alignment annotations.</td>
343     <td></td>
344     <td align="center">&#x2713;</td>
345     </tr>
346
347     <tr valign="top">
348     <td><code>&#8209;&#8209;wrap / &#8209;&#8209;nowrap</code></td>
349     <td>Enforces wrapped (or not wrapped) alignment formatting.</td>
350     <td></td>
351     <td align="center">&#x2713;</td>
352     </tr>
353
354     <tr valign="top">
355     <td><code>&#8209;&#8209;nostructure</code></td>
356     <td>Do not open or process any 3D structure in the <code>&#8209;&#8209;open</code> or <code>&#8209;&#8209;append</code> files.</td>
357     <td></td>
358     <td align="center">&#x2713;</td>
359     </tr>
360
361   </table>
362
363
364   <h2><a name="adding3dstructure"></a>Adding 3D structure</h2>
365
366   <table border="1" cellpadding="3">
367     <tr valign="top">
368     <td><strong>argument</strong></td>
369     <td><strong>action</strong></td>
370     <td><strong>sub-value modifiers</strong> (optional)</td>
371     <td><strong>linked</strong> (optional)</td>
372     </tr>
373
374     <tr valign="top">
375     <td><code>&#8209;&#8209;structure&nbsp;<em>filename/URL</em></code></td>
376     <td>Load a structure file <em>filename</em> or URL <em>URL</em> associated with a sequence in the open alignment.  The sequence to be associated with can be specified with a following <code>&#8209;&#8209;seqid</code> argument, or the sub-value modifier <code>seqid=<em>ID</em></code> can be used.  A sub-value <em>INDEX</em> can also be used to specify the <em>INDEX-th</em> sequence in the open alignment.</td>
377     <td>
378       <code>
379         seqid=<em>id</em></code> or <code><em>INDEX</em>,
380         <br/>
381         paefile=<em>filename</em>,
382         <br/>
383         tempfac=<em>name</em>,
384         <br/>
385         showssannotations,
386         <!--
387         <br/>
388         notempfac,
389         -->
390         <br/>
391         structureviewer=<em>name</em>
392       </code></td>
393     <td align="center">&#x2713;</td>
394     </tr>
395
396
397     <tr valign="top">
398     <td><code>&#8209;&#8209;seqid&nbsp;<em>ID</em></code></td>
399     <td>Specify the sequence name for the preceding <code>&#8209;&#8209;structure</code> to be associated with.</td>
400     <td></td>
401     <td align="center">&#x2713;</td>
402     </tr>
403
404
405     <tr valign="top">
406     <td><code>&#8209;&#8209;paematrix&nbsp;<em>filename</em></code></td>
407     <td>Add a PAE json matrix file <em>filename</em> to the preceding <code>&#8209;&#8209;structure</code>.</td>
408     <td></td>
409     <td align="center">&#x2713;</td>
410     </tr>
411
412
413     <tr valign="top">
414     <td><code>&#8209;&#8209;tempfac&nbsp;<em>name</em></code></td>
415     <td>Set the type of temperature factor.  Valid values for <em>name</em> are:
416       <br/>
417       <code>default</code>,
418       <br/>
419       <code>plddt</code>
420     </td>
421     <td></td>
422     <td align="center">&#x2713;</td>
423     </tr>
424
425
426     <tr valign="top">
427     <td><code>&#8209;&#8209;structureviewer&nbsp;<em>name</em></code></td>
428     <td>Set the structure viewer to use to open the 3d structure file specified in previous <code>&#8209;&#8209;structure</code> to <em>name</em>.  Valid values of <em>name</em> are:
429     <br/>
430     <code>none</code>,
431     <br/>
432     <code>jmol</code>,
433     <br/>
434     <code>chimera</code> <em>- requires installation, might need configuring in Preferences</em>,
435     <br/>
436     <code>chimerax</code> <em>- requires installation, might need configuring in Preferences</em>,
437     <br/>
438     <code>pymol</code> <em>- requires installation, might need configuring in Preferences</em>
439     </td>
440     <td></td>
441     <td align="center">&#x2713;</td>
442     </tr>
443
444
445     <!--
446     <tr valign="top">
447     <td><code>&#8209;&#8209;notempfac</code></td>
448     <td>Do not show the temperature factor annotation for the preceding <code>&#8209;&#8209;structure</code></td>
449     <td></td>
450     <td align="center">&#x2713;</td>
451     </tr>
452     -->
453
454
455     <tr valign="top">
456     <td><code>&#8209;&#8209;showssannotations / &#8209;&#8209;noshowssannotations</code></td>
457     <td>Do not show secondary structure annotations for the preceding <code>&#8209;&#8209;structure</code></td>
458     <td></td>
459     <td align="center">&#x2713;</td>
460     </tr>
461
462     <tr valign="top">
463     <td><code>&#8209;&#8209;close</code></td>
464     <td>Close the open alignment window.  This occurs after other output, processing and image export arguments.  This applies to the current open alignment -- to apply to all <code>&#8209;&#8209;output</code> and <code>&#8209;&#8209;image</code> files, use after <code>&#8209;&#8209;all</code>.</td>
465     <td></td>
466     <td align="center">&#x2713;</td>
467     </tr>
468
469   </table>
470
471
472   <h2><a name="processingalignments"></a>Processing alignments</h2>
473
474   <table border="1" cellpadding="3">
475     <tr valign="top">
476     <td><strong>argument</strong></td>
477     <td><strong>action</strong></td>
478     <td><strong>sub-value modifiers</strong> (optional)</td>
479     <td><strong>linked</strong> (optional)</td>
480     </tr>
481
482     <tr valign="top">
483     <td><code>&#8209;&#8209;groovy&nbsp;<em>filename</em></code></td>
484     <td>Process a groovy script in the file for the open alignment.</td>
485     <td></td>
486     <td align="center">&#x2713;</td>
487     </tr>
488   </table>
489
490
491   <h2><a name="outputtingalignmentfiles"></a>Outputting alignment files</h2>
492
493   <table border="1" cellpadding="3">
494     <tr valign="top">
495     <td><strong>argument</strong></td>
496     <td><strong>action</strong></td>
497     <td><strong>sub-value modifiers</strong> (optional)</td>
498     <td><strong>linked</strong> (optional)</td>
499     </tr>
500
501     <tr valign="top">
502     <td><code>&#8209;&#8209;output&nbsp;<em>filename</em></code></td>
503     <td>Export the open alignment to file <em>filename</em>.  The format <em>name</em> is specified by the sub-value modifier <code>format=<em>name</em></code>, a following <code>&#8209;&#8209;format <em>name</em></code> argument or guessed from the file extension.  Valid format names (and file extensions) are:
504     <br/>
505     <code>fasta</code> (<code>fa, fasta, mfa, fastq</code>),
506     <br/>
507     <code>pfam</code> (<code>pfam</code>),
508     <br/>
509     <code>stockholm</code> (<code>sto, stk</code>),
510     <br/>
511     <code>pir</code> (<code>pir</code>),
512     <br/>
513     <code>blc</code> (<code>blc</code>),
514     <br/>
515     <code>amsa</code> (<code>amsa</code>),
516     <br/>
517     <code>json</code> (<code>json</code>),
518     <br/>
519     <code>pileup</code> (<code>pileup</code>),
520     <br/>
521     <code>msf</code> (<code>msf</code>),
522     <br/>
523     <code>clustal</code> (<code>aln</code>),
524     <br/>
525     <code>phylip</code> (<code>phy</code>),
526     <br/>
527     <code>jalview</code> (<code>jvp, jar</code>).
528     <br/>
529     To output directly to STDOUT (console output) use the filename <code>-</code> (a single hyphen).  In this case all STDOUT messages will instead go to STDERR.  If no <code>format</code> is supplied then Fasta will be assumed.
530     </td>
531     <td><code>format=<em>name</em></code></td>
532     <td align="center">&#x2713;</td>
533     </tr>
534
535     <tr valign="top">
536     <td><code>&#8209;&#8209;format&nbsp;<em>name</em></code></td>
537     <td>Sets the format for the preceding <code>&#8209;&#8209;output</code> file.  Valid formats are:
538     <br/>
539     <code>fasta</code>,
540     <br/>
541     <code>pfam</code>,
542     <br/>
543     <code>stockholm</code>,
544     <br/>
545     <code>pir</code>,
546     <br/>
547     <code>blc</code>,
548     <br/>
549     <code>amsa</code>,
550     <br/>
551     <code>json</code>,
552     <br/>
553     <code>pileup</code>,
554     <br/>
555     <code>msf</code>,
556     <br/>
557     <code>clustal</code>,
558     <br/>
559     <code>phylip</code>,
560     <br/>
561     <code>jalview</code>.
562     </td>
563     <td></td>
564     <td align="center">&#x2713;</td>
565     </tr>
566
567     <tr valign="top">
568     <td><code>&#8209;&#8209;backups / &#8209;&#8209;nobackups</code></td>
569     <td>Enable (or disable) writing backup files when saving an <code>&#8209;&#8209;output</code> file.  This applies to the current open alignment -- to apply to all <code>&#8209;&#8209;output</code> and <code>&#8209;&#8209;image</code> files, use after <code>&#8209;&#8209;all</code>.</td>
570     <td></td>
571     <td align="center">&#x2713;</td>
572     </tr>
573
574     <tr valign="top">
575     <td><code>&#8209;&#8209;overwrite / &#8209;&#8209;nooverwrite</code></td>
576     <td>Enable (or disable) overwriting of output files without backups enabled.  This applies to the current open alignment -- to apply to all <code>&#8209;&#8209;output</code> and <code>&#8209;&#8209;image</code> files, use after <code>&#8209;&#8209;all</code>.</td>
577     <td></td>
578     <td align="center">&#x2713;</td>
579     </tr>
580
581     <tr valign="top">
582     <td><code>&#8209;&#8209;mkdirs</code></td>
583     <td>Enable automatic creation of new directories and parent directories for filenames given, or created through substitutions, in <code>&#8209;&#8209;output</code>, <code>&#8209;&#8209;image</code> or <code>&#8209;&#8209;structureimage</code> arguments.
584     <td></td>
585     <td align="center">&#x2713;</td>
586     </tr>
587
588
589
590 Automatically create directories when outputting a file to a new directory
591   </table>
592
593
594   <h2><a name="exportingimagefiles"></a>Exporting image files</h2>
595
596   <table border="1" cellpadding="3">
597     <tr valign="top">
598     <td><strong>argument</strong></td>
599     <td><strong>action</strong></td>
600     <td><strong>sub-value modifiers</strong> (optional)</td>
601     <td><strong>linked</strong> (optional)</td>
602     </tr>
603
604     <tr valign="top">
605     <td><code>&#8209;&#8209;image&nbsp;<em>filename</em></code></td>
606     <td>Output an image of the open alignment window.  Format is specified by the sub-value modifier, a following <code>&#8209;&#8209;type</code> argument or guessed from the file extension.  Valid formats/extensions are:
607     <br/>
608     <code>svg</code>,
609     <br/>
610     <code>png</code>,
611     <br/>
612     <code>eps</code>,
613     <br/>
614     <code>html</code>,
615     <br/>
616     <code>biojs</code>.
617     </td>
618     <td>
619       <code>
620       type=<em>name</em>,
621       <br/>
622       textrenderer=<em>name</em>,
623       <br/>
624       scale=<em>number</em>,
625       <br/>
626       width=<em>number</em>,
627       <br/>
628       height=<em>number</em>,
629       <br/>
630       imagecolour=<em>name</em>
631       </code>
632     </td>
633     <td align="center">&#x2713;</td>
634     </tr>
635
636     <tr valign="top">
637     <td><code>&#8209;&#8209;structureimage&nbsp;<em>filename</em></code></td>
638     <td>Export an image of a 3D structure opened in JMOL (currently jmol only).  Each <code>&#8209;&#8209;structureimage</code> filename will output a file for each <code>&#8209;&#8209;structureimage</code> that has been applied to the open alignment window.  In this situation, to avoid overwriting the same file with each structure, additional substitutions <code>{structuredirname}</code>, <code>{structurebasename}</code> and <code>{structureextname}</code> are available being substituted with the directory path, file basename and file extension of each structure file.    Image formats can be:
639     <br/>
640     <code>svg</code>,
641     <br/>
642     <code>png</code>,
643     <br/>
644     <code>eps</code>.
645     </td>
646     <td>
647       <code>
648       type=<em>name</em>,
649       <br/>
650       textrenderer=<em>name</em>,
651       <br/>
652       scale=<em>number</em>,
653       <br/>
654       width=<em>number</em>,
655       <br/>
656       height=<em>number</em>,
657       <br/>
658       imagecolour=<em>name</em>
659       <br/>
660       bgcolour=<em>name</em>
661       </code>
662     </td>
663     <td align="center">&#x2713;</td>
664     </tr>
665
666     <tr valign="top">
667     <td><code>&#8209;&#8209;type&nbsp;<em>name</em></code></td>
668     <td>Set the image format for the preceding <code>&#8209;&#8209;image</code> or <code>&#8209;&#8209;structureimage</code> to <em>name</em>.  Valid values for <em>name</em> are:
669     <br/>
670     <code>svg</code>,
671     <br/>
672     <code>png</code>,
673     <br/>
674     <code>eps</code>,
675     <br/>
676     <code>html</code>,
677     <br/>
678     <code>biojs</code>.
679     </td>
680     <td></td>
681     <td align="center">&#x2713;</td>
682     </tr>
683
684     <tr valign="top">
685     <td><code>&#8209;&#8209;textrenderer&nbsp;<em>name</em></code></td>
686     <td>Sets whether text in a vector image format (SVG, HTML, EPS) should be rendered as text or vector line-art.  Applies to the preceding <code>&#8209;&#8209;image</code> or <code>&#8209;&#8209;structureimage</code>.  Valid values for <em>name</em> are:
687     <br/>
688     <code>text</code>,
689     <br/>
690     <code>lineart</code>.
691     </td>
692     <td></td>
693     <td align="center">&#x2713;</td>
694     </tr>
695
696     <tr valign="top">
697     <td><code>&#8209;&#8209;scale&nbsp;<em>number</em></code></td>
698     <td>Sets a scaling for bitmap image format (PNG).  Should be given as a floating point number.  Applies to the preceding <code>&#8209;&#8209;image</code> or <code>&#8209;&#8209;structureimage</code>.  This can also be set as a sub-value modifier to the <code>&#8209;&#8209;image</code> or <code>&#8209;&#8209;structureimage</code> value.  If used in conjunction with <code>&#8209;&#8209;width</code> and <code>&#8209;&#8209;height</code> then the smallest size will be used (<code>scale</code>, <code>width</code> and <code>height</code> provide bounds for the image).
699     </td>
700     <td></td>
701     <td align="center">&#x2713;</td>
702     </tr>
703
704     <tr valign="top">
705     <td><code>&#8209;&#8209;width&nbsp;<em>number</em></code></td>
706     <td>Sets a width for bitmap image format (PNG) with the height maintaining the aspect ratio.  Applies to the preceding <code>&#8209;&#8209;image</code> or <code>&#8209;&#8209;structureimage</code>.  Should be given as a positive integer.  This can also be set as a sub-value modifier to the <code>&#8209;&#8209;image</code> or <code>&#8209;&#8209;structureimage</code> value.  If used in conjunction with <code>&#8209;&#8209;scale</code> and <code>&#8209;&#8209;height</code> then the smallest size will be used (<code>scale</code>, <code>width</code> and <code>height</code> provide bounds for the image).
707     </td>
708     <td></td>
709     <td align="center">&#x2713;</td>
710     </tr>
711
712     <tr valign="top">
713     <td><code>&#8209;&#8209;height&nbsp;<em>number</em></code></td>
714     <td>Sets a height for bitmap image format (PNG) with the width maintaining the aspect ratio.  Applies to the preceding <code>&#8209;&#8209;image</code> or <code>&#8209;&#8209;structureimage</code>.  Should be given as a positive integer.  This can also be set as a sub-value modifier to the <code>&#8209;&#8209;image</code> or <code>&#8209;&#8209;structureimage</code> value.  If used in conjunction with <code>&#8209;&#8209;scale</code> and <code>&#8209;&#8209;width</code> then the smallest size will be used (<code>scale</code>, <code>width</code> and <code>height</code> provide bounds for the image).</td>
715     <td></td>
716     <td align="center">&#x2713;</td>
717     </tr>
718
719     <tr valign="top">
720     <td><code>&#8209;&#8209;bgcolour&nbsp;<em>name</em></code></td>
721     <td>Only applies to structure images (opened with <code>jmol</code> structure viewer).  Sets the background colour of the preceding <code>&#8209;&#8209;structureimage</code>.  <em>name</em> should be either a named colour (e.g. <code>white</code>, <code>cyan</code>) known to Jmol, or can be given as a six digit RGB hex string (e.g. <code>ffffff</code>, <code>00ffff</code>).  This can also be set as a sub-value modifier to the <code>&#8209;&#8209;structureimage</code> value.</td>
722     <td></td>
723     <td align="center">&#x2713;</td>
724     </tr>
725
726     <tr valign="top">
727     <td><code>&#8209;&#8209;groovy&nbsp;<em>filename</em></code></td>
728     <td>Process a groovy script in the file for the open alignment.</td>
729     <td></td>
730     <td align="center">&#x2713;</td>
731     </tr>
732
733   </table>
734
735
736   <h2><a name="controllingflowofarguments"></a>Controlling flow of arguments</h2>
737
738   <table border="1" cellpadding="3">
739     <tr valign="top">
740     <td><strong>argument</strong></td>
741     <td><strong>action</strong></td>
742     </tr>
743
744     <tr valign="top">
745     <td><code>&#8209;&#8209;new</code></td>
746     <td>
747     Move on to a new alignment window.  This will ensure <code>&#8209;&#8209;append</code> will start a new alignment window and other linked arguments will apply to the new alignment window.
748     <br/>
749     <em>Note</em> that <code>&#8209;&#8209;open</code> already starts a new alignment window for each file it opens.
750     </td>
751     </tr>
752
753     <tr valign="top">
754     <td><code>&#8209;&#8209;substitutions / &#8209;&#8209;nosubstitutions</code></td>
755     <td>The following argument values allow (or don't allow) subsituting filename parts.  This is initially true.  Valid substitutions are
756     <br/>
757     <code>{basename}</code> - the filename-without-extension of the currently <code>&#8209;&#8209;open</code>ed file (or first <code>&#8209;&#8209;append</code>ed file),
758     <br/>
759     <code>{dirname}</code>, - the directory (folder) name of the currently <code>&#8209;&#8209;open</code>ed file (or first <code>&#8209;&#8209;append</code>ed file),
760     <code>{extension}</code>, - the extension of the filename of the currently <code>&#8209;&#8209;open</code>ed file (or first <code>&#8209;&#8209;append</code>ed file),
761     <br/>
762     <code>{argfilebasename}</code> - the filename-without-extension of the current <code>&#8209;&#8209;argfile</code>,
763     <br/>
764     <code>{argfiledirname}</code> - the directory (folder) name of the current <code>&#8209;&#8209;argfile</code>,
765     <br/>
766     <code>{structurebasename}</code> - the filename-without-extension of the <code>&#8209;&#8209;structure</code> file.  Only available to <code>&#8209;&#8209;structureimage</code> .
767     <br/>
768     <code>{structuredirname}</code>, - the directory (folder) name of the <code>&#8209;&#8209;structure</code> file.  Only available to <code>&#8209;&#8209;structureimage</code> .
769     <br/>
770     <code>{structureextension}</code>, - the extension of the filename of the <code>&#8209;&#8209;structure</code> file.  Only available to <code>&#8209;&#8209;structureimage</code> .
771     <br/>
772     <code>{n}</code> - the value of the index counter (starting at 0).
773     <br/>
774     <code>{++n}</code> - increase and substitute the value of the index counter.
775     <br/>
776     <code>{m}</code> - the value of the on-the-fly counter (starting at 0).  Only available to <code>&#8209;&#8209;structureimage</code> .
777     <br/>
778     <code>{++m}</code> - increase and substitute the (incremented) value of the on-the-fly counter.  Only available to <code>&#8209;&#8209;structureimage</code> .
779     <br/>
780     <code>{}</code> - the value of the current alignment window <em>default</em> index.
781     </td>
782     </tr>
783
784     <tr valign="top">
785     <td><code>&#8209;&#8209;argfile&nbsp;<em>filename</em></code></td>
786     <td>
787     Open one or more files <em>filename</em> and read, line-by-line, as arguments to Jalview.
788     <br/>
789     Values in an argfile should be given with an equals sign ("=") separator with no spaces.
790     <br/>
791     <strong>Note</strong> that if you use one or more <code>&#8209;&#8209;argfile</code> arguments then all other non-initialising arguments will be ignored.
792     </td>
793     </tr>
794
795     <tr valign="top">
796     <td><code>&#8209;&#8209;npp</code></td>
797     <td>Increase the index counter used in argument value substitutions.</td>
798     </tr>
799
800     <tr valign="top">
801     <td><code>&#8209;&#8209;all / &#8209;&#8209;noall</code></td>
802     <td>Apply (or stop applying) the following output arguments to <em>all</em> sets of linked arguments.</td>
803     </tr>
804
805     <tr valign="top">
806     <td><code>&#8209;&#8209;allstructures / &#8209;&#8209;noallstructures</code></td>
807     <td>
808         Apply (or stop applying) the following 3D structure formatting arguments to all structures <em>within the current open alignment</em>.  Whilst <code>&#8209;&#8209;allstructures</code> will continue to operate for a <code>&#8209;&#8209;new</code> alignment, the structure formatting arguments must be set again for each new alignment.
809     </td>
810     </tr>
811
812     <tr valign="top">
813     <td><code>&#8209;&#8209;quit</code></td>
814     <td>After all files have been opened, appended and output, quit Jalview.  In <code>&#8209;&#8209;headless</code> mode this already happens.</td>
815     </tr>
816
817   </table>
818
819 </body>
820 </html>