Debian Codegraph @

doc/programs/html/aligncopypair.html

raw symbols SCIP
1 <HTML>
2 <HEAD>
3 <TITLE>
4 EMBOSS: aligncopypair
5 </TITLE>
6 </HEAD>
7 <BODY BGCOLOR="#FFFFFF" text="#000000">
8
9 <table align=center border=0 cellspacing=0 cellpadding=0>
10 <tr><td valign=top>
11 <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>
12 </td>
13 <td align=left valign=middle>
14 <b><font size="+6">
15 aligncopypair
16 </font></b>
17 </td></tr>
18 </table>
19 <br>&nbsp;
20 <p>
21
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 Read and write pairs from alignments
39 <!--
40 DON'T WRITE ANYTHING HERE.
41 IT IS DONE FOR YOU.
42 -->
43
44
45
46
47 <H2>
48 Description
49 </H2>
50
51 <!--
52 This is the main part of the document.
53 This is what the user looks at to find out if this program will do what he wants.
54 Long description.
55 Why it is useful.
56 When it should/shouldn't be used.
57 -->
58
59 <b>aligncopypair</b> reads a set of aligned sequences and reports the
60 alignment one pair at a time using any of the standard EMBOSS
61 alignment formats.
62
63
64
65
66 <H2>
67 Usage
68 </H2>
69
70 <!--
71 Example usage, as run from the command-line.
72 Many examples illustrating different behaviours is good.
73 -->
74
75 Here is a sample session with <b>aligncopypair</b>
76 <p>
77
78 <p>
79 <table width="90%"><tr><td bgcolor="#CCFFFF"><pre>
80
81 % <b>aligncopypair </b>
82 Read and write pairs from alignments
83 Input (aligned) sequence set: <b>globins.msf</b>
84 Output alignment [globins.aligncopypair]: <b></b>
85
86 </pre></td></tr></table><p>
87 <p>
88 <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>
89
90
91
92 <H2>
93 Command line arguments
94 </H2>
95
96 <table CELLSPACING=0 CELLPADDING=3 BGCOLOR="#f5f5ff" ><tr><td>
97 <pre>
98 Read and write pairs from alignments
99 Version: EMBOSS:6.6.0.0
100
101 Standard (Mandatory) qualifiers:
102 [-sequences] seqset File containing a sequence alignment.
103 [-outfile] align [*.aligncopypair] Output alignment file name
104 (default -aformat simple)
105
106 Additional (Optional) qualifiers:
107 -name string Name of the alignment (Any string)
108 -comment string Comment on the alignment (Any string)
109 -append boolean [N] This allows you to append the name and
110 comments you have given on to the end of the
111 existing alignment header.
112
113 Advanced (Unprompted) qualifiers: (none)
114 Associated qualifiers:
115
116 "-sequences" associated qualifiers
117 -sbegin1 integer Start of each sequence to be used
118 -send1 integer End of each sequence to be used
119 -sreverse1 boolean Reverse (if DNA)
120 -sask1 boolean Ask for begin/end/reverse
121 -snucleotide1 boolean Sequence is nucleotide
122 -sprotein1 boolean Sequence is protein
123 -slower1 boolean Make lower case
124 -supper1 boolean Make upper case
125 -scircular1 boolean Sequence is circular
126 -squick1 boolean Read id and sequence only
127 -sformat1 string Input sequence format
128 -iquery1 string Input query fields or ID list
129 -ioffset1 integer Input start position offset
130 -sdbname1 string Database name
131 -sid1 string Entryname
132 -ufo1 string UFO features
133 -fformat1 string Features format
134 -fopenfile1 string Features file name
135
136 "-outfile" associated qualifiers
137 -aformat2 string Alignment format
138 -aextension2 string File name extension
139 -adirectory2 string Output directory
140 -aname2 string Base file name
141 -awidth2 integer Alignment width
142 -aaccshow2 boolean Show accession number in the header
143 -adesshow2 boolean Show description in the header
144 -ausashow2 boolean Show the full USA in the alignment
145 -aglobal2 boolean Show the full sequence in alignment
146
147 General qualifiers:
148 -auto boolean Turn off prompts
149 -stdout boolean Write first file to standard output
150 -filter boolean Read first file from standard input, write
151 first file to standard output
152 -options boolean Prompt for standard and additional values
153 -debug boolean Write debug output to program.dbg
154 -verbose boolean Report some/full command line options
155 -help boolean Report command line options and exit. More
156 information on associated and general
157 qualifiers can be found with -help -verbose
158 -warning boolean Report warnings
159 -error boolean Report errors
160 -fatal boolean Report fatal errors
161 -die boolean Report dying program messages
162 -version boolean Report version number and exit
163
164 </pre>
165 </td></tr></table>
166 <P>
167 <table border cellspacing=0 cellpadding=3 bgcolor="#ccccff">
168 <tr bgcolor="#FFFFCC">
169 <th align="left">Qualifier</th>
170 <th align="left">Type</th>
171 <th align="left">Description</th>
172 <th align="left">Allowed values</th>
173 <th align="left">Default</th>
174 </tr>
175
176 <tr bgcolor="#FFFFCC">
177 <th align="left" colspan=5>Standard (Mandatory) qualifiers</th>
178 </tr>
179
180 <tr bgcolor="#FFFFCC">
181 <td>[-sequences]<br>(Parameter 1)</td>
182 <td>seqset</td>
183 <td>File containing a sequence alignment.</td>
184 <td>Readable set of sequences</td>
185 <td><b>Required</b></td>
186 </tr>
187
188 <tr bgcolor="#FFFFCC">
189 <td>[-outfile]<br>(Parameter 2)</td>
190 <td>align</td>
191 <td>Output alignment file name</td>
192 <td>(default -aformat simple)</td>
193 <td><i>&lt;*&gt;</i>.aligncopypair</td>
194 </tr>
195
196 <tr bgcolor="#FFFFCC">
197 <th align="left" colspan=5>Additional (Optional) qualifiers</th>
198 </tr>
199
200 <tr bgcolor="#FFFFCC">
201 <td>-name</td>
202 <td>string</td>
203 <td>Name of the alignment</td>
204 <td>Any string</td>
205 <td>&nbsp;</td>
206 </tr>
207
208 <tr bgcolor="#FFFFCC">
209 <td>-comment</td>
210 <td>string</td>
211 <td>Comment on the alignment</td>
212 <td>Any string</td>
213 <td>&nbsp;</td>
214 </tr>
215
216 <tr bgcolor="#FFFFCC">
217 <td>-append</td>
218 <td>boolean</td>
219 <td>This allows you to append the name and comments you have given on to the end of the existing alignment header.</td>
220 <td>Boolean value Yes/No</td>
221 <td>No</td>
222 </tr>
223
224 <tr bgcolor="#FFFFCC">
225 <th align="left" colspan=5>Advanced (Unprompted) qualifiers</th>
226 </tr>
227
228 <tr>
229 <td colspan=5>(none)</td>
230 </tr>
231
232 <tr bgcolor="#FFFFCC">
233 <th align="left" colspan=5>Associated qualifiers</th>
234 </tr>
235
236 <tr bgcolor="#FFFFCC">
237 <td align="left" colspan=5>"-sequences" associated seqset qualifiers
238 </td>
239 </tr>
240
241 <tr bgcolor="#FFFFCC">
242 <td> -sbegin1<br>-sbegin_sequences</td>
243 <td>integer</td>
244 <td>Start of each sequence to be used</td>
245 <td>Any integer value</td>
246 <td>0</td>
247 </tr>
248
249 <tr bgcolor="#FFFFCC">
250 <td> -send1<br>-send_sequences</td>
251 <td>integer</td>
252 <td>End of each sequence to be used</td>
253 <td>Any integer value</td>
254 <td>0</td>
255 </tr>
256
257 <tr bgcolor="#FFFFCC">
258 <td> -sreverse1<br>-sreverse_sequences</td>
259 <td>boolean</td>
260 <td>Reverse (if DNA)</td>
261 <td>Boolean value Yes/No</td>
262 <td>N</td>
263 </tr>
264
265 <tr bgcolor="#FFFFCC">
266 <td> -sask1<br>-sask_sequences</td>
267 <td>boolean</td>
268 <td>Ask for begin/end/reverse</td>
269 <td>Boolean value Yes/No</td>
270 <td>N</td>
271 </tr>
272
273 <tr bgcolor="#FFFFCC">
274 <td> -snucleotide1<br>-snucleotide_sequences</td>
275 <td>boolean</td>
276 <td>Sequence is nucleotide</td>
277 <td>Boolean value Yes/No</td>
278 <td>N</td>
279 </tr>
280
281 <tr bgcolor="#FFFFCC">
282 <td> -sprotein1<br>-sprotein_sequences</td>
283 <td>boolean</td>
284 <td>Sequence is protein</td>
285 <td>Boolean value Yes/No</td>
286 <td>N</td>
287 </tr>
288
289 <tr bgcolor="#FFFFCC">
290 <td> -slower1<br>-slower_sequences</td>
291 <td>boolean</td>
292 <td>Make lower case</td>
293 <td>Boolean value Yes/No</td>
294 <td>N</td>
295 </tr>
296
297 <tr bgcolor="#FFFFCC">
298 <td> -supper1<br>-supper_sequences</td>
299 <td>boolean</td>
300 <td>Make upper case</td>
301 <td>Boolean value Yes/No</td>
302 <td>N</td>
303 </tr>
304
305 <tr bgcolor="#FFFFCC">
306 <td> -scircular1<br>-scircular_sequences</td>
307 <td>boolean</td>
308 <td>Sequence is circular</td>
309 <td>Boolean value Yes/No</td>
310 <td>N</td>
311 </tr>
312
313 <tr bgcolor="#FFFFCC">
314 <td> -squick1<br>-squick_sequences</td>
315 <td>boolean</td>
316 <td>Read id and sequence only</td>
317 <td>Boolean value Yes/No</td>
318 <td>N</td>
319 </tr>
320
321 <tr bgcolor="#FFFFCC">
322 <td> -sformat1<br>-sformat_sequences</td>
323 <td>string</td>
324 <td>Input sequence format</td>
325 <td>Any string</td>
326 <td>&nbsp;</td>
327 </tr>
328
329 <tr bgcolor="#FFFFCC">
330 <td> -iquery1<br>-iquery_sequences</td>
331 <td>string</td>
332 <td>Input query fields or ID list</td>
333 <td>Any string</td>
334 <td>&nbsp;</td>
335 </tr>
336
337 <tr bgcolor="#FFFFCC">
338 <td> -ioffset1<br>-ioffset_sequences</td>
339 <td>integer</td>
340 <td>Input start position offset</td>
341 <td>Any integer value</td>
342 <td>0</td>
343 </tr>
344
345 <tr bgcolor="#FFFFCC">
346 <td> -sdbname1<br>-sdbname_sequences</td>
347 <td>string</td>
348 <td>Database name</td>
349 <td>Any string</td>
350 <td>&nbsp;</td>
351 </tr>
352
353 <tr bgcolor="#FFFFCC">
354 <td> -sid1<br>-sid_sequences</td>
355 <td>string</td>
356 <td>Entryname</td>
357 <td>Any string</td>
358 <td>&nbsp;</td>
359 </tr>
360
361 <tr bgcolor="#FFFFCC">
362 <td> -ufo1<br>-ufo_sequences</td>
363 <td>string</td>
364 <td>UFO features</td>
365 <td>Any string</td>
366 <td>&nbsp;</td>
367 </tr>
368
369 <tr bgcolor="#FFFFCC">
370 <td> -fformat1<br>-fformat_sequences</td>
371 <td>string</td>
372 <td>Features format</td>
373 <td>Any string</td>
374 <td>&nbsp;</td>
375 </tr>
376
377 <tr bgcolor="#FFFFCC">
378 <td> -fopenfile1<br>-fopenfile_sequences</td>
379 <td>string</td>
380 <td>Features file name</td>
381 <td>Any string</td>
382 <td>&nbsp;</td>
383 </tr>
384
385 <tr bgcolor="#FFFFCC">
386 <td align="left" colspan=5>"-outfile" associated align qualifiers
387 </td>
388 </tr>
389
390 <tr bgcolor="#FFFFCC">
391 <td> -aformat2<br>-aformat_outfile</td>
392 <td>string</td>
393 <td>Alignment format</td>
394 <td>Any string</td>
395 <td>simple</td>
396 </tr>
397
398 <tr bgcolor="#FFFFCC">
399 <td> -aextension2<br>-aextension_outfile</td>
400 <td>string</td>
401 <td>File name extension</td>
402 <td>Any string</td>
403 <td>&nbsp;</td>
404 </tr>
405
406 <tr bgcolor="#FFFFCC">
407 <td> -adirectory2<br>-adirectory_outfile</td>
408 <td>string</td>
409 <td>Output directory</td>
410 <td>Any string</td>
411 <td>&nbsp;</td>
412 </tr>
413
414 <tr bgcolor="#FFFFCC">
415 <td> -aname2<br>-aname_outfile</td>
416 <td>string</td>
417 <td>Base file name</td>
418 <td>Any string</td>
419 <td>&nbsp;</td>
420 </tr>
421
422 <tr bgcolor="#FFFFCC">
423 <td> -awidth2<br>-awidth_outfile</td>
424 <td>integer</td>
425 <td>Alignment width</td>
426 <td>Any integer value</td>
427 <td>0</td>
428 </tr>
429
430 <tr bgcolor="#FFFFCC">
431 <td> -aaccshow2<br>-aaccshow_outfile</td>
432 <td>boolean</td>
433 <td>Show accession number in the header</td>
434 <td>Boolean value Yes/No</td>
435 <td>N</td>
436 </tr>
437
438 <tr bgcolor="#FFFFCC">
439 <td> -adesshow2<br>-adesshow_outfile</td>
440 <td>boolean</td>
441 <td>Show description in the header</td>
442 <td>Boolean value Yes/No</td>
443 <td>N</td>
444 </tr>
445
446 <tr bgcolor="#FFFFCC">
447 <td> -ausashow2<br>-ausashow_outfile</td>
448 <td>boolean</td>
449 <td>Show the full USA in the alignment</td>
450 <td>Boolean value Yes/No</td>
451 <td>N</td>
452 </tr>
453
454 <tr bgcolor="#FFFFCC">
455 <td> -aglobal2<br>-aglobal_outfile</td>
456 <td>boolean</td>
457 <td>Show the full sequence in alignment</td>
458 <td>Boolean value Yes/No</td>
459 <td>N</td>
460 </tr>
461
462 <tr bgcolor="#FFFFCC">
463 <th align="left" colspan=5>General qualifiers</th>
464 </tr>
465
466 <tr bgcolor="#FFFFCC">
467 <td> -auto</td>
468 <td>boolean</td>
469 <td>Turn off prompts</td>
470 <td>Boolean value Yes/No</td>
471 <td>N</td>
472 </tr>
473
474 <tr bgcolor="#FFFFCC">
475 <td> -stdout</td>
476 <td>boolean</td>
477 <td>Write first file to standard output</td>
478 <td>Boolean value Yes/No</td>
479 <td>N</td>
480 </tr>
481
482 <tr bgcolor="#FFFFCC">
483 <td> -filter</td>
484 <td>boolean</td>
485 <td>Read first file from standard input, write first file to standard output</td>
486 <td>Boolean value Yes/No</td>
487 <td>N</td>
488 </tr>
489
490 <tr bgcolor="#FFFFCC">
491 <td> -options</td>
492 <td>boolean</td>
493 <td>Prompt for standard and additional values</td>
494 <td>Boolean value Yes/No</td>
495 <td>N</td>
496 </tr>
497
498 <tr bgcolor="#FFFFCC">
499 <td> -debug</td>
500 <td>boolean</td>
501 <td>Write debug output to program.dbg</td>
502 <td>Boolean value Yes/No</td>
503 <td>N</td>
504 </tr>
505
506 <tr bgcolor="#FFFFCC">
507 <td> -verbose</td>
508 <td>boolean</td>
509 <td>Report some/full command line options</td>
510 <td>Boolean value Yes/No</td>
511 <td>Y</td>
512 </tr>
513
514 <tr bgcolor="#FFFFCC">
515 <td> -help</td>
516 <td>boolean</td>
517 <td>Report command line options and exit. More information on associated and general qualifiers can be found with -help -verbose</td>
518 <td>Boolean value Yes/No</td>
519 <td>N</td>
520 </tr>
521
522 <tr bgcolor="#FFFFCC">
523 <td> -warning</td>
524 <td>boolean</td>
525 <td>Report warnings</td>
526 <td>Boolean value Yes/No</td>
527 <td>Y</td>
528 </tr>
529
530 <tr bgcolor="#FFFFCC">
531 <td> -error</td>
532 <td>boolean</td>
533 <td>Report errors</td>
534 <td>Boolean value Yes/No</td>
535 <td>Y</td>
536 </tr>
537
538 <tr bgcolor="#FFFFCC">
539 <td> -fatal</td>
540 <td>boolean</td>
541 <td>Report fatal errors</td>
542 <td>Boolean value Yes/No</td>
543 <td>Y</td>
544 </tr>
545
546 <tr bgcolor="#FFFFCC">
547 <td> -die</td>
548 <td>boolean</td>
549 <td>Report dying program messages</td>
550 <td>Boolean value Yes/No</td>
551 <td>Y</td>
552 </tr>
553
554 <tr bgcolor="#FFFFCC">
555 <td> -version</td>
556 <td>boolean</td>
557 <td>Report version number and exit</td>
558 <td>Boolean value Yes/No</td>
559 <td>N</td>
560 </tr>
561
562 </table>
563
564 <!--
565 DON'T WRITE ANYTHING HERE.
566 IT IS DONE FOR YOU.
567 -->
568
569
570
571
572
573
574
575
576 <H2>
577 Input file format
578 </H2>
579
580 <!--
581 This includes example input file formats.
582 This should be a detailed description and example - assume
583 someone will want to parse this file and will want to know what
584 happens in unusual cases - null input, etc.
585 -->
586
587 <b>aligncopypair</b> reads aligned nucleotide or protein sequences.
588
589 <p>
590 <p>
591
592 The input is a standard EMBOSS sequence query (also known as a 'USA').
593
594 <p>
595 Major sequence database sources defined as standard in EMBOSS
596 installations include srs:embl, srs:uniprot and ensembl
597
598 <p>
599
600 Data can also be read from sequence output in any supported format
601 written by an EMBOSS or third-party application.
602
603 <p>
604 The input format can be specified by using the
605 command-line qualifier <tt>-sformat xxx</tt>, where 'xxx' is replaced
606 by the name of the required format. The available format names are:
607 gff (gff3), gff2, embl (em), genbank (gb, refseq), ddbj, refseqp, pir
608 (nbrf), swissprot (swiss, sw), dasgff and debug.
609
610 <p>
611
612 See:
613 <A href="http://emboss.sf.net/docs/themes/SequenceFormats.html">
614 http://emboss.sf.net/docs/themes/SequenceFormats.html</A>
615 for further information on sequence formats.
616
617 <p>
618
619
620 <a name="input.1"></a>
621 <h3>Input files for usage example </h3>
622 <p><h3>File: globins.msf</h3>
623 <table width="90%"><tr><td bgcolor="#FFCCFF">
624 <pre>
625 !!AA_MULTIPLE_ALIGNMENT 1.0
626
627 ../data/globins.msf MSF: 164 Type: P 25/06/01 CompCheck: 4278 ..
628
629 Name: HBB_HUMAN Len: 164 Check: 6914 Weight: 0.61
630 Name: HBB_HORSE Len: 164 Check: 6007 Weight: 0.65
631 Name: HBA_HUMAN Len: 164 Check: 3921 Weight: 0.65
632 Name: HBA_HORSE Len: 164 Check: 4770 Weight: 0.83
633 Name: MYG_PHYCA Len: 164 Check: 7930 Weight: 1.00
634 Name: GLB5_PETMA Len: 164 Check: 1857 Weight: 0.91
635 Name: LGB2_LUPLU Len: 164 Check: 2879 Weight: 0.43
636
637 //
638
639 1 50
640 HBB_HUMAN ~~~~~~~~VHLTPEEKSAVTALWGKVN.VDEVGGEALGR.LLVVYPWTQR
641 HBB_HORSE ~~~~~~~~VQLSGEEKAAVLALWDKVN.EEEVGGEALGR.LLVVYPWTQR
642 HBA_HUMAN ~~~~~~~~~~~~~~VLSPADKTNVKAA.WGKVGAHAGEYGAEALERMFLS
643 HBA_HORSE ~~~~~~~~~~~~~~VLSAADKTNVKAA.WSKVGGHAGEYGAEALERMFLG
644 MYG_PHYCA ~~~~~~~VLSEGEWQLVLHVWAKVEAD.VAGHGQDILIR.LFKSHPETLE
645 GLB5_PETMA PIVDTGSVAPLSAAEKTKIRSAWAPVYSTYETSGVDILVKFFTSTPAAQE
646 LGB2_LUPLU ~~~~~~~~GALTESQAALVKSSWEEFNANIPKHTHRFFILVLEIAPAAKD
647
648 51 100
649 HBB_HUMAN FFESFGDLSTPDAVMGNPKVKAHGKKVLGAFSDGLAHLDNLKGTFATLSE
650 HBB_HORSE FFDSFGDLSNPGAVMGNPKVKAHGKKVLHSFGEGVHHLDNLKGTFAALSE
651 HBA_HUMAN FPTTKTYFPHFDLSHGSAQVKGHGKKVADALTNAVAHVDDMPNALSALSD
652 HBA_HORSE FPTTKTYFPHFDLSHGSAQVKAHGKKVGDALTLAVGHLDDLPGALSNLSD
653 MYG_PHYCA KFDRFKHLKTEAEMKASEDLKKHGVTVLTALGAILKKKGHHEAELKPLAQ
654 GLB5_PETMA FFPKFKGLTTADQLKKSADVRWHAERIINAVNDAVASMDDTEKMSMKLRD
655 LGB2_LUPLU LFSFLKGTSEVPQNNPELQAHAGKVFKLVYEAAIQLQVTGVVVTDATLKN
656
657 101 150
658 HBB_HUMAN LHCDKLH..VDPENFRLLGNVLVCVLAHHFGKEFTPPVQAAYQKVVAGVA
659 HBB_HORSE LHCDKLH..VDPENFRLLGNVLVVVLARHFGKDFTPELQASYQKVVAGVA
660 HBA_HUMAN LHAHKLR..VDPVNFKLLSHCLLVTLAAHLPAEFTPAVHASLDKFLASVS
661 HBA_HORSE LHAHKLR..VDPVNFKLLSHCLLSTLAVHLPNDFTPAVHASLDKFLSSVS
662 MYG_PHYCA SHATKHK..IPIKYLEFISEAIIHVLHSRHPGDFGADAQGAMNKALELFR
663 GLB5_PETMA LSGKHAK..SFQVDPQYFKVLAAVIADTVAAGDAGFEKLMSMICILLRSA
664 LGB2_LUPLU LGSVHVSKGVADAHFPVVKEAILKTIKEVVGAKWSEELNSAWTIAYDELA
665
666 151 164
667 HBB_HUMAN NALAHKYH~~~~~~
668 HBB_HORSE NALAHKYH~~~~~~
669 HBA_HUMAN TVLTSKYR~~~~~~
670 HBA_HORSE TVLTSKYR~~~~~~
671 MYG_PHYCA KDIAAKYKELGYQG
672 GLB5_PETMA Y~~~~~~~~~~~~~
673 LGB2_LUPLU IVIKKEMNDAA~~~
674
675 </pre>
676 </td></tr></table><p>
677
678
679
680
681
682 <H2>
683 Output file format
684 </H2>
685
686 <!--
687 This includes example output file formats.
688 This should be a detailed description and example - assume
689 someone will want to parse this file and will want to know what
690 happens in unusual cases - null output, errors etc.
691
692 If you wish to include the standard description of the avalable
693 report formats, use:
694 #include file="inc/reportformats.ihtml"
695 -->
696
697 <p>
698
699 The output is a standard EMBOSS alignment file.
700
701 <p>
702
703 The results can be output in one of several styles by using the
704 command-line qualifier <tt>-aformat xxx</tt>, where 'xxx' is replaced by
705 the name of the required format. Some of the alignment formats can cope
706 with an unlimited number of sequences, while others are only for pairs
707 of sequences.
708
709 <p>
710
711 The available multiple alignment format names are: multiple, simple,
712 fasta, msf, clustal, mega, meganon, nexus,, nexusnon, phylip,
713 phylipnon, selex, treecon, tcoffee, debug, srs.
714
715 <p>
716
717 The available pairwise alignment format names are: pair, markx0, markx1,
718 markx2, markx3, markx10, match, sam, bam, score, srspair
719
720 <p>
721
722 See:
723 <A href="http://emboss.sf.net/docs/themes/AlignFormats.html">
724 http://emboss.sf.net/docs/themes/AlignFormats.html</A>
725 for further information on alignment formats.
726
727 <p>
728
729
730 <p>
731
732
733 <a name="output.1"></a>
734 <h3>Output files for usage example </h3>
735 <p><h3>File: globins.aligncopypair</h3>
736 <table width="90%"><tr><td bgcolor="#CCFFCC">
737 <pre>
738 ########################################
739 # Program: aligncopypair
740 # Rundate: Mon 15 Jul 2013 12:00:00
741 # Commandline: aligncopypair
742 # -sequences ../../data/globins.msf
743 # Align_format: simple
744 # Report_file: globins.aligncopypair
745 ########################################
746
747 #=======================================
748 #
749 # Aligned_sequences: 2
750 # 1: HBB_HUMAN
751 # 2: HBB_HORSE
752 # Matrix: EBLOSUM62
753 #
754 # Length: 164
755 # Identity: 122/164 (74.4%)
756 # Similarity: 146/164 (89.0%)
757 # Gaps: 18/164 (11.0%)
758 #
759 #
760 #=======================================
761
762 HBB_HUMAN 1 --------VHLTPEEKSAVTALWGKVN-VDEVGGEALGR-LLVVYPWTQR 40
763 |.|:.|||:||.|||.||| .:||||||||| ||||||||||
764 HBB_HORSE 1 --------VQLSGEEKAAVLALWDKVN-EEEVGGEALGR-LLVVYPWTQR 40
765
766 HBB_HUMAN 41 FFESFGDLSTPDAVMGNPKVKAHGKKVLGAFSDGLAHLDNLKGTFATLSE 90
767 ||:||||||.|.||||||||||||||||.:|.:|:.||||||||||.|||
768 HBB_HORSE 41 FFDSFGDLSNPGAVMGNPKVKAHGKKVLHSFGEGVHHLDNLKGTFAALSE 90
769
770 HBB_HUMAN 91 LHCDKLH--VDPENFRLLGNVLVCVLAHHFGKEFTPPVQAAYQKVVAGVA 138
771 ||||||| ||||||||||||||.|||.||||:|||.:||:|||||||||
772 HBB_HORSE 91 LHCDKLH--VDPENFRLLGNVLVVVLARHFGKDFTPELQASYQKVVAGVA 138
773
774 HBB_HUMAN 139 NALAHKYH------ 146
775 ||||||||
776 HBB_HORSE 139 NALAHKYH------ 146
777
778
779 #=======================================
780 #
781 # Aligned_sequences: 2
782 # 1: HBB_HUMAN
783 # 2: HBA_HUMAN
784 # Matrix: EBLOSUM62
785 #
786 # Length: 164
787 # Identity: 48/164 (29.3%)
788
789
790 <font color=red> [Part of this file has been deleted for brevity]</font>
791
792 MYG_PHYCA 1 -------VLSEGEWQLVLHVWAKVEAD-VAGHGQDILIR-LFKSHPETLE 41
793 .:..|.|..|...:..|.: ........... :.:..|...:
794 LGB2_LUPLU 1 --------GALTESQAALVKSSWEEFNANIPKHTHRFFILVLEIAPAAKD 42
795
796 MYG_PHYCA 42 KFDRFKHLKTEAEMKASEDLKKHGVTVLTALGAILKKKGHHEAELKPLAQ 91
797 .|...|......:...........|..|....||..:..........|..
798 LGB2_LUPLU 43 LFSFLKGTSEVPQNNPELQAHAGKVFKLVYEAAIQLQVTGVVVTDATLKN 92
799
800 MYG_PHYCA 92 SHATKHK--IPIKYLEFISEAIIHVLHSRHPGDFGADAQGAMNKALELFR 139
801 ..:.... :...:...:.|||:..:.......:..:...|...|.:...
802 LGB2_LUPLU 93 LGSVHVSKGVADAHFPVVKEAILKTIKEVVGAKWSEELNSAWTIAYDELA 142
803
804 MYG_PHYCA 140 KDIAAKYKELGYQG 153
805 ..|..:..:..
806 LGB2_LUPLU 143 IVIKKEMNDAA--- 153
807
808
809 #=======================================
810 #
811 # Aligned_sequences: 2
812 # 1: GLB5_PETMA
813 # 2: LGB2_LUPLU
814 # Matrix: EBLOSUM62
815 #
816 # Length: 164
817 # Identity: 17/164 (10.4%)
818 # Similarity: 149/164 (90.9%)
819 # Gaps: 23/164 (14.0%)
820 #
821 #
822 #=======================================
823
824 GLB5_PETMA 1 PIVDTGSVAPLSAAEKTKIRSAWAPVYSTYETSGVDILVKFFTSTPAAQE 50
825 ..|:.::...::|:|....:..........:......|||::
826 LGB2_LUPLU 1 --------GALTESQAALVKSSWEEFNANIPKHTHRFFILVLEIAPAAKD 42
827
828 GLB5_PETMA 51 FFPKFKGLTTADQLKKSADVRWHAERIINAVNDAVASMDDTEKMSMKLRD 100
829 .|...||.:...|..............:.........:.........|::
830 LGB2_LUPLU 43 LFSFLKGTSEVPQNNPELQAHAGKVFKLVYEAAIQLQVTGVVVTDATLKN 92
831
832 GLB5_PETMA 101 LSGKHAK--SFQVDPQYFKVLAAVIADTVAAGDAGFEKLMSMICILLRSA 148
833 |...|.. .........|.........|.......|...:........|
834 LGB2_LUPLU 93 LGSVHVSKGVADAHFPVVKEAILKTIKEVVGAKWSEELNSAWTIAYDELA 142
835
836 GLB5_PETMA 149 Y------------- 149
837 .
838 LGB2_LUPLU 143 IVIKKEMNDAA--- 153
839
840
841 #---------------------------------------
842 #---------------------------------------
843 </pre>
844 </td></tr></table><p>
845
846
847
848
849
850 <H2>
851 Data files
852 </H2>
853
854
855 For protein sequences EBLOSUM62 is used for the substitution matrix.
856 For nucleotide sequence, EDNAFULL is used.
857
858 <p>
859 EMBOSS data files are distributed with the application and stored
860 in the standard EMBOSS data directory, which is defined
861 by the EMBOSS environment variable EMBOSS_DATA.
862
863 <p>
864
865 To see the available EMBOSS data files, run:
866 <p>
867 <pre>
868 % embossdata -showall
869 </pre>
870 <p>
871 To fetch one of the data files (for example 'Exxx.dat') into your
872 current directory for you to inspect or modify, run:
873
874 <pre>
875
876 % embossdata -fetch -file Exxx.dat
877
878 </pre>
879 <p>
880
881 Users can provide their own data files in their own directories.
882 Project specific files can be put in the current directory, or for
883 tidier directory listings in a subdirectory called
884 ".embossdata". Files for all EMBOSS runs can be put in the user's home
885 directory, or again in a subdirectory called ".embossdata".
886
887 <p>
888 The directories are searched in the following order:
889
890 <ul>
891 <li> . (your current directory)
892 <li> .embossdata (under your current directory)
893 <li> ~/ (your home directory)
894 <li> ~/.embossdata
895 </ul>
896 <p>
897
898
899
900
901
902
903
904
905
906
907 <H2>
908 Notes
909 </H2>
910
911 <!--
912 Restrictions.
913 Interesting behaviour.
914 Useful things you can do with this program.
915 -->
916
917 None.
918
919
920
921
922
923
924
925 <H2>
926 References
927 </H2>
928
929 <!--
930 Bibliography for methods used.
931 <ol>
932
933 <li>
934
935 </ol>
936
937 -->
938
939 None.
940
941
942
943
944
945
946
947
948 <H2>
949 Warnings
950 </H2>
951
952 <!--
953 Potentially stupid things the program will let you do.
954 -->
955
956 None.
957
958
959
960
961
962
963
964 <H2>
965 Diagnostic Error Messages
966 </H2>
967
968 <!--
969 Error messages specific to this program, eg:
970 "FATAL xxx" - means you have not set up the xxx data using program <b>prog</b>.<p>
971 -->
972
973 None.
974
975
976
977
978
979
980
981 <H2>
982 Exit status
983 </H2>
984
985 <!--
986 Description of the exit status for various error conditions
987 -->
988
989 It always exits with status 0.
990
991
992
993
994
995
996
997
998 <H2>
999 Known bugs
1000 </H2>
1001
1002
1003 <!--
1004 Bugs noted but not yet fixed.
1005 -->
1006
1007 None.
1008
1009
1010
1011
1012
1013
1014
1015
1016 <!--
1017 <H2>
1018 See also
1019 </H2>
1020 -->
1021 <h2><a name="See also">See also</a></h2>
1022 <table border cellpadding=4 bgcolor="#FFFFF0">
1023 <tr><th>Program name</th>
1024 <th>Description</th></tr>
1025 <tr>
1026 <td><a href="aligncopy.html">aligncopy</a></td>
1027 <td>Read and write alignments</td>
1028 </tr>
1029
1030 <tr>
1031 <td><a href="biosed.html">biosed</a></td>
1032 <td>Replace or delete sequence sections</td>
1033 </tr>
1034
1035 <tr>
1036 <td><a href="codcopy.html">codcopy</a></td>
1037 <td>Copy and reformat a codon usage table</td>
1038 </tr>
1039
1040 <tr>
1041 <td><a href="cutseq.html">cutseq</a></td>
1042 <td>Remove a section from a sequence</td>
1043 </tr>
1044
1045 <tr>
1046 <td><a href="degapseq.html">degapseq</a></td>
1047 <td>Remove non-alphabetic (e.g. gap) characters from sequences</td>
1048 </tr>
1049
1050 <tr>
1051 <td><a href="descseq.html">descseq</a></td>
1052 <td>Alter the name or description of a sequence</td>
1053 </tr>
1054
1055 <tr>
1056 <td><a href="entret.html">entret</a></td>
1057 <td>Retrieve sequence entries from flatfile databases and files</td>
1058 </tr>
1059
1060 <tr>
1061 <td><a href="extractalign.html">extractalign</a></td>
1062 <td>Extract regions from a sequence alignment</td>
1063 </tr>
1064
1065 <tr>
1066 <td><a href="extractfeat.html">extractfeat</a></td>
1067 <td>Extract features from sequence(s)</td>
1068 </tr>
1069
1070 <tr>
1071 <td><a href="extractseq.html">extractseq</a></td>
1072 <td>Extract regions from a sequence</td>
1073 </tr>
1074
1075 <tr>
1076 <td><a href="featcopy.html">featcopy</a></td>
1077 <td>Read and write a feature table</td>
1078 </tr>
1079
1080 <tr>
1081 <td><a href="featmerge.html">featmerge</a></td>
1082 <td>Merge two overlapping feature tables</td>
1083 </tr>
1084
1085 <tr>
1086 <td><a href="featreport.html">featreport</a></td>
1087 <td>Read and write a feature table</td>
1088 </tr>
1089
1090 <tr>
1091 <td><a href="feattext.html">feattext</a></td>
1092 <td>Return a feature table original text</td>
1093 </tr>
1094
1095 <tr>
1096 <td><a href="listor.html">listor</a></td>
1097 <td>Write a list file of the logical OR of two sets of sequences</td>
1098 </tr>
1099
1100 <tr>
1101 <td><a href="makenucseq.html">makenucseq</a></td>
1102 <td>Create random nucleotide sequences</td>
1103 </tr>
1104
1105 <tr>
1106 <td><a href="makeprotseq.html">makeprotseq</a></td>
1107 <td>Create random protein sequences</td>
1108 </tr>
1109
1110 <tr>
1111 <td><a href="maskambignuc.html">maskambignuc</a></td>
1112 <td>Mask all ambiguity characters in nucleotide sequences with N</td>
1113 </tr>
1114
1115 <tr>
1116 <td><a href="maskambigprot.html">maskambigprot</a></td>
1117 <td>Mask all ambiguity characters in protein sequences with X</td>
1118 </tr>
1119
1120 <tr>
1121 <td><a href="maskfeat.html">maskfeat</a></td>
1122 <td>Write a sequence with masked features</td>
1123 </tr>
1124
1125 <tr>
1126 <td><a href="maskseq.html">maskseq</a></td>
1127 <td>Write a sequence with masked regions</td>
1128 </tr>
1129
1130 <tr>
1131 <td><a href="newseq.html">newseq</a></td>
1132 <td>Create a sequence file from a typed-in sequence</td>
1133 </tr>
1134
1135 <tr>
1136 <td><a href="nohtml.html">nohtml</a></td>
1137 <td>Remove mark-up (e.g. HTML tags) from an ASCII text file</td>
1138 </tr>
1139
1140 <tr>
1141 <td><a href="noreturn.html">noreturn</a></td>
1142 <td>Remove carriage return from ASCII files</td>
1143 </tr>
1144
1145 <tr>
1146 <td><a href="nospace.html">nospace</a></td>
1147 <td>Remove whitespace from an ASCII text file</td>
1148 </tr>
1149
1150 <tr>
1151 <td><a href="notab.html">notab</a></td>
1152 <td>Replace tabs with spaces in an ASCII text file</td>
1153 </tr>
1154
1155 <tr>
1156 <td><a href="notseq.html">notseq</a></td>
1157 <td>Write to file a subset of an input stream of sequences</td>
1158 </tr>
1159
1160 <tr>
1161 <td><a href="nthseq.html">nthseq</a></td>
1162 <td>Write to file a single sequence from an input stream of sequences</td>
1163 </tr>
1164
1165 <tr>
1166 <td><a href="nthseqset.html">nthseqset</a></td>
1167 <td>Read and write (return) one set of sequences from many</td>
1168 </tr>
1169
1170 <tr>
1171 <td><a href="pasteseq.html">pasteseq</a></td>
1172 <td>Insert one sequence into another</td>
1173 </tr>
1174
1175 <tr>
1176 <td><a href="revseq.html">revseq</a></td>
1177 <td>Reverse and complement a nucleotide sequence</td>
1178 </tr>
1179
1180 <tr>
1181 <td><a href="seqcount.html">seqcount</a></td>
1182 <td>Read and count sequences</td>
1183 </tr>
1184
1185 <tr>
1186 <td><a href="seqret.html">seqret</a></td>
1187 <td>Read and write (return) sequences</td>
1188 </tr>
1189
1190 <tr>
1191 <td><a href="seqretsetall.html">seqretsetall</a></td>
1192 <td>Read and write (return) many sets of sequences</td>
1193 </tr>
1194
1195 <tr>
1196 <td><a href="seqretsplit.html">seqretsplit</a></td>
1197 <td>Read sequences and write them to individual files</td>
1198 </tr>
1199
1200 <tr>
1201 <td><a href="sizeseq.html">sizeseq</a></td>
1202 <td>Sort sequences by size</td>
1203 </tr>
1204
1205 <tr>
1206 <td><a href="skipredundant.html">skipredundant</a></td>
1207 <td>Remove redundant sequences from an input set</td>
1208 </tr>
1209
1210 <tr>
1211 <td><a href="skipseq.html">skipseq</a></td>
1212 <td>Read and write (return) sequences, skipping first few</td>
1213 </tr>
1214
1215 <tr>
1216 <td><a href="splitsource.html">splitsource</a></td>
1217 <td>Split sequence(s) into original source sequences</td>
1218 </tr>
1219
1220 <tr>
1221 <td><a href="splitter.html">splitter</a></td>
1222 <td>Split sequence(s) into smaller sequences</td>
1223 </tr>
1224
1225 <tr>
1226 <td><a href="trimest.html">trimest</a></td>
1227 <td>Remove poly-A tails from nucleotide sequences</td>
1228 </tr>
1229
1230 <tr>
1231 <td><a href="trimseq.html">trimseq</a></td>
1232 <td>Remove unwanted characters from start and end of sequence(s)</td>
1233 </tr>
1234
1235 <tr>
1236 <td><a href="trimspace.html">trimspace</a></td>
1237 <td>Remove extra whitespace from an ASCII text file</td>
1238 </tr>
1239
1240 <tr>
1241 <td><a href="union.html">union</a></td>
1242 <td>Concatenate multiple sequences into a single sequence</td>
1243 </tr>
1244
1245 <tr>
1246 <td><a href="vectorstrip.html">vectorstrip</a></td>
1247 <td>Remove vectors from the ends of nucleotide sequence(s)</td>
1248 </tr>
1249
1250 <tr>
1251 <td><a href="yank.html">yank</a></td>
1252 <td>Add a sequence reference (a full USA) to a list file</td>
1253 </tr>
1254
1255 </table>
1256 <!--
1257 Add any comments about other associated programs (to prepare
1258 data files?) that seealso doesn't find.
1259 -->
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270 <H2>
1271 Author(s)
1272 </H2>
1273
1274 Jon Ison
1275 <br>
1276 European Bioinformatics Institute, Wellcome Trust Genome Campus, Hinxton, Cambridge CB10 1SD, UK
1277
1278 <p>
1279 Please report all bugs to the EMBOSS bug team (emboss-bug&nbsp;&copy;&nbsp;emboss.open-bio.org) not to the original author.
1280
1281
1282
1283
1284 <H2>
1285 History
1286 </H2>
1287 <!--
1288 Date written and what changes have been made go in this file.
1289 -->
1290
1291
1292
1293
1294 <H2>
1295 Target users
1296 </H2>
1297 <!--
1298 For general users, use this text
1299 -->
1300 This program is intended to be used by everyone and everything, from naive users to embedded scripts.
1301
1302 <H2>
1303 Comments
1304 </H2>
1305 <!--
1306 User/developer/other comments go in this file.
1307 -->
1308 None
1309
1310
1311 </BODY>
1312 </HTML>
1313