Debian Codegraph @

doc/programs/html/stretcher.html

raw symbols SCIP
1 <HTML>
2
3 <HEAD>
4 <TITLE>
5 EMBOSS: stretcher
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 stretcher
17 </font></b>
18 </td></tr>
19 </table>
20 <br>&nbsp;
21 <p>
22
23
24 <H2>
25 Wiki
26 </H2>
27
28 The master copies of EMBOSS documentation are available
29 at <a href="http://emboss.open-bio.org/wiki/Appdocs">
30 http://emboss.open-bio.org/wiki/Appdocs</a>
31 on the EMBOSS Wiki.
32
33 <p>
34 Please help by correcting and extending the Wiki pages.
35
36 <H2>
37 Function
38 </H2>
39 Needleman-Wunsch rapid global alignment of two sequences
40
41 <H2>
42 Description
43 </H2>
44
45
46 <p><b>stretcher</b> calculates an optimal global alignment of two sequences using a modification of the classic dynamic programming algorithm which uses linear space. The output is a standard alignment file. The substitution matrix, gap insertion penalty and gap extension penalties used to calculate the alignment may be specified.</p>
47
48 <H2>
49 Algorithm
50 </H2>
51 <p>The standard sequence global alignment program using the Needleman & Wunsch algorithm, as implemented in the program <b>needle</b>, requires O(MN) space. This is standard computer-science language for it needing an amount of computer memory that is proportional to the product of the two sequences being aligned. So if a 1 kb and a 10 kb sequence take 10 Mega-words of memory to align, you should expect that in order to align a 10 kb sequence and a 1 Mb sequence you will need approximately 10 Giga-words of memory. When using <b>needle</b> computer memory will rapidly be exhausted as the size of the aligned sequences increases.</p>
52
53 <p>This program implements the Myers and Miller algorithm for finding an optimal global alignment in an amount of computer memory that is only proportional to the size of the smaller sequence - O(N).</p>
54
55
56 <H2>
57 Usage
58 </H2>
59 Here is a sample session with <b>stretcher</b>
60 <p>
61
62 <p>
63 <table width="90%"><tr><td bgcolor="#CCFFFF"><pre>
64
65 % <b>stretcher tsw:hba_human tsw:hbb_human </b>
66 Needleman-Wunsch rapid global alignment of two sequences
67 Output alignment [hba_human.stretcher]: <b></b>
68
69 </pre></td></tr></table><p>
70 <p>
71 <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>
72
73
74 <H2>
75 Command line arguments
76 </H2>
77 <table CELLSPACING=0 CELLPADDING=3 BGCOLOR="#f5f5ff" ><tr><td>
78 <pre>
79 Needleman-Wunsch rapid global alignment of two sequences
80 Version: EMBOSS:6.6.0.0
81
82 Standard (Mandatory) qualifiers:
83 [-asequence] sequence Sequence filename and optional format, or
84 reference (input USA)
85 [-bsequence] sequence Sequence filename and optional format, or
86 reference (input USA)
87 [-outfile] align [*.stretcher] Output alignment file name
88 (default -aformat markx0)
89
90 Additional (Optional) qualifiers:
91 -datafile matrix [EBLOSUM62 for protein, EDNAFULL for DNA]
92 This is the scoring matrix file used when
93 comparing sequences. By default it is the
94 file 'EBLOSUM62' (for proteins) or the file
95 'EDNAFULL' (for nucleic sequences). These
96 files are found in the 'data' directory of
97 the EMBOSS installation.
98 -gapopen integer [12 for protein, 16 for nucleic] Gap penalty
99 (Positive integer)
100 -gapextend integer [2 for protein, 4 for nucleic] Gap length
101 penalty (Positive integer)
102
103 Advanced (Unprompted) qualifiers: (none)
104 Associated qualifiers:
105
106 "-asequence" associated qualifiers
107 -sbegin1 integer Start of the sequence to be used
108 -send1 integer End of the sequence to be used
109 -sreverse1 boolean Reverse (if DNA)
110 -sask1 boolean Ask for begin/end/reverse
111 -snucleotide1 boolean Sequence is nucleotide
112 -sprotein1 boolean Sequence is protein
113 -slower1 boolean Make lower case
114 -supper1 boolean Make upper case
115 -scircular1 boolean Sequence is circular
116 -squick1 boolean Read id and sequence only
117 -sformat1 string Input sequence format
118 -iquery1 string Input query fields or ID list
119 -ioffset1 integer Input start position offset
120 -sdbname1 string Database name
121 -sid1 string Entryname
122 -ufo1 string UFO features
123 -fformat1 string Features format
124 -fopenfile1 string Features file name
125
126 "-bsequence" associated qualifiers
127 -sbegin2 integer Start of the sequence to be used
128 -send2 integer End of the sequence to be used
129 -sreverse2 boolean Reverse (if DNA)
130 -sask2 boolean Ask for begin/end/reverse
131 -snucleotide2 boolean Sequence is nucleotide
132 -sprotein2 boolean Sequence is protein
133 -slower2 boolean Make lower case
134 -supper2 boolean Make upper case
135 -scircular2 boolean Sequence is circular
136 -squick2 boolean Read id and sequence only
137 -sformat2 string Input sequence format
138 -iquery2 string Input query fields or ID list
139 -ioffset2 integer Input start position offset
140 -sdbname2 string Database name
141 -sid2 string Entryname
142 -ufo2 string UFO features
143 -fformat2 string Features format
144 -fopenfile2 string Features file name
145
146 "-outfile" associated qualifiers
147 -aformat3 string Alignment format
148 -aextension3 string File name extension
149 -adirectory3 string Output directory
150 -aname3 string Base file name
151 -awidth3 integer Alignment width
152 -aaccshow3 boolean Show accession number in the header
153 -adesshow3 boolean Show description in the header
154 -ausashow3 boolean Show the full USA in the alignment
155 -aglobal3 boolean Show the full sequence in alignment
156
157 General qualifiers:
158 -auto boolean Turn off prompts
159 -stdout boolean Write first file to standard output
160 -filter boolean Read first file from standard input, write
161 first file to standard output
162 -options boolean Prompt for standard and additional values
163 -debug boolean Write debug output to program.dbg
164 -verbose boolean Report some/full command line options
165 -help boolean Report command line options and exit. More
166 information on associated and general
167 qualifiers can be found with -help -verbose
168 -warning boolean Report warnings
169 -error boolean Report errors
170 -fatal boolean Report fatal errors
171 -die boolean Report dying program messages
172 -version boolean Report version number and exit
173
174 </pre>
175 </td></tr></table>
176 <P>
177
178 <table border cellspacing=0 cellpadding=3 bgcolor="#ccccff">
179 <tr bgcolor="#FFFFCC">
180 <th align="left">Qualifier</th>
181 <th align="left">Type</th>
182 <th align="left">Description</th>
183 <th align="left">Allowed values</th>
184 <th align="left">Default</th>
185 </tr>
186
187 <tr bgcolor="#FFFFCC">
188 <th align="left" colspan=5>Standard (Mandatory) qualifiers</th>
189 </tr>
190
191 <tr bgcolor="#FFFFCC">
192 <td>[-asequence]<br>(Parameter 1)</td>
193 <td>sequence</td>
194 <td>Sequence filename and optional format, or reference (input USA)</td>
195 <td>Readable sequence</td>
196 <td><b>Required</b></td>
197 </tr>
198
199 <tr bgcolor="#FFFFCC">
200 <td>[-bsequence]<br>(Parameter 2)</td>
201 <td>sequence</td>
202 <td>Sequence filename and optional format, or reference (input USA)</td>
203 <td>Readable sequence</td>
204 <td><b>Required</b></td>
205 </tr>
206
207 <tr bgcolor="#FFFFCC">
208 <td>[-outfile]<br>(Parameter 3)</td>
209 <td>align</td>
210 <td>Output alignment file name</td>
211 <td>(default -aformat markx0)</td>
212 <td><i>&lt;*&gt;</i>.stretcher</td>
213 </tr>
214
215 <tr bgcolor="#FFFFCC">
216 <th align="left" colspan=5>Additional (Optional) qualifiers</th>
217 </tr>
218
219 <tr bgcolor="#FFFFCC">
220 <td>-datafile</td>
221 <td>matrix</td>
222 <td>This is the scoring matrix file used when comparing sequences. By default it is the file 'EBLOSUM62' (for proteins) or the file 'EDNAFULL' (for nucleic sequences). These files are found in the 'data' directory of the EMBOSS installation.</td>
223 <td>Comparison matrix file in EMBOSS data path</td>
224 <td>EBLOSUM62 for protein<br>EDNAFULL for DNA</td>
225 </tr>
226
227 <tr bgcolor="#FFFFCC">
228 <td>-gapopen</td>
229 <td>integer</td>
230 <td>Gap penalty</td>
231 <td>Positive integer</td>
232 <td>12 for protein, 16 for nucleic</td>
233 </tr>
234
235 <tr bgcolor="#FFFFCC">
236 <td>-gapextend</td>
237 <td>integer</td>
238 <td>Gap length penalty</td>
239 <td>Positive integer</td>
240 <td>2 for protein, 4 for nucleic</td>
241 </tr>
242
243 <tr bgcolor="#FFFFCC">
244 <th align="left" colspan=5>Advanced (Unprompted) qualifiers</th>
245 </tr>
246
247 <tr>
248 <td colspan=5>(none)</td>
249 </tr>
250
251 <tr bgcolor="#FFFFCC">
252 <th align="left" colspan=5>Associated qualifiers</th>
253 </tr>
254
255 <tr bgcolor="#FFFFCC">
256 <td align="left" colspan=5>"-asequence" associated sequence qualifiers
257 </td>
258 </tr>
259
260 <tr bgcolor="#FFFFCC">
261 <td> -sbegin1<br>-sbegin_asequence</td>
262 <td>integer</td>
263 <td>Start of the sequence to be used</td>
264 <td>Any integer value</td>
265 <td>0</td>
266 </tr>
267
268 <tr bgcolor="#FFFFCC">
269 <td> -send1<br>-send_asequence</td>
270 <td>integer</td>
271 <td>End of the sequence to be used</td>
272 <td>Any integer value</td>
273 <td>0</td>
274 </tr>
275
276 <tr bgcolor="#FFFFCC">
277 <td> -sreverse1<br>-sreverse_asequence</td>
278 <td>boolean</td>
279 <td>Reverse (if DNA)</td>
280 <td>Boolean value Yes/No</td>
281 <td>N</td>
282 </tr>
283
284 <tr bgcolor="#FFFFCC">
285 <td> -sask1<br>-sask_asequence</td>
286 <td>boolean</td>
287 <td>Ask for begin/end/reverse</td>
288 <td>Boolean value Yes/No</td>
289 <td>N</td>
290 </tr>
291
292 <tr bgcolor="#FFFFCC">
293 <td> -snucleotide1<br>-snucleotide_asequence</td>
294 <td>boolean</td>
295 <td>Sequence is nucleotide</td>
296 <td>Boolean value Yes/No</td>
297 <td>N</td>
298 </tr>
299
300 <tr bgcolor="#FFFFCC">
301 <td> -sprotein1<br>-sprotein_asequence</td>
302 <td>boolean</td>
303 <td>Sequence is protein</td>
304 <td>Boolean value Yes/No</td>
305 <td>N</td>
306 </tr>
307
308 <tr bgcolor="#FFFFCC">
309 <td> -slower1<br>-slower_asequence</td>
310 <td>boolean</td>
311 <td>Make lower case</td>
312 <td>Boolean value Yes/No</td>
313 <td>N</td>
314 </tr>
315
316 <tr bgcolor="#FFFFCC">
317 <td> -supper1<br>-supper_asequence</td>
318 <td>boolean</td>
319 <td>Make upper case</td>
320 <td>Boolean value Yes/No</td>
321 <td>N</td>
322 </tr>
323
324 <tr bgcolor="#FFFFCC">
325 <td> -scircular1<br>-scircular_asequence</td>
326 <td>boolean</td>
327 <td>Sequence is circular</td>
328 <td>Boolean value Yes/No</td>
329 <td>N</td>
330 </tr>
331
332 <tr bgcolor="#FFFFCC">
333 <td> -squick1<br>-squick_asequence</td>
334 <td>boolean</td>
335 <td>Read id and sequence only</td>
336 <td>Boolean value Yes/No</td>
337 <td>N</td>
338 </tr>
339
340 <tr bgcolor="#FFFFCC">
341 <td> -sformat1<br>-sformat_asequence</td>
342 <td>string</td>
343 <td>Input sequence format</td>
344 <td>Any string</td>
345 <td>&nbsp;</td>
346 </tr>
347
348 <tr bgcolor="#FFFFCC">
349 <td> -iquery1<br>-iquery_asequence</td>
350 <td>string</td>
351 <td>Input query fields or ID list</td>
352 <td>Any string</td>
353 <td>&nbsp;</td>
354 </tr>
355
356 <tr bgcolor="#FFFFCC">
357 <td> -ioffset1<br>-ioffset_asequence</td>
358 <td>integer</td>
359 <td>Input start position offset</td>
360 <td>Any integer value</td>
361 <td>0</td>
362 </tr>
363
364 <tr bgcolor="#FFFFCC">
365 <td> -sdbname1<br>-sdbname_asequence</td>
366 <td>string</td>
367 <td>Database name</td>
368 <td>Any string</td>
369 <td>&nbsp;</td>
370 </tr>
371
372 <tr bgcolor="#FFFFCC">
373 <td> -sid1<br>-sid_asequence</td>
374 <td>string</td>
375 <td>Entryname</td>
376 <td>Any string</td>
377 <td>&nbsp;</td>
378 </tr>
379
380 <tr bgcolor="#FFFFCC">
381 <td> -ufo1<br>-ufo_asequence</td>
382 <td>string</td>
383 <td>UFO features</td>
384 <td>Any string</td>
385 <td>&nbsp;</td>
386 </tr>
387
388 <tr bgcolor="#FFFFCC">
389 <td> -fformat1<br>-fformat_asequence</td>
390 <td>string</td>
391 <td>Features format</td>
392 <td>Any string</td>
393 <td>&nbsp;</td>
394 </tr>
395
396 <tr bgcolor="#FFFFCC">
397 <td> -fopenfile1<br>-fopenfile_asequence</td>
398 <td>string</td>
399 <td>Features file name</td>
400 <td>Any string</td>
401 <td>&nbsp;</td>
402 </tr>
403
404 <tr bgcolor="#FFFFCC">
405 <td align="left" colspan=5>"-bsequence" associated sequence qualifiers
406 </td>
407 </tr>
408
409 <tr bgcolor="#FFFFCC">
410 <td> -sbegin2<br>-sbegin_bsequence</td>
411 <td>integer</td>
412 <td>Start of the sequence to be used</td>
413 <td>Any integer value</td>
414 <td>0</td>
415 </tr>
416
417 <tr bgcolor="#FFFFCC">
418 <td> -send2<br>-send_bsequence</td>
419 <td>integer</td>
420 <td>End of the sequence to be used</td>
421 <td>Any integer value</td>
422 <td>0</td>
423 </tr>
424
425 <tr bgcolor="#FFFFCC">
426 <td> -sreverse2<br>-sreverse_bsequence</td>
427 <td>boolean</td>
428 <td>Reverse (if DNA)</td>
429 <td>Boolean value Yes/No</td>
430 <td>N</td>
431 </tr>
432
433 <tr bgcolor="#FFFFCC">
434 <td> -sask2<br>-sask_bsequence</td>
435 <td>boolean</td>
436 <td>Ask for begin/end/reverse</td>
437 <td>Boolean value Yes/No</td>
438 <td>N</td>
439 </tr>
440
441 <tr bgcolor="#FFFFCC">
442 <td> -snucleotide2<br>-snucleotide_bsequence</td>
443 <td>boolean</td>
444 <td>Sequence is nucleotide</td>
445 <td>Boolean value Yes/No</td>
446 <td>N</td>
447 </tr>
448
449 <tr bgcolor="#FFFFCC">
450 <td> -sprotein2<br>-sprotein_bsequence</td>
451 <td>boolean</td>
452 <td>Sequence is protein</td>
453 <td>Boolean value Yes/No</td>
454 <td>N</td>
455 </tr>
456
457 <tr bgcolor="#FFFFCC">
458 <td> -slower2<br>-slower_bsequence</td>
459 <td>boolean</td>
460 <td>Make lower case</td>
461 <td>Boolean value Yes/No</td>
462 <td>N</td>
463 </tr>
464
465 <tr bgcolor="#FFFFCC">
466 <td> -supper2<br>-supper_bsequence</td>
467 <td>boolean</td>
468 <td>Make upper case</td>
469 <td>Boolean value Yes/No</td>
470 <td>N</td>
471 </tr>
472
473 <tr bgcolor="#FFFFCC">
474 <td> -scircular2<br>-scircular_bsequence</td>
475 <td>boolean</td>
476 <td>Sequence is circular</td>
477 <td>Boolean value Yes/No</td>
478 <td>N</td>
479 </tr>
480
481 <tr bgcolor="#FFFFCC">
482 <td> -squick2<br>-squick_bsequence</td>
483 <td>boolean</td>
484 <td>Read id and sequence only</td>
485 <td>Boolean value Yes/No</td>
486 <td>N</td>
487 </tr>
488
489 <tr bgcolor="#FFFFCC">
490 <td> -sformat2<br>-sformat_bsequence</td>
491 <td>string</td>
492 <td>Input sequence format</td>
493 <td>Any string</td>
494 <td>&nbsp;</td>
495 </tr>
496
497 <tr bgcolor="#FFFFCC">
498 <td> -iquery2<br>-iquery_bsequence</td>
499 <td>string</td>
500 <td>Input query fields or ID list</td>
501 <td>Any string</td>
502 <td>&nbsp;</td>
503 </tr>
504
505 <tr bgcolor="#FFFFCC">
506 <td> -ioffset2<br>-ioffset_bsequence</td>
507 <td>integer</td>
508 <td>Input start position offset</td>
509 <td>Any integer value</td>
510 <td>0</td>
511 </tr>
512
513 <tr bgcolor="#FFFFCC">
514 <td> -sdbname2<br>-sdbname_bsequence</td>
515 <td>string</td>
516 <td>Database name</td>
517 <td>Any string</td>
518 <td>&nbsp;</td>
519 </tr>
520
521 <tr bgcolor="#FFFFCC">
522 <td> -sid2<br>-sid_bsequence</td>
523 <td>string</td>
524 <td>Entryname</td>
525 <td>Any string</td>
526 <td>&nbsp;</td>
527 </tr>
528
529 <tr bgcolor="#FFFFCC">
530 <td> -ufo2<br>-ufo_bsequence</td>
531 <td>string</td>
532 <td>UFO features</td>
533 <td>Any string</td>
534 <td>&nbsp;</td>
535 </tr>
536
537 <tr bgcolor="#FFFFCC">
538 <td> -fformat2<br>-fformat_bsequence</td>
539 <td>string</td>
540 <td>Features format</td>
541 <td>Any string</td>
542 <td>&nbsp;</td>
543 </tr>
544
545 <tr bgcolor="#FFFFCC">
546 <td> -fopenfile2<br>-fopenfile_bsequence</td>
547 <td>string</td>
548 <td>Features file name</td>
549 <td>Any string</td>
550 <td>&nbsp;</td>
551 </tr>
552
553 <tr bgcolor="#FFFFCC">
554 <td align="left" colspan=5>"-outfile" associated align qualifiers
555 </td>
556 </tr>
557
558 <tr bgcolor="#FFFFCC">
559 <td> -aformat3<br>-aformat_outfile</td>
560 <td>string</td>
561 <td>Alignment format</td>
562 <td>Any string</td>
563 <td>markx0</td>
564 </tr>
565
566 <tr bgcolor="#FFFFCC">
567 <td> -aextension3<br>-aextension_outfile</td>
568 <td>string</td>
569 <td>File name extension</td>
570 <td>Any string</td>
571 <td>&nbsp;</td>
572 </tr>
573
574 <tr bgcolor="#FFFFCC">
575 <td> -adirectory3<br>-adirectory_outfile</td>
576 <td>string</td>
577 <td>Output directory</td>
578 <td>Any string</td>
579 <td>&nbsp;</td>
580 </tr>
581
582 <tr bgcolor="#FFFFCC">
583 <td> -aname3<br>-aname_outfile</td>
584 <td>string</td>
585 <td>Base file name</td>
586 <td>Any string</td>
587 <td>&nbsp;</td>
588 </tr>
589
590 <tr bgcolor="#FFFFCC">
591 <td> -awidth3<br>-awidth_outfile</td>
592 <td>integer</td>
593 <td>Alignment width</td>
594 <td>Any integer value</td>
595 <td>0</td>
596 </tr>
597
598 <tr bgcolor="#FFFFCC">
599 <td> -aaccshow3<br>-aaccshow_outfile</td>
600 <td>boolean</td>
601 <td>Show accession number in the header</td>
602 <td>Boolean value Yes/No</td>
603 <td>N</td>
604 </tr>
605
606 <tr bgcolor="#FFFFCC">
607 <td> -adesshow3<br>-adesshow_outfile</td>
608 <td>boolean</td>
609 <td>Show description in the header</td>
610 <td>Boolean value Yes/No</td>
611 <td>N</td>
612 </tr>
613
614 <tr bgcolor="#FFFFCC">
615 <td> -ausashow3<br>-ausashow_outfile</td>
616 <td>boolean</td>
617 <td>Show the full USA in the alignment</td>
618 <td>Boolean value Yes/No</td>
619 <td>N</td>
620 </tr>
621
622 <tr bgcolor="#FFFFCC">
623 <td> -aglobal3<br>-aglobal_outfile</td>
624 <td>boolean</td>
625 <td>Show the full sequence in alignment</td>
626 <td>Boolean value Yes/No</td>
627 <td>Y</td>
628 </tr>
629
630 <tr bgcolor="#FFFFCC">
631 <th align="left" colspan=5>General qualifiers</th>
632 </tr>
633
634 <tr bgcolor="#FFFFCC">
635 <td> -auto</td>
636 <td>boolean</td>
637 <td>Turn off prompts</td>
638 <td>Boolean value Yes/No</td>
639 <td>N</td>
640 </tr>
641
642 <tr bgcolor="#FFFFCC">
643 <td> -stdout</td>
644 <td>boolean</td>
645 <td>Write first file to standard output</td>
646 <td>Boolean value Yes/No</td>
647 <td>N</td>
648 </tr>
649
650 <tr bgcolor="#FFFFCC">
651 <td> -filter</td>
652 <td>boolean</td>
653 <td>Read first file from standard input, write first file to standard output</td>
654 <td>Boolean value Yes/No</td>
655 <td>N</td>
656 </tr>
657
658 <tr bgcolor="#FFFFCC">
659 <td> -options</td>
660 <td>boolean</td>
661 <td>Prompt for standard and additional values</td>
662 <td>Boolean value Yes/No</td>
663 <td>N</td>
664 </tr>
665
666 <tr bgcolor="#FFFFCC">
667 <td> -debug</td>
668 <td>boolean</td>
669 <td>Write debug output to program.dbg</td>
670 <td>Boolean value Yes/No</td>
671 <td>N</td>
672 </tr>
673
674 <tr bgcolor="#FFFFCC">
675 <td> -verbose</td>
676 <td>boolean</td>
677 <td>Report some/full command line options</td>
678 <td>Boolean value Yes/No</td>
679 <td>Y</td>
680 </tr>
681
682 <tr bgcolor="#FFFFCC">
683 <td> -help</td>
684 <td>boolean</td>
685 <td>Report command line options and exit. More information on associated and general qualifiers can be found with -help -verbose</td>
686 <td>Boolean value Yes/No</td>
687 <td>N</td>
688 </tr>
689
690 <tr bgcolor="#FFFFCC">
691 <td> -warning</td>
692 <td>boolean</td>
693 <td>Report warnings</td>
694 <td>Boolean value Yes/No</td>
695 <td>Y</td>
696 </tr>
697
698 <tr bgcolor="#FFFFCC">
699 <td> -error</td>
700 <td>boolean</td>
701 <td>Report errors</td>
702 <td>Boolean value Yes/No</td>
703 <td>Y</td>
704 </tr>
705
706 <tr bgcolor="#FFFFCC">
707 <td> -fatal</td>
708 <td>boolean</td>
709 <td>Report fatal errors</td>
710 <td>Boolean value Yes/No</td>
711 <td>Y</td>
712 </tr>
713
714 <tr bgcolor="#FFFFCC">
715 <td> -die</td>
716 <td>boolean</td>
717 <td>Report dying program messages</td>
718 <td>Boolean value Yes/No</td>
719 <td>Y</td>
720 </tr>
721
722 <tr bgcolor="#FFFFCC">
723 <td> -version</td>
724 <td>boolean</td>
725 <td>Report version number and exit</td>
726 <td>Boolean value Yes/No</td>
727 <td>N</td>
728 </tr>
729
730 </table>
731
732
733 <H2>
734 Input file format
735 </H2>
736
737
738 <b>stretcher</b> reads any 2 nucleotide or protein sequences.
739 <p>
740 <p>
741
742 The input is a standard EMBOSS sequence query (also known as a 'USA').
743
744 <p>
745 Major sequence database sources defined as standard in EMBOSS
746 installations include srs:embl, srs:uniprot and ensembl
747
748 <p>
749
750 Data can also be read from sequence output in any supported format
751 written by an EMBOSS or third-party application.
752
753 <p>
754 The input format can be specified by using the
755 command-line qualifier <tt>-sformat xxx</tt>, where 'xxx' is replaced
756 by the name of the required format. The available format names are:
757 gff (gff3), gff2, embl (em), genbank (gb, refseq), ddbj, refseqp, pir
758 (nbrf), swissprot (swiss, sw), dasgff and debug.
759
760 <p>
761
762 See:
763 <A href="http://emboss.sf.net/docs/themes/SequenceFormats.html">
764 http://emboss.sf.net/docs/themes/SequenceFormats.html</A>
765 for further information on sequence formats.
766
767 <p>
768
769
770
771 <a name="input.1"></a>
772 <h3>Input files for usage example </h3>
773
774 'tsw:hba_human' is a sequence entry in the example protein database 'tsw'
775 <p>
776 <p><h3>Database entry: tsw:hba_human</h3>
777 <table width="90%"><tr><td bgcolor="#FFCCFF">
778 <pre>
779 ID HBA_HUMAN Reviewed; 142 AA.
780 AC P69905; P01922; Q1HDT5; Q3MIF5; Q53F97; Q96KF1; Q9NYR7; Q9UCM0;
781 DT 21-JUL-1986, integrated into UniProtKB/Swiss-Prot.
782 DT 23-JAN-2007, sequence version 2.
783 DT 13-JUN-2012, entry version 108.
784 DE RecName: Full=Hemoglobin subunit alpha;
785 DE AltName: Full=Alpha-globin;
786 DE AltName: Full=Hemoglobin alpha chain;
787 GN Name=HBA1;
788 GN and
789 GN Name=HBA2;
790 OS Homo sapiens (Human).
791 OC Eukaryota; Metazoa; Chordata; Craniata; Vertebrata; Euteleostomi;
792 OC Mammalia; Eutheria; Euarchontoglires; Primates; Haplorrhini;
793 OC Catarrhini; Hominidae; Homo.
794 OX NCBI_TaxID=9606;
795 RN [1]
796 RP NUCLEOTIDE SEQUENCE [GENOMIC DNA] (HBA1).
797 RX MEDLINE=81088339; PubMed=7448866; DOI=10.1016/0092-8674(80)90347-5;
798 RA Michelson A.M., Orkin S.H.;
799 RT "The 3' untranslated regions of the duplicated human alpha-globin
800 RT genes are unexpectedly divergent.";
801 RL Cell 22:371-377(1980).
802 RN [2]
803 RP NUCLEOTIDE SEQUENCE [MRNA] (HBA2).
804 RX MEDLINE=80137531; PubMed=6244294;
805 RA Wilson J.T., Wilson L.B., Reddy V.B., Cavallesco C., Ghosh P.K.,
806 RA Deriel J.K., Forget B.G., Weissman S.M.;
807 RT "Nucleotide sequence of the coding portion of human alpha globin
808 RT messenger RNA.";
809 RL J. Biol. Chem. 255:2807-2815(1980).
810 RN [3]
811 RP NUCLEOTIDE SEQUENCE [GENOMIC DNA] (HBA2).
812 RX MEDLINE=81175088; PubMed=6452630; DOI=10.1073/pnas.77.12.7054;
813 RA Liebhaber S.A., Goossens M.J., Kan Y.W.;
814 RT "Cloning and complete nucleotide sequence of human 5'-alpha-globin
815 RT gene.";
816 RL Proc. Natl. Acad. Sci. U.S.A. 77:7054-7058(1980).
817 RN [4]
818 RP NUCLEOTIDE SEQUENCE [GENOMIC DNA].
819 RX PubMed=6946451; DOI=10.1073/pnas.78.8.5041;
820 RA Orkin S.H., Goff S.C., Hechtman R.L.;
821 RT "Mutation in an intervening sequence splice junction in man.";
822 RL Proc. Natl. Acad. Sci. U.S.A. 78:5041-5045(1981).
823 RN [5]
824 RP NUCLEOTIDE SEQUENCE [GENOMIC DNA], AND VARIANT LYS-32.
825 RX MEDLINE=21303311; PubMed=11410421;
826 RA Zhao Y., Xu X.;
827 RT "Alpha2(CD31 AGG--&gt;AAG, Arg--&gt;Lys) causing non-deletional alpha-
828 RT thalassemia in a Chinese family with HbH disease.";
829
830
831 <font color=red> [Part of this file has been deleted for brevity]</font>
832
833 FT /FTId=VAR_002841.
834 FT VARIANT 132 132 S -&gt; P (in Questembert; highly unstable;
835 FT causes alpha-thalassemia).
836 FT /FTId=VAR_002843.
837 FT VARIANT 134 134 S -&gt; R (in Val de Marne; O(2) affinity
838 FT up).
839 FT /FTId=VAR_002844.
840 FT VARIANT 136 136 V -&gt; E (in Pavie).
841 FT /FTId=VAR_002845.
842 FT VARIANT 137 137 L -&gt; M (in Chicago).
843 FT /FTId=VAR_002846.
844 FT VARIANT 137 137 L -&gt; P (in Bibba; unstable; causes alpha-
845 FT thalassemia).
846 FT /FTId=VAR_002847.
847 FT VARIANT 137 137 L -&gt; R (in Toyama).
848 FT /FTId=VAR_035242.
849 FT VARIANT 139 139 S -&gt; P (in Attleboro; O(2) affinity up).
850 FT /FTId=VAR_002848.
851 FT VARIANT 140 140 K -&gt; E (in Hanamaki; O(2) affinity up).
852 FT /FTId=VAR_002849.
853 FT VARIANT 140 140 K -&gt; T (in Tokoname; O(2) affinity up).
854 FT /FTId=VAR_002850.
855 FT VARIANT 141 141 Y -&gt; H (in Rouen/Ethiopia; O(2) affinity
856 FT up).
857 FT /FTId=VAR_002851.
858 FT VARIANT 142 142 R -&gt; C (in Nunobiki; O(2) affinity up).
859 FT /FTId=VAR_002852.
860 FT VARIANT 142 142 R -&gt; H (in Suresnes; O(2) affinity up).
861 FT /FTId=VAR_002854.
862 FT VARIANT 142 142 R -&gt; L (in Legnano; O(2) affinity up).
863 FT /FTId=VAR_002853.
864 FT VARIANT 142 142 R -&gt; P (in Singapore).
865 FT /FTId=VAR_002855.
866 FT CONFLICT 10 10 N -&gt; H (in Ref. 13; BAD97112).
867 FT HELIX 5 16
868 FT HELIX 17 21
869 FT HELIX 22 36
870 FT HELIX 38 43
871 FT HELIX 54 72
872 FT HELIX 74 76
873 FT HELIX 77 80
874 FT HELIX 82 90
875 FT HELIX 97 113
876 FT TURN 115 117
877 FT HELIX 120 137
878 FT TURN 138 140
879 SQ SEQUENCE 142 AA; 15258 MW; 15E13666573BBBAE CRC64;
880 MVLSPADKTN VKAAWGKVGA HAGEYGAEAL ERMFLSFPTT KTYFPHFDLS HGSAQVKGHG
881 KKVADALTNA VAHVDDMPNA LSALSDLHAH KLRVDPVNFK LLSHCLLVTL AAHLPAEFTP
882 AVHASLDKFL ASVSTVLTSK YR
883 //
884 </pre>
885 </td></tr></table><p>
886 <p><h3>Database entry: tsw:hbb_human</h3>
887 <table width="90%"><tr><td bgcolor="#FFCCFF">
888 <pre>
889 ID HBB_HUMAN Reviewed; 147 AA.
890 AC P68871; A4GX73; B2ZUE0; P02023; Q13852; Q14481; Q14510; Q45KT0;
891 AC Q549N7; Q6FI08; Q6R7N2; Q8IZI1; Q9BX96; Q9UCD6; Q9UCP8; Q9UCP9;
892 DT 21-JUL-1986, integrated into UniProtKB/Swiss-Prot.
893 DT 23-JAN-2007, sequence version 2.
894 DT 13-JUN-2012, entry version 108.
895 DE RecName: Full=Hemoglobin subunit beta;
896 DE AltName: Full=Beta-globin;
897 DE AltName: Full=Hemoglobin beta chain;
898 DE Contains:
899 DE RecName: Full=LVV-hemorphin-7;
900 GN Name=HBB;
901 OS Homo sapiens (Human).
902 OC Eukaryota; Metazoa; Chordata; Craniata; Vertebrata; Euteleostomi;
903 OC Mammalia; Eutheria; Euarchontoglires; Primates; Haplorrhini;
904 OC Catarrhini; Hominidae; Homo.
905 OX NCBI_TaxID=9606;
906 RN [1]
907 RP NUCLEOTIDE SEQUENCE [GENOMIC DNA].
908 RX MEDLINE=77126403; PubMed=1019344;
909 RA Marotta C., Forget B., Cohen-Solal M., Weissman S.M.;
910 RT "Nucleotide sequence analysis of coding and noncoding regions of human
911 RT beta-globin mRNA.";
912 RL Prog. Nucleic Acid Res. Mol. Biol. 19:165-175(1976).
913 RN [2]
914 RP NUCLEOTIDE SEQUENCE [GENOMIC DNA].
915 RX MEDLINE=81064667; PubMed=6254664; DOI=10.1016/0092-8674(80)90428-6;
916 RA Lawn R.M., Efstratiadis A., O'Connell C., Maniatis T.;
917 RT "The nucleotide sequence of the human beta-globin gene.";
918 RL Cell 21:647-651(1980).
919 RN [3]
920 RP NUCLEOTIDE SEQUENCE [GENOMIC DNA], AND VARIANT LYS-7.
921 RX PubMed=16175509; DOI=10.1086/491748;
922 RA Wood E.T., Stover D.A., Slatkin M., Nachman M.W., Hammer M.F.;
923 RT "The beta-globin recombinational hotspot reduces the effects of strong
924 RT selection around HbC, a recently arisen mutation providing resistance
925 RT to malaria.";
926 RL Am. J. Hum. Genet. 77:637-642(2005).
927 RN [4]
928 RP NUCLEOTIDE SEQUENCE [GENOMIC DNA].
929 RA Lu L., Hu Z.H., Du C.S., Fu Y.S.;
930 RT "DNA sequence of the human beta-globin gene isolated from a healthy
931 RT Chinese.";
932 RL Submitted (JUN-1997) to the EMBL/GenBank/DDBJ databases.
933 RN [5]
934 RP NUCLEOTIDE SEQUENCE [GENOMIC DNA], AND VARIANT ARG-113.
935 RA Cabeda J.M., Correia C., Estevinho A., Cardoso C., Amorim M.L.,
936 RA Cleto E., Vale L., Coimbra E., Pinho L., Justica B.;
937 RT "Unexpected patterns of globin mutations in thalassemia patients from
938 RT north of Portugal.";
939
940
941 <font color=red> [Part of this file has been deleted for brevity]</font>
942
943 FT VARIANT 141 141 A -&gt; V (in Puttelange; polycythemia; O(2)
944 FT affinity up).
945 FT /FTId=VAR_003082.
946 FT VARIANT 142 142 L -&gt; R (in Olmsted; unstable).
947 FT /FTId=VAR_003083.
948 FT VARIANT 143 143 A -&gt; D (in Ohio; O(2) affinity up).
949 FT /FTId=VAR_003084.
950 FT VARIANT 144 144 H -&gt; D (in Rancho Mirage).
951 FT /FTId=VAR_003085.
952 FT VARIANT 144 144 H -&gt; P (in Syracuse; O(2) affinity up).
953 FT /FTId=VAR_003087.
954 FT VARIANT 144 144 H -&gt; Q (in Little Rock; O(2) affinity
955 FT up).
956 FT /FTId=VAR_003086.
957 FT VARIANT 144 144 H -&gt; R (in Abruzzo; O(2) affinity up).
958 FT /FTId=VAR_003088.
959 FT VARIANT 145 145 K -&gt; E (in Mito; O(2) affinity up).
960 FT /FTId=VAR_003089.
961 FT VARIANT 146 146 Y -&gt; C (in Rainier; O(2) affinity up).
962 FT /FTId=VAR_003090.
963 FT VARIANT 146 146 Y -&gt; H (in Bethesda; O(2) affinity up).
964 FT /FTId=VAR_003091.
965 FT VARIANT 147 147 H -&gt; D (in Hiroshima; O(2) affinity up).
966 FT /FTId=VAR_003092.
967 FT VARIANT 147 147 H -&gt; L (in Cowtown; O(2) affinity up).
968 FT /FTId=VAR_003093.
969 FT VARIANT 147 147 H -&gt; P (in York; O(2) affinity up).
970 FT /FTId=VAR_003094.
971 FT VARIANT 147 147 H -&gt; Q (in Kodaira; O(2) affinity up).
972 FT /FTId=VAR_003095.
973 FT CONFLICT 26 26 Missing (in Ref. 15; ACD39349).
974 FT CONFLICT 42 42 F -&gt; L (in Ref. 13; AAR96398).
975 FT HELIX 6 16
976 FT TURN 21 23
977 FT HELIX 24 35
978 FT HELIX 37 42
979 FT HELIX 44 46
980 FT HELIX 52 57
981 FT HELIX 59 77
982 FT TURN 78 80
983 FT HELIX 82 94
984 FT TURN 95 97
985 FT HELIX 102 119
986 FT HELIX 120 122
987 FT HELIX 125 142
988 FT HELIX 144 146
989 SQ SEQUENCE 147 AA; 15998 MW; A31F6D621C6556A1 CRC64;
990 MVHLTPEEKS AVTALWGKVN VDEVGGEALG RLLVVYPWTQ RFFESFGDLS TPDAVMGNPK
991 VKAHGKKVLG AFSDGLAHLD NLKGTFATLS ELHCDKLHVD PENFRLLGNV LVCVLAHHFG
992 KEFTPPVQAA YQKVVAGVAN ALAHKYH
993 //
994 </pre>
995 </td></tr></table><p>
996
997
998 <H2>
999 Output file format
1000 </H2>
1001
1002 <p>
1003
1004 The output is a standard EMBOSS alignment file.
1005
1006 <p>
1007
1008 The results can be output in one of several styles by using the
1009 command-line qualifier <tt>-aformat xxx</tt>, where 'xxx' is replaced by
1010 the name of the required format. Some of the alignment formats can cope
1011 with an unlimited number of sequences, while others are only for pairs
1012 of sequences.
1013
1014 <p>
1015
1016 The available multiple alignment format names are: multiple, simple,
1017 fasta, msf, clustal, mega, meganon, nexus,, nexusnon, phylip,
1018 phylipnon, selex, treecon, tcoffee, debug, srs.
1019
1020 <p>
1021
1022 The available pairwise alignment format names are: pair, markx0, markx1,
1023 markx2, markx3, markx10, match, sam, bam, score, srspair
1024
1025 <p>
1026
1027 See:
1028 <A href="http://emboss.sf.net/docs/themes/AlignFormats.html">
1029 http://emboss.sf.net/docs/themes/AlignFormats.html</A>
1030 for further information on alignment formats.
1031
1032 <p>
1033
1034 <p>
1035
1036 The default output format is 'markx0'.
1037
1038 <p>
1039
1040
1041 <a name="output.1"></a>
1042 <h3>Output files for usage example </h3>
1043 <p><h3>File: hba_human.stretcher</h3>
1044 <table width="90%"><tr><td bgcolor="#CCFFCC">
1045 <pre>
1046 ########################################
1047 # Program: stretcher
1048 # Rundate: Mon 15 Jul 2013 12:00:00
1049 # Commandline: stretcher
1050 # [-asequence] tsw:hba_human
1051 # [-bsequence] tsw:hbb_human
1052 # Align_format: markx0
1053 # Report_file: hba_human.stretcher
1054 ########################################
1055
1056 #=======================================
1057 #
1058 # Aligned_sequences: 2
1059 # 1: HBA_HUMAN
1060 # 2: HBB_HUMAN
1061 # Matrix: EBLOSUM62
1062 # Gap_penalty: 12
1063 # Extend_penalty: 2
1064 #
1065 # Length: 149
1066 # Identity: 65/149 (43.6%)
1067 # Similarity: 90/149 (60.4%)
1068 # Gaps: 9/149 ( 6.0%)
1069 # Score: 277
1070 #
1071 #
1072 #=======================================
1073
1074 10 20 30 40
1075 HBA_HU MV-LSPADKTNVKAAWGKVGAHAGEYGAEALERMFLSFPTTKTYFPHF-D
1076 :: :.: .:. : : :::: . : : ::: :. . .: :. .: : :
1077 HBB_HU MVHLTPEEKSAVTALWGKV--NVDEVGGEALGRLLVVYPWTQRFFESFGD
1078 10 20 30 40
1079
1080 50 60 70 80 90
1081 HBA_HU LSH-----GSAQVKGHGKKVADALTNAVAHVDDMPNALSALSDLHAHKLR
1082 :: :. .:: ::::: : .. .::.:.. . ::.:: ::
1083 HBB_HU LSTPDAVMGNPKVKAHGKKVLGAFSDGLAHLDNLKGTFATLSELHCDKLH
1084 50 60 70 80 90
1085
1086 100 110 120 130 140
1087 HBA_HU VDPVNFKLLSHCLLVTLAAHLPAEFTPAVHASLDKFLASVSTVLTSKYR
1088 ::: ::.:: . :. :: : :::: : :. : .: :. : ::
1089 HBB_HU VDPENFRLLGNVLVCVLAHHFGKEFTPPVQAAYQKVVAGVANALAHKYH
1090 100 110 120 130 140
1091
1092
1093 #---------------------------------------
1094 #---------------------------------------
1095 </pre>
1096 </td></tr></table><p>
1097
1098 <H2>
1099 Data files
1100 </H2>
1101
1102
1103 For protein sequences EBLOSUM62 is used for the substitution
1104 matrix. For nucleotide sequence, EDNAMAT is used. Others can be
1105 specified.
1106
1107 <p>
1108 EMBOSS data files are distributed with the application and stored
1109 in the standard EMBOSS data directory, which is defined
1110 by EMBOSS environment variable EMBOSS_DATA.
1111
1112 <p>
1113
1114 Users can provide their own data files in their own directories.
1115 Project specific files can be put in the current directory, or for
1116 tidier directory listings in a subdirectory called
1117 ".embossdata". Files for all EMBOSS runs can be put in the user's home
1118 directory, or again in a subdirectory called ".embossdata".
1119
1120 <p>
1121 The directories are searched in the following order:
1122
1123 <ul>
1124 <li> . (your current directory)
1125 <li> .embossdata (under your current directory)
1126 <li> ~/ (your home directory)
1127 <li> ~/.embossdata
1128 </ul>
1129
1130 <H2>
1131 Notes
1132 </H2>
1133
1134 <p>A global pairwise alignment is one where it is assumed that the two sequences have diverged from a common ancestor and that the program should try to stretch the two sequences, introducing gaps where necessary, in order to show the alignment over the whole length of the two sequences that best illustrates their similarities. In contrast, a local alignment program like <b>matcher</b> simply finds local, small parts of the two sequences where there is some similarity and makes no assumption about the whole length of the sequence needing to be similar.</p>
1135
1136 <H2>
1137 References
1138 </H2>
1139
1140 <ol>
1141
1142 <li>
1143 <a href="http://www.cs.arizona.edu/people/gene/PAPERS/linear.ps">
1144 E. Myers and W. Miller, "Optimal Alignments in Linear Space," CABIOS
1145 4, 1 (1988), 11-17.</a>
1146
1147 </ol>
1148
1149 <H2>
1150 Warnings
1151 </H2>
1152
1153 <p>Demonstration of similarity is not evidence of homology! This program will produce a global alignment even if there is no biological justification for thinking that there might be a common ancestor.</p>
1154
1155
1156
1157 <H2>
1158 Diagnostic Error Messages
1159 </H2>
1160
1161 None.
1162
1163 <H2>
1164 Exit status
1165 </H2>
1166
1167 It exits with a status of 0.
1168
1169 <H2>
1170 Known bugs
1171 </H2>
1172
1173 None.
1174
1175 <h2><a name="See also">See also</a></h2>
1176 <table border cellpadding=4 bgcolor="#FFFFF0">
1177 <tr><th>Program name</th>
1178 <th>Description</th></tr>
1179 <tr>
1180 <td><a href="est2genome.html">est2genome</a></td>
1181 <td>Align EST sequences to genomic DNA sequence</td>
1182 </tr>
1183
1184 <tr>
1185 <td><a href="needle.html">needle</a></td>
1186 <td>Needleman-Wunsch global alignment of two sequences</td>
1187 </tr>
1188
1189 <tr>
1190 <td><a href="needleall.html">needleall</a></td>
1191 <td>Many-to-many pairwise alignments of two sequence sets</td>
1192 </tr>
1193
1194 </table>
1195
1196 <H2>
1197 Author(s)
1198 </H2>
1199 The original program was written by Gene Myers and Webb Miller in 1989.
1200
1201 <p>
1202
1203 This application was modified for inclusion in EMBOSS by
1204 Ian Longden formerly at:
1205 <br>
1206 Sanger Institute, Wellcome Trust Genome Campus, Hinxton,
1207 Cambridge, CB10 1SA, UK.
1208
1209 <p>
1210 Please report all bugs to the EMBOSS bug team (emboss-bug&nbsp;&copy;&nbsp;emboss.open-bio.org) not to the original author.
1211
1212
1213 <H2>
1214 History
1215 </H2>
1216
1217
1218 Completed 13th May 1999.
1219
1220 <H2>
1221 Target users
1222 </H2>
1223 This program is intended to be used by everyone and everything, from naive users to embedded scripts.
1224
1225
1226 <H2>
1227 Comments
1228 </H2>
1229 None
1230
1231 </BODY>
1232 </HTML>
1233