Debian Codegraph @

doc/programs/html/emma.html

raw symbols SCIP
1 <HTML>
2
3 <HEAD>
4 <TITLE>
5 EMBOSS: emma
6 </TITLE>
7 </HEAD>
8 <BODY BGCOLOR="#FFFFFF" text="#000000">
9
10 <table align=center border=0 cellspacing=0 cellpadding=0>
11 <tr><td valign=top>
12 <A HREF="/" ONMOUSEOVER="self.status='Go to the EMBOSS home page';return true"><img border=0 src="/images/emboss_icon.jpg" alt="" width=150 height=48></a>
13 </td>
14 <td align=left valign=middle>
15 <b><font size="+6">
16 emma
17 </font></b>
18 </td></tr>
19 </table>
20 <br>&nbsp;
21 <p>
22
23 <H2>
24 Wiki
25 </H2>
26
27 The master copies of EMBOSS documentation are available
28 at <a href="http://emboss.open-bio.org/wiki/Appdocs">
29 http://emboss.open-bio.org/wiki/Appdocs</a>
30 on the EMBOSS Wiki.
31
32 <p>
33 Please help by correcting and extending the Wiki pages.
34
35 <H2>
36 Function
37 </H2>
38 Multiple sequence alignment (ClustalW wrapper)
39 <H2>
40 Description
41 </H2>
42
43 EMMA calculates the multiple alignment of nucleic acid or protein
44 sequences according to the method of Thompson, J.D., Higgins, D.G.
45 and Gibson, T.J. (1994).
46
47 <p>
48
49 This is an interface to the ClustalW distribution.
50
51
52
53
54 <H2>
55 Usage
56 </H2>
57 Here is a sample session with <b>emma</b>
58 <p>
59
60 <p>
61 <table width="90%"><tr><td bgcolor="#CCFFFF"><pre>
62
63 % <b>emma </b>
64 Multiple sequence alignment (ClustalW wrapper)
65 Input (gapped) sequence(s): <b>globins.fasta</b>
66 (aligned) output sequence set [hbb_human.aln]: <b></b>
67 Dendrogram (tree file) from clustalw output file [hbb_human.dnd]: <b></b>
68
69
70
71
72 CLUSTAL 2.1 Multiple Sequence Alignments
73
74
75 Sequence type explicitly set to Protein
76 Sequence format is Pearson
77 Sequence 1: HBB_HUMAN 146 aa
78 Sequence 2: HBB_HORSE 146 aa
79 Sequence 3: HBA_HUMAN 141 aa
80 Sequence 4: HBA_HORSE 141 aa
81 Sequence 5: MYG_PHYCA 153 aa
82 Sequence 6: GLB5_PETMA 149 aa
83 Sequence 7: LGB2_LUPLU 153 aa
84 Start of Pairwise alignments
85 Aligning...
86
87 Sequences (1:2) Aligned. Score: 83
88 Sequences (1:3) Aligned. Score: 43
89 Sequences (1:4) Aligned. Score: 42
90 Sequences (1:5) Aligned. Score: 24
91 Sequences (1:6) Aligned. Score: 21
92 Sequences (1:7) Aligned. Score: 14
93 Sequences (2:3) Aligned. Score: 41
94 Sequences (2:4) Aligned. Score: 43
95 Sequences (2:5) Aligned. Score: 24
96 Sequences (2:6) Aligned. Score: 19
97 Sequences (2:7) Aligned. Score: 15
98 Sequences (3:4) Aligned. Score: 87
99 Sequences (3:5) Aligned. Score: 26
100 Sequences (3:6) Aligned. Score: 29
101 Sequences (3:7) Aligned. Score: 16
102 Sequences (4:5) Aligned. Score: 26
103 Sequences (4:6) Aligned. Score: 27
104 Sequences (4:7) Aligned. Score: 12
105 Sequences (5:6) Aligned. Score: 21
106 Sequences (5:7) Aligned. Score: 7
107 Sequences (6:7) Aligned. Score: 11
108 Guide tree file created: [12345678A]
109
110 There are 6 groups
111 Start of Multiple Alignment
112
113 Aligning...
114 Group 1: Sequences: 2 Score:2194
115 Group 2: Sequences: 2 Score:2165
116 Group 3: Sequences: 4 Score:960
117 Group 4: Delayed
118 Group 5: Delayed
119 Group 6: Delayed
120 Alignment Score 4164
121
122 GCG-Alignment file created [12345678A]
123
124
125 </pre></td></tr></table><p>
126 <p>
127 <a href="#input.1">Go to the input files for this example</a><br><a href="#output.1">Go to the output files for this example</a><p><p>
128
129
130 <H2>
131 Command line arguments
132 </H2>
133 <table CELLSPACING=0 CELLPADDING=3 BGCOLOR="#f5f5ff" ><tr><td>
134 <pre>
135 Multiple sequence alignment (ClustalW wrapper)
136 Version: EMBOSS:6.6.0.0
137
138 Standard (Mandatory) qualifiers:
139 [-sequence] seqall (Gapped) sequence(s) filename and optional
140 format, or reference (input USA)
141 [-outseq] seqoutset [<sequence>.<format>] Sequence set filename
142 and optional format (output USA)
143 [-dendoutfile] outfile [*.emma] Dendrogram (tree file) from
144 clustalw output file
145
146 Additional (Optional) qualifiers (* if not always prompted):
147 -onlydend toggle [N] Only produce dendrogram file
148 * -dendreuse toggle [N] Do alignment using an old dendrogram
149 * -dendfile infile Dendrogram (tree file) from clustalw file
150 (optional)
151 -[no]slowalign toggle [Y] A distance is calculated between every
152 pair of sequences and these are used to
153 construct the dendrogram which guides the
154 final multiple alignment. The scores are
155 calculated from separate pairwise
156 alignments. These can be calculated using 2
157 methods: dynamic programming (slow but
158 accurate) or by the method of Wilbur and
159 Lipman (extremely fast but approximate).
160 The slow-accurate method is fine for short
161 sequences but will be VERY SLOW for many
162 (e.g. >100) long (e.g. >1000 residue)
163 sequences.
164 * -pwmatrix menu [b] The scoring table which describes the
165 similarity of each amino acid to each other.
166 There are three 'in-built' series of weight
167 matrices offered. Each consists of several
168 matrices which work differently at different
169 evolutionary distances. To see the exact
170 details, read the documentation. Crudely, we
171 store several matrices in memory, spanning
172 the full range of amino acid distance (from
173 almost identical sequences to highly
174 divergent ones). For very similar sequences,
175 it is best to use a strict weight matrix
176 which only gives a high score to identities
177 and the most favoured conservative
178 substitutions. For more divergent sequences,
179 it is appropriate to use 'softer' matrices
180 which give a high score to many other
181 frequent substitutions.
182 1) BLOSUM (Henikoff). These matrices appear
183 to be the best available for carrying out
184 data base similarity (homology searches).
185 The matrices used are: Blosum80, 62, 45 and
186 30.
187 2) PAM (Dayhoff). These have been extremely
188 widely used since the late '70s. We use the
189 PAM 120, 160, 250 and 350 matrices.
190 3) GONNET . These matrices were derived
191 using almost the same procedure as the
192 Dayhoff one (above) but are much more up to
193 date and are based on a far larger data set.
194 They appear to be more sensitive than the
195 Dayhoff series. We use the GONNET 40, 80,
196 120, 160, 250 and 350 matrices.
197 We also supply an identity matrix which
198 gives a score of 1.0 to two identical amino
199 acids and a score of zero otherwise. This
200 matrix is not very useful. (Values: b
201 (blosum); p (pam); g (gonnet); i (id); o
202 (own))
203 * -pwdnamatrix menu [i] The scoring table which describes the
204 scores assigned to matches and mismatches
205 (including IUB ambiguity codes). (Values: i
206 (iub); c (clustalw); o (own))
207 * -pairwisedatafile infile Comparison matrix file (optional)
208 * -matrix menu [b] This gives a menu where you are offered
209 a choice of weight matrices. The default for
210 proteins is the PAM series derived by
211 Gonnet and colleagues. Note, a series is
212 used! The actual matrix that is used depends
213 on how similar the sequences to be aligned
214 at this alignment step are. Different
215 matrices work differently at each
216 evolutionary distance.
217 There are three 'in-built' series of weight
218 matrices offered. Each consists of several
219 matrices which work differently at different
220 evolutionary distances. To see the exact
221 details, read the documentation. Crudely, we
222 store several matrices in memory, spanning
223 the full range of amino acid distance (from
224 almost identical sequences to highly
225 divergent ones). For very similar sequences,
226 it is best to use a strict weight matrix
227 which only gives a high score to identities
228 and the most favoured conservative
229 substitutions. For more divergent sequences,
230 it is appropriate to use 'softer' matrices
231 which give a high score to many other
232 frequent substitutions.
233 1) BLOSUM (Henikoff). These matrices appear
234 to be the best available for carrying out
235 data base similarity (homology searches).
236 The matrices used are: Blosum80, 62, 45 and
237 30.
238 2) PAM (Dayhoff). These have been extremely
239 widely used since the late '70s. We use the
240 PAM 120, 160, 250 and 350 matrices.
241 3) GONNET . These matrices were derived
242 using almost the same procedure as the
243 Dayhoff one (above) but are much more up to
244 date and are based on a far larger data set.
245 They appear to be more sensitive than the
246 Dayhoff series. We use the GONNET 40, 80,
247 120, 160, 250 and 350 matrices.
248 We also supply an identity matrix which
249 gives a score of 1.0 to two identical amino
250 acids and a score of zero otherwise. This
251 matrix is not very useful. Alternatively,
252 you can read in your own (just one matrix,
253 not a series). (Values: b (blosum); p (pam);
254 g (gonnet); i (id); o (own))
255 * -dnamatrix menu [i] This gives a menu where a single matrix
256 (not a series) can be selected. (Values: i
257 (iub); c (clustalw); o (own))
258 * -mamatrixfile infile Comparison matrix file (optional)
259 * -pwgapopen float [10.0] The penalty for opening a gap in the
260 pairwise alignments. (Number 0.000 or more)
261 * -pwgapextend float [0.1] The penalty for extending a gap by 1
262 residue in the pairwise alignments. (Number
263 0.000 or more)
264 * -ktup integer [1 for protein, 2 for nucleic] This is the
265 size of exactly matching fragment that is
266 used. INCREASE for speed (max= 2 for
267 proteins; 4 for DNA), DECREASE for
268 sensitivity. For longer sequences (e.g.
269 >1000 residues) you may need to increase the
270 default. (integer from 0 to 4)
271 * -gapw integer [3 for protein, 5 for nucleic] This is a
272 penalty for each gap in the fast alignments.
273 It has little affect on the speed or
274 sensitivity except for extreme values.
275 (Positive integer)
276 * -topdiags integer [5 for protein, 4 for nucleic] The number of
277 k-tuple matches on each diagonal (in an
278 imaginary dot-matrix plot) is calculated.
279 Only the best ones (with most matches) are
280 used in the alignment. This parameter
281 specifies how many. Decrease for speed;
282 increase for sensitivity. (Positive integer)
283 * -window integer [5 for protein, 4 for nucleic] This is the
284 number of diagonals around each of the
285 'best' diagonals that will be used. Decrease
286 for speed; increase for sensitivity.
287 (Positive integer)
288 * -nopercent boolean [N] Fast pairwise alignment: similarity
289 scores: suppresses percentage score
290 -gapopen float [10.0] The penalty for opening a gap in the
291 alignment. Increasing the gap opening
292 penalty will make gaps less frequent.
293 (Positive floating point number)
294 -gapextend float [5.0] The penalty for extending a gap by 1
295 residue. Increasing the gap extension
296 penalty will make gaps shorter. Terminal
297 gaps are not penalised. (Positive floating
298 point number)
299 -[no]endgaps boolean [Y] End gap separation: treats end gaps just
300 like internal gaps for the purposes of
301 avoiding gaps that are too close (set by
302 'gap separation distance'). If you turn this
303 off, end gaps will be ignored for this
304 purpose. This is useful when you wish to
305 align fragments where the end gaps are not
306 biologically meaningful.
307 -gapdist integer [8] Gap separation distance: tries to
308 decrease the chances of gaps being too close
309 to each other. Gaps that are less than this
310 distance apart are penalised more than
311 other gaps. This does not prevent close
312 gaps; it makes them less frequent, promoting
313 a block-like appearance of the alignment.
314 (Positive integer)
315 * -norgap boolean [N] Residue specific penalties: amino acid
316 specific gap penalties that reduce or
317 increase the gap opening penalties at each
318 position in the alignment or sequence. As an
319 example, positions that are rich in glycine
320 are more likely to have an adjacent gap
321 than positions that are rich in valine.
322 * -hgapres string [GPSNDQEKR] This is a set of the residues
323 'considered' to be hydrophilic. It is used
324 when introducing Hydrophilic gap penalties.
325 (Any string)
326 * -nohgap boolean [N] Hydrophilic gap penalties: used to
327 increase the chances of a gap within a run
328 (5 or more residues) of hydrophilic amino
329 acids; these are likely to be loop or random
330 coil regions where gaps are more common.
331 The residues that are 'considered' to be
332 hydrophilic are set by '-hgapres'.
333 -maxdiv integer [30] This switch, delays the alignment of
334 the most distantly related sequences until
335 after the most closely related sequences
336 have been aligned. The setting shows the
337 percent identity level required to delay the
338 addition of a sequence; sequences that are
339 less identical than this level to any other
340 sequences will be aligned later. (Integer
341 from 0 to 100)
342
343 Advanced (Unprompted) qualifiers: (none)
344 Associated qualifiers:
345
346 "-sequence" associated qualifiers
347 -sbegin1 integer Start of each sequence to be used
348 -send1 integer End of each sequence to be used
349 -sreverse1 boolean Reverse (if DNA)
350 -sask1 boolean Ask for begin/end/reverse
351 -snucleotide1 boolean Sequence is nucleotide
352 -sprotein1 boolean Sequence is protein
353 -slower1 boolean Make lower case
354 -supper1 boolean Make upper case
355 -scircular1 boolean Sequence is circular
356 -squick1 boolean Read id and sequence only
357 -sformat1 string Input sequence format
358 -iquery1 string Input query fields or ID list
359 -ioffset1 integer Input start position offset
360 -sdbname1 string Database name
361 -sid1 string Entryname
362 -ufo1 string UFO features
363 -fformat1 string Features format
364 -fopenfile1 string Features file name
365
366 "-outseq" associated qualifiers
367 -osformat2 string Output seq format
368 -osextension2 string File name extension
369 -osname2 string Base file name
370 -osdirectory2 string Output directory
371 -osdbname2 string Database name to add
372 -ossingle2 boolean Separate file for each entry
373 -oufo2 string UFO features
374 -offormat2 string Features format
375 -ofname2 string Features file name
376 -ofdirectory2 string Output directory
377
378 "-dendoutfile" associated qualifiers
379 -odirectory3 string Output directory
380
381 General qualifiers:
382 -auto boolean Turn off prompts
383 -stdout boolean Write first file to standard output
384 -filter boolean Read first file from standard input, write
385 first file to standard output
386 -options boolean Prompt for standard and additional values
387 -debug boolean Write debug output to program.dbg
388 -verbose boolean Report some/full command line options
389 -help boolean Report command line options and exit. More
390 information on associated and general
391 qualifiers can be found with -help -verbose
392 -warning boolean Report warnings
393 -error boolean Report errors
394 -fatal boolean Report fatal errors
395 -die boolean Report dying program messages
396 -version boolean Report version number and exit
397
398 </pre>
399 </td></tr></table>
400 <P>
401 <table border cellspacing=0 cellpadding=3 bgcolor="#ccccff">
402 <tr bgcolor="#FFFFCC">
403 <th align="left">Qualifier</th>
404 <th align="left">Type</th>
405 <th align="left">Description</th>
406 <th align="left">Allowed values</th>
407 <th align="left">Default</th>
408 </tr>
409
410 <tr bgcolor="#FFFFCC">
411 <th align="left" colspan=5>Standard (Mandatory) qualifiers</th>
412 </tr>
413
414 <tr bgcolor="#FFFFCC">
415 <td>[-sequence]<br>(Parameter 1)</td>
416 <td>seqall</td>
417 <td>(Gapped) sequence(s) filename and optional format, or reference (input USA)</td>
418 <td>Readable sequence(s)</td>
419 <td><b>Required</b></td>
420 </tr>
421
422 <tr bgcolor="#FFFFCC">
423 <td>[-outseq]<br>(Parameter 2)</td>
424 <td>seqoutset</td>
425 <td>Sequence set filename and optional format (output USA)</td>
426 <td>Writeable sequences</td>
427 <td><i>&lt;*&gt;</i>.<i>format</i></td>
428 </tr>
429
430 <tr bgcolor="#FFFFCC">
431 <td>[-dendoutfile]<br>(Parameter 3)</td>
432 <td>outfile</td>
433 <td>Dendrogram (tree file) from clustalw output file</td>
434 <td>Output file</td>
435 <td><i>&lt;*&gt;</i>.emma</td>
436 </tr>
437
438 <tr bgcolor="#FFFFCC">
439 <th align="left" colspan=5>Additional (Optional) qualifiers</th>
440 </tr>
441
442 <tr bgcolor="#FFFFCC">
443 <td>-onlydend</td>
444 <td>toggle</td>
445 <td>Only produce dendrogram file</td>
446 <td>Toggle value Yes/No</td>
447 <td>No</td>
448 </tr>
449
450 <tr bgcolor="#FFFFCC">
451 <td>-dendreuse</td>
452 <td>toggle</td>
453 <td>Do alignment using an old dendrogram</td>
454 <td>Toggle value Yes/No</td>
455 <td>No</td>
456 </tr>
457
458 <tr bgcolor="#FFFFCC">
459 <td>-dendfile</td>
460 <td>infile</td>
461 <td>Dendrogram (tree file) from clustalw file (optional)</td>
462 <td>Input file</td>
463 <td><b>Required</b></td>
464 </tr>
465
466 <tr bgcolor="#FFFFCC">
467 <td>-[no]slowalign</td>
468 <td>toggle</td>
469 <td>A distance is calculated between every pair of sequences and these are used to construct the dendrogram which guides the final multiple alignment. The scores are calculated from separate pairwise alignments. These can be calculated using 2 methods: dynamic programming (slow but accurate) or by the method of Wilbur and Lipman (extremely fast but approximate).
470 The slow-accurate method is fine for short sequences but will be VERY SLOW for many (e.g. &gt;100) long (e.g. &gt;1000 residue) sequences.</td>
471 <td>Toggle value Yes/No</td>
472 <td>Yes</td>
473 </tr>
474
475 <tr bgcolor="#FFFFCC">
476 <td>-pwmatrix</td>
477 <td>list</td>
478 <td>The scoring table which describes the similarity of each amino acid to each other.
479 There are three 'in-built' series of weight matrices offered. Each consists of several matrices which work differently at different evolutionary distances. To see the exact details, read the documentation. Crudely, we store several matrices in memory, spanning the full range of amino acid distance (from almost identical sequences to highly divergent ones). For very similar sequences, it is best to use a strict weight matrix which only gives a high score to identities and the most favoured conservative substitutions. For more divergent sequences, it is appropriate to use 'softer' matrices which give a high score to many other frequent substitutions.
480 1) BLOSUM (Henikoff). These matrices appear to be the best available for carrying out data base similarity (homology searches). The matrices used are: Blosum80, 62, 45 and 30.
481 2) PAM (Dayhoff). These have been extremely widely used since the late '70s. We use the PAM 120, 160, 250 and 350 matrices.
482 3) GONNET . These matrices were derived using almost the same procedure as the Dayhoff one (above) but are much more up to date and are based on a far larger data set. They appear to be more sensitive than the Dayhoff series. We use the GONNET 40, 80, 120, 160, 250 and 350 matrices.
483 We also supply an identity matrix which gives a score of 1.0 to two identical amino acids and a score of zero otherwise. This matrix is not very useful.</td>
484 <td><table><tr><td>b</td> <td><i>(blosum)</i></td></tr><tr><td>p</td> <td><i>(pam)</i></td></tr><tr><td>g</td> <td><i>(gonnet)</i></td></tr><tr><td>i</td> <td><i>(id)</i></td></tr><tr><td>o</td> <td><i>(own)</i></td></tr></table></td>
485 <td>b</td>
486 </tr>
487
488 <tr bgcolor="#FFFFCC">
489 <td>-pwdnamatrix</td>
490 <td>list</td>
491 <td>The scoring table which describes the scores assigned to matches and mismatches (including IUB ambiguity codes).</td>
492 <td><table><tr><td>i</td> <td><i>(iub)</i></td></tr><tr><td>c</td> <td><i>(clustalw)</i></td></tr><tr><td>o</td> <td><i>(own)</i></td></tr></table></td>
493 <td>i</td>
494 </tr>
495
496 <tr bgcolor="#FFFFCC">
497 <td>-pairwisedatafile</td>
498 <td>infile</td>
499 <td>Comparison matrix file (optional)</td>
500 <td>Input file</td>
501 <td><b>Required</b></td>
502 </tr>
503
504 <tr bgcolor="#FFFFCC">
505 <td>-matrix</td>
506 <td>list</td>
507 <td>This gives a menu where you are offered a choice of weight matrices. The default for proteins is the PAM series derived by Gonnet and colleagues. Note, a series is used! The actual matrix that is used depends on how similar the sequences to be aligned at this alignment step are. Different matrices work differently at each evolutionary distance.
508 There are three 'in-built' series of weight matrices offered. Each consists of several matrices which work differently at different evolutionary distances. To see the exact details, read the documentation. Crudely, we store several matrices in memory, spanning the full range of amino acid distance (from almost identical sequences to highly divergent ones). For very similar sequences, it is best to use a strict weight matrix which only gives a high score to identities and the most favoured conservative substitutions. For more divergent sequences, it is appropriate to use 'softer' matrices which give a high score to many other frequent substitutions.
509 1) BLOSUM (Henikoff). These matrices appear to be the best available for carrying out data base similarity (homology searches). The matrices used are: Blosum80, 62, 45 and 30.
510 2) PAM (Dayhoff). These have been extremely widely used since the late '70s. We use the PAM 120, 160, 250 and 350 matrices.
511 3) GONNET . These matrices were derived using almost the same procedure as the Dayhoff one (above) but are much more up to date and are based on a far larger data set. They appear to be more sensitive than the Dayhoff series. We use the GONNET 40, 80, 120, 160, 250 and 350 matrices.
512 We also supply an identity matrix which gives a score of 1.0 to two identical amino acids and a score of zero otherwise. This matrix is not very useful. Alternatively, you can read in your own (just one matrix, not a series).</td>
513 <td><table><tr><td>b</td> <td><i>(blosum)</i></td></tr><tr><td>p</td> <td><i>(pam)</i></td></tr><tr><td>g</td> <td><i>(gonnet)</i></td></tr><tr><td>i</td> <td><i>(id)</i></td></tr><tr><td>o</td> <td><i>(own)</i></td></tr></table></td>
514 <td>b</td>
515 </tr>
516
517 <tr bgcolor="#FFFFCC">
518 <td>-dnamatrix</td>
519 <td>list</td>
520 <td>This gives a menu where a single matrix (not a series) can be selected.</td>
521 <td><table><tr><td>i</td> <td><i>(iub)</i></td></tr><tr><td>c</td> <td><i>(clustalw)</i></td></tr><tr><td>o</td> <td><i>(own)</i></td></tr></table></td>
522 <td>i</td>
523 </tr>
524
525 <tr bgcolor="#FFFFCC">
526 <td>-mamatrixfile</td>
527 <td>infile</td>
528 <td>Comparison matrix file (optional)</td>
529 <td>Input file</td>
530 <td><b>Required</b></td>
531 </tr>
532
533 <tr bgcolor="#FFFFCC">
534 <td>-pwgapopen</td>
535 <td>float</td>
536 <td>The penalty for opening a gap in the pairwise alignments.</td>
537 <td>Number 0.000 or more</td>
538 <td>10.0</td>
539 </tr>
540
541 <tr bgcolor="#FFFFCC">
542 <td>-pwgapextend</td>
543 <td>float</td>
544 <td>The penalty for extending a gap by 1 residue in the pairwise alignments.</td>
545 <td>Number 0.000 or more</td>
546 <td>0.1</td>
547 </tr>
548
549 <tr bgcolor="#FFFFCC">
550 <td>-ktup</td>
551 <td>integer</td>
552 <td>This is the size of exactly matching fragment that is used. INCREASE for speed (max= 2 for proteins; 4 for DNA), DECREASE for sensitivity. For longer sequences (e.g. &gt;1000 residues) you may need to increase the default.</td>
553 <td>integer from 0 to 4</td>
554 <td>1 for protein, 2 for nucleic</td>
555 </tr>
556
557 <tr bgcolor="#FFFFCC">
558 <td>-gapw</td>
559 <td>integer</td>
560 <td>This is a penalty for each gap in the fast alignments. It has little affect on the speed or sensitivity except for extreme values.</td>
561 <td>Positive integer</td>
562 <td>3 for protein, 5 for nucleic</td>
563 </tr>
564
565 <tr bgcolor="#FFFFCC">
566 <td>-topdiags</td>
567 <td>integer</td>
568 <td>The number of k-tuple matches on each diagonal (in an imaginary dot-matrix plot) is calculated. Only the best ones (with most matches) are used in the alignment. This parameter specifies how many. Decrease for speed; increase for sensitivity.</td>
569 <td>Positive integer</td>
570 <td>5 for protein, 4 for nucleic</td>
571 </tr>
572
573 <tr bgcolor="#FFFFCC">
574 <td>-window</td>
575 <td>integer</td>
576 <td>This is the number of diagonals around each of the 'best' diagonals that will be used. Decrease for speed; increase for sensitivity.</td>
577 <td>Positive integer</td>
578 <td>5 for protein, 4 for nucleic</td>
579 </tr>
580
581 <tr bgcolor="#FFFFCC">
582 <td>-nopercent</td>
583 <td>boolean</td>
584 <td>Fast pairwise alignment: similarity scores: suppresses percentage score</td>
585 <td>Boolean value Yes/No</td>
586 <td>No</td>
587 </tr>
588
589 <tr bgcolor="#FFFFCC">
590 <td>-gapopen</td>
591 <td>float</td>
592 <td>The penalty for opening a gap in the alignment. Increasing the gap opening penalty will make gaps less frequent.</td>
593 <td>Positive floating point number</td>
594 <td>10.0</td>
595 </tr>
596
597 <tr bgcolor="#FFFFCC">
598 <td>-gapextend</td>
599 <td>float</td>
600 <td>The penalty for extending a gap by 1 residue. Increasing the gap extension penalty will make gaps shorter. Terminal gaps are not penalised.</td>
601 <td>Positive floating point number</td>
602 <td>5.0</td>
603 </tr>
604
605 <tr bgcolor="#FFFFCC">
606 <td>-[no]endgaps</td>
607 <td>boolean</td>
608 <td>End gap separation: treats end gaps just like internal gaps for the purposes of avoiding gaps that are too close (set by 'gap separation distance'). If you turn this off, end gaps will be ignored for this purpose. This is useful when you wish to align fragments where the end gaps are not biologically meaningful.</td>
609 <td>Boolean value Yes/No</td>
610 <td>Yes</td>
611 </tr>
612
613 <tr bgcolor="#FFFFCC">
614 <td>-gapdist</td>
615 <td>integer</td>
616 <td>Gap separation distance: tries to decrease the chances of gaps being too close to each other. Gaps that are less than this distance apart are penalised more than other gaps. This does not prevent close gaps; it makes them less frequent, promoting a block-like appearance of the alignment.</td>
617 <td>Positive integer</td>
618 <td>8</td>
619 </tr>
620
621 <tr bgcolor="#FFFFCC">
622 <td>-norgap</td>
623 <td>boolean</td>
624 <td>Residue specific penalties: amino acid specific gap penalties that reduce or increase the gap opening penalties at each position in the alignment or sequence. As an example, positions that are rich in glycine are more likely to have an adjacent gap than positions that are rich in valine.</td>
625 <td>Boolean value Yes/No</td>
626 <td>No</td>
627 </tr>
628
629 <tr bgcolor="#FFFFCC">
630 <td>-hgapres</td>
631 <td>string</td>
632 <td>This is a set of the residues 'considered' to be hydrophilic. It is used when introducing Hydrophilic gap penalties.</td>
633 <td>Any string</td>
634 <td>GPSNDQEKR</td>
635 </tr>
636
637 <tr bgcolor="#FFFFCC">
638 <td>-nohgap</td>
639 <td>boolean</td>
640 <td>Hydrophilic gap penalties: used to increase the chances of a gap within a run (5 or more residues) of hydrophilic amino acids; these are likely to be loop or random coil regions where gaps are more common. The residues that are 'considered' to be hydrophilic are set by '-hgapres'.</td>
641 <td>Boolean value Yes/No</td>
642 <td>No</td>
643 </tr>
644
645 <tr bgcolor="#FFFFCC">
646 <td>-maxdiv</td>
647 <td>integer</td>
648 <td>This switch, delays the alignment of the most distantly related sequences until after the most closely related sequences have been aligned. The setting shows the percent identity level required to delay the addition of a sequence; sequences that are less identical than this level to any other sequences will be aligned later.</td>
649 <td>Integer from 0 to 100</td>
650 <td>30</td>
651 </tr>
652
653 <tr bgcolor="#FFFFCC">
654 <th align="left" colspan=5>Advanced (Unprompted) qualifiers</th>
655 </tr>
656
657 <tr>
658 <td colspan=5>(none)</td>
659 </tr>
660
661 <tr bgcolor="#FFFFCC">
662 <th align="left" colspan=5>Associated qualifiers</th>
663 </tr>
664
665 <tr bgcolor="#FFFFCC">
666 <td align="left" colspan=5>"-sequence" associated seqall qualifiers
667 </td>
668 </tr>
669
670 <tr bgcolor="#FFFFCC">
671 <td> -sbegin1<br>-sbegin_sequence</td>
672 <td>integer</td>
673 <td>Start of each sequence to be used</td>
674 <td>Any integer value</td>
675 <td>0</td>
676 </tr>
677
678 <tr bgcolor="#FFFFCC">
679 <td> -send1<br>-send_sequence</td>
680 <td>integer</td>
681 <td>End of each sequence to be used</td>
682 <td>Any integer value</td>
683 <td>0</td>
684 </tr>
685
686 <tr bgcolor="#FFFFCC">
687 <td> -sreverse1<br>-sreverse_sequence</td>
688 <td>boolean</td>
689 <td>Reverse (if DNA)</td>
690 <td>Boolean value Yes/No</td>
691 <td>N</td>
692 </tr>
693
694 <tr bgcolor="#FFFFCC">
695 <td> -sask1<br>-sask_sequence</td>
696 <td>boolean</td>
697 <td>Ask for begin/end/reverse</td>
698 <td>Boolean value Yes/No</td>
699 <td>N</td>
700 </tr>
701
702 <tr bgcolor="#FFFFCC">
703 <td> -snucleotide1<br>-snucleotide_sequence</td>
704 <td>boolean</td>
705 <td>Sequence is nucleotide</td>
706 <td>Boolean value Yes/No</td>
707 <td>N</td>
708 </tr>
709
710 <tr bgcolor="#FFFFCC">
711 <td> -sprotein1<br>-sprotein_sequence</td>
712 <td>boolean</td>
713 <td>Sequence is protein</td>
714 <td>Boolean value Yes/No</td>
715 <td>N</td>
716 </tr>
717
718 <tr bgcolor="#FFFFCC">
719 <td> -slower1<br>-slower_sequence</td>
720 <td>boolean</td>
721 <td>Make lower case</td>
722 <td>Boolean value Yes/No</td>
723 <td>N</td>
724 </tr>
725
726 <tr bgcolor="#FFFFCC">
727 <td> -supper1<br>-supper_sequence</td>
728 <td>boolean</td>
729 <td>Make upper case</td>
730 <td>Boolean value Yes/No</td>
731 <td>N</td>
732 </tr>
733
734 <tr bgcolor="#FFFFCC">
735 <td> -scircular1<br>-scircular_sequence</td>
736 <td>boolean</td>
737 <td>Sequence is circular</td>
738 <td>Boolean value Yes/No</td>
739 <td>N</td>
740 </tr>
741
742 <tr bgcolor="#FFFFCC">
743 <td> -squick1<br>-squick_sequence</td>
744 <td>boolean</td>
745 <td>Read id and sequence only</td>
746 <td>Boolean value Yes/No</td>
747 <td>N</td>
748 </tr>
749
750 <tr bgcolor="#FFFFCC">
751 <td> -sformat1<br>-sformat_sequence</td>
752 <td>string</td>
753 <td>Input sequence format</td>
754 <td>Any string</td>
755 <td>&nbsp;</td>
756 </tr>
757
758 <tr bgcolor="#FFFFCC">
759 <td> -iquery1<br>-iquery_sequence</td>
760 <td>string</td>
761 <td>Input query fields or ID list</td>
762 <td>Any string</td>
763 <td>&nbsp;</td>
764 </tr>
765
766 <tr bgcolor="#FFFFCC">
767 <td> -ioffset1<br>-ioffset_sequence</td>
768 <td>integer</td>
769 <td>Input start position offset</td>
770 <td>Any integer value</td>
771 <td>0</td>
772 </tr>
773
774 <tr bgcolor="#FFFFCC">
775 <td> -sdbname1<br>-sdbname_sequence</td>
776 <td>string</td>
777 <td>Database name</td>
778 <td>Any string</td>
779 <td>&nbsp;</td>
780 </tr>
781
782 <tr bgcolor="#FFFFCC">
783 <td> -sid1<br>-sid_sequence</td>
784 <td>string</td>
785 <td>Entryname</td>
786 <td>Any string</td>
787 <td>&nbsp;</td>
788 </tr>
789
790 <tr bgcolor="#FFFFCC">
791 <td> -ufo1<br>-ufo_sequence</td>
792 <td>string</td>
793 <td>UFO features</td>
794 <td>Any string</td>
795 <td>&nbsp;</td>
796 </tr>
797
798 <tr bgcolor="#FFFFCC">
799 <td> -fformat1<br>-fformat_sequence</td>
800 <td>string</td>
801 <td>Features format</td>
802 <td>Any string</td>
803 <td>&nbsp;</td>
804 </tr>
805
806 <tr bgcolor="#FFFFCC">
807 <td> -fopenfile1<br>-fopenfile_sequence</td>
808 <td>string</td>
809 <td>Features file name</td>
810 <td>Any string</td>
811 <td>&nbsp;</td>
812 </tr>
813
814 <tr bgcolor="#FFFFCC">
815 <td align="left" colspan=5>"-outseq" associated seqoutset qualifiers
816 </td>
817 </tr>
818
819 <tr bgcolor="#FFFFCC">
820 <td> -osformat2<br>-osformat_outseq</td>
821 <td>string</td>
822 <td>Output seq format</td>
823 <td>Any string</td>
824 <td>&nbsp;</td>
825 </tr>
826
827 <tr bgcolor="#FFFFCC">
828 <td> -osextension2<br>-osextension_outseq</td>
829 <td>string</td>
830 <td>File name extension</td>
831 <td>Any string</td>
832 <td>&nbsp;</td>
833 </tr>
834
835 <tr bgcolor="#FFFFCC">
836 <td> -osname2<br>-osname_outseq</td>
837 <td>string</td>
838 <td>Base file name</td>
839 <td>Any string</td>
840 <td>&nbsp;</td>
841 </tr>
842
843 <tr bgcolor="#FFFFCC">
844 <td> -osdirectory2<br>-osdirectory_outseq</td>
845 <td>string</td>
846 <td>Output directory</td>
847 <td>Any string</td>
848 <td>&nbsp;</td>
849 </tr>
850
851 <tr bgcolor="#FFFFCC">
852 <td> -osdbname2<br>-osdbname_outseq</td>
853 <td>string</td>
854 <td>Database name to add</td>
855 <td>Any string</td>
856 <td>&nbsp;</td>
857 </tr>
858
859 <tr bgcolor="#FFFFCC">
860 <td> -ossingle2<br>-ossingle_outseq</td>
861 <td>boolean</td>
862 <td>Separate file for each entry</td>
863 <td>Boolean value Yes/No</td>
864 <td>N</td>
865 </tr>
866
867 <tr bgcolor="#FFFFCC">
868 <td> -oufo2<br>-oufo_outseq</td>
869 <td>string</td>
870 <td>UFO features</td>
871 <td>Any string</td>
872 <td>&nbsp;</td>
873 </tr>
874
875 <tr bgcolor="#FFFFCC">
876 <td> -offormat2<br>-offormat_outseq</td>
877 <td>string</td>
878 <td>Features format</td>
879 <td>Any string</td>
880 <td>&nbsp;</td>
881 </tr>
882
883 <tr bgcolor="#FFFFCC">
884 <td> -ofname2<br>-ofname_outseq</td>
885 <td>string</td>
886 <td>Features file name</td>
887 <td>Any string</td>
888 <td>&nbsp;</td>
889 </tr>
890
891 <tr bgcolor="#FFFFCC">
892 <td> -ofdirectory2<br>-ofdirectory_outseq</td>
893 <td>string</td>
894 <td>Output directory</td>
895 <td>Any string</td>
896 <td>&nbsp;</td>
897 </tr>
898
899 <tr bgcolor="#FFFFCC">
900 <td align="left" colspan=5>"-dendoutfile" associated outfile qualifiers
901 </td>
902 </tr>
903
904 <tr bgcolor="#FFFFCC">
905 <td> -odirectory3<br>-odirectory_dendoutfile</td>
906 <td>string</td>
907 <td>Output directory</td>
908 <td>Any string</td>
909 <td>&nbsp;</td>
910 </tr>
911
912 <tr bgcolor="#FFFFCC">
913 <th align="left" colspan=5>General qualifiers</th>
914 </tr>
915
916 <tr bgcolor="#FFFFCC">
917 <td> -auto</td>
918 <td>boolean</td>
919 <td>Turn off prompts</td>
920 <td>Boolean value Yes/No</td>
921 <td>N</td>
922 </tr>
923
924 <tr bgcolor="#FFFFCC">
925 <td> -stdout</td>
926 <td>boolean</td>
927 <td>Write first file to standard output</td>
928 <td>Boolean value Yes/No</td>
929 <td>N</td>
930 </tr>
931
932 <tr bgcolor="#FFFFCC">
933 <td> -filter</td>
934 <td>boolean</td>
935 <td>Read first file from standard input, write first file to standard output</td>
936 <td>Boolean value Yes/No</td>
937 <td>N</td>
938 </tr>
939
940 <tr bgcolor="#FFFFCC">
941 <td> -options</td>
942 <td>boolean</td>
943 <td>Prompt for standard and additional values</td>
944 <td>Boolean value Yes/No</td>
945 <td>N</td>
946 </tr>
947
948 <tr bgcolor="#FFFFCC">
949 <td> -debug</td>
950 <td>boolean</td>
951 <td>Write debug output to program.dbg</td>
952 <td>Boolean value Yes/No</td>
953 <td>N</td>
954 </tr>
955
956 <tr bgcolor="#FFFFCC">
957 <td> -verbose</td>
958 <td>boolean</td>
959 <td>Report some/full command line options</td>
960 <td>Boolean value Yes/No</td>
961 <td>Y</td>
962 </tr>
963
964 <tr bgcolor="#FFFFCC">
965 <td> -help</td>
966 <td>boolean</td>
967 <td>Report command line options and exit. More information on associated and general qualifiers can be found with -help -verbose</td>
968 <td>Boolean value Yes/No</td>
969 <td>N</td>
970 </tr>
971
972 <tr bgcolor="#FFFFCC">
973 <td> -warning</td>
974 <td>boolean</td>
975 <td>Report warnings</td>
976 <td>Boolean value Yes/No</td>
977 <td>Y</td>
978 </tr>
979
980 <tr bgcolor="#FFFFCC">
981 <td> -error</td>
982 <td>boolean</td>
983 <td>Report errors</td>
984 <td>Boolean value Yes/No</td>
985 <td>Y</td>
986 </tr>
987
988 <tr bgcolor="#FFFFCC">
989 <td> -fatal</td>
990 <td>boolean</td>
991 <td>Report fatal errors</td>
992 <td>Boolean value Yes/No</td>
993 <td>Y</td>
994 </tr>
995
996 <tr bgcolor="#FFFFCC">
997 <td> -die</td>
998 <td>boolean</td>
999 <td>Report dying program messages</td>
1000 <td>Boolean value Yes/No</td>
1001 <td>Y</td>
1002 </tr>
1003
1004 <tr bgcolor="#FFFFCC">
1005 <td> -version</td>
1006 <td>boolean</td>
1007 <td>Report version number and exit</td>
1008 <td>Boolean value Yes/No</td>
1009 <td>N</td>
1010 </tr>
1011
1012 </table>
1013
1014 <H2>
1015 Input file format
1016 </H2>
1017
1018 The input is two or more sequences.
1019
1020 <p>
1021
1022 <a name="input.1"></a>
1023 <h3>Input files for usage example </h3>
1024 <p><h3>File: globins.fasta</h3>
1025 <table width="90%"><tr><td bgcolor="#FFCCFF">
1026 <pre>
1027 &gt;HBB_HUMAN Sw:Hbb_Human =&gt; HBB_HUMAN
1028 VHLTPEEKSAVTALWGKVNVDEVGGEALGRLLVVYPWTQRFFESFGDLSTPDAVMGNPKV
1029 KAHGKKVLGAFSDGLAHLDNLKGTFATLSELHCDKLHVDPENFRLLGNVLVCVLAHHFGK
1030 EFTPPVQAAYQKVVAGVANALAHKYH
1031 &gt;HBB_HORSE Sw:Hbb_Horse =&gt; HBB_HORSE
1032 VQLSGEEKAAVLALWDKVNEEEVGGEALGRLLVVYPWTQRFFDSFGDLSNPGAVMGNPKV
1033 KAHGKKVLHSFGEGVHHLDNLKGTFAALSELHCDKLHVDPENFRLLGNVLVVVLARHFGK
1034 DFTPELQASYQKVVAGVANALAHKYH
1035 &gt;HBA_HUMAN Sw:Hba_Human =&gt; HBA_HUMAN
1036 VLSPADKTNVKAAWGKVGAHAGEYGAEALERMFLSFPTTKTYFPHFDLSHGSAQVKGHGK
1037 KVADALTNAVAHVDDMPNALSALSDLHAHKLRVDPVNFKLLSHCLLVTLAAHLPAEFTPA
1038 VHASLDKFLASVSTVLTSKYR
1039 &gt;HBA_HORSE Sw:Hba_Horse =&gt; HBA_HORSE
1040 VLSAADKTNVKAAWSKVGGHAGEYGAEALERMFLGFPTTKTYFPHFDLSHGSAQVKAHGK
1041 KVGDALTLAVGHLDDLPGALSNLSDLHAHKLRVDPVNFKLLSHCLLSTLAVHLPNDFTPA
1042 VHASLDKFLSSVSTVLTSKYR
1043 &gt;MYG_PHYCA Sw:Myg_Phyca =&gt; MYG_PHYCA
1044 VLSEGEWQLVLHVWAKVEADVAGHGQDILIRLFKSHPETLEKFDRFKHLKTEAEMKASED
1045 LKKHGVTVLTALGAILKKKGHHEAELKPLAQSHATKHKIPIKYLEFISEAIIHVLHSRHP
1046 GDFGADAQGAMNKALELFRKDIAAKYKELGYQG
1047 &gt;GLB5_PETMA Sw:Glb5_Petma =&gt; GLB5_PETMA
1048 PIVDTGSVAPLSAAEKTKIRSAWAPVYSTYETSGVDILVKFFTSTPAAQEFFPKFKGLTT
1049 ADQLKKSADVRWHAERIINAVNDAVASMDDTEKMSMKLRDLSGKHAKSFQVDPQYFKVLA
1050 AVIADTVAAGDAGFEKLMSMICILLRSAY
1051 &gt;LGB2_LUPLU Sw:Lgb2_Luplu =&gt; LGB2_LUPLU
1052 GALTESQAALVKSSWEEFNANIPKHTHRFFILVLEIAPAAKDLFSFLKGTSEVPQNNPEL
1053 QAHAGKVFKLVYEAAIQLQVTGVVVTDATLKNLGSVHVSKGVADAHFPVVKEAILKTIKE
1054 VVGAKWSEELNSAWTIAYDELAIVIKKEMNDAA
1055 </pre>
1056 </td></tr></table><p>
1057 <p>
1058
1059 EMBOSS programs do not allow you to simply type the names of two or more
1060 files or database entries - they try to interpret this as all one
1061 file-name and complain that a file of that name does not exist.
1062
1063 <p>
1064
1065 In order to enter the sequences that you wish to align, you must group
1066 them in one of three ways: either make a 'list file' or place several
1067 sequences in a single sequence file or specify the sequences using
1068 wildcards.
1069
1070 <p>
1071
1072
1073 <H3>Making a List file</H3>
1074
1075 A list file is a text file that holds the names of database entries
1076 and/or sequence files.
1077
1078 <p>
1079
1080 You should use a text editor such as <b>pico</b> or <b>nedit</b> to edit
1081 a file to contain the names of the sequence files or database entries.
1082 There must be one sequence per line.
1083
1084 <p>
1085
1086 An example is the file 'fred' which contains:
1087
1088 <p>
1089 <pre>
1090 <hr>
1091 opsd_abyko.fasta
1092 sw:opsd_xenla
1093 sw:opsd_c*
1094 @another_list
1095 <hr>
1096 </pre>
1097 <p>
1098
1099 This List files contains:
1100
1101 <p>
1102 <ul>
1103
1104 <li>opsd_abyko.fasta - this is the name of a sequence file. The file
1105 is read in from the current directory.
1106
1107 <li>sw:opsd_xenla - this is a reference to a specific sequence in the
1108 SwissProt database
1109
1110 <li>sw:opsd_c* - this represents all the sequences in SwissProt whose
1111 identifiers start with ``opsd_c''
1112
1113 <li>another_list - this is the name of a second list file. List files
1114 can be nested!
1115
1116 </ul>
1117 <p>
1118
1119 Notice the @ in front of the last entry. This is the way you tell
1120 EMBOSS that this file is a List file, not a regular sequence file. That
1121 last line was put there both as an indication of the way you tell EMBOSS
1122 that a file is a List file and to emphasise that List files can contain
1123 other List files.
1124
1125 <p>
1126
1127 When <b>emma</b> asks for the sequences to align, you should type
1128 '@fred'. The '@' character tells EMBOSS that this is the name
1129 of a List file.
1130
1131 <p>
1132
1133 An alternative to editing a file and laboriously typing in all of the
1134 names you require is to make a list of a directory containing the
1135 sequence files and then to edit the list file to remove the names of the
1136 sequences files than you do not require.
1137
1138 <p>
1139
1140 To make a list of all the files in the current directory that end in
1141 '.pep', type:
1142
1143 <p>
1144
1145 ls *.pep &gt; listfile
1146
1147 <H3>Several sequences in one file</H3>
1148
1149 EMBOSS can read in a single file which contains many sequences.
1150
1151 <p>
1152
1153 Each of the sequences in the file must be in the same format - if the
1154 first sequence is in EMBL format, then all the others must be in EMBL
1155 format.
1156
1157 <p>
1158
1159 There are some sequence formats that cannot be used when placing many
1160 sequences in the same file. These are sequence formats that have no
1161 clear indication of where the sequence ends and the annotation of the
1162 next sequence starts. These formats include: plain or text format (no
1163 real format, just the sequence), staden, gcg.
1164
1165 <p>
1166
1167 If your sequences are not already in a single file, you can place them
1168 in one using <b>seqret</b>. The following example takes all the files
1169 ending in '.pep' and places them in the file 'mystuff' in Fasta format.
1170
1171 <p>
1172
1173 seqret "*.pep" mystuff
1174
1175 <p>
1176
1177 When <b>emma</b> asks for the sequences to align, you should type
1178 'mystuff'.
1179
1180 <H3>Using wildcards</H3>
1181
1182 'Wildcard' characters are characters that are expanded to match all
1183 possible matching files or entries in a database.
1184
1185 <p>
1186
1187 By far the most commonly used wildcard character is '*' which matches
1188 any number (or zero) of possible characters at that position in the name.
1189
1190 <p>
1191
1192 A less commonly used wildcard character is '?' which matches any one
1193 character at that position.
1194
1195 <p>
1196
1197 For example, when <b>emma</b> asks for sequences to align, you could answer:
1198 <br>
1199 abc*.pep
1200
1201 This would select any files whose name starts with 'abc' and then ends
1202 in '.pep'; the centre of the name where there is a '*' can be anything.
1203
1204 <p>
1205
1206 Both file names and database entry names can be wildcarded.
1207
1208 <p>
1209
1210 There is a slightly irritating problem that occurs when wildcards are
1211 used one the Unix command line (This is the line that you type against
1212 the 'Unix' prompt together with the program name.)
1213
1214 <p>
1215
1216 In this case the Unix session gets the command line first, runs the
1217 program, expands the wildcards and passes the program parameters to the
1218 program. When Unix expands the wildcards, two things go wrong. You may
1219 have specified wildcarded database entries - the Unix system tries to
1220 file files that match that specification, it fails and refuses to run
1221 the program. Alternatively, you may have specified wildcarded files -
1222 Unix fileds them and gives the name of each of them to the program as a
1223 separate parameter - emma gets the wrong number of parameters and
1224 refuses to run.
1225
1226 <p>
1227
1228 You get round this by quoting the wildcard. You can either put the
1229 whole wildcarded name in quotes:
1230
1231 <br>
1232 "abc*.pep"
1233 <br>
1234
1235 or you can quote just the '*' using a '\' as:
1236 <br>
1237 abc\*.pep
1238 <br>
1239
1240 <p>
1241
1242 This problem does not occur when you reply to the prompt from the
1243 program for the input sequences, or when you are typing the wildcard
1244 files name in a web browser of GUI (such as Jemboss or SPIN) field
1245
1246 <H2>
1247 Output file format
1248 </H2>
1249
1250
1251 <a name="output.1"></a>
1252 <h3>Output files for usage example </h3>
1253 <p><h3>File: hbb_human.aln</h3>
1254 <table width="90%"><tr><td bgcolor="#CCFFCC">
1255 <pre>
1256 &gt;HBB_HUMAN
1257 --------VHLTPEEKSAVTALWGKVN--VDEVGGEALGRLLVVYPWTQRFFESFGDLST
1258 PDAVMGNPKVKAHGKKVLGAFSDGLAHLDNLKGTFATLSELHCDKLHVDP----ENFRLL
1259 GNVLVCVLAHHFGKEFTPPVQAAYQKVVAGVANALAHKYH------
1260 &gt;HBB_HORSE
1261 --------VQLSGEEKAAVLALWDKVN--EEEVGGEALGRLLVVYPWTQRFFDSFGDLSN
1262 PGAVMGNPKVKAHGKKVLHSFGEGVHHLDNLKGTFAALSELHCDKLHVDP----ENFRLL
1263 GNVLVVVLARHFGKDFTPELQASYQKVVAGVANALAHKYH------
1264 &gt;HBA_HUMAN
1265 ---------VLSPADKTNVKAAWGKVGAHAGEYGAEALERMFLSFPTTKTYFPHF-----
1266 -DLSHGSAQVKGHGKKVADALTNAVAHVDDMPNALSALSDLHAHKLRVDP----VNFKLL
1267 SHCLLVTLAAHLPAEFTPAVHASLDKFLASVSTVLTSKYR------
1268 &gt;HBA_HORSE
1269 ---------VLSAADKTNVKAAWSKVGGHAGEYGAEALERMFLGFPTTKTYFPHF-----
1270 -DLSHGSAQVKAHGKKVGDALTLAVGHLDDLPGALSNLSDLHAHKLRVDP----VNFKLL
1271 SHCLLSTLAVHLPNDFTPAVHASLDKFLSSVSTVLTSKYR------
1272 &gt;MYG_PHYCA
1273 ---------VLSEGEWQLVLHVWAKVEADVAGHGQDILIRLFKSHPETLEKFDRFKHLKT
1274 EAEMKASEDLKKHGVTVLTALGAILKKKGHHEAELKPLAQSHATKHKIPI----KYLEFI
1275 SEAIIHVLHSRHPGDFGADAQGAMNKALELFRKDIAAKYKELGYQG
1276 &gt;GLB5_PETMA
1277 PIVDTGSVAPLSAAEKTKIRSAWAPVYSTYETSGVDILVKFFTSTPAAQEFFPKFKGLTT
1278 ADQLKKSADVRWHAERIINAVNDAVASMDDTEKMSMKLRDLSGKHAKSFQ----VDPQYF
1279 KVLAAVIADTVAAGDAGFEKLMSMICILLRSAY-------------
1280 &gt;LGB2_LUPLU
1281 --------GALTESQAALVKSSWEEFNANIPKHTHRFFILVLEIAPAAKDLFSFLKG--T
1282 SEVPQNNPELQAHAGKVFKLVYEAAIQLQVTGVVVTDATLKNLGSVHVSKGVADAHFPVV
1283 KEAILKTIKEVVGAKWSEELNSAWTIAYDELAIVIKKEMNDAA---
1284 </pre>
1285 </td></tr></table><p>
1286 <p><h3>File: hbb_human.dnd</h3>
1287 <table width="90%"><tr><td bgcolor="#CCFFCC">
1288 <pre>
1289 (
1290 (
1291 (
1292 (
1293 HBB_HUMAN:0.08080,
1294 HBB_HORSE:0.08359)
1295 :0.21952,
1296 (
1297 HBA_HUMAN:0.05452,
1298 HBA_HORSE:0.06605)
1299 :0.21070)
1300 :0.06034,
1301 MYG_PHYCA:0.39882)
1302 :0.01490,
1303 GLB5_PETMA:0.38267,
1304 LGB2_LUPLU:0.50324);
1305 </pre>
1306 </td></tr></table><p>
1307 <p>
1308
1309 <h3>Sequences</h3>
1310
1311 <b>emma</b> writes the aligned sequences and a dendrogram file showing how
1312 the sequences were clustered during the progressive alignments.
1313
1314 <p>
1315
1316 The clustalw output sequences are reformatted into the default EMBOSS
1317 output format instead of being left as Clustal-format '.aln' files.
1318
1319
1320 <h3>Trees</h3>
1321
1322 Believe it or not, we now use the New Hampshire (nested parentheses)
1323 format as default for our trees. This format is compatible with e.g. the
1324 PHYLIP package. If you want to view a tree, you can use the RETREE or
1325 DRAWGRAM/DRAWTREE programs of PHYLIP. This format is used for all our
1326 trees, even the initial guide trees for deciding the order of multiple
1327 alignment. The output trees from the phylogenetic tree menu can also be
1328 requested in our old verbose/cryptic format. This may be more useful
1329 if, for example, you wish to see the bootstrap figures. The bootstrap
1330 trees in the default New Hampshire format give the bootstrap figures
1331 as extra labels which can be viewed very easily using TREETOOL which is
1332 available as part of the GDE package. TREETOOL is available from the
1333 RDP project by ftp from rdp.life.uiuc.edu.
1334
1335 <p>
1336
1337 The New Hampshire format is only useful if you have software to display
1338 or manipulate the trees. The PHYLIP package is highly recommended if
1339 you intend to do much work with trees and includes programs for doing
1340 this. WE DO NOT PROVIDE ANY DIRECT MEANS FOR VIEWING TREES GRAPHICALLY.
1341
1342
1343
1344 <H2>
1345 Data files
1346 </H2>
1347
1348
1349 The comparison matrices available for clustalw are not EMBOSS matrix
1350 files, as they are defined in the clustalw code. The matrices
1351 available for carrying out a protein sequence alignment are:
1352
1353 <ul>
1354
1355 <li>blosum
1356
1357 <li>pam
1358
1359 <li>gonnet
1360
1361 <li>id
1362
1363 <li>user defined
1364
1365 </ul>
1366
1367 The comparison matrices available in clustalw for carrying out a
1368 nucleotide sequence alignment are:
1369
1370 <ul>
1371
1372 <li>iub
1373
1374 <li>clustalw
1375
1376 <li>user defined
1377
1378 </ul>
1379
1380
1381 <H2>
1382 Notes
1383 </H2>
1384
1385 <h3>The basic alignment method</h3>
1386
1387 The basic multiple alignment algorithm consists of three main stages: 1) all
1388 pairs of sequences are aligned separately in order to calculate a distance matrix
1389 giving the divergence of each pair of sequences; 2) a guide tree is calculated
1390 from the distance matrix; 3) the sequences are progressively aligned according
1391 to the branching order in the guide tree. An example using 7 globin
1392 sequences of known tertiary structure (25) is given in figure 1.
1393
1394
1395 <h4>1) The distance matrix/pairwise alignments</h4>
1396
1397 In the original CLUSTAL programs, the pairwise distances were calculated
1398 using a fast approximate method (22). This allows very large numbers of
1399 sequences to be aligned, even on a microcomputer. The scores are calculated
1400 as the number of k-tuple matches (runs of identical residues, typically 1 or 2
1401 long for proteins or 2 to 4 long for nucleotide sequences) in the best alignment
1402 between two sequences minus a fixed penalty for every gap. We now offer a
1403 choice between this method and the slower but more accurate scores from full
1404 dynamic programming alignments using two gap penalties (for opening or
1405 extending gaps) and a full amino acid weight matrix. These scores are
1406 calculated as the number of identities in the best alignment divided by the
1407 number of residues compared (gap positions are excluded). Both of these
1408 scores are initially calculated as percent identity scores and are converted to
1409 distances by dividing by 100 and subtracting from 1.0 to give number of
1410 differences per site. We do not correct for multiple substitutions in these
1411 initial distances. In figure 1 we give the 7x7 distance matrix between the 7
1412 globin sequences calculated using the full dynamic programming method.
1413
1414
1415 <h4>2) The guide tree</h4>
1416
1417 The trees used to guide the final multiple alignment process are calculated
1418 from the distance matrix of step 1 using the Neighbour-Joining method (21).
1419 This produces unrooted trees with branch lengths proportional to estimated
1420 divergence along each branch. The root is placed by a "mid-point" method
1421 (15) at a position where the means of the branch lengths on either side of the
1422 root are equal. These trees are also used to derive a weight for each sequence
1423 (15). The weights are dependent upon the distance from the root of the tree
1424 but sequences which have a common branch with other sequences share the
1425 weight derived from the shared branch. In the example in figure 1, the
1426 leghaemoglobin (Lgb2_Luplu) gets a weight of 0.442 which is equal to the
1427 length of the branch from the root to it. The Human beta globin
1428 (Hbb_Human) gets a weight consisting of the length of the branch leading to
1429 it that is not shared with any other sequences (0.081) plus half the length of
1430 the branch shared with the horse beta globin (0.226/2) plus one quarter the
1431 length of the branch shared by all four haemoglobins (0.061/4) plus one fifth
1432 the branch shared between the haemoglobins and the myoglobin (0.015/5)
1433 plus one sixth the branch leading to all the vertebrate globins (0.062). This
1434 sums to a total of 0.221. By contrast, in the normal progressive alignment
1435 algorithm, all sequences would be equally weighted. The rooted tree with
1436 branch lengths and sequence weights for the 7 globins is given in figure 1.
1437
1438
1439 <h4>3) Progressive alignment</h4>
1440
1441 The basic procedure at this stage is to use a series of pairwise alignments to
1442 align larger and larger groups of sequences, following the branching order in
1443 the guide tree. You proceed from the tips of the rooted tree towards the root.
1444
1445 <p>
1446
1447 In the globin example in figure 1 you align the sequences in the following
1448 order: human vs. horse beta globin; human vs. horse alpha globin; the 2
1449 alpha globins vs. the 2 beta globins; the myoglobin vs. the haemoglobins; the
1450 cyanohaemoglobin vs the haemoglobins plus myoglobin; the leghaemoglobin
1451 vs. all the rest. At each stage a full dynamic programming (26,27) algorithm is
1452 used with a residue weight matrix and penalties for opening and extending
1453 gaps. Each step consists of aligning two existing alignments or sequences.
1454 Gaps that are present in older alignments remain fixed. In the basic
1455 algorithm, new gaps that are introduced at each stage get full gap opening and
1456 extension penalties, even if they are introduced inside old gap positions (see
1457 the section on gap penalties below for modifications to this rule). In order to
1458 calculate the score between a position from one sequence or alignment and
1459 one from another, the average of all the pairwise weight matrix scores from
1460 the amino acids in the two sets of sequences is used i.e. if you align 2
1461 alignments with 2 and 4 sequences respectively, the score at each position is
1462 the average of 8 (2x4) comparisons. This is illustrated in figure 2. If either set
1463 of sequences contains one or more gaps in one of the positions being
1464 considered, each gap versus a residue is scored as zero. The default amino
1465 acid weight matrices we use are rescored to have only positive values.
1466 Therefore, this treatment of gaps treats the score of a residue versus a gap as
1467 having the worst possible score. When sequences are weighted (see
1468 improvements to progressive alignment, below), each weight matrix value is
1469 multiplied by the weights from the 2 sequences, as illustrated in figure 2.
1470
1471
1472 <h4>Improvements to progressive alignment</h4>
1473
1474 All of the remaining modifications apply only to the final progressive
1475 alignment stage. Sequence weighting is relatively straightforward and is
1476 already widely used in profile searches (15,16). The treatment of gap penalties
1477 is more complicated. Initial gap penalties are calculated depending on the
1478 weight matrix, the similarity of the sequences, and the length of the
1479 sequences. Then, an attempt is made to derive sensible local gap opening
1480 penalties at every position in each pre-aligned group of sequences that will
1481 vary as new sequences are added. The use of different weight matrices as the
1482 alignment progresses is novel and largely by-passes the problem of initial
1483 choice of weight matrix. The final modification allows us to delay the
1484 addition of very divergent sequences until the end of the alignment process
1485 when all of the more closely related sequences have already been aligned.
1486
1487
1488 <h3>Sequence weighting</h3>
1489
1490 Sequence weights are calculated directly from the guide tree. The weights
1491 are normalised such that the biggest one is set to 1.0 and the rest are all less
1492 than one. Groups of closely related sequences receive lowered weights
1493 because they contain much duplicated information. Highly divergent
1494 sequences without any close relatives receive high weights. These weights
1495 are used as simple multiplication factors for scoring positions from different
1496 sequences or prealigned groups of sequences. The method is illustrated in
1497 figure 2. In the globin example in figure 1, the two alpha globins get
1498 downweighted because they are almost duplicate sequences (as do the two
1499 beta globins); they receive a combined weight of only slightly more than if a
1500 single alpha globin was used.
1501
1502
1503 <h3>Initial gap penalties</h3>
1504
1505 Initially, two gap penalties are used: a gap opening penalty (GOP) which gives
1506 the cost of opening a new gap of any length and a gap extension penalty (GEP)
1507 which gives the cost of every item in a gap. Initial values can be set by the
1508 user from a menu. The software then automatically attempts to choose
1509 appropriate gap penalties for each sequence alignment, depending on the
1510 following factors.
1511
1512 <h4>1) Dependence on the weight matrix</h4>
1513
1514 It has been shown (16,28) that varying the gap penalties used with different
1515 weight matrices can improve the accuracy of sequence alignments. Here, we
1516 use the average score for two mismatched residues (ie. off-diagonal values in
1517 the matrix) as a scaling factor for the GOP.
1518
1519 <h4>2) Dependence on the similarity of the sequences</h4>
1520
1521 The percent identity of the two (groups of) sequences to be aligned is used to
1522 increase the GOP for closely related sequences and decrease it for more
1523 divergent sequences on a linear scale.
1524
1525 <h4>3) Dependence on the lengths of the sequences</h4>
1526
1527 The scores for both true and false sequence alignments grow with the length
1528 of the sequences. We use the logarithm of the length of the shorter sequence
1529 to increase the GOP with sequence length.
1530
1531 <p>
1532
1533 Using these three modifications, the initial GOP calculated by the program is:
1534
1535 <p>
1536
1537 GOP->(GOP+log(MIN(N,M))) * (average residue mismatch score) * (percent identity scaling factor)
1538 <br>
1539 where N, M are the lengths of the two sequences.
1540
1541 <p>
1542
1543 <h4>4) Dependence on the difference in the lengths of the sequences</h4>
1544
1545 The GEP is modified depending on the difference between the lengths of the
1546 two sequences to be aligned. If one sequence is much shorter than the other,
1547 the GEP is increased to inhibit too many long gaps in the shorter sequence.
1548 The initial GEP calculated by the program is:
1549
1550 <p>
1551
1552 GEP -> GEP*(1.0+|log(N/M)|)
1553 <br>
1554 where N, M are the lengths of the two sequences.
1555
1556
1557 <h3>Position-specific gap penalties</h3>
1558
1559 In most dynamic programming applications, the initial gap opening and
1560 extension penalties are applied equally at every position in the sequence,
1561 regardless of the location of a gap, except for terminal gaps which are usually
1562 allowed at no cost. In CLUSTAL W, before any pair of sequences or
1563 prealigned groups of sequences are aligned, we generate a table of gap opening
1564 penalties for every position in the two (sets of) sequences. An example is
1565 shown in figure 3. We manipulate the initial gap opening penalty in a
1566 position specific manner, in order to make gaps more or less likely at different
1567 positions.
1568
1569 <p>
1570
1571 The local gap penalty modification rules are applied in a hierarchical manner.
1572
1573 <p>
1574
1575 The exact details of each rule are given below. Firstly, if there is a gap at a
1576 position, the gap opening and gap extension penalties are lowered; the other
1577 rules do not apply. This makes gaps more likely at positions where there are
1578 already gaps. If there is no gap at a position, then the gap opening penalty is
1579 increased if the position is within 8 residues of an existing gap. This
1580 discourages gaps that are too close together. Finally, at any position within a
1581 run of hydrophilic residues, the penalty is decreased. These runs usually
1582 indicate loop regions in protein structures. If there is no run of hydrophilic
1583 residues, the penalty is modified using a table of residue specific gap
1584 propensities (12). These propensities were derived by counting the frequency
1585 of each residue at either end of gaps in alignments of proteins of known
1586 structure. An illustration of the application of these rules from one part of
1587 the globin example, in figure 1, is given in figure 3.
1588
1589 <h4>1) Lowered gap penalties at existing gaps</h4>
1590
1591 If there are already gaps at a position, then the GOP is reduced in proportion
1592 to the number of sequences with a gap at this position and the GEP is lowered
1593 by a half. The new gap opening penalty is calculated as:
1594
1595 <p>
1596
1597 GOP -> GOP*0.3*(no. of sequences without a gap/no. of sequences).
1598
1599 <h4>2) Increased gap penalties near existing gaps</h4>
1600
1601 If a position does not have any gaps but is within 8 residues of an existing gap,
1602 the GOP is increased by:
1603
1604 <p>
1605
1606 GOP -> GOP*(2+((8-distance from gap)*2)/8)
1607
1608 <h4>3) Reduced gap penalties in hydrophilic stretches</h4>
1609
1610 Any run of 5 hydrophilic residues is considered to be a hydrophilic stretch.
1611 The residues that are to be considered hydrophilic may be set by the user but
1612 are conservatively set to D, E, G, K, N, Q, P, R or S by default. If, at any
1613 position, there are no gaps and any of the sequences has such a stretch, the
1614 GOP is reduced by one third.
1615
1616
1617 <h4>4) Residue specific penalties</h4>
1618
1619 If there is no hydrophilic stretch and the position does not contain any gaps,
1620 then the GOP is multiplied by one of the 20 numbers in table 1, depending on
1621 the residue. If there is a mixture of residues at a position, the multiplication
1622 factor is the average of all the contributions from each sequence.
1623
1624
1625 <h3>Weight matrices</h3>
1626
1627 Two main series of weight matrices are offered to the user: the Dayhoff PAM
1628 series (3) and the BLOSUM series (4). The default is the BLOSUM series. In
1629 each case, there is a choice of matrix ranging from strict ones, useful for
1630 comparing very closely related sequences to very "soft" ones that are useful
1631 for comparing very distantly related sequences. Depending on the distance
1632 between the two sequences or groups of sequences to be compared, we switch
1633 between 4 different matrices. The distances are measured directly from the
1634 guide tree. The ranges of distances and tables used with the PAM series of
1635 matrices is: 80-100%:PAM20, 60-80%:PAM60, 40-60%:PAM120, 0-40%:PAM350.
1636 The range used with the BLOSUM series is:80-100%:BLOSUM80,
1637 60-80%:BLOSUM62, 30-60%:BLOSUM45, 0-30%:BLOSUM30.
1638
1639 <h3>Divergent sequences</h3>
1640
1641 The most divergent sequences (most different, on average from all of the
1642 other sequences) are usually the most difficult to align correctly. It is
1643 sometimes better to delay the incorporation of these sequences until all of the
1644 more easily aligned sequences are merged first. This may give a better chance
1645 of correctly placing the gaps and matching weakly conserved positions against
1646 the rest of the sequences. A choice is offered to set a cut off (default is 40%
1647 identity or less with any other sequence) that will delay the alignment of the
1648 divergent sequences until all of the rest have been aligned.
1649
1650
1651 <h2>Software and Algorithms</h2>
1652
1653
1654 <h3>Dynamic Programming</h3>
1655
1656 The most demanding part of the multiple alignment strategy, in terms of
1657 computer processing and memory usage, is the alignment of two (groups of)
1658 sequences at each step in the final progressive alignment. To make it
1659 possible to align very long sequences (e.g. dynein heavy chains at ~ 5,000
1660 residues) in a reasonable amount of memory, we use the memory efficient
1661 dynamic programming algorithm of Myers and Miller (26). This sacrifices
1662 some processing time but makes very large alignments practical in very little
1663 memory. One disadvantage of this algorithm is that it does not allow
1664 different gap opening and extension penalties at each position. We have
1665 modified the algorithm so as to allow this and the details are described in a
1666 separate paper (27).
1667
1668
1669 <h3>Alignment to an alignment</h3>
1670
1671 Profile alignment is used to align two existing alignments (either of which
1672 may consist of just one sequence) or to add a series of new sequences to an
1673 existing alignment. This is useful because one may wish to build up a
1674 multiple alignment gradually, choosing different parameters manually, or
1675 correcting intermediate errors as the alignment proceeds. Often, just a few
1676 sequences cause misalignments in the progressive algorithm and these can be
1677 removed from the process and then added at the end by profile alignment. A
1678 second use is where one has a high quality reference alignment and wishes to
1679 keep it fixed while adding new sequences automatically.
1680
1681
1682 <!-- clustalw.doc documentation -->
1683
1684 <h3>Terminal Gaps</h3>
1685
1686 In the original Clustal V program, terminal gaps were penalised the same
1687 as all other gaps. This caused some ugly side effects e.g.
1688
1689 <p>
1690
1691 <pre>
1692 acgtacgtacgtacgt acgtacgtacgtacgt
1693 a----cgtacgtacgt gets the same score as ----acgtacgtacgt
1694 </pre>
1695
1696 <p>
1697
1698 NOW, terminal gaps are free. This is better on average and stops silly
1699 effects like single residues jumping to the edge of the alignment. However,
1700 it is not perfect. It does mean that if there should be a gap near the end
1701 of the alignment, the program may be reluctant to insert it i.e.
1702
1703 <p>
1704 <pre>
1705 cccccgggccccc cccccgggccccc
1706 ccccc---ccccc may be considered worse (lower score) than cccccccccc---
1707 </pre>
1708
1709 <p>
1710
1711 In the right hand case above, the terminal gap is free and may score higher
1712 than the laft hand alignment. This can be prevented by lowering the gap
1713 opening and extension penalties. It is difficult to get this right all the
1714 time. Please watch the ends of your alignments.
1715
1716
1717
1718 <h3>Speed of the initial (pairwise) alignments (fast approximate/slow accurate)</h3>
1719
1720 By default, the initial pairwise alignments are now carried out using a full
1721 dynamic programming algorithm. This is more accurate than the older hash/
1722 k-tuple based alignments (Wilbur and Lipman) but is MUCH slower. On a fast
1723 workstation you may not notice but on a slow box, the difference is extreme.
1724 You can set the alignment method from the menus easily to the older, faster
1725 method.
1726
1727
1728
1729 <h3>Delaying alignment of distant sequences</h3>
1730
1731 The user can set a cut off to delay the alignment of the most divergent
1732 sequences in a data set until all other sequences have been aligned. By
1733 default, this is set to 40% which means that if a sequence is less than 40%
1734 identical to any other sequence, its alignment will be delayed.
1735
1736
1737
1738 <h3>Iterative realignment/Reset gaps between alignments</h3>
1739
1740 By default, if you align a set of sequences a second time (e.g. with changed
1741 gap penalties), the gaps from the first alignment are discarded. You can
1742 set this from the menus so that older gaps will be kept between alignments,
1743 This can sometimes give better alignments by keeping the gaps (do not reset
1744 them) and doing the full multiple alignment a second time. Sometimes, the
1745 alignment will converge on a better solution; sometimes the new alignment will
1746 be the same as the first. There can be a strange side effect: you can get
1747 columns of nothing but gaps introduced.
1748
1749 <p>
1750
1751 Any gaps that are read in from the input file are always kept, regardless
1752 of the setting of this switch. If you read in a full multiple alignment, the "reset
1753 gaps" switch has no effect. The old gaps will remain and if you carry out
1754 a multiple alignment, any new gaps will be added in. If you wish to carry out
1755 a full new alignment of a set of sequences that are already aligned in a file
1756 you must input the sequences without gaps.
1757
1758
1759
1760 <h3>Profile alignment</h3>
1761
1762 By profile alignment, we simply mean the alignment of old alignments/sequences.
1763 In this context, a profile is just an existing alignment (or even a set of
1764 unaligned sequences; see below). This allows you to
1765 read in an old alignment (in any of the allowed input formats) and align
1766 one or more new sequences to it. From the profile alignment menu, you
1767 are allowed to read in 2 profiles. Either profile can be a full alignment
1768 OR a single sequence. In the simplest mode, you simply align the two profiles
1769 to each other. This is useful if you want to gradually build up a full
1770 multiple alignment.
1771
1772 <p>
1773
1774 A second option is to align the sequences from the second profile, one at
1775 a time to the first profile. This is done, taking the underlying tree between
1776 the sequences into account. This is useful if you have a set of new sequences
1777 (not aligned) and you wish to add them all to an older alignment.
1778
1779 <h2>Changes to the phylogentic tree calculations and some hints</h2>
1780
1781
1782
1783 <h3>Improved distance calculations for protein trees</h3>
1784
1785
1786 The phylogenetic trees in Clustal W (the real trees that you calculate
1787 AFTER alignment; not the guide trees used to decide the branching order
1788 for multiple alignment) use the Neighbor-Joining method of Saitou and
1789 Nei based on a matrix of "distances" between all sequences. These distances
1790 can be corrected for "multiple hits". This is normal practice when accurate
1791 trees are needed. This correction stretches distances (especially large ones)
1792 to try to correct for the fact that OBSERVED distances (mean number of
1793 differences per site) greatly underestimate the actual number that happened
1794 during evolution.
1795
1796 <p>
1797
1798 In Clustal V we used a simple formula to convert an observed distance to one
1799 that is corrected for multiple hits. The observed distance is the mean number
1800 of differences per site in an alignment (ignoring sites with a gap) and is
1801 therefore always between 0.0 (for ientical sequences) an 1.0 (no residues the
1802 same at any site). These distances can be multiplied by 100 to give percent
1803 difference values. 100 minus percent difference gives percent identity.
1804 The formula we use to correct for multiple hits is from Motoo Kimura
1805 (Kimura, M. The neutral Theory of Molecular Evolution, Camb.Univ.Press, 1983,
1806 page 75) and is:
1807
1808 <p>
1809
1810 K = -Ln(1 - D - (D.D)/5)
1811 <br>
1812 where D is the observed distance and K is
1813 corrected distance.
1814
1815 <p>
1816
1817 This formula gives mean number of estimated substitutions per site and, in
1818 contrast to D (the observed number), can be greater than 1 i.e. more than
1819 one substitution per site, on average. For example, if you observe 0.8
1820 differences per site (80% difference; 20% identity), then the above formula
1821 predicts that there have been 2.5 substitutions per site over the course
1822 of evolution since the 2 sequences diverged. This can also be expressed in
1823 PAM units by multiplying by 100 (mean number of substitutions per 100 residues).
1824 The PAM scale of evolution and its derivation/calculation comes from the
1825 work of Margaret Dayhoff and co workers (the famous Dayhoff PAM series
1826 of weight matrices also came from this work). Dayhoff et al constructed
1827 an elaborate model of protein evolution based on observed frequencies
1828 of substitution between very closely related proteins. Using this model,
1829 they derived a table relating observed distances to predicted PAM distances.
1830 Kimura's formula, above, is just a "curve fitting" approximation to this table.
1831 It is very accurate in the range 0.75 > D > 0.0 but becomes increasingly
1832 unaccurate at high D (>0.75) and fails completely at around D = 0.85.
1833
1834 <p>
1835
1836 To circumvent this problem, we calculated all the values for K corresponding
1837 to D above 0.75 directly using the Dayhoff model and store these in an
1838 internal table, used by Clustal W. This table is declared in the file dayhoff.h and
1839 gives values of K for all D between 0.75 and 0.93 in intervals of 0.001 i.e.
1840 for D = 0.750, 0.751, 0.752 ...... 0.929, 0.930. For any observed D
1841 higher than 0.930, we arbitrarily set K to 10.0. This sounds drastic but
1842 with real sequences, distances of 0.93 (less than 7% identity) are rare.
1843 If your data set includes sequences with this degree of divergence, you
1844 will have great difficulty getting accurate trees by ANY method; the alignment
1845 itself will be very difficult (to construct and to evaluate).
1846
1847 <p>
1848
1849 There are some important
1850 things to note. Firstly, this formula works well if your sequences are
1851 of average amino acid composition and if the amino acids substitute according
1852 to the original Dayhoff model. In other cases, it may be misleading. Secondly,
1853 it is based only on observed percent distance i.e. it does not DIRECTLY
1854 take conservative substitutions into account. Thirdly, the error on the
1855 estimated PAM distances may be VERY great for high distances; at very high
1856 distance (e.g. over 85%) it may give largely arbitrary corrected distances.
1857 In most cases, however, the correction is still worth using; the trees will
1858 be more accurate and the branch lengths will be more realistic.
1859
1860 <p>
1861
1862 A far more sophisticated distance correction based on a full Dayhoff
1863 model which DOES take conservative substitutions and actual amino acid
1864 composition into account, may be found in the PROTDIST program of the
1865 PHYLIP package. For serious tree makers, this program is highly recommended.
1866
1867
1868
1869 <h3>TWO NOTES ON BOOTSTRAPPING...</h3>
1870
1871 When you use the BOOTSTRAP in Clustal W to estimate the reliability of parts
1872 of a tree, many of the uncorrected distances may randomly exceed the arbitrary cut
1873 off of 0.93 (sequences only 7% identical) if the sequences are distantly
1874 related. This will happen randomly i.e. even if none of the pairs of
1875 sequences are less than 7% identical, the bootstrap samples may contain pairs
1876 of sequences that do exceed this cut off.
1877 If this happens, you will be warned. In practice, this can
1878 happen with many data sets. It is not a serious problem if it happens rarely.
1879 If it does happen (you are warned when it happens and told how often the
1880 problem occurs), you should consider removing the most distantly
1881 related sequences and/or using the PHYLIP package instead.
1882
1883 <p>
1884
1885 A further problem arises in almost exactly the opposite situation: when
1886 you bootstrap a data set which contains 3 or more sequences that are identical
1887 or almost identical. Here, the sets of identical sequences should be shown
1888 as a multifurcation (several sequences joing at the same part of the tree).
1889 Because the Neighbor-Joining method only gives strictly dichotomous trees
1890 (never more than 2 sequences join at one time), this cannot be exactly
1891 represented. In practice, this is NOT a problem as there will be some
1892 internal branches of zero length seperating the sequences. If you
1893 display the tree with all branch lengths, you will still see a multifurcation.
1894 However, when you bootstrap
1895 the tree, only the branching orders are stored and counted. In the case
1896 of multifurcations, the exact branching order is arbitrary but the program
1897 will always get the same branching order, depending only on the input order
1898 of the sequences. In practice, this is only a problem in situations where
1899 you have a set of sequences where all of them are VERY similar. In this case,
1900 you can find very high support for some groupings which will disappear if you
1901 run the analysis with a different input order. Again, the PHYLIP package
1902 deals with this by offering a JUMBLE option to shuffle the input order
1903 of your sequences between each bootstrap sample.
1904
1905
1906
1907
1908 <H2>
1909 References
1910 </H2>
1911
1912 The main reference for ClustalW is Thompson et al below.
1913
1914 <ol>
1915
1916 <li>Thompson, J.D., Higgins, D.G. and Gibson, T.J. (1994)
1917 "CLUSTAL W: improving the sensitivity of progressive multiple sequence
1918 alignment through sequence weighting, positions-specific gap penalties
1919 and weight matrix choice."
1920 Nucleic Acids Research, 22:4673-4680.
1921
1922 <li>Feng, D.-F. and Doolittle, R.F. (1987). J. Mol. Evol. 25, 351-360.
1923
1924 <li>Needleman, S.B. and Wunsch, C.D. (1970). J. Mol. Biol. 48, 443-453.
1925
1926 <li>Dayhoff, M.O., Schwartz, R.M. and Orcutt, B.C. (1978) in Atlas of
1927 Protein Sequence and Structure, vol. 5, suppl. 3 (Dayhoff, M.O., ed.),
1928 pp 345-352, NBRF, Washington.
1929
1930 <li>Henikoff, S. and Henikoff, J.G. (1992). Proc. Natl. Acad. Sci. USA
1931 89, 10915-10919.
1932
1933 <li>Lipman, D.J., Altschul, S.F. and Kececioglu,
1934 J.D. (1989). Proc. Natl. Acad. Sci. USA 86, 4412-4415.
1935
1936 <li>Barton, G.J. and Sternberg, M.J.E. (1987). J. Mol. Biol. 198, 327-337.
1937
1938 <li>Gotoh, O. (1993). CABIOS 9, 361-370.
1939
1940 <li>Altschul, S.F. (1989). J. Theor. Biol. 138, 297-309.
1941
1942 <li>Lukashin, A.V., Engelbrecht, J. and Brunak, S. (1992). Nucl. Acids
1943 Res. 20, 2511-2516.
1944
1945 <li>Lawrence, C.E., Altschul, S.F., Boguski, M.S., Liu, J.S., Neuwald,
1946 A.F. and Wooton, J.C. (1993). Science, 262, 208-214.
1947
1948 <li>Vingron, M. and Waterman, M.S. (1993). J. Mol. Biol. 234, 1-12.
1949
1950 <li>Pascarella, S. and Argos, P. (1992). J. Mol. Biol. 224, 461-471.
1951
1952 <li>Collins, J.F. and Coulson, A.F.W. (1987). In Nucleic acid and
1953 protein sequence analysis a practical approach, Bishop, M.J. and
1954 Rawlings, C.J. ed., chapter 13, pp. 323-358.
1955
1956 <li>Vingron, M. and Sibbald, P.R. (1993). Proc. Natl. Acad. Sci. USA,
1957 90, 8777-8781.
1958
1959 <li>Thompson, J.D., Higgins, D.G. and Gibson, T.J. (1994). CABIOS, 10, 19-29.
1960
1961 <li>Lthy, R., Xenarios, I. and Bucher, P. (1994). Protein Science, 3, 139-146.
1962
1963 <li>Higgins, D.G. and Sharp, P.M. (1988). Gene, 73, 237-244.
1964
1965 <li>Higgins, D.G. and Sharp, P.M. (1989). CABIOS, 5, 151-153.
1966
1967 <li>Higgins, D.G., Bleasby, A.J. and Fuchs, R. (1992). CABIOS, 8, 189-191.
1968
1969 <li>Sneath, P.H.A. and Sokal, R.R. (1973). Numerical Taxonomy,
1970 W.H. Freeman, San Francisco.
1971
1972 <li>Saitou, N. and Nei, M. (1987). Mol. Biol. Evol. 4, 406-425.
1973
1974 <li>Wilbur, W.J. and Lipman, D.J. (1983). Proc. Natl. Acad. Sci. USA,
1975 80, 726-730.
1976
1977 <li>Musacchio, A., Gibson, T., Lehto, V.-P. and Saraste,
1978 M. (1992). FEBS Lett. 307, 55-61.
1979
1980 <li>Musacchio, A., Noble, M., Pauptit, R., Wierenga, R. and Saraste,
1981 M. (1992). Nature, 359, 851-855.
1982
1983 <li>Bashford, D., Chothia, C. and Lesk,
1984 A.M. (1987). J. Mol. Biol. 196, 199-216.
1985
1986 <li>Myers, E.W. and Miller, W. (1988). CABIOS, 4, 11-17.
1987
1988 <li>Thompson, J.D. (1994). CABIOS, (Submitted).
1989
1990 <li>Smith, T.F., Waterman, M.S. and Fitch,
1991 W.M. (1981). J. Mol. Evol. 18, 38-46.
1992
1993 <li>Pearson, W.R. and Lipman,
1994 D.J. (1988). Proc. Natl. Acad. Sci. USA. 85, 2444-2448.
1995
1996 <li>Devereux, J., Haeberli, P. and Smithies, O. (1984). Nucleic Acids
1997 Res. 12, 387-395.
1998
1999 <li>Felsenstein, J. (1989). Cladistics 5, 164-166.
2000
2001 <li>Kimura, M. (1980). J. Mol. Evol. 16, 111-120.
2002
2003 <li>Kimura, M. (1983). The Neutral Theory of Molecular Evolution.
2004 Cambridge University Press, Cambridge.
2005
2006 <li>Felsenstein, J. (1985). Evolution 39, 783-791.
2007
2008 <li>Smith, R.F. and Smith, T.F. (1992) Protein Engineering 5, 35-41.
2009
2010 <li>Krogh, A., Brown, M., Mian, S., Sjlander, K. and Haussler,
2011 D. (1994) J. Mol. Biol. 235-1501-1531.
2012
2013 <li>Jones, D.T., Taylor, W.R. and Thornton, J.M. (1994). FEBS
2014 Lett. 339, 269-275.
2015
2016 <li>Bairoch, A. and Bckmann, B. (1992) Nucleic Acids Res., 20, 2019-2022.
2017
2018 <li>Noble, M.E.M., Musacchio, A., Saraste, M., Courtneidge, S.A. and
2019 Wierenga, R.K. (1993) EMBO J. 12, 2617-2624.
2020
2021 <li>Kabsch, W. and Sander, C. (1983) Biopolymers, 22, 2577-2637.
2022
2023 </ol>
2024
2025 <H2>
2026 Warnings
2027 </H2>
2028
2029 None.
2030
2031 <H2>
2032 Diagnostic Error Messages
2033 </H2>
2034
2035 "cannot find program 'clustalw'" - means that the ClustalW program has
2036 not been set up on your site or is not in your environment (i.e. is
2037 not on your path). The solutions are to (1) install clustalw in the
2038 path so that emma can find it with the command "clustalw", or (2)
2039 define a variable (an environment variable or in emboss.defaults or
2040 your .embossrc file) called EMBOSS_CLUSTALW containing the command
2041 (program name or full path) to run clustalw if you have it elsewhere
2042 on your system.
2043
2044 <H2>
2045 Exit status
2046 </H2>
2047
2048 It exits with status 0 unless an error is reported
2049
2050 <H2>
2051 Known bugs
2052 </H2>
2053
2054 None.
2055
2056
2057 <h2><a name="See also">See also</a></h2>
2058 <table border cellpadding=4 bgcolor="#FFFFF0">
2059 <tr><th>Program name</th>
2060 <th>Description</th></tr>
2061 <tr>
2062 <td><a href="edialign.html">edialign</a></td>
2063 <td>Local multiple alignment of sequences</td>
2064 </tr>
2065
2066 <tr>
2067 <td><a href="infoalign.html">infoalign</a></td>
2068 <td>Display basic information about a multiple sequence alignment</td>
2069 </tr>
2070
2071 <tr>
2072 <td><a href="plotcon.html">plotcon</a></td>
2073 <td>Plot conservation of a sequence alignment</td>
2074 </tr>
2075
2076 <tr>
2077 <td><a href="prettyplot.html">prettyplot</a></td>
2078 <td>Draw a sequence alignment with pretty formatting</td>
2079 </tr>
2080
2081 <tr>
2082 <td><a href="showalign.html">showalign</a></td>
2083 <td>Display a multiple sequence alignment in pretty format</td>
2084 </tr>
2085
2086 <tr>
2087 <td><a href="tranalign.html">tranalign</a></td>
2088 <td>Generate an alignment of nucleic coding regions from aligned proteins</td>
2089 </tr>
2090
2091 </table>
2092
2093 <H2>
2094 Author(s)
2095 </H2>
2096
2097
2098 Mark Faller formerly at:
2099 <br>
2100 HGMP-RC, Genome Campus, Hinxton, Cambridge CB10 1SB, UK
2101
2102 <p>
2103 Please report all bugs to the EMBOSS bug team (emboss-bug&nbsp;&copy;&nbsp;emboss.open-bio.org) not to the original author.
2104
2105
2106 <H2>
2107 History
2108 </H2>
2109
2110
2111 Completed 18 February 1999
2112
2113 <H2>
2114 Target users
2115 </H2>
2116 This program is intended to be used by everyone and everything, from naive users to embedded scripts.
2117
2118 <H2>
2119 Comments
2120 </H2>
2121 None
2122 </BODY>
2123 </HTML>
2124