Debian Codegraph @

seaview.html

raw symbols SCIP
1 <html>
2
3 <HEAD>
4 <meta http-equiv="content-type" content="text/html; charset=UTF-8">
5 <TITLE>Seaview on-line help</TITLE>
6 </HEAD>
7 <body bgcolor=white>
8 <center><b><u>Help items</u></b></center>
9 <table border=2>
10 <tr>
11 <td><a href="#File Menu">File Menu</a></td>
12 <td><a href="#Edit Menu">Edit Menu</a></td>
13 <td><a href="#Align Menu">Align Menu</a></td>
14 <td><a href="#Props Menu">Props Menu</a></td>
15 <td><a href="#Sites Menu">Sites Menu</a></td>
16 <td><a href="#Species Menu">Species Menu</a></td>
17 </tr>
18 <tr>
19 <td><a href="#Footers Menu">Footers Menu</a></td>
20 <td><a href="#Search">Search</a></td>
21 <td><a href="#Goto">Goto</a></td>
22 <td><a href="#Trees Menu">Trees Menu</a></td>
23 <td><a href="#Alignment panel">Alignment panel</a></td>
24 <td><a href="#Tree windows">Tree windows</a></td>
25 </tr>
26 <tr>
27 <td><a href="#Dot plot">Dot plot</a></td>
28 <td><a href="#Mase file format">Mase file format</a></td>
29 <td><a href="#Program arguments">Program arguments</a></td>
30 <td><a href="#Sequence coloring">Sequence coloring<a></td>
31 <td><a href="#Miscellaneous options">Miscellaneous options<a></td>
32 <td><a href="#Customization">Customization<a></td>
33 </tr>
34 </table>
35
36 <a name="About seaview"></a>
37 <center><u><b>About seaview</b></u></center>
38 <p>
39 Program seaview was published in:
40 <br>Gouy, M. Guindon, S. &amp; Gascuel., O. (2010) <a href=http://dx.doi.org/10.1093/molbev/msp259>SeaView version 4 :
41 a multiplatform graphical user interface for sequence alignment and phylogenetic tree building.</a>
42 Molecular Biology and Evolution 27(2):221-224.
43 <br>Galtier, N., Gouy, M. &amp; Gautier, C. (1996) <a href=http://bioinformatics.oxfordjournals.org/content/12/6/543.abstract>
44 SEAVIEW and PHYLO_WIN: two graphic tools for sequence alignment and molecular phylogeny.</a>
45 Comput. Appl. Biosci., 12:543-548.
46 <p>
47 Version 5.1
48
49 <p>Binaries and full source code available from <a href=http://doua.prabi.fr/software/seaview>http://doua.prabi.fr/software/seaview</a>
50
51 <p>© 1996-2023 Manolo Gouy
52 <br>Laboratoire de Biométrie et Biologie Evolutive
53 <br>CNRS / Université de Lyon
54 <p>Licensed under the GNU <a href=http://www.gnu.org/licenses/gpl.txt>General Public Licence</a>.
55
56 <p>Seaview drives the Muscle, Clustal Omega, Gblocks, PhyML and Treerecs programs and uses code from the PHYLIP
57 package for parsimony. Please quote:
58 <ul><li>Edgar R.C. (2004) <a href=http://dx.doi.org/10.1093/nar/gkh340>MUSCLE: multiple sequence alignment with high accuracy and
59 high throughput.</a> <i>Nucleic Acids Res.</i> 32(5):1792-1797.
60 <li>Sievers F., Wilm A., Dineen D., Gibson T.J., Karplus K., Li W., Lopez R., McWilliam H., Remmert M., Söding J;, Thompson J.D. & Higgins D.G. (2011) <a href=http://dx.doi.org/10.1038/msb.2011.75>Fast, scalable generation of high-quality protein multiple sequence alignments using Clustal Omega.</a> <i>Molecular Systems Biology</i> 7:539.
61 <li>Castresana J. (2000) <a href=http://mbe.oxfordjournals.org/content/17/4/540.full>Selection of conserved blocks from multiple alignments for their
62 use in phylogenetic analysis.</a> <i>Molecular Biology and Evolution</i> 17(4):540-552.
63 <li>Guindon S., Dufayard J.F., Lefort V., Anisimova M., Hordijk W. & Gascuel O. (2010)
64 <a href=http://dx.doi.org/10.1093/sysbio/syq010>New Algorithms and Methods to Estimate Maximum-Likelihood
65 Phylogenies: Assessing the Performance of PhyML 3.0</a>. <i>Systematic Biology</i> 59(3):307-321.
66 <li>Felsenstein J. (2013) <a href=http://evolution.genetics.washington.edu/phylip.html>PHYLIP</a> version 3.696.
67 <li>Lemoine F., Domelevo Entfellner J.-B., Wilkinson E., Correia D., Dávila Felipe M., De Oliveira T. & Gascuel O. (2018) <a href=http://dx.doi.org/10.1038/s41586-018-0043-0>Renewing Felsenstein’s phylogenetic bootstrap in the era of big data.</a> <i>Nature</i> 556:452-456.
68 <li>Comte N., Morel B., Hasić D., Guéguen L., Boussau B., Daubin V., Penel S., Scornavacca C., Gouy M., Stamatakis A., Tannier E. & Parsons D.P. (2020) <a href=http://dx.doi.org/10.1093/bioinformatics/btaa615>Treerecs: an integrated phylogenetic tool, from sequences to reconciliations.</a> <i>Bioinformatics</i> 36(18):4822–4824.
69
70 </ul>
71 Seaview uses the <a href=http://www.fltk.org>FLTK</a> project for its user interface.
72
73 <p>Some seaview versions use the <a href=http://www.pdflib.com>PDFlib</a> Lite library for pdf output
74 under the "Open Source Developer Exemption" of the PDFlib Lite License Agreement.
75
76 <hr>
77 <a name="Alignment panel"></a>
78 <center><u><b>Alignment panel</b></u></center>
79 <p>Mouse Use:
80 <ul>
81 <li> Click on a site to position cursor (current cursor position -- sequence
82 number, positions in alignment and in sequence -- appears at panel top center)
83 <li> Click or drag mouse on several sequence names to select them (names will appear
84 in black background). Alignment operations (gap insertions/deletions) will
85 operate on all selected sequences simultaneously.
86 <li> Click with middle mouse button or Ctrl-Click somewhere in sequence names to move
87 selected sequences to another place in alignment.
88 <li> Click with right mouse button or Shift-Click to deactivate the current selection.
89 <li> Cmd-Click(Mac), Alt-Click(PC), or Meta-Click (unix) on sequence name to select from last selected sequence to here.
90 </ul>
91 Active keys:
92 <ul>
93 <li> The 4 keyboard arrows move the cursor. Page up/down keys move it one pageful.
94 <li> &gt; &lt; move the view by 50 sites to right and left (other keys can be used)
95 <li> ] [ move the view by 5 sites to right and left (other keys can be used)
96 see <a href="#Miscellaneous options">Miscellaneous options</a> for how to use other keys for same purpose
97 <li> - or &lt;space&gt; insert a gap in the cursor sequence and members of its group if any
98 <li> &lt;delete&gt; or &lt;backspace&gt; delete a gap at left of cursor
99 <li> + inserts a gap in all sequences but that under the cursor and members of its
100 group if any
101 <li> _ ("underscore") deletes a gap in all sequences but that under the cursor
102 and members of its group if any
103 <li> 1234567890 (digit keys) allow to compose a number (appearing under
104 mult=number at bottom left of panel) used as a multiplier to an operation
105 to follow (e.g., keys 4, 5, and - in sequence will insert 45 gaps)
106 <li> ctrl/cmd+S (according to platform) saves the alignment in the current
107 filename using its current format.
108 </ul>
109 <a name="Mouse use on the site line"></a>
110 Mouse use on the site line (when there is one, white line at bottom):
111 <ul>
112 <li> Click mouse to select/unselect a site.
113 <li> Drag with the mouse button an extremity of a block of sites to extend or
114 reduce it.
115 <li> Click with the middle mouse button or Ctrl-Click to extend the block of sites at left.
116 <li> Click with the right mouse button or Shift-Click on a block of sites to delete it.
117 </ul>
118 <hr>
119 <a name="File Menu"></a>
120 <center><u><b>File Menu</b></u></center>
121
122 <p><u>Open:</u> opens a sequence alignment file in any of the supported formats,
123 or a <a href=http://evolution.genetics.washington.edu/phylip/newicktree.html>Newick</a>-formatted tree file.
124 <br><u>Open Mase, Open Phylip, Open Clustal, Open MSF, Open Fasta, Open NEXUS:</u>
125 to load an alignment in one of these formats.
126 <br>Formats Phylip, Clustal and Fasta use _ instead of
127 space in names. Only the interleaved version of the Phylip format is supported.
128 <a href="#Mase file format">Mase</a> and
129 <a href=http://dx.doi.org/10.1093/sysbio/46.4.590>Nexus</a>
130 formats have the useful feature of allowing extra data beyond sequences and names (comments,
131 accession numbers are really useful!). They can also store trees, site sets
132 [see <a href="#Sites Menu">Sites Menu</a>],
133 species sets, footers, genetic code information.
134 <p>
135 <u>Import from DBs: </u>
136 to import one or several sequences from various databases (EMBL, GenBank,
137 SwissProt/UniProt) into the alignment window.
138 <b>Importation requires an internet connection that allows outbound access to
139 port # 5558.</b>
140 See <a href=#DBTroubleshooting>Troubleshooting Importation from Databases</a>
141 if you experience problems with this function.
142 Imported sequences will be named in the alignment window either
143 by the name of their ID or LOCUS record or by their species. Sequences
144 can be identified by two means:
145 <br> 1. By name, accession number or keyword. Protein IDs, without their extension
146 (e.g., CAA06608 from /protein_id="CAA06608.1"),
147 are processed as keywords attached to sequences, so can also be used. Because imported sequences are
148 named with information taken from their ID/LOCUS record, the protein ID won't be used to name the sequence.
149 <br> 2. By a local text file of names or accession nos (one per line, strict text file, e.g., not
150 a .doc or .odt file).
151 <br>
152 In case 1. and for nucleotide databases, it is also possible to import
153 sequence fragments corresponding to a specified feature key (e.g., CDS, rRNA, tRNA) and,
154 optionally, to require a given string to be present in the feature's
155 annotations. If no matching string is specified, only the first matching
156 feature key is imported.
157 CDSs are imported with their correct genetic code and reading frame.
158 Access to a series of other databases is also possible.
159 <p>
160 <u>Save:</u> when active, saves the alignment in the current file (which
161 name appears as window title). The shortcut for this operation
162 is ctrl-S (cmd-S on Mac).
163 <p>
164 <u>Save as...:</u> to save the alignment under a name and a format to be chosen
165 in the file selector appearing next. This item is unavailable when a nucleotide
166 alignment is translated to proteins. Use "Save prot alignmt" below instead.
167 <p>
168 <a name="Save selection"></a>
169 <u>Save selection:</u>
170 only active when some sequences are selected or when a site line is displayed;
171 allows to save in a file selected sites, or selected sequences, or selected sites of selected sequences.
172 <p>
173 <u>Save prot alignmt:</u>
174 only active when a nucleotide alignment is translated to proteins; allows to save resulting protein sequences in any format.
175
176 <p>
177 <u>Save bootstrap replicates:</u> allows to store in a PHYLIP-formatted output file bootstrap replicates
178 of the sequences of the alignment window. This command operates on selected sequences, and on selected sites
179 if a sequence or site selection is currently active. It operates with protein sequences when a nucleotide
180 alignment is translated to proteins. It asks for the desired output filename and number of
181 bootstrap replicates. The "phylip names width" item of the "Props/Customize" dialog window allows to control
182 the maximum name length used in the output file.
183
184 <p>
185 <u>Prepare PDF/PostScript and PDF/PostScript options:</u>
186 Writes the alignment as a PDF/PostScript file with optional choices set through
187 the "PDF/PostScript options..." menu item (or the save dialog on Mac OS):
188 <ul><li>font size: sets the fontsize (font is Courier)
189 <li>block size: alignment lines may be divided in blocks (e.g., of size 10
190 for DNA/RNA sequences or 3 for protein coding sequences)
191 separated by one space to ease alignment reading.
192 <li>paper size: two paper formats can be used: A4 or LETTER
193 <li>landscape: select to use the Landscape page layout
194 <li>color/B&amp;W/Text File: choose between colored alignment, or one with all black letters,
195 or to write the alignment as a text-only file.
196 <li>variable sites only: available only in reference mode (see <a href="#Props Menu">Props</a> menu),
197 allows to output only variable sites of the alignment and their positions.
198 </ul>
199 <p><u>Concatenate:</u>
200 To add one alignment (source) to the end of another (target).
201 Can be done "by name" (seqs with same name are concatenated) or
202 "by rank" (seqs with same rank in alignments are concatenated).
203 Option "add gaps" replaces names absent in either alignment
204 by gap-only sequences ("by name" only).
205 <p><u>New window:</u>
206 Opens a new, empty alignment window.
207 <p><u>Close window: </u>
208 Closes the alignment window.
209 <p><u>Quit:</u>
210 guess what?
211 <hr>
212 <a name="Edit Menu"></a>
213 <center><b><u>Edit Menu</u></b></center>
214 <p>
215 <u>Copy selected seqs:</u> only active when some sequences are selected; copies in
216 clipboard these sequences, or only their selected sites if
217 a site line is displayed.
218 <br><u>Paste alignment data:</u> To paste sequence data from the clipboard to the bottom of
219 the current alignment window (inactive in "View as protein" mode). The clipboard can either contain sequences that were previously copied
220 in seaview using "Copy selected seqs", or sequence data in Fasta format copied from anywhere.
221 In the latter case, the user is asked for confirmation before adding sequences to the alignment.
222 <br><u>Select all:</u> Selects all sequences from the alignment.
223 <br><u>Rename sequence:</u> To rename the currently selected (= name in black
224 background) sequence.
225
226 <br><u>Edit comments:</u> To see or change comments of the currently selected
227 sequence (Comments can only be saved in mase/NEXUS formats).
228
229 <br><u>Edit sequence:</u> To edit the selected sequence, typically by pasting
230 external data, or by opening two edit sequence
231 windows and transferring sequence data between them.
232 The edit window is limited to sequences of length &lt; 32000.
233
234 <br><u>Delete sequence(s):</u> Deletes all selected sequences from the alignment.
235
236 <br><u>Create sequence:</u> Allows to create a new, empty sequence in the alignment;
237 set "Allow seq. edition" from <a href="#Props Menu">Props</a> menu ON
238 to be able to type the sequence in.
239
240 <br><u>Load sequence:</u> Allows to load a new sequence in the alignment.
241 The sequence can be typed in or pasted from a
242 selection made in another window.
243 The "Sequence loading window" is limited to sequences of length &lt; 32000.
244
245 <br><u>Duplicate sequence:</u> Duplicates the currently selected sequence
246 with prefix D_ in its name.
247
248 <br><u>Complement sequence:</u> Creates a new sequence equal to the complementary
249 strand of the currently selected sequence with prefix
250 C_ in its name.
251
252 <br><u>Reverse sequence:</u> Creates a new sequence by reading 3' -> 5' the
253 currently selected sequence and named with prefix R_
254
255 <br><u>Exchange Us and Ts:</u> Exchange bases Us and Ts in all currently selected
256 sequences.
257
258 <br><u>Dot plot:</u> Performs a <a href="#Dot plot">dot plot</a> analysis of the two selected
259 sequences.
260
261 <br><u>Consensus sequence:</u> Computes the consensus of all currently selected
262 sequences. The consensus sequence is added to the alignment with the name "Consensus##" below all
263 selected sequences.
264 At any site, the consensus residue is the most frequent one if its frequency is above a
265 threshold value. Below threshold, N or X is used. See <u>Consensus options</u>
266 of menu <a href="#Props Menu">Props</a> for more details.
267
268
269 <br><u>Del gap-only sites:</u> Deletes all gap-only sites from the alignment.
270
271 <br><u>Set genetic code:</u> Allows to specify the genetic code used to translate
272 to protein the selected sequence(s). Active only with
273 nucleotide alignments. Genetic codes are saved if the
274 mase, NEXUS, or FASTA file formats are used.
275
276 <hr>
277 <a name="Align Menu"></a>
278 <center><u><b>Align Menu</b></u></center>
279 <p>
280 <u>Align all
281 <br>Align selected sequences:</u>
282 Runs the chosen alignment program on all or on selected sequences. Alignment program is chosen with Alignment options of menu Align.
283 With MSWindows and Unix, the chosen alignment program is searched in the directory
284 of the seaview program and in directories of your PATH.
285
286 <br><u>Align selected sites:</u>
287 Runs the chosen alignment program on the block of
288 selected sites and the set of selected sequences.
289 A window will ask for choosing the reference sequence:
290 gaps present before alignment in the chosen
291 sequence will be preserved in the new alignment.
292
293 <br><u>Profile alignment:</u> Align selected sequences against a profile, that is, a group
294 of pre-aligned sequences.
295 <br>Possible operations for making a profile alignment:<ol>
296
297 <li> select members of the profile group;
298
299 <li> do 'Create group' of menu <a href="#Species Menu">Species</a>;
300 <li> select sequences you want to align against the
301 profile group;
302 <li> do 'Profile alignment' of menu Align;
303 <li> choose the profile group in the dialog menu;
304 <li> choose alignment algorithm;
305 <li> if using clustalo, choose
306 between "each sequence to profile" and "profile to profile"
307 (with "profile to profile", selected sequences are expected to be
308 pre-aligned to each other.
309 <li> Uncheck "Propagate gaps to sites" if you don't want gaps created in the profile group
310 by the profile alignment to be propagated to all your site selections (menu "Sites").
311 </ol>
312 <br><u>De-align selection:</u> Remove all gaps from selected sequences.
313
314 <br><u>Alignment options:</u><ul>
315 <li>clustalo, muscle, ...: Allows to choose the desired alignment method.
316 <li>Edit options: Without options, the algorithm's default parameter settings,
317 adequate for many problems, are used. This item allows to define
318 custom alignment parameter settings by listing a series of options
319 (e.g., -verbose -maxiters=5
320 for muscle) that will be transmitted to the alignment algorithm.
321 <ul>
322 <li>clustalo options are fully described in
323 <a href=http://www.clustal.org/omega/README>README</a>.
324 <li>Muscle options are fully described in
325 <a href=http://www.drive5.com/muscle/muscle.html#_Toc81224859>Muscle command line reference</a>.
326 </ul>
327 Options are active unless you switch them off by unchecking the check box.
328 Thus a set of options can be memorized and turned on and off.
329 <li>Add external method:
330 Interfaces seaview with an external multiple sequence alignment method.
331 Any external alignment program able to read a fasta file and output a fasta file
332 and that can be run by a 'name + arguments' command line is usable.
333 Select the external program from your computer or enter its name.
334 Under MSWindows and Unix, the name is searched in seaview's directory and in all PATH directories.
335 Under Mac OS, the name is searched in all PATH directories, and in directory
336 &lt;seaview-bundle&gt;/Contents/Resources.
337 Enter its arguments replacing the method's input and output filenames
338 by <tt>%f.pir</tt> and <tt>%f.out</tt>, respectively. Under MSWindows, it's recommended to bracket filenames
339 by double quotes (<i>e.g.</i>, <tt>"%f.out"</tt>).
340 The yellow tip message that appears when the mouse
341 remains on the "Arguments" field gives three examples of external program interfacing.
342 Standard output redirection to a file with <tt>&gt;</tt> is possible.
343 <li> Delete method:
344 To delete currently selected alignment method. clustalo and muscle can't be deleted.
345 </ul>
346
347 <hr>
348 <a name="Props Menu"></a>
349 <center><u><b>Props Menu</b></u></center>
350 <p>
351 <u>Fontsize:</u> 8, 10, ..., 36: Sets the font size used to display sequences.
352 <a name="View as proteins"></a>
353 <br><u>View as proteins:</u>
354 When ON, DNA sequences are displayed as translated to protein sequences.
355 This allows to align them, and to go back to the DNA level by
356 unselecting this item. Items Save/Save as of menu <a href="#File Menu">File</a>
357 and sequence edition are impossible when ON.
358
359 <br><u>Colors:</u> <ul>
360 <li>DNA/RNA colors:
361 Forces sequences to be colored as DNA/RNA in case they were
362 erroneously recognized as protein data.
363 <li> Protein colors:
364 Forces sequences to be colored as proteins in case they were
365 erroneously recognized as DNA/RNA data.
366 <li> Alt. colors:
367 Uses alternate coloring rules defined for protein sequences
368 [see <a href="#Sequence coloring">Sequence coloring</a> help topic].
369 <li> Codon colors:
370 Each codon gets colored according to its corresponding aminoacid.
371 <li> Inverted colors:
372 Display residues as black letters on colored background instead
373 of as colored letters on grey background.
374 </ul>
375 <br><u>Allow seq. editing:</u>
376 When ON, residues can be deleted/inserted.
377 When OFF (normally), only gaps can be deleted/inserted.
378
379 <br><u>by Reference:</u> To display the alignment by reference to a particular sequence:
380 residues identical to that of the ref. seq. are displayed as dots.
381 Possible only when one sequence, the reference, is selected.
382 Alignment edition is impossible while in the reference mode.
383 When used, item "Prepare pdf" of menu <a href="#File Menu">"File"</a> produces an output by reference.
384 Combination ctrl/cmd+R is a shortcut for calling/exiting this mode.
385
386 <br><u>DNA keys:</u> Allows to use keys "hjkl" to enter DNA sequences.
387 "Allow seq. edition" should be ON for this item to be usable.
388 Choose in the submenu what bases will be mapped to these keys:
389 hjkl => GATC, hjkl => TCGA, hjkl => ACGT.
390 Also, the space bar will be mapped to base N.
391
392 <br><u>Consensus options:</u>
393 Allows to set the threshold fraction of identical residues needed to define
394 a residue when building a consensus sequence (the default value is 60 %). Sites where this
395 fraction is not reached are filled with N or X (or, for DNA, with
396 nucleotide ambiguity symbols if "Use IUPAC symbols" is on).
397 If "allow gaps" is <u>off</u>, gaps are ignored to compute which residue will appear in the consensus;
398 this option in effect treats gaps as missing information.
399 If "allow gaps" is <u>on</u>, gaps are treated as another character state to compute consensus.
400 <center>
401 <table border=2>
402 <tr><th colspan=11> IUPAC nucleotide ambiguity symbols</th></tr>
403 <tr>
404 <td>Symbol</td><td align=center>M</td><td align=center>R</td><td align=center>W</td><td align=center>S</td>
405 <td align=center>Y</td><td align=center>K</td>
406 <td align=center>V</td><td align=center>H</td><td align=center>D</td><td align=center>B</td>
407 </tr>
408 <tr>
409 <td>Nucleotides</td><td>AC</td><td>AG</td><td>ATU</td><td>GC</td><td>CTU</td><td>GTU</td>
410 <td>ACG</td><td>ACTU</td><td>AGTU</td><td>CGTU</td>
411 </tr>
412 </table>
413 </center>
414 <br><u>Allow lowercase:</u>
415 If set, lowercase residues will be apparent. If not set, lowercase
416 residues in sequence files display as uppercase.
417
418 <br><u>Customize:</u> To change, possibly permanently, various display settings. See
419 <a href="#Miscellaneous options">Miscellaneous options</a> and
420 <a href="#Sequence coloring">Sequence coloring</a> help items.
421 <b>Apply</b>: applies changes in current program session.
422 <b>Set changes permanent</b>: applies changes in current and future program sessions. <b>Close</b>: ignores changes.
423
424 <br><u>Statistics:</u> Displays base or amino acid sequence compositions, and transition and transversion counts.
425 These statistics apply to all sequences or to selected sequences only. When two nucleotide sequences
426 are selected, the frequency of all pairs of homologous bases is also computed. Statistics can also be saved
427 to a user-chosen text file.
428
429 <hr>
430 <a name="Sites Menu"></a>
431 <center><u><b>Sites Menu</b></u></center>
432 <p>
433 Site sets allow to specify parts of a multiple alignment to be retained for
434 further analyses (e.g., those parts of the alignment taken as
435 reliably aligned). Retained sites are depicted as series of Xs on a special
436 line at bottom of the alignment panel. Mouse clicks and drags on this line allow to
437 construct/alter the set (see <a href="#Mouse use on the site line">Mouse use on the site line</a>).
438
439 <p>Several sets of sites can be created and stored with the alignment if the Mase
440 or NEXUS formats of alignment files are used. Each set has a name chosen by the
441 user. One set of sites at most can be displayed at any time through this menu.
442
443 <p>Item <a href="#Save selection">Save selection</a> of menu "File" allows to save in an alignment
444 file only those sites of the alignment pertaining to the currently displayed site set.
445
446 <p><u>Create set:</u> Several kinds of sets of sites are possible:
447 <ul>
448 <li>custom site set: should be named by the user. It is initially defined to contain all alignment sites, and
449 can be manually modified by mouse operations on the site line at the bottom of the alignment.
450 <li>Gblocks: the <a href=http://mbe.oxfordjournals.org/content/17/4/540.full>Gblocks</a> program is
451 run to compute a set of sites suitable for phylogenetic analysis.
452 A dialog window presents several optional choices to control the stringency level of site selection.
453 Further information can be found in the Gblocks
454 <a href=http://www.biologiaevolutiva.org/jcastresana/Gblocks/Gblocks_documentation.html>
455 online documentation</a>.
456 Some seaview versions don't include the Gblocks program. It can be downloaded from its
457 <a href=http://www.biologiaevolutiva.org/jcastresana/Gblocks.html>web site</a>.
458 <li>codon position masks (not available for protein alignments).
459 <li>variable sites.
460 </ul>
461 Non-custom site sets are better used once alignment operations are completed.
462
463 <br><u>Duplicate set:</u> duplicates the current set of sites under a new name
464
465 <br><u>Hide set:</u> hides (but remembers) the current set of sites
466
467 <br><u>Delete set:</u> removes the currently displayed set of sites from list of known sets
468
469 <br><u><i>name</i>:</u></font> shows the site line of name <i>name</i>. It can have been
470 read in together with the alignment data, or previously created by "Create set".
471
472 <hr>
473 <a name="Species Menu"></a>
474 <center><u><b>Species Menu</b></u></center>
475 <p>Species sets can be created and stored with the alignment if the Mase or NEXUS
476 formats of alignment files are used.
477
478 <p>To select one or several species, click or drag on their names; they will
479 appear in black background.
480
481 <p>To memorize the current set of selected species, choose "Create set" from
482 this menu. The program will ask for a name for this set.
483
484 <p><u>Delete set:</u> deletes (just from memory) the current set of species.
485
486 <br><u><i>name</i>:</u></font> displays with black background the set of species memorized
487 under that name.
488
489 <hr>
490 <a name="Footers Menu"></a>
491 <center><b><u>Footers Menu</u></b></center>
492 <p>
493 Comment lines can be created and displayed at bottom of the screen. These
494 lines can contain any text and the program will maintain the vertical
495 alignment between this text and sequences. This text can be saved using the
496 <a href="#Mase file format">mase</a> or NEXUS file formats only.
497
498 <p>To edit this text, click on the line name, position the cursor, and type text.
499 <br>Click again on the line name to stop editing this text.
500 <p>
501 <u>Show / Hide footers:</u> To show / hide all footer lines
502
503 <br><u>Create footer:</u> To create a new footer line
504
505 <br><u>Delete footer:</u> To delete the currently selected footer line
506
507 <hr>
508 <a name=Search></a>
509 <center><b><u>Search</u></b></center>
510 <p>Type a string in box at right and strike &lt;return&gt; key or push button to position the cursor in the next occurence of this string from its current place.
511
512 <p>Push button to position the cursor at next occurence of the current search string.
513
514 <p>Sequence gaps are ignored by the search procedure.
515 <p>
516 <hr>
517 <a name=Goto></a>
518 <center><b><u>Goto</u></b></center>
519
520 <p>Moves the cursor to desired position or sequence:
521 <ul>
522 <li><u>position</u>:
523 type a number in box at right and hit &lt;return&gt; key or push button to
524 position the cursor at that position of the alignment.
525
526 <li><u>sequence</u>:
527 type a (fragment of) sequence name in box at right and hit &lt;return&gt; key or
528 push button to position the cursor in that sequence. Case is not significant.
529 </ul>
530
531 <hr>
532 <a name="Trees Menu"></a>
533 <center><u><b>Trees Menu</b></u></center>
534 <p>This menu allows to compute, draw, save, and import DNA or protein phylogenetic trees.
535 <br>Protein-coding DNA sequences displayed as protein sequences
536 (item <a href="#View as proteins">"View as proteins"</a>
537 of menu <a href="#Props Menu">Props</a>) are treated as protein sequences.
538 <br>All tree computations apply to selected sequences (or all if none) and selected sites
539 (or complete alignment if none).
540 <br>All trees, sequence, and site selections can be saved together with the alignment data in either
541 the <a href="#Mase file format">mase</a> or
542 <a href=http://dx.doi.org/10.1093/sysbio/46.4.590>Nexus</a> formats.
543
544 <p><u><b>Parsimony:</b></u></font>
545 <br>Computes parsimony trees using <a href=http://evolution.genetics.washington.edu/phylip.html>PHYLIP</a>'s v3.696
546 <a href=http://evolution.genetics.washington.edu/phylip/doc/dnapars.html>dnapars</a> or
547 <a href=http://evolution.genetics.washington.edu/phylip/doc/protpars.html>protpars</a> algorithms
548 and returns the consensus of all most parsimonious trees found.
549 <ul><li>The DNA-level algorithm (<b>dnapars</b>) computes most parsimonious trees with branch lengths equal to
550 the average of the number of reconstructed changes of state over all sites
551 and over all possible most parsimonious placements of the changes of state among branches.
552 A branch exists only if some site has a most parsimonious reconstruction that would involve change in that branch.
553 Dnapars can thus return a multifurcated tree even if a single most parsimonious tree is found.
554 When several most parsimonious trees are found, their consensus tree is computed, and its branch lengths are recomputed,
555 thus they can differ from their values in any most parsimonious tree.
556 <li>The protein-level algorithm (<b>protpars</b>) returns the consensus of all most parsimonious trees found without branch lengths.
557 </ul>
558 <br><u>Randomize seq. order:</u> to repeat <i>n</i> times the search for shortest trees with randomized sequence order.
559 <br><u>Ignore all gap sites:</u> if on, all gap-containing sites are excluded from analysis.
560 <br><u>Gaps as unknown states:</u> if on, gap-containing sites are coded as unknown states so don't
561 introduce parsimony steps; if off, they are treated as an additional character state. The interface forbids
562 the meaningless configuration that would ignore gaps and treat them as unknown states.
563 <br><u>More/Less thorough tree search/Rearrange on best tree:</u> (DNA only) these 3 options control, in decreasing order, how, and how much, rearrangement
564 is done on the tied trees to find shorter trees.
565 <ul><li>More thorough: rearrange on all parts of all currently found equally best trees to find better ones.
566 <li>Less thorough: collapse all branches that have no evidence that there is any change on that branch before attempting rearrangements.
567 <li>Rearrange on best tree: only the first of the tied best trees is used for rearrangement.
568 </ul>
569 It may be necessary to select the second or third option when the data set contains many (near-)identical sequences.
570 <br><u>Equally best trees retained (DNA only):</u> maximum number of equally best trees retained in search.
571 <br><u>% level for consensus tree building:</u> Parsimony often identifies several most parsimonious trees, and seaview
572 computes their consensus and displays it. The default 100% consensus level corresponds to the strict consensus rule.
573 The 50% level corresponds to the majority rule consensus. Intermediate values <i>v</i> include in the consensus tree
574 all species groups present in at least a fraction <i>v</i> of the most parsimonious trees.
575 <br><u>Bootstrap:</u> performs bootstrap evaluation of clade statistical support (can be interrupted).
576 Furthermore, if "Show bootstrap trees" is checked,
577 individual bootstrap trees will appear in a second tree window, in addition to the main parsimony tree window.
578 Each bootstrap tree has a weight that appears at the top left of the tree window when this tree is displayed.
579 The weights of all equally parsimonious trees add up to 1 for each bootstrap replicate.
580
581 <br><u>User tree:</u> computes the number of steps of a user-given tree taken from those in the "Trees"
582 menu. Such trees can have been previously computed or imported from an external source in Newick format.
583
584 <p><u><b>Distance methods:</b></u></font>
585 <br>Computes NJ or BioNJ trees on a variety of pairwise phylogenetic distances.
586 <br><u> NJ/BioNJ:</u> to select the tree-building algorithm
587 <br><u> Save to file:</u> does not compute any tree but saves sequence pairwise distances to a local file.
588 <br><u> Distance:</u> select one among a variety of evolutionary distances: J-C: Jukes &amp; Cantor (1969);
589 K2P: Kimura (1980) <a href=http://dx.doi.org/10.1007/BF01731581>JME 16:111</a>;
590 HKY: Rzhetsky &amp; Nei (1995) <a href=http://mbe.oxfordjournals.org/content/12/1/131.abstract>MBE 12:131</a>;
591 LogDet: Lake (1994) <a href=http://www.ncbi.nlm.nih.gov/pmc/articles/PMC43178/?tool=pubmed>PNAS 91:1455</a>;
592 Lockhart et al. (1994) <a href=http://mbe.oxfordjournals.org/content/11/4/605.short>MBE 11:605</a>;
593 Ka/Ks: Li (1993) <a href=http://dx.doi.org/10.1007/BF02407308>JME 36:96</a>.
594 <br><u> ignore all gap sites:</u> if on, all gap-containing sites are excluded from analysis;
595 if off, not all sequence pairs use the same set of sites for computation of distances.
596 <br><u> Bootstrap:</u> performs bootstrap evaluation of clade statistical support (can be interrupted).
597 Bootstrap supports can be optionally computed with the <a href=https://doi.org/10.1038/s41586-018-0043-0>Transfer Bootstrap Expectation</a> method.
598 Furthermore, if "Show bootstrap trees" is checked,
599 individual bootstrap trees will appear in a second tree window, in addition to the main distance tree window.
600 <br><u> User tree:</u> computes least squares branch lengths for selected user tree topology.
601
602 <p><u><b>PhyML:</b></u></font>
603 <br>Computes trees using PhyML v3.0 as an external program.
604 <br> If needed, PhyML can be downloaded from its <a href=http://www.atgc-montpellier.fr/phyml/binaries.php>web site</a>
605 <br> Under Unix, file $HOME/.seaviewrc may contain the name of the PhyML executable used by seaview.
606 <br> Please quote: Guindon S., Dufayard J.F., Lefort V., Anisimova M., Hordijk W., Gascuel O. (2010)
607 <a href=http://dx.doi.org/10.1093/sysbio/syq010>New Algorithms and Methods to Estimate Maximum-Likelihood
608 Phylogenies: Assessing the Performance of PhyML 3.0</a>.
609 Systematic Biology 59(3):307-321.
610 <br><u> Model:</u> select one among a variety of evolutionary models.
611 <br><u> Branch support:</u> can be omitted (None) or estimated either by the approximate likelihood
612 ratio test approach (aLRT) or by bootstrap. The bootstrap branch support can be computed by
613 two methods:
614 <ul><li> The 'standard' method (Felsenstein's) counts the fraction of replicates containing each internal
615 branch of the reference tree.
616 <li> The 'Transfer Bootstrap Expectation' method (TBE) proposed by Lemoine <i>et al.</i>:
617 <a href=https://doi.org/10.1038/s41586-018-0043-0>Renewing Felsenstein’s phylogenetic bootstrap in the era of big data</a>.
618 </ul>
619 If "Transfer Bootstrap Expectation method" is checked, both methods for computing
620 bootstrap supports are used and displayed in two tree windows.
621 With both bootstrap methods, if "Show bootstrap trees" is checked,
622 individual bootstrap trees will appear in yet another tree window.
623 <br><u> Nucleotide/Amino acid equilibrium frequencies:</u> Residue frequencies can be estimated by counting
624 their frequencies in the sequence alignment ("Empirical" option). Alternatively, they can be optimized by
625 maximum likelihood ("Optimized" option for DNA data) or fixed to a set of model-given values ("Model-given"
626 option for protein data).
627 <br><u> Ts/Tv ratio:</u> (applies to some nucleotide models only) optimize or fix a priori this ratio.
628 <br><u> Invariable sites:</u> ignore (None), optimize, or set to an a priori value (Fixed) the fraction
629 of invariable sites.
630 <br><u> Across site rate variation:</u> ignore (None), optimize, or set to an a priori value (Fixed) the
631 alpha parameter of the gamma distribution of rates across sites. If not ignored, the # of
632 rate categories must also be set.
633 <br><u> Tree searching operations:</u> NNI (nearest-neighbor interchange), SPR (subtree pruning and
634 regrafting) and 'best of NNI &amp; SPR' are options improving the search for the most likely
635 tree but requiring increasing computation time.
636 <br><u> Starting tree:</u> controls the tree used to start tree-space search; can be BioNJ, a user-given
637 tree from the trees menu, or a number of random trees (possible only with SPR).
638 Turn off "Optimize tree topology" to compute the likelihood of a user-given tree.
639 <br><u> Quiet:</u> If ON, no indication of the computation progression will appear. Turning this ON also
640 ensures that runs requiring large memory don't block with the "WARNING: this analysis requires at least ## Mo
641 of memory space." message.
642
643 <p><u>Import tree:</u> to import an external,
644 <a href=http://evolution.genetics.washington.edu/phylip/newicktree.html>Newick</a>-formatted tree.
645
646 <p><u>New tree window:</u> opens a new, empty tree window.
647
648 <hr>
649 <a name="Tree windows"></a>
650 <center><u><b>Tree windows</u></b></center>
651 Plots/saves/prints/copies phylogenetic trees that can be rooted or unrooted, with or without branch
652 lengths, binary or multibranched, with or without branch support values.
653 <br>A tree window can contain several trees. In that case, left and right arrows at top right of the window
654 allow to circulate around them. Multiple-tree windows can occur after these operations:
655 <ul><li>open a Newick file containing several trees consecutively;
656 <li>paste to an empty tree window a clipboard containing several Newick strings consecutively;
657 <li>a parsimony analysis yielded several equally parsimonious trees: the tree window
658 contains first their consensus, and then each single equally parsimonious tree.
659 </ul>
660
661 <p><b>File menu</b><p>
662 <br><u>Save to Trees menu:</u> to save in menu <a href="#Trees Menu">Trees</a> of alignment window a previously computed tree.
663 <br><u>Remove from Trees menu:</u> removes a tree from menu <a href="#Trees Menu">Trees</a> of alignment window.
664 <br><u>Save rooted (unrooted) (sub)tree:</u> saves displayed tree or subtree to a local file as rooted or unrooted form.
665 <br><u>Save all trees:</u> writes all trees attached to the tree window to a single file (active only when several trees are attached to the tree window and arrows at window top-right allow to circulate around them).
666 <br><u>Save patristic distances:</u> writes in a file the patristic distances for all pairs of tree leaves (= sum of the lengths
667 of branches connecting the two leaves). Computes also the tree length equal to the sum of all tree branch lengths.
668 Computations are restricted to the subtree if the tree display is currently limited to a subtree.
669 For trees without branch lengths, the computation is run as if all branch lengths
670 were equal to 1, except the two branches that stem from the root of length taken as equal to 0.5.
671 <br><u>Print:</u> prints displayed tree (see also 'Page count' below).
672 <br><u>Save as PDF/PostScript:</u> saves displayed tree to PDF (or PostScript) local file (see Page Count).
673 <br><u>A4 - Letter:</u> controls the page format for PDF/PostScript operations.
674 <br><u>Landscape:</u> controls the page layout for PDF/PostScript operations.
675 <br><u>Page count&gt;#:</u> controls the # of pages used for print/PDF/PostScript operations.
676 <br><u>Save as SVG:</u> saves displayed (sub)tree to a scalable vector graphics (SVG) local file suitable
677 to be edited using appropriate programs (e.g., Inkscape).
678 <br><u>Reorder following tree:</u> reorders sequences of alignment window as in displayed tree.
679 <br><u>Select in alignment:</u> selects in alignment window all members of subtree (active when only a subtree
680 is plotted).
681 <br><u>Open tree or alignment:</u> opens a new tree
682 (<a href=http://evolution.genetics.washington.edu/phylip/newicktree.html>Newick</a> format;
683 the file can contain several trees consecutively) or alignment file (any format).
684 <br><u>New window:</u> opens a new, empty tree window where a Newick-formatted tree can be pasted from clipboard.
685 <br><u>Close window:</u> closes the displayed tree that gets lost unless it had been saved to Trees menu.
686
687 <p>
688 <a name=TREE_EDIT><b>Edit menu</b><p></a>
689 <br><u>Copy:</u> (Mac OS and MSWindows only) copies tree plot to clipboard for pasting to external programs.
690 <br><u>Paste tree:</u> (only if window is empty) to paste a
691 <a href=http://evolution.genetics.washington.edu/phylip/newicktree.html>Newick</a>-formatted
692 tree contained in the clipboard. The clipboard may contain several trees.
693 <br><u>Find:</u> finds sequence names in tree that contain a user-given string, and red-colors them in tree
694 display (case insensitive).
695 <br><u>Again:</u> repeats 'Find' operation with same matching rules.
696 <br><u>Edit tree header:</u> to change the tree's brief descriptive header line.
697 <br><u>Branch support threshold:</u> only branch support values above given threshold become displayed.
698 <br><u>Root at tree center:</u> roots the tree in the middle of the largest path between two leaves (when branch lengths exist).
699 <br><u>Get or Set window size:</u> to control the size of the current tree window.
700 <br><u>Edit tree shape:</u> to alter tree shape by moving or deleting sequence groups. A new window displays
701 the tree without branch lengths. Clicking on a square selects a sequence group that appears in red.
702 It can be moved to another branch of tree by clicking on another square, or deleted ("Delete group"
703 button). "Select group" button allows to select another group for further move or delete operations.
704 Complete edits by pressing "End edit" button, and, possibly, "File/Save to Trees menu".
705 <br><u>Default name trimming rule</u>: allows to set and change the rule used to trim long
706 sequence names when displaying trees. Use an empty rule not to trim sequence names.
707 See <a href=#TRIM>Trim rule</a> for details about how trimming rules work.
708
709 <p><u>Reconcile menu:</u>:
710 See <a href=#TREERECS>Treerecs</a> for details about how gene/species tree reconciliation works.
711
712 <br>
713
714
715 <p><u>Font menu:</u> to control font, style and size of all text in tree display.
716
717 <p><u>Br lengths:</u> toggles display of branch length values next to each branch (very small values are not displayed).
718 <br><u>Br support:</u> toggles display of support values (typically, bootstrap, posterior probabilities, or aLRT) next to branches.
719
720 <p><u>squared/circular/cladogram:</u> toggles display between squared plot convenient for rooted trees,
721 circular plot convenient for unrooted trees, and cladogram which displays trees with
722 all branch lengths a multiple of a unit length and all leaves aligned at right. Cladogram is not
723 available for branch length-free trees because it is equivalent to the squared display for them.
724
725 <p><u>counter</u>:Appears when the loaded treefile contains several trees (e.g., after a bootstrap
726 analysis in which the "Show bootstrap trees" option was selected), and allows to navigate around those trees.
727
728 <a name=TRIM><p><u>Trim rule</u></a>: Allows to enter a rule for trimming long sequence names.
729 Click on the white area. A dialog window allows to enter the desired sequence name <b>trimming rule</b>.
730 <br><b>Trim by content</b>: enter one or more characters; each sequence name will be trimmed
731 after all these characters have been found in the name.
732 <br><b>Trim by length</b>: enter a number; each sequence name longer than this number will by cut.
733 <br>Examples:
734 <ul><li>rule '~' trims names at their first ~
735 <li>rule '~@' trims names at the first @ located after a ~
736 <li>rule '25' trims names longer than 25 characters
737 </ul>
738 Use an empty trimming rule to go back to full sequence names.
739 <p>The default trimming rule can be set with the <a href=#TREE_EDIT>Edit menu</a>.
740
741 <p><u>Full:</u> normal, full tree display.
742 <br><u>Swap:</u> to swap branches around a node. Click on relevant square that appears.
743 <br><u>Re-root:</u> to set tree outgroup. Click on relevant square that appears.
744 <br><u>Select:</u> to select/unselect alignment sequences from a tree. Click in the tree on a square at
745 a sequence name or at a node to select/unselect it in the corresponding alignment window.
746 Conversely, click on sequence names in the alignment window to select/unselect them in the tree.
747 Selected sequences appear with a red square in the tree, and with their name on black background
748 in the alignment.
749 <br><u>Subtree:</u> to limit display to a subtree. Click on relevant square that appears.
750 <br><u>Subtree up:</u> when a subtree is being displayed, adds one more node towards tree root to display.
751
752 <p><u>Zoom:</u> vertical zoom for tree display; one or two scrollers appear. The tree can be moved
753 by the scrollers, the mouse wheel, or by clicking on and dragging the plot.
754
755 <a name=TREERECS><p><u><b>Treerecs:</b></u></font>
756 <br>Use the <a href=https://project.inria.fr/treerecs>Treerecs</a> method to rearrange, root and/or correct
757 a gene tree according to a species tree.
758 <br>If needed, Treerecs sources can be <a href=https://gitlab.inria.fr/Phylophile/Treerecs>downloaded</a>.
759 <br><u> Species tree:</u> select the full-binary species tree associated with your genes.
760 <br><u> Branch support threshold:</u> change to contract/remove branches with a support lower than this value. With -1 there is no branch contraction.
761 <br><u> Duplication cost:</u> define the cost associated with a gene duplication event
762 <br><u> Loss cost:</u> define the cost associated with a gene loss event
763 <br><u> Find best root:</u> check the box to ask Treerecs to root or reroot the tree
764 <br><u> Use gene names:</u> associate gene with species according to gene names (which contains the associated species name).
765 There is two methods: the Auto method and the manual. The manual needs to give a character as a separator and a position to define species name location in gene.
766 <br><u> Use file: </u> use Smap file to associate genes with species.
767 <br><u> Output tree:</u> check <i>Full reconciliation</i> to view the tree with all duplication and loss events found by Treerecs.
768 <p><u>N.B.</u> On the macOS platform, tree reconciliation requires macOS version 10.9 or higher.
769 <hr>
770 <a name="Dot plot"></a>
771 <center><u><b>Dot Plot</b></u></center>
772 <center>Performs a "dot plot" analysis of two sequences</center>
773
774 <p>Enter desired values for the window size and # of matches/window, and click on button "Compute", the dot plot will appear.
775
776 <p>Click in the dot plot, the corresponding sequence regions appear in the alignment panel above the dot plot. Use "Magnify" to take a close look.
777 <br>Click on arrows at left to move the hit point by one residue in either of six directions.
778 <br>Move the slider below the alignment panel to control the number of displayedresidues.
779
780 <p>Fit to window, Reduce, Magnify: perform zoom in and out operations
781 <br>Write PDF/ps: saves the dot plot to a PDF or PostScript file.
782 <br>Close: closes the dot plot window
783
784 <center>To perform a dot plot-guided alignment</center>
785 <br>Click on a diagonal representing two sequence parts to be aligned, then click on button "align". Repeat this for each sequence parts you want to be aligned to each other.
786 <br>To transfer into the multiple alignment the result of these operations, click on button "Record alignment".
787 <br>Most often, one of the two compared sequences is already aligned to other sequences of the multiple alignment, while the other one is not. Choose which of the two sequences is already aligned by clicking on the arrow next to "Ref. sequence".
788
789 <hr>
790 <a name="Mase file format"></a>
791 <center><u><b>Mase file format</b></u></center>
792 Mase files follow the following format:
793
794 <p>Zero or more header lines each beginning with ;;
795 <br>Next, for each sequence in the alignment:
796 <br>One or more comment lines each beginning with ;
797 <br>Sequence name alone on a line (may be long and may contain spaces)
798 <br>Sequence data in free form, possibly with numbers and spaces ignored while
799 reading the file. Dashes denote gaps.
800
801 <p>Header lines may contain any text and also contain descriptions of trees, site sets and
802 species groups when such data have been defined.
803
804 <p>Trees are as in this example:<pre><tt>
805 ;;$ BioNJ tree
806 ;;[BioNJ 658 sites J-C](((boli_haplo_03:0.00146,boli_haplo_06:0.00159)
807 ;;:0.00159,boli_haplo_05:0.00146):0.02886,boli_haplo_01:0.03142);
808 </tt></pre>
809
810 <p>Site sets are written as in this example:<pre><tt>
811 ;;# of segments=10 mychoice
812 ;; 14,74 221,256 416,449 990,1148 1363,1384 1474,1483 1556,1668
813 ;; 2034,2062 2114,2139 2756,2859
814 </tt></pre>where "mychoice" is the name of the set of sites and where the series of pairs
815 of numbers lists the endpoints of successive block of sites.
816
817 <p>Species groups are written as in this example:<pre><tt>
818 ;;@ of species = 4 distant outgroup
819 ;; 2, 3, 4, 5
820 </tt></pre>where "distant outgroup" is the name of the species group and where the series
821 of numbers lists the ranks of sequences members of the species group.
822
823 <hr>
824 <a name="Program arguments"></a>
825 <center><u><b>Program arguments</b></u></center>
826 Seaview can be run by using a command line:
827 <br><tt>seaview</tt> [<i>options</i>] [<i>alignment-or-tree-file</i>]
828 <br>where <i>alignment-or-tree-file</i> is an optional sequence alignment or tree file to be read (always the last argument)
829 and <i>options</i> are as in the following table:
830 <table border=2>
831 <tr><td><tt>-h</tt></td><td> display all program options and exit</td></tr>
832 <tr><td><tt>-fast</tt></td><td> sequences will be displayed faster but less smoothly</td></tr>
833 <tr><td><tt>-fontsize</tt> <i>n</i></td><td> font size used for the tree or alignment windows</td></tr>
834 <tr><td colspan=2 align=center> <b>Options for non-interactive usage driven by command-line arguments</b>
835 <br>Use exactly one of these options to get a non-interactive seaview run. Add any of the sub-options described below.</td></tr>
836 <tr><td><tt><a href=#CONVERT>-convert</a></tt></td><td> convert an input alignment to another format (no window creation)</td></tr>
837 <tr><td><tt><a href=#CONCATENATE>-concatenate</a></tt></td><td> concatenate alignment(s) to the end of an input alignment (no window creation)</td></tr>
838 <tr><td><tt><a href=#ALIGN>-align</a></tt></td><td> align an input sequence file (no window creation)</td></tr>
839 <tr><td><tt><a href=#BUILD_TREE>-build_tree</a></tt></td><td> compute a phylogenetic tree from an input alignment file (no window creation)</td></tr>
840 <tr><td><tt><a href=#PRINTOUT>-printout</a></tt></td><td> draw a multiple sequence alignment to PDF/SVG (no window creation)</td></tr>
841 <tr><td><tt><a href=#REROOT>-reroot</a></tt></td><td> modify the rooting of, or process otherwise, an input tree (no window creation)</td></tr>
842 <tr><td><tt><a href=#PLOTONLY>-plotonly</a></tt></td><td> draw an input tree in a pdf or svg file (no window creation)</td></tr>
843
844 <a name="CONVERT"></a><tr><td colspan=2 align=center> <br> <b>Sub-options for</b> <tt>-convert</tt></td></tr>
845 <tr><td colspan=2 align=left> Use '-' as last argument to read alignment from standard input</td></tr>
846 <tr><td><tt>-output_format</tt> <i>fmt</i></td><td> format of the converted alignment file (<tt>mase, phylip, clustal, msf, fasta</tt>,
847 or <tt>nexus</tt>). The format of the input file is the default.</td></tr>
848 <tr><td><tt>-o</tt> <i>fname</i></td><td> use <i>fname</i> as name of the converted alignment (default is built from input filename)</td></tr>
849 <tr><td><tt>-o</tt> -</td><td> write the output alignment to standard output</td></tr>
850 <tr><td><tt>-translate</tt></td><td> translate input sequences to protein before outputting them (don't use the <tt>-sites</tt> option)
851 <br>Add <tt>/transl_table=</tt># (where # is a genetic code number) to sequence comments to use variant genetic codes.
852 If the input file is in FASTA format, put this after each sequence name.
853 </td></tr>
854 <tr><td><tt>-no_terminal_stop</tt></td><td> translate terminal stop codons as a gap (with <tt>-translate</tt> option)</td></tr>
855 <tr><td><tt>-del_gap_only_sites</tt></td><td> remove all gap-only sites from alignment (don't use the <tt>-sites</tt> option)</td></tr>
856 <tr><td><tt>-def_species_group</tt> <i>group_name,group_members</i></td><td> create a species group of given name and members
857 (species group members are expressed with their ranks as in this example: 3-8,12,19)</td></tr>
858 <tr><td><tt>-def_site_selection</tt> <i>name,endpoints</i></td><td> create a selection of sites of given name and endpoints
859 (site selection endpoints are expressed as in this example: 10-200,305,310-342)</td></tr>
860 <tr><td><tt>-gblocks</tt></td><td> create under the name 'Gblocks' a set of blocks of conserved sites with the Gblocks program. Requires the <tt>nexus</tt> or <tt>mase</tt> output formats: the output file contains a new site selection called 'Gblocks'. A second command line with <tt>-convert -sites Gblocks</tt> allows to extract the set of conserved sites identified by Gblocks.
861 Further options can be used to modify the Gblocks run:<br>
862 <tt>-b4</tt> allow smaller final blocks<br>
863 <tt>-b5</tt> allow gaps within final blocks <br>
864 <tt>-b2</tt> less strict flanking positions <br>
865 <tt>-b3</tt> don't allow many contiguous nonconserved positions</td></tr>
866 <tr><td><tt>-sites</tt> <i>selection_name</i></td><td> use the named selection of sites from the input alignment </td></tr>
867 <tr><td><tt>-species</tt> <i>group_name</i></td><td> use the named group of species from the input alignment </td></tr>
868 <tr><td><tt>-bootstrap</tt> <i>n</i></td><td> writes <i>n</i> bootstrap replicates of the input sequence alignment
869 to the output file. Can be combined with the species and sites selection options, <tt>-translate</tt>
870 (<tt>-no_terminal_stop</tt> is implied), and <tt>-del_gap_only_sites</tt>.
871 The <tt>-output_format</tt> option is not necessary because the output file is always in <tt>phylip</tt> format.</td></tr>
872
873 <a name="CONCATENATE"></a><tr><td colspan=2 align=center>  <br> <b>Sub-options for</b> <tt>-concatenate</tt></td></tr>
874 <tr><td colspan=2 align=left> Use '-' as last argument to read alignment from standard input</td></tr>
875 <tr><td><tt>-concatenate</tt> <i>align1,...</i></td><td>name(s) of alignment files to add at the end of the input alignment</td></tr>
876 <tr><td><tt>-by_rank</tt></td><td>identify sequences by their rank in alignments, <i>i.e.</i>, the 1st seq. of <i>align1</i> will be added
877 at the end of the 1st seq of the input file, the 2nd with the 2nd, and so on.
878 Without this option, sequences with the same name in alignment files are concatenated.</td></tr>
879
880 <tr><td><tt>-record_partition</tt></td><td> record as 'site sets' the locations of the concatenated pieces in the final concatenate</td></tr>
881
882
883 <tr><td><tt>-output_format</tt> <i>fmt</i></td><td>format of the concatenated alignment file
884 (<tt>mase, phylip, clustal, msf, fasta</tt>, or <tt>nexus</tt>). Default is the format of the input alignment.</td></tr>
885 <tr><td><tt>-o</tt> <i>fname</i></td><td> use <i>fname</i> as name of the concatenated alignment
886 (default is built from input filename)</td></tr>
887 <tr><td><tt>-o</tt> -</td><td> write the concatenated alignment to standard output</td></tr>
888
889 <a name="ALIGN"></a><tr><td colspan=2 align=center> <br> <b>Sub-options for</b> <tt>-align</tt></td></tr>
890 <tr><td colspan=2 align=left> Use '-' as last argument to read sequence file from standard input</td></tr>
891 <tr><td><tt>-align_algo</tt> <i>n</i></td><td> rank (in seaview, from 0) of alignment algorithm. 0 is clustalo, 1 is muscle.
892 Other algorithms can be used after having been added as external alignment method in seaview.
893 Without this option, seaview's default alignment algorithm is used. This can be changed using seaview's GUI.</td></tr>
894 <tr><td><tt>-align_extra_args</tt> <i>"option1 ..."</i></td><td>additional options to use when running the alignment algorithm</td></tr>
895 <tr><td><tt>-align_at_protein_level</tt></td><td> input sequences are translated to protein; those protein sequences are aligned;
896 and the resulting alignment is reproduced at the DNA level.</td></tr>
897 <tr><td><tt>-o</tt> <i>fname</i></td><td> use <i>fname</i> as name of the output alignment</td></tr>
898 <tr><td><tt>-o -</tt></td><td> write the output alignment to standard output</td></tr>
899 <tr><td><tt>-output_format</tt> <i>fmt</i></td><td> format of the output alignment
900 (<tt>mase, phylip, clustal, msf, fasta</tt>, or <tt>nexus</tt>)</td></tr>
901
902 <a name="BUILD_TREE"></a><tr><td colspan=2 align=center> <br> <b>Sub-options for</b> <tt>-build_tree</tt>
903 (either <tt>-distance</tt> or <tt>-parsimony</tt> is required and <tt>-o</tt> or <tt>-distance_matrix</tt>)</td></tr>
904 <tr><td colspan=2 align=left> Use '-' as last argument to read alignment from standard input</td></tr>
905 <tr><td><tt>-o</tt> <i>fname</i></td><td> use <i>fname</i> as name of the output tree</td></tr>
906 <tr><td><tt>-o -</tt></td><td> write the output tree to standard output</td></tr>
907 <tr><td><tt>-distance </tt><i>dist_name</i></td><td> computes the tree with a distance method using the named distance
908 (one among <tt>observed, JC, K2P, logdet, Ka, Ks, Poisson</tt> or <tt>Kimura</tt>)</td></tr>
909
910 <tr><td><tt>-usertree </tt><i>tree_file_name</i></td><td> <i>tree_file_name</i> is the name of a user-given tree file (in Newick format). In association with <tt>-distance</tt>, branch lengths of the user tree are computed. In association with <tt>-parsimony</tt>, the length of the tree is computed (and its branch lengths too for DNA sequences).</td></tr>
911
912 <tr><td><tt>-distance_matrix</tt> <i>fname</i></td><td> don't compute the tree, but write to file <i>fname</i> the matrix of pairwise distances</td></tr>
913 <tr><td><tt>-NJ</tt></td><td> compute the distance tree by the Neighbor-Joining method (default is BioNJ)</td></tr>
914 <tr><td><tt>-parsimony</tt></td><td> compute the tree by the parsimony method</td></tr>
915 <tr><td><tt>-search more|less|one</tt></td><td>for parsimony on DNA only: controls, in decreasing order, how much rearrangement is done to find better trees
916 (<tt>more</tt> is the default, corresponds to the S option of the <a href=http://evolution.genetics.washington.edu/phylip/doc/dnapars.html>dnapars</a> program)</td></tr>
917 <tr><td><tt>-nogaps</tt></td><td> remove all gap-containing sites before computations</td></tr>
918 <tr><td><tt>-replicates</tt> <i>n</i></td><td> use <i>n</i> bootstrap replicates to compute tree branch support</td></tr>
919 <tr><td><tt>-jumbles</tt> <i>n</i></td><td> jumble input sequence order <i>n</i> times (parsimony only)</td></tr>
920 <tr><td><tt>-gaps_as_unknown</tt></td><td> encode gaps as unknown character state (parsimony only, by default they are encoded
921 as an extra character state)</td></tr>
922 <tr><td><tt>-sites</tt> <i>selection_name</i></td><td> use the named selection of sites from the input alignment </td></tr>
923 <tr><td><tt>-species</tt> <i>group_name</i></td><td> use the named group of species from the input alignment </td></tr>
924
925 <a name="PRINTOUT"></a><tr><td colspan=2 align=center> <br><b>Sub-options for</b> <tt> -printout (-o</tt> is required, available only in seaview versions able to create PDF files)</td></tr>
926 <tr><td colspan=2 align=left> Use '-' as last argument to read alignment from standard input</td></tr>
927 <tr><td><tt>-o</tt> <i>fname</i></td><td> use <i>fname</i> as name of the output PDF/SVG file</td></tr>
928 <tr><td><tt>-o -</tt></td><td> send the printout to standard output</td></tr>
929 <tr><td><tt>-fontsize</tt> <i>n</i></td><td> font size used for the alignment printout (10 by default)</td></tr>
930 <tr><td><tt>-blocksize</tt> <i>n</i></td><td> divide sequences in blocks of size <i>n</i> (10 by default) separated by one space</td></tr>
931 <tr><td><tt>-svg</tt> <i>w</i></td><td> produce a file in SVG format of width <i>w</i> pixels (without this option, the output is in PDF format)</td></tr>
932 <tr><td><tt>-landscape</tt></td><td> write the alignment in landscape orientation (PDF output only)</td></tr>
933 <tr><td><tt>-letter</tt></td><td> write the alignment using Letter-sized pages (A4 by default, PDF output only)</td></tr>
934
935
936 <a name="REROOT"></a><tr><td colspan=2 align=center> <br> <b>Sub-options for</b> <tt>-reroot</tt> (available only in seaview versions able to create PDF files)</td></tr>
937 <tr><td colspan=2 align=left> Use '-' as last argument to read input tree from standard input</td></tr>
938 <tr><td><tt>-outnewick</tt> <i>filename</i></td><td> write the resulting tree to named file in
939 <a href=http://evolution.genetics.washington.edu/phylip/newicktree.html>Newick</a> format</td></tr>
940 <tr><td><tt>-outgroup</tt> <i>name</i></td><td> use tree leaf labelled 'name' as tree outgroup</td></tr>
941 <tr><td><tt>-outgroup</tt> <i>"name1,name2,name3"</i></td><td> use node at center of the 3 named leaves as tree center
942 and <i>name3</i>-containing clade as outgroup</td></tr>
943 <tr><td><tt>-ingroup</tt> <i>"name1,name2,name3"</i></td><td> use node at center of the 3 named leaves as tree center
944 and <i>name1</i>-containing clade as ingroup</td></tr>
945 <tr><td><tt>-root_at_center</tt></td><td> reroot the tree at its center</td></tr>
946 <tr><td><tt>-unroot</tt></td><td> remove the root from the input tree, if any</td></tr>
947 <tr><td><tt>-trim <i>trim_rule</i></tt></td><td> trim long leaf names using the given <a href=#TRIM>trim rule</a></td></tr>
948 <tr><td><tt>-patristic_distances</tt> <i>fname</i></td><td> write to named file patristic distances between leaves of input tree</td></tr>
949 <tr><td><tt>-remove_bootstrap</tt></td><td> remove branch support values present in input tree</td></tr>
950
951 <a name="PLOTONLY"></a><tr><td colspan=2 align=center> <br> <b>Sub-options for</b> <tt>-plotonly</tt> (available only in seaview versions able to create PDF files)</td></tr>
952 <tr><td colspan=2 align=left>options <tt>-outgroup, -ingroup, -outnewick</tt> above can be used as well as the following ones:</td></tr>
953 <tr><td colspan=2 align=left> Use '-' as last argument to read tree from standard input</td></tr>
954 <tr><td><tt>-o</tt> <i>fname</i></td><td> use <i>fname</i> as name of the output plot (.pdf or .svg)</td></tr>
955 <tr><td><tt>-o -</tt></td><td> write the output plot to standard output (svg only)</td></tr>
956 <tr><td><tt>-svg</tt></td><td> draw the input tree in a .svg file (default is .pdf file)</td></tr>
957 <tr><td><tt>-unrooted</tt></td><td> draw the input tree in unrooted (circular) form</td></tr>
958 <tr><td><tt>-pagecount</tt> <i>n</i></td><td> number of pages used for the tree plot (pdf only)</td></tr>
959 <tr><td><tt>-letter</tt></td><td> use letter-sized paper for the tree plot</td></tr>
960 <tr><td><tt>-landscape</tt></td><td> draw in landscape orientation</td></tr>
961 <tr><td><tt>-fontsize</tt> <i>n</i></td><td> font size used in the tree plot</td></tr>
962 <tr><td><tt>-lengths</tt></td><td> display branch lengths in the tree plot</td></tr>
963 <tr><td><tt>-bootstrap</tt> </td><td> display branch support values in the tree plot</td></tr>
964 <tr><td><tt>-bootstrap_threshold</tt> <i>x</i></td><td> display branch supports if they are ≥ <i>x</i></td></tr>
965 <tr><td><tt>-size</tt> <i>W</i>x<i>H</i></td><td> pixel Width and Height of tree plot (svg only) (default is 595x842)</td></tr>
966 <tr><td><tt>-match</tt> <i>text</i></td><td> display in color (red by default) tree labels containing this text (case is not significant)</td></tr>
967 <tr><td><tt>-color</tt> <i>RRGGBB</i></td><td> hexadecimal color used for matching labels (example: 00FF00 means green)</td></tr>
968 <tr><td><tt>-branch_width_as_support</tt></td><td> draw plot with branches of increasing widths with increasing support</td></tr>
969 <tr><td><tt>-support_threshold_high</tt> <i>f</i></td><td> support above which a branch is drawn with maximal width (def=.95)</td></tr>
970 <tr><td><tt>-support_threshold_low</tt> <i>f</i></td><td> support below which a branch is drawn with minimal width (def=.8)</td></tr>
971 <tr><td><tt>-trim <i>trim_rule</i></tt></td><td> trim long leaf names using the given <a href=#TRIM>trim rule</a></td></tr>
972
973 </table>
974
975 <p>Use item "Customize" of menu <a href="#Props Menu">Props</a> to further customize the program.
976
977 <hr>
978 <a name="Sequence coloring"></a>
979 <center><u><b>Sequence Coloring</b></u></center>
980 The item "Customize" of menu <a href="#Props Menu">Props</a> allows to control colors.
981 <p>
982 <center>SETTING DNA/RNA SEQUENCE COLORING</center>
983 A,C,G,T/U buttons show the colors that are in use for the corresponding nucleotide.
984 <br>Click on a button to open a color chooser and select the desired color
985 (OK will accept the new choice; reset will use the starting shade).
986 <br>"reset" will use default colors.
987 <br>"Apply" or "Set changes permanent" will apply new shades to current alignment.
988
989 <p>
990 <center>SETTING PROTEIN SEQUENCE COLORING</center>
991 <u>aa coloring scheme</u>: by default, amino acids are split in 8 families each displayed
992 in a different color. These families can be customized, up to a maximum of 10.
993 Also, an alternative coloring scheme can be defined, and seaview will
994 allow to switch between the first and the alternative coloring schemes.
995
996 <p><u>catalog of amino acid colors</u>: colors used for each amino acid family.
997 Click on any to control the desired shade, as explained above.
998 White is used for gaps and for unlisted residues.
999
1000 <p>Example: with the default coloring scheme, groups of amino acids KR and AFILMVW
1001 are displayed with the first and second catalog colors starting from left, respectively.
1002
1003 <p>Click "reset" to use default amino acid families and color catalog.
1004 "Apply" or "Set changes permanent" to apply new shades to current alignment.
1005
1006 <p>
1007 <center>SETTING SYNONYMOUS CODON COLORING</center>
1008 Click on "Change" button. A window with a series of color cells appear. The 21 sets of synonymous codons
1009 and of stop codons can be colored with any of these colors. Click on a color cell and type a one-letter
1010 amino acid (or * to refer to stop codons) to reaffect a codon set to a new color. Repeat these operations
1011 as many times as necessary. Click on "OK" button when color re-assignments are complete.
1012 <br>Back to "Customization" window, "Apply" applies color re-assignments to this session's windows,
1013 "Set changes permanent" applies them to future seaview sessions as well.
1014 <p>
1015 <hr>
1016 <a name="Miscellaneous options"></a>
1017 <center><u><b>Miscellaneous options</b></u></center>
1018 The item "Customize" of menu <a href="#Props Menu">Props</a> allows to set these options:
1019 <ul>
1020 <li><u>[sites] background grey</u>: move the slider to change the grey shade of the alignment
1021 panel background; the "sites" shade applies to selected sites only; "reset" gives
1022 default values to both shades.
1023
1024 <li><u>right-left movement keys</u>: define 4 keys that move cursor right and left
1025 by 5 or 50 residues; reset uses default keys.
1026
1027 <li><u>display lowercase</u>: select so that lowercase characters present in sequence data
1028 are not displayed as uppercase.
1029
1030 <li><u>inverted</u>: select to display sequences as black letters on colored background.
1031
1032 <li><u>spaces in FASTA names</u>: If on, all characters after the '>' will be interpreted
1033 as sequence name in FASTA files. If off, the name ends at the first encountered space and the rest
1034 of the line (if any, e.g., length information) is interpreted as sequence annotation data.
1035
1036 <li><u>alignment algorithm</u>: to set the default alignment algorithm used by
1037 menu <a href="#Align Menu">Align</a>.
1038
1039 <li><u>default save format</u>: sets the default format of the "File:save as" menu item.
1040
1041 <li><u>pdf/ps page</u>: sets the page format used by all PDF- or PostScript-producing operations.
1042
1043 <li><u>pdf/ps fontsize</u> sets the font size used by item
1044 "Prepare pdf/ps" of menu <a href="#File Menu">File</a>.
1045
1046 <li><u>max name width</u>: the maximum width at which sequence names are displayed; names longer
1047 than that are accepted but aren't entirely displayed.
1048
1049 <li><u>phylip names width</u>: sequence names longer than this value are truncated when
1050 saving PHYLIP-formatted alignments. Value 10 should be used to interface with
1051 the PHYLIP package. Larger values are more convenient for, e.g., PhyML, PAML.
1052
1053 <li><u>sequence font size</u>: the default fontsize used to display sequence alignments.
1054 </ul>
1055 <hr>
1056 <a name=Customization></a>
1057 <center><u><b>Customization</b></u></center>
1058 <ul>
1059 <li>Mac OS:
1060 Custom settings are stored in file <tt>fr.cnrs.seaview.plist</tt> of the user's <tt>Library/Preferences</tt> folder.
1061 <li>MSWindows:
1062 Custom settings are stored in file <tt>seaview.ini</tt> in the same folder as the seaview program itself.
1063 <li>Unix/Linux:
1064 Custom settings are stored in file <tt>.seaviewrc</tt> in the user's home directory.
1065 </ul>
1066 <u>Note for users of Mac OS 10.9 and above</u>: deleting the file <tt>$HOME/Library/Preferences/fr.cnrs.seaview.plist</tt>
1067 is no longer enough to reset seaview's preferences. You can enter this in a terminal:<br>
1068 <tt>defaults delete fr.cnrs.seaview</tt>
1069 <br>You may also force using a given fr.cnrs.seaview.plist file with this command:<br>
1070 <tt>defaults read fr.cnrs.seaview</tt>
1071 <hr>
1072 <a name=DBTroubleshooting></a>
1073 <center><u><b>Troubleshooting Importation from Databases</b></u></center>
1074 If you experience problems importing sequences from databases with the
1075 "Import from DBs" item of the File menu, open a terminal (or command prompt) window, and type in it:
1076 <pre><tt>telnet pbil.univ-lyon1.fr 5558
1077 </tt></pre>
1078 If you see this :
1079 <pre><tt>OK acnuc socket started
1080 </tt></pre>
1081 then sequence importation will work.
1082 <br>If the terminal remains blocked for some time and the above
1083 OK message does not appear, your
1084 communication to the database server is most probably blocked by your firewall.
1085 Please, contact your local network administrators, and ask them to allow
1086 outbound communications to the port number 5558.
1087
1088 </BODY>
1089 </html>