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.
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.
12 <title>Command Line: summary</title>
15 <h1>Command Line: summary</h1>
20 <a href="clarguments-intro.html">Command Line: introduction</a>
22 <a href="clarguments-basic.html">Command Line: basic usage</a>
24 <a href="clarguments-advanced.html">Command Line: advanced usage</a>
26 <a href="clarguments-argfiles.html">Command Line: argument files</a>
32 <h2>Initialising arguments</h2>
34 <table border="1" cellpadding="3">
36 <td><strong>argument</strong></td>
37 <td><strong>action</strong></td>
41 <td><code>‑‑help / -h</code></td>
42 <td>Display a help statement</td>
46 <td><code>‑‑headless</code></td>
47 <td>Run Jalview in headless mode. No GUI interface will be created and Jalview will quit after all arguments have been processed.</td>
51 <td><code>‑‑jabaws <em>URL</em></code></td>
52 <td>Set a different URL to connect to a JABAWS server.</td>
56 <td><code>‑‑news / ‑‑nonews</code></td>
57 <td>Show (or don't show) the news feed.</td>
61 <td><code>‑‑splash / ‑‑nosplash</code></td>
62 <td>Show (or don't show) the About Jalview splash screen.</td>
66 <td><code>‑‑questionnaire / ‑‑noquestionnaire</code></td>
67 <td>Show (or don't show) the questionnaire if one is available.</td>
71 <td><code>‑‑usagestats / ‑‑nousagestats</code></td>
72 <td>Send (or don't send) initial launch usage stats. <em>Note: usage stats are useful for future funding for Jalview!</em></td>
76 <td><code>‑‑webservicediscovery / ‑‑nowebservicediscovery</code></td>
77 <td>Attempt (or don't attempt) to connect to JABAWS web services.</td>
81 <td><code>‑‑props <em>filename</em></code></td>
82 <td>Use file <em>filename</em> as the preferences file <em>instead</em> of the usual <code>~/.jalview_properties</code> file.</td>
86 <td><code>‑‑debug</code></td>
87 <td>Start Jalview in debug log level.</td>
91 <td><code>‑‑quiet</code></td>
92 <td>Stop all output to STDOUT (after the Java Virtual Machine has started). Use <code>‑‑quiet</code> a second time to stop all output to STDERR.</td>
96 <td><code>‑‑initsubstitutions / ‑‑noinitsubstitutions</code></td>
97 <td>Set <code>‑‑substitutions</code> to be initially enabled (or initially disabled).</td>
102 <td><code>‑‑threads <em>NUMBER</em></code></td>
103 <td>When opening multiple alignment windows, set a limit of <em>NUMBER</em> alignments being processed at one time. The default is 3.</td>
109 <td><code>‑‑jvmmempc=<em>PERCENT</em></code></td>
111 Limit maximum heap size (memory) to <em>PERCENT</em>% of total physical memory detected.
112 This defaults to 90 if total physical memory can be detected.
114 The equals sign ("=") separator must be used with no spaces.
116 See <a href="../memory.html">Memory usage settings for Jalview</a> for more details.
121 <td><code>‑‑jvmmemmax=<em>MAXMEMORY</em></code></td>
123 Limit maximum heap size (memory) to <em>MAXMEMORY</em>. <em>MAXMEMORY</em> can be specified in bytes, kilobytes(k), megabytes(m),
124 gigabytes(g) or if you're lucky enough, terabytes(t).
125 This defaults to 32g if total physical memory can be detected, or to 8g if total physical memory cannot be detected.
127 The equals sign ("=") separator must be used with no spaces.
129 See <a href="../memory.html">Memory usage settings for Jalview</a> for more details.
136 <h2>Opening an alignment</h2>
138 <table border="1" cellpadding="3">
140 <td><strong>argument</strong></td>
141 <td><strong>action</strong></td>
142 <td><strong>sub-value modifiers</strong> (optional)</td>
143 <td><strong>linked</strong> (optional)</td>
147 <td><code>‑‑open <em>filename/URL ...</em></code></td>
149 Opens one or more alignment files <em>filename</em> or URLs <em>URL</em> in new alignment windows.
153 colour=<em>name</em>,
155 title=<em>string</em>,
157 features=<em>filename</em>,
159 annotations=<em>filename</em>,
161 tree=<em>filename</em>,
172 <td align="center">✓</td>
176 <td><code>‑‑append <em>filename/URL ...</em></code></td>
177 <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>
180 colour=<em>name</em>,
182 title=<em>string</em>,
184 features=<em>filename</em>,
186 annotations=<em>filename</em>,
188 tree=<em>filename</em>,
199 <td align="center">✓</td>
203 <td><code>‑‑title <em>"string""</em></code></td>
204 <td>Specifies the title for the open alignment window as <em>string</em>.</td>
206 <td align="center">✓</td>
210 <td><code>‑‑colour <em>name</em></code></td>
211 <td>Applies the colour scheme <em>name</em> to the open alignment window. Valid values for <em>name</em> are:
213 <code>clustal</code>,
215 <code>blosum62</code>,
217 <code>pc-identity</code>,
223 <code>gecos-flower</code>,
225 <code>gecos-blossom</code>,
227 <code>gecos-sunset</code>,
229 <code>gecos-ocean</code>,
231 <code>hydrophobic</code>,
233 <code>helix-propensity</code>,
235 <code>strand-propensity</code>,
237 <code>turn-propensity</code>,
239 <code>buried-index</code>,
241 <code>nucleotide</code>,
243 <code>nucleotide-ambiguity</code>,
245 <code>purine-pyrimidine</code>,
247 <code>rna-helices</code>,
249 <code>t-coffee-scores</code>,
251 <code>sequence-id</code>.
253 <td align="center">✓</td>
257 <td><code>‑‑features <em>filename/URL</em></code></td>
258 <td>Add a feature file <em>filename</em> or URL <em>URL</em> to the open alignment.</td>
260 <td align="center">✓</td>
266 <td><code>‑‑tree <em>filename/URL</em></code></td>
267 <td>Add a tree file <em>filename</em> or URL <em>URL</em> to the open alignment.</td>
269 <td align="center">✓</td>
273 <td><code>‑‑sortbytree / ‑‑nosortbytree</code></td>
274 <td>Enforces sorting (or not sorting) the alignment in the order of an attached phylogenetic tree.</td>
276 <td align="center">✓</td>
281 <td><code>‑‑annotations <em>filename/URL</em></code></td>
282 <td>Add an annotations file <em>filename</em> or URL <em>URL</em> to the open alignment.</td>
284 <td align="center">✓</td>
288 <td><code>‑‑showannotations / ‑‑noshowannotations</code></td>
289 <td>Enforces showing (or not showing) alignment annotations.</td>
291 <td align="center">✓</td>
295 <td><code>‑‑wrap / ‑‑nowrap</code></td>
296 <td>Enforces wrapped (or not wrapped) alignment formatting.</td>
298 <td align="center">✓</td>
302 <td><code>‑‑nostructure</code></td>
303 <td>Do not open or process any 3D structure in the <code>‑‑open</code> or <code>‑‑append</code> files.</td>
305 <td align="center">✓</td>
311 <h2>Adding a 3D structure</h2>
313 <table border="1" cellpadding="3">
315 <td><strong>argument</strong></td>
316 <td><strong>action</strong></td>
317 <td><strong>sub-value modifiers</strong> (optional)</td>
318 <td><strong>linked</strong> (optional)</td>
322 <td><code>‑‑structure <em>filename/URL</em></code></td>
323 <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>‑‑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>
326 seqid=<em>id</em></code> or <code><em>INDEX</em>,
328 paefile=<em>filename</em>,
330 tempfac=<em>name</em>,
338 structureviewer=<em>name</em>
340 <td align="center">✓</td>
345 <td><code>‑‑seqid <em>ID</em></code></td>
346 <td>Specify the sequence name for the preceding <code>‑‑structure</code> to be associated with.</td>
348 <td align="center">✓</td>
353 <td><code>‑‑paematrix <em>filename</em></code></td>
354 <td>Add a PAE json matrix file <em>filename</em> to the preceding <code>‑‑structure</code>.</td>
356 <td align="center">✓</td>
361 <td><code>‑‑tempfac <em>name</em></code></td>
362 <td>Set the type of temperature factor. Valid values for <em>name</em> are:
364 <code>default</code>,
369 <td align="center">✓</td>
374 <td><code>‑‑structureviewer <em>name</em></code></td>
375 <td>Set the structure viewer to use to open the 3d structure file specified in previous <code>‑‑structure</code> to <em>name</em>. Valid values of <em>name</em> are:
381 <code>chimera</code> <em>- requires installation, might need configuring in Preferences</em>,
383 <code>chimerax</code> <em>- requires installation, might need configuring in Preferences</em>,
385 <code>pymol</code> <em>- requires installation, might need configuring in Preferences</em>
388 <td align="center">✓</td>
394 <td><code>‑‑notempfac</code></td>
395 <td>Do not show the temperature factor annotation for the preceding <code>‑‑structure</code></td>
397 <td align="center">✓</td>
403 <td><code>‑‑showssannotations / ‑‑noshowssannotations</code></td>
404 <td>Do not show secondary structure annotations for the preceding <code>‑‑structure</code></td>
406 <td align="center">✓</td>
412 <h2>Outputting files</h2>
414 <table border="1" cellpadding="3">
416 <td><strong>argument</strong></td>
417 <td><strong>action</strong></td>
418 <td><strong>sub-value modifiers</strong> (optional)</td>
419 <td><strong>linked</strong> (optional)</td>
423 <td><code>‑‑output <em>filename</em></code></td>
424 <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>‑‑format <em>name</em></code> argument or guessed from the file extension. Valid format names (and file extensions) are:
426 <code>fasta</code> (<code>fa, fasta, mfa, fastq</code>),
428 <code>pfam</code> (<code>pfam</code>),
430 <code>stockholm</code> (<code>sto, stk</code>),
432 <code>pir</code> (<code>pir</code>),
434 <code>blc</code> (<code>blc</code>),
436 <code>amsa</code> (<code>amsa</code>),
438 <code>json</code> (<code>json</code>),
440 <code>pileup</code> (<code>pileup</code>),
442 <code>msf</code> (<code>msf</code>),
444 <code>clustal</code> (<code>aln</code>),
446 <code>phylip</code> (<code>phy</code>),
448 <code>jalview</code> (<code>jvp, jar</code>).
450 <td><code>format=<em>name</em></code></td>
451 <td align="center">✓</td>
455 <td><code>‑‑format <em>name</em></code></td>
456 <td>Sets the format for the preceding <code>‑‑output</code> file. Valid formats are:
462 <code>stockholm</code>,
476 <code>clustal</code>,
480 <code>jalview</code>.
483 <td align="center">✓</td>
487 <td><code>‑‑image <em>filename</em></code></td>
488 <td>Output an image of the open alignment window. Format is specified by the sub-value modifier, a following <code>‑‑type</code> argument or guessed from the file extension. Valid formats/extensions are:
501 <code>type=<em>name</em>,
502 <code>textrenderer=<em>name</em>,
503 <code>scale=<em>number</em>,
504 <code>width=<em>number</em>,
505 <code>height=<em>number</em>
507 <td align="center">✓</td>
511 <td><code>‑‑type <em>name</em></code></td>
512 <td>Set the image format for the preceding <code>‑‑image</code> to <em>name</em>. Valid values for <em>name</em> are:
525 <td align="center">✓</td>
529 <td><code>‑‑textrenderer <em>name</em></code></td>
530 <td>Sets whether text in a vector image format (SVG, HTML, EPS) should be rendered as text or vector line-art. Valid values for <em>name</em> are:
534 <code>lineart</code>.
537 <td align="center">✓</td>
541 <td><code>‑‑scale <em>number</em></code></td>
542 <td>Sets a scaling for bitmap image format (PNG). Should be given as a floating point number. This can also be set as a sub-value modifier to the <code>--image</code> value. If used in conjunction with <code>--width</code> and <code>--height</code> then the smallest scaling will be used (<code>scale</code>, <code>width</code> and <code>height</code> provide bounds for the image).</td>
544 <td align="center">✓</td>
548 <td><code>‑‑width <em>number</em></code></td>
549 <td>Sets a width for bitmap image format (PNG) with the height maintaining the aspect ratio. Should be given as a positive integer. This can also be set as a sub-value modifier to the <code>--image</code> value. If used in conjunction with <code>--scale</code> and <code>--height</code> then the smallest scaling will be used (<code>scale</code>, <code>width</code> and <code>height</code> provide bounds for the image).</td>
551 <td align="center">✓</td>
555 <td><code>‑‑height <em>number</em></code></td>
556 <td>Sets a height for bitmap image format (PNG) with the width maintaining the aspect ratio. Should be given as a positive integer. This can also be set as a sub-value modifier to the <code>--image</code> value. If used in conjunction with <code>--scale</code> and <code>--width</code> then the smallest scaling will be used (<code>scale</code>, <code>width</code> and <code>height</code> provide bounds for the image).</td>
558 <td align="center">✓</td>
562 <td><code>‑‑groovy <em>filename</em></code></td>
563 <td>Process a groovy script in the file for the open alignment.</td>
565 <td align="center">✓</td>
569 <td><code>‑‑backups / ‑‑nobackups</code></td>
570 <td>Enable (or disable) writing backup files when saving an <code>‑‑output</code> file. This applies to the current open alignment -- to apply to all <code>‑‑output</code> and <code>‑‑image</code> files, use after <code>‑‑all</code>.</td>
572 <td align="center">✓</td>
576 <td><code>‑‑overwrite / ‑‑nooverwrite</code></td>
577 <td>Enable (or disable) overwriting of output files without backups enabled. This applies to the current open alignment -- to apply to all <code>‑‑output</code> and <code>‑‑image</code> files, use after <code>‑‑all</code>.</td>
579 <td align="center">✓</td>
583 <td><code>‑‑close</code></td>
584 <td>Close the current open alignment window. This occurs after other output arguments. This applies to the current open alignment -- to apply to all <code>‑‑output</code> and <code>‑‑image</code> files, use after <code>‑‑all</code>.</td>
586 <td align="center">✓</td>
592 <h2>Controlling flow of arguments</h2>
594 <table border="1" cellpadding="3">
596 <td><strong>argument</strong></td>
597 <td><strong>action</strong></td>
601 <td><code>‑‑new</code></td>
603 Move on to a new alignment window. This will ensure <code>‑‑append</code> will start a new alignment window and other linked arguments will apply to the new alignment window.
605 <em>Note</em> that <code>--open</code> already starts a new alignment window for each file it opens.
610 <td><code>‑‑substitutions / ‑‑nosubstitutions</code></td>
611 <td>The following argument values allow (or don't allow) subsituting filename parts. This is initially true. Valid substitutions are
612 <code>{basename}</code> - the filename-without-extension of the currently <code>‑‑open</code>ed file (or first <code>‑‑append</code>ed file),
614 <code>{dirname}</code>, - the directory (folder) name of the currently <code>‑‑open</code>ed file (or first <code>‑‑append</code>ed file),
616 <code>{argfilebasename}</code> - the filename-without-extension of the current <code>‑‑argfile</code>,
618 <code>{argfiledirname}</code> - the directory (folder) name of the current <code>‑‑argfile</code>,
620 <code>{n}</code> - the value of the index counter (starting at 0).
622 <code>{++n}</code> - increase and substitute the value of the index counter,
624 <code>{}</code> - the value of the current alignment window <em>default</em> index.
629 <td><code>‑‑argfile <em>filename</em></code></td>
631 Open one or more files <em>filename</em> and read, line-by-line, as arguments to Jalview.
633 Values in an argfile should be given with an equals sign ("=") separator with no spaces.
635 <strong>Note</strong> that if you use one or more <code>‑‑argfile</code> arguments then all other non-initialising arguments will be ignored.
640 <td><code>‑‑npp</code></td>
641 <td>Increase the index counter used in argument value substitutions.</td>
645 <td><code>‑‑all / ‑‑noall</code></td>
646 <td>Apply (or stop applying) the following output arguments to <em>all</em> sets of linked arguments.</td>
650 <td><code>‑‑quit</code></td>
651 <td>After all files have been opened, appended and output, quit Jalview. In <code>‑‑headless</code> mode this already happens.</td>