Debian Codegraph @

doc/programs/html/listor.html

raw symbols SCIP
1 <HTML>
2 <HEAD>
3 <TITLE>
4 EMBOSS: listor
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 listor
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 Write a list file of the logical OR of two sets of sequences
39
40 <H2>
41 Description
42 </H2>
43
44 <p><b>listor</b> reads in two sets of sequences (typically specified as list files) and writes out a list file that result from the logical union of the two sets. A list file is a file with a list of Uniform Sequence Addresses (USAs), for example, a list of file names. When comparing sequences from the input sets, no use is made of the ID name or accession number; only the sequence itself is compared. The comparison of the sequences is case-independent. The logical union is an OR operation by default. Other available operations are: <tt>AND</tt>, <tt>XOR</tt> and <tt>NOT</tt>.</p>
45
46
47 <H2>
48 Algorithm
49 </H2>
50
51 <p>All the input sequences are kept in memory while the logical unions of the two input sets of sequences is calculated. <b>listor</b> is therefore restricted by the available memory. </p>
52
53 <H2>
54 Usage
55 </H2>
56 Here is a sample session with <b>listor</b>
57 <p>
58 Write the logical OR of two lists:
59 <p>
60
61 <p>
62 <table width="90%"><tr><td bgcolor="#CCFFFF"><pre>
63
64 % <b>listor ../data/file2 </b>
65 Write a list file of the logical OR of two sets of sequences
66 List of USAs output file [file1.list]: <b></b>
67
68 </pre></td></tr></table><p>
69 <p>
70 <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>
71 <p>
72 <b>Example 2</b>
73 <p>
74 Write the logical AND of two lists:
75 <p>
76
77 <p>
78 <table width="90%"><tr><td bgcolor="#CCFFFF"><pre>
79
80 % <b>listor ../data/file2 -operator and </b>
81 Write a list file of the logical OR of two sets of sequences
82 List of USAs output file [file1.list]: <b></b>
83
84 </pre></td></tr></table><p>
85 <p>
86 <a href="#output.2">Go to the output files for this example</a><p><p>
87 <p>
88 <b>Example 3</b>
89 <p>
90 Write the logical XOR of two lists:
91 <p>
92
93 <p>
94 <table width="90%"><tr><td bgcolor="#CCFFFF"><pre>
95
96 % <b>listor ../data/file2 -operator xor </b>
97 Write a list file of the logical OR of two sets of sequences
98 List of USAs output file [file1.list]: <b></b>
99
100 </pre></td></tr></table><p>
101 <p>
102 <a href="#output.3">Go to the output files for this example</a><p><p>
103 <p>
104 <b>Example 4</b>
105 <p>
106 Write the logical NOT of two lists:
107 <p>
108
109 <p>
110 <table width="90%"><tr><td bgcolor="#CCFFFF"><pre>
111
112 % <b>listor ../data/file2 -operator not </b>
113 Write a list file of the logical OR of two sets of sequences
114 List of USAs output file [file1.list]: <b></b>
115
116 </pre></td></tr></table><p>
117 <p>
118 <a href="#output.4">Go to the output files for this example</a><p><p>
119
120 <H2>
121 Command line arguments
122 </H2>
123
124 <table CELLSPACING=0 CELLPADDING=3 BGCOLOR="#f5f5ff" ><tr><td>
125 <pre>
126 Write a list file of the logical OR of two sets of sequences
127 Version: EMBOSS:6.6.0.0
128
129 Standard (Mandatory) qualifiers:
130 [-firstsequences] seqset Sequence set filename and optional format,
131 or reference (input USA)
132 [-secondsequences] seqset Sequence set filename and optional format,
133 or reference (input USA)
134 [-outfile] outfile [*.listor] The list of sequence names will
135 be written to this list file
136
137 Additional (Optional) qualifiers:
138 -operator menu [OR] The following logical operators combine
139 the sequences in the following ways:
140 OR - gives all that occur in one set or the
141 other
142 AND - gives only those which occur in both
143 sets
144 XOR - gives those which only occur in one
145 set or the other, but not in both
146 NOT - gives those which occur in the first
147 set except for those that also occur in the
148 second (Values: OR (OR - merger of both
149 sets); AND (AND - only those in both sets);
150 XOR (XOR - only those not in both sets); NOT
151 (NOT - those of the first set that are not
152 in the second))
153
154 Advanced (Unprompted) qualifiers: (none)
155 Associated qualifiers:
156
157 "-firstsequences" associated qualifiers
158 -sbegin1 integer Start of each sequence to be used
159 -send1 integer End of each sequence to be used
160 -sreverse1 boolean Reverse (if DNA)
161 -sask1 boolean Ask for begin/end/reverse
162 -snucleotide1 boolean Sequence is nucleotide
163 -sprotein1 boolean Sequence is protein
164 -slower1 boolean Make lower case
165 -supper1 boolean Make upper case
166 -scircular1 boolean Sequence is circular
167 -squick1 boolean Read id and sequence only
168 -sformat1 string Input sequence format
169 -iquery1 string Input query fields or ID list
170 -ioffset1 integer Input start position offset
171 -sdbname1 string Database name
172 -sid1 string Entryname
173 -ufo1 string UFO features
174 -fformat1 string Features format
175 -fopenfile1 string Features file name
176
177 "-secondsequences" associated qualifiers
178 -sbegin2 integer Start of each sequence to be used
179 -send2 integer End of each sequence to be used
180 -sreverse2 boolean Reverse (if DNA)
181 -sask2 boolean Ask for begin/end/reverse
182 -snucleotide2 boolean Sequence is nucleotide
183 -sprotein2 boolean Sequence is protein
184 -slower2 boolean Make lower case
185 -supper2 boolean Make upper case
186 -scircular2 boolean Sequence is circular
187 -squick2 boolean Read id and sequence only
188 -sformat2 string Input sequence format
189 -iquery2 string Input query fields or ID list
190 -ioffset2 integer Input start position offset
191 -sdbname2 string Database name
192 -sid2 string Entryname
193 -ufo2 string UFO features
194 -fformat2 string Features format
195 -fopenfile2 string Features file name
196
197 "-outfile" associated qualifiers
198 -odirectory3 string Output directory
199
200 General qualifiers:
201 -auto boolean Turn off prompts
202 -stdout boolean Write first file to standard output
203 -filter boolean Read first file from standard input, write
204 first file to standard output
205 -options boolean Prompt for standard and additional values
206 -debug boolean Write debug output to program.dbg
207 -verbose boolean Report some/full command line options
208 -help boolean Report command line options and exit. More
209 information on associated and general
210 qualifiers can be found with -help -verbose
211 -warning boolean Report warnings
212 -error boolean Report errors
213 -fatal boolean Report fatal errors
214 -die boolean Report dying program messages
215 -version boolean Report version number and exit
216
217 </pre>
218 </td></tr></table>
219 <P>
220 <table border cellspacing=0 cellpadding=3 bgcolor="#ccccff">
221 <tr bgcolor="#FFFFCC">
222 <th align="left">Qualifier</th>
223 <th align="left">Type</th>
224 <th align="left">Description</th>
225 <th align="left">Allowed values</th>
226 <th align="left">Default</th>
227 </tr>
228
229 <tr bgcolor="#FFFFCC">
230 <th align="left" colspan=5>Standard (Mandatory) qualifiers</th>
231 </tr>
232
233 <tr bgcolor="#FFFFCC">
234 <td>[-firstsequences]<br>(Parameter 1)</td>
235 <td>seqset</td>
236 <td>Sequence set filename and optional format, or reference (input USA)</td>
237 <td>Readable set of sequences</td>
238 <td><b>Required</b></td>
239 </tr>
240
241 <tr bgcolor="#FFFFCC">
242 <td>[-secondsequences]<br>(Parameter 2)</td>
243 <td>seqset</td>
244 <td>Sequence set filename and optional format, or reference (input USA)</td>
245 <td>Readable set of sequences</td>
246 <td><b>Required</b></td>
247 </tr>
248
249 <tr bgcolor="#FFFFCC">
250 <td>[-outfile]<br>(Parameter 3)</td>
251 <td>outfile</td>
252 <td>The list of sequence names will be written to this list file</td>
253 <td>Output file</td>
254 <td><i>&lt;*&gt;</i>.listor</td>
255 </tr>
256
257 <tr bgcolor="#FFFFCC">
258 <th align="left" colspan=5>Additional (Optional) qualifiers</th>
259 </tr>
260
261 <tr bgcolor="#FFFFCC">
262 <td>-operator</td>
263 <td>list</td>
264 <td>The following logical operators combine the sequences in the following ways:
265 OR - gives all that occur in one set or the other
266 AND - gives only those which occur in both sets
267 XOR - gives those which only occur in one set or the other, but not in both
268 NOT - gives those which occur in the first set except for those that also occur in the second</td>
269 <td><table><tr><td>OR</td> <td><i>(OR - merger of both sets)</i></td></tr><tr><td>AND</td> <td><i>(AND - only those in both sets)</i></td></tr><tr><td>XOR</td> <td><i>(XOR - only those not in both sets)</i></td></tr><tr><td>NOT</td> <td><i>(NOT - those of the first set that are not in the second)</i></td></tr></table></td>
270 <td>OR</td>
271 </tr>
272
273 <tr bgcolor="#FFFFCC">
274 <th align="left" colspan=5>Advanced (Unprompted) qualifiers</th>
275 </tr>
276
277 <tr>
278 <td colspan=5>(none)</td>
279 </tr>
280
281 <tr bgcolor="#FFFFCC">
282 <th align="left" colspan=5>Associated qualifiers</th>
283 </tr>
284
285 <tr bgcolor="#FFFFCC">
286 <td align="left" colspan=5>"-firstsequences" associated seqset qualifiers
287 </td>
288 </tr>
289
290 <tr bgcolor="#FFFFCC">
291 <td> -sbegin1<br>-sbegin_firstsequences</td>
292 <td>integer</td>
293 <td>Start of each sequence to be used</td>
294 <td>Any integer value</td>
295 <td>0</td>
296 </tr>
297
298 <tr bgcolor="#FFFFCC">
299 <td> -send1<br>-send_firstsequences</td>
300 <td>integer</td>
301 <td>End of each sequence to be used</td>
302 <td>Any integer value</td>
303 <td>0</td>
304 </tr>
305
306 <tr bgcolor="#FFFFCC">
307 <td> -sreverse1<br>-sreverse_firstsequences</td>
308 <td>boolean</td>
309 <td>Reverse (if DNA)</td>
310 <td>Boolean value Yes/No</td>
311 <td>N</td>
312 </tr>
313
314 <tr bgcolor="#FFFFCC">
315 <td> -sask1<br>-sask_firstsequences</td>
316 <td>boolean</td>
317 <td>Ask for begin/end/reverse</td>
318 <td>Boolean value Yes/No</td>
319 <td>N</td>
320 </tr>
321
322 <tr bgcolor="#FFFFCC">
323 <td> -snucleotide1<br>-snucleotide_firstsequences</td>
324 <td>boolean</td>
325 <td>Sequence is nucleotide</td>
326 <td>Boolean value Yes/No</td>
327 <td>N</td>
328 </tr>
329
330 <tr bgcolor="#FFFFCC">
331 <td> -sprotein1<br>-sprotein_firstsequences</td>
332 <td>boolean</td>
333 <td>Sequence is protein</td>
334 <td>Boolean value Yes/No</td>
335 <td>N</td>
336 </tr>
337
338 <tr bgcolor="#FFFFCC">
339 <td> -slower1<br>-slower_firstsequences</td>
340 <td>boolean</td>
341 <td>Make lower case</td>
342 <td>Boolean value Yes/No</td>
343 <td>N</td>
344 </tr>
345
346 <tr bgcolor="#FFFFCC">
347 <td> -supper1<br>-supper_firstsequences</td>
348 <td>boolean</td>
349 <td>Make upper case</td>
350 <td>Boolean value Yes/No</td>
351 <td>N</td>
352 </tr>
353
354 <tr bgcolor="#FFFFCC">
355 <td> -scircular1<br>-scircular_firstsequences</td>
356 <td>boolean</td>
357 <td>Sequence is circular</td>
358 <td>Boolean value Yes/No</td>
359 <td>N</td>
360 </tr>
361
362 <tr bgcolor="#FFFFCC">
363 <td> -squick1<br>-squick_firstsequences</td>
364 <td>boolean</td>
365 <td>Read id and sequence only</td>
366 <td>Boolean value Yes/No</td>
367 <td>N</td>
368 </tr>
369
370 <tr bgcolor="#FFFFCC">
371 <td> -sformat1<br>-sformat_firstsequences</td>
372 <td>string</td>
373 <td>Input sequence format</td>
374 <td>Any string</td>
375 <td>&nbsp;</td>
376 </tr>
377
378 <tr bgcolor="#FFFFCC">
379 <td> -iquery1<br>-iquery_firstsequences</td>
380 <td>string</td>
381 <td>Input query fields or ID list</td>
382 <td>Any string</td>
383 <td>&nbsp;</td>
384 </tr>
385
386 <tr bgcolor="#FFFFCC">
387 <td> -ioffset1<br>-ioffset_firstsequences</td>
388 <td>integer</td>
389 <td>Input start position offset</td>
390 <td>Any integer value</td>
391 <td>0</td>
392 </tr>
393
394 <tr bgcolor="#FFFFCC">
395 <td> -sdbname1<br>-sdbname_firstsequences</td>
396 <td>string</td>
397 <td>Database name</td>
398 <td>Any string</td>
399 <td>&nbsp;</td>
400 </tr>
401
402 <tr bgcolor="#FFFFCC">
403 <td> -sid1<br>-sid_firstsequences</td>
404 <td>string</td>
405 <td>Entryname</td>
406 <td>Any string</td>
407 <td>&nbsp;</td>
408 </tr>
409
410 <tr bgcolor="#FFFFCC">
411 <td> -ufo1<br>-ufo_firstsequences</td>
412 <td>string</td>
413 <td>UFO features</td>
414 <td>Any string</td>
415 <td>&nbsp;</td>
416 </tr>
417
418 <tr bgcolor="#FFFFCC">
419 <td> -fformat1<br>-fformat_firstsequences</td>
420 <td>string</td>
421 <td>Features format</td>
422 <td>Any string</td>
423 <td>&nbsp;</td>
424 </tr>
425
426 <tr bgcolor="#FFFFCC">
427 <td> -fopenfile1<br>-fopenfile_firstsequences</td>
428 <td>string</td>
429 <td>Features file name</td>
430 <td>Any string</td>
431 <td>&nbsp;</td>
432 </tr>
433
434 <tr bgcolor="#FFFFCC">
435 <td align="left" colspan=5>"-secondsequences" associated seqset qualifiers
436 </td>
437 </tr>
438
439 <tr bgcolor="#FFFFCC">
440 <td> -sbegin2<br>-sbegin_secondsequences</td>
441 <td>integer</td>
442 <td>Start of each sequence to be used</td>
443 <td>Any integer value</td>
444 <td>0</td>
445 </tr>
446
447 <tr bgcolor="#FFFFCC">
448 <td> -send2<br>-send_secondsequences</td>
449 <td>integer</td>
450 <td>End of each sequence to be used</td>
451 <td>Any integer value</td>
452 <td>0</td>
453 </tr>
454
455 <tr bgcolor="#FFFFCC">
456 <td> -sreverse2<br>-sreverse_secondsequences</td>
457 <td>boolean</td>
458 <td>Reverse (if DNA)</td>
459 <td>Boolean value Yes/No</td>
460 <td>N</td>
461 </tr>
462
463 <tr bgcolor="#FFFFCC">
464 <td> -sask2<br>-sask_secondsequences</td>
465 <td>boolean</td>
466 <td>Ask for begin/end/reverse</td>
467 <td>Boolean value Yes/No</td>
468 <td>N</td>
469 </tr>
470
471 <tr bgcolor="#FFFFCC">
472 <td> -snucleotide2<br>-snucleotide_secondsequences</td>
473 <td>boolean</td>
474 <td>Sequence is nucleotide</td>
475 <td>Boolean value Yes/No</td>
476 <td>N</td>
477 </tr>
478
479 <tr bgcolor="#FFFFCC">
480 <td> -sprotein2<br>-sprotein_secondsequences</td>
481 <td>boolean</td>
482 <td>Sequence is protein</td>
483 <td>Boolean value Yes/No</td>
484 <td>N</td>
485 </tr>
486
487 <tr bgcolor="#FFFFCC">
488 <td> -slower2<br>-slower_secondsequences</td>
489 <td>boolean</td>
490 <td>Make lower case</td>
491 <td>Boolean value Yes/No</td>
492 <td>N</td>
493 </tr>
494
495 <tr bgcolor="#FFFFCC">
496 <td> -supper2<br>-supper_secondsequences</td>
497 <td>boolean</td>
498 <td>Make upper case</td>
499 <td>Boolean value Yes/No</td>
500 <td>N</td>
501 </tr>
502
503 <tr bgcolor="#FFFFCC">
504 <td> -scircular2<br>-scircular_secondsequences</td>
505 <td>boolean</td>
506 <td>Sequence is circular</td>
507 <td>Boolean value Yes/No</td>
508 <td>N</td>
509 </tr>
510
511 <tr bgcolor="#FFFFCC">
512 <td> -squick2<br>-squick_secondsequences</td>
513 <td>boolean</td>
514 <td>Read id and sequence only</td>
515 <td>Boolean value Yes/No</td>
516 <td>N</td>
517 </tr>
518
519 <tr bgcolor="#FFFFCC">
520 <td> -sformat2<br>-sformat_secondsequences</td>
521 <td>string</td>
522 <td>Input sequence format</td>
523 <td>Any string</td>
524 <td>&nbsp;</td>
525 </tr>
526
527 <tr bgcolor="#FFFFCC">
528 <td> -iquery2<br>-iquery_secondsequences</td>
529 <td>string</td>
530 <td>Input query fields or ID list</td>
531 <td>Any string</td>
532 <td>&nbsp;</td>
533 </tr>
534
535 <tr bgcolor="#FFFFCC">
536 <td> -ioffset2<br>-ioffset_secondsequences</td>
537 <td>integer</td>
538 <td>Input start position offset</td>
539 <td>Any integer value</td>
540 <td>0</td>
541 </tr>
542
543 <tr bgcolor="#FFFFCC">
544 <td> -sdbname2<br>-sdbname_secondsequences</td>
545 <td>string</td>
546 <td>Database name</td>
547 <td>Any string</td>
548 <td>&nbsp;</td>
549 </tr>
550
551 <tr bgcolor="#FFFFCC">
552 <td> -sid2<br>-sid_secondsequences</td>
553 <td>string</td>
554 <td>Entryname</td>
555 <td>Any string</td>
556 <td>&nbsp;</td>
557 </tr>
558
559 <tr bgcolor="#FFFFCC">
560 <td> -ufo2<br>-ufo_secondsequences</td>
561 <td>string</td>
562 <td>UFO features</td>
563 <td>Any string</td>
564 <td>&nbsp;</td>
565 </tr>
566
567 <tr bgcolor="#FFFFCC">
568 <td> -fformat2<br>-fformat_secondsequences</td>
569 <td>string</td>
570 <td>Features format</td>
571 <td>Any string</td>
572 <td>&nbsp;</td>
573 </tr>
574
575 <tr bgcolor="#FFFFCC">
576 <td> -fopenfile2<br>-fopenfile_secondsequences</td>
577 <td>string</td>
578 <td>Features file name</td>
579 <td>Any string</td>
580 <td>&nbsp;</td>
581 </tr>
582
583 <tr bgcolor="#FFFFCC">
584 <td align="left" colspan=5>"-outfile" associated outfile qualifiers
585 </td>
586 </tr>
587
588 <tr bgcolor="#FFFFCC">
589 <td> -odirectory3<br>-odirectory_outfile</td>
590 <td>string</td>
591 <td>Output directory</td>
592 <td>Any string</td>
593 <td>&nbsp;</td>
594 </tr>
595
596 <tr bgcolor="#FFFFCC">
597 <th align="left" colspan=5>General qualifiers</th>
598 </tr>
599
600 <tr bgcolor="#FFFFCC">
601 <td> -auto</td>
602 <td>boolean</td>
603 <td>Turn off prompts</td>
604 <td>Boolean value Yes/No</td>
605 <td>N</td>
606 </tr>
607
608 <tr bgcolor="#FFFFCC">
609 <td> -stdout</td>
610 <td>boolean</td>
611 <td>Write first file to standard output</td>
612 <td>Boolean value Yes/No</td>
613 <td>N</td>
614 </tr>
615
616 <tr bgcolor="#FFFFCC">
617 <td> -filter</td>
618 <td>boolean</td>
619 <td>Read first file from standard input, write first file to standard output</td>
620 <td>Boolean value Yes/No</td>
621 <td>N</td>
622 </tr>
623
624 <tr bgcolor="#FFFFCC">
625 <td> -options</td>
626 <td>boolean</td>
627 <td>Prompt for standard and additional values</td>
628 <td>Boolean value Yes/No</td>
629 <td>N</td>
630 </tr>
631
632 <tr bgcolor="#FFFFCC">
633 <td> -debug</td>
634 <td>boolean</td>
635 <td>Write debug output to program.dbg</td>
636 <td>Boolean value Yes/No</td>
637 <td>N</td>
638 </tr>
639
640 <tr bgcolor="#FFFFCC">
641 <td> -verbose</td>
642 <td>boolean</td>
643 <td>Report some/full command line options</td>
644 <td>Boolean value Yes/No</td>
645 <td>Y</td>
646 </tr>
647
648 <tr bgcolor="#FFFFCC">
649 <td> -help</td>
650 <td>boolean</td>
651 <td>Report command line options and exit. More information on associated and general qualifiers can be found with -help -verbose</td>
652 <td>Boolean value Yes/No</td>
653 <td>N</td>
654 </tr>
655
656 <tr bgcolor="#FFFFCC">
657 <td> -warning</td>
658 <td>boolean</td>
659 <td>Report warnings</td>
660 <td>Boolean value Yes/No</td>
661 <td>Y</td>
662 </tr>
663
664 <tr bgcolor="#FFFFCC">
665 <td> -error</td>
666 <td>boolean</td>
667 <td>Report errors</td>
668 <td>Boolean value Yes/No</td>
669 <td>Y</td>
670 </tr>
671
672 <tr bgcolor="#FFFFCC">
673 <td> -fatal</td>
674 <td>boolean</td>
675 <td>Report fatal errors</td>
676 <td>Boolean value Yes/No</td>
677 <td>Y</td>
678 </tr>
679
680 <tr bgcolor="#FFFFCC">
681 <td> -die</td>
682 <td>boolean</td>
683 <td>Report dying program messages</td>
684 <td>Boolean value Yes/No</td>
685 <td>Y</td>
686 </tr>
687
688 <tr bgcolor="#FFFFCC">
689 <td> -version</td>
690 <td>boolean</td>
691 <td>Report version number and exit</td>
692 <td>Boolean value Yes/No</td>
693 <td>N</td>
694 </tr>
695
696 </table>
697
698
699
700 <H2>
701 Input file format
702 </H2>
703
704 The input sets of sequences can be of any valid USAs. The program was
705 written to perform logical operations on list files, but in practice,
706 wildcarded database entries and file names are also perfectly legal
707 specifications of the input sequences.
708
709 <p>
710
711
712 <a name="input.1"></a>
713 <h3>Input files for usage example </h3>
714 <p><h3>File: file1</h3>
715 <table width="90%"><tr><td bgcolor="#FFCCFF">
716 <pre>
717 &gt;one
718 tagctagcg
719 &gt;two
720 tagctagcggctacgt
721 &gt;three
722 tagctattttatgctacgtcagtgac
723 </pre>
724 </td></tr></table><p>
725 <p><h3>File: file2</h3>
726 <table width="90%"><tr><td bgcolor="#FFCCFF">
727 <pre>
728 &gt;two
729 tagctagcggctacgt
730 &gt;three
731 tagctattttatgctacgtcagtgac
732 &gt;four
733 gcgcggcgcgcgtgcgtcgttgctggggccc
734 </pre>
735 </td></tr></table><p>
736
737 <H2>
738 Output file format
739 </H2>
740
741 The output is simply a list of the USAs (format and sequence
742 specification) resulting from the required logical union of the two sets
743 of input sequence.
744
745 <p>
746
747 The order that the USAs are written out is not necessarily the same as
748 the order of either of the input sets of sequences.
749
750 <p>
751
752 The results of the four types of logical union follows. Note that the
753 duplicated sequences in these two files have been given the same name.
754 This is not necessary for the operation of <b>listor</b> as it compares
755 the sequences themselves, not the ID names of the sequences.
756
757 <p>
758
759
760 <a name="output.1"></a>
761 <h3>Output files for usage example </h3>
762 <p><h3>File: file1.list</h3>
763 <table width="90%"><tr><td bgcolor="#CCFFCC">
764 <pre>
765 fasta::../../data/file1:one
766 fasta::../../data/file1:two
767 fasta::../../data/file1:three
768 fasta::../../data/file2:four
769 </pre>
770 </td></tr></table><p>
771
772 <a name="output.2"></a>
773 <h3>Output files for usage example 2</h3>
774 <p><h3>File: file1.list</h3>
775 <table width="90%"><tr><td bgcolor="#CCFFCC">
776 <pre>
777 fasta::../../data/file1:two
778 fasta::../../data/file1:three
779 </pre>
780 </td></tr></table><p>
781
782 <a name="output.3"></a>
783 <h3>Output files for usage example 3</h3>
784 <p><h3>File: file1.list</h3>
785 <table width="90%"><tr><td bgcolor="#CCFFCC">
786 <pre>
787 fasta::../../data/file1:one
788 fasta::../../data/file2:four
789 </pre>
790 </td></tr></table><p>
791
792 <a name="output.4"></a>
793 <h3>Output files for usage example 4</h3>
794 <p><h3>File: file1.list</h3>
795 <table width="90%"><tr><td bgcolor="#CCFFCC">
796 <pre>
797 fasta::../../data/file1:one
798 </pre>
799 </td></tr></table><p>
800
801
802 <H2>
803 Data files
804 </H2>
805
806 None.
807
808 <H2>
809 Notes
810 </H2>
811
812 <p>The inputs can be any valid USA but typically reference a list file. Some other reference such as a wildcarded database entries or file name are equally valid.</p>
813 <p>The (default) logical OR of the two sets of sequences is simply the result of merging the two sets of sequences. A sequences appearing in both input sets is referenced once only in the output file. A logical <tt>AND</tt> simply lists those sequences that occur in both sets of sequences.</p>
814 <p>A logical <tt>XOR</tt> lists those sequences that ONLY occur in the first set or only occur in the second set - sequences occuring in both sets are omitted (the opposite of an <tt>AND</tt>).</p>
815 <p>A logical <tt>NOT</tt> lists all those sequences in the first set except for those that also occur in the second set. </p>
816
817 <H2>
818 References
819 </H2>
820
821 None.
822
823 <H2>
824 Warnings
825 </H2>
826 <p><b>listor</b> is restricted by the available memory. Doing logical unions involving all of the sequences in large databases, such as EMBL, is probably impractical unless you are lucky enough to have extraordinary amounts of memory on your machine.</p>
827
828
829 <H2>
830 Diagnostic Error Messages
831 </H2>
832
833 None.
834
835 <H2>
836 Exit status
837 </H2>
838
839 It always exits with status 0.
840
841 <H2>
842 Known bugs
843 </H2>
844
845 None.
846
847 <h2><a name="See also">See also</a></h2>
848 <table border cellpadding=4 bgcolor="#FFFFF0">
849 <tr><th>Program name</th>
850 <th>Description</th></tr>
851 <tr>
852 <td><a href="aligncopy.html">aligncopy</a></td>
853 <td>Read and write alignments</td>
854 </tr>
855
856 <tr>
857 <td><a href="aligncopypair.html">aligncopypair</a></td>
858 <td>Read and write pairs from alignments</td>
859 </tr>
860
861 <tr>
862 <td><a href="biosed.html">biosed</a></td>
863 <td>Replace or delete sequence sections</td>
864 </tr>
865
866 <tr>
867 <td><a href="codcopy.html">codcopy</a></td>
868 <td>Copy and reformat a codon usage table</td>
869 </tr>
870
871 <tr>
872 <td><a href="cutseq.html">cutseq</a></td>
873 <td>Remove a section from a sequence</td>
874 </tr>
875
876 <tr>
877 <td><a href="degapseq.html">degapseq</a></td>
878 <td>Remove non-alphabetic (e.g. gap) characters from sequences</td>
879 </tr>
880
881 <tr>
882 <td><a href="descseq.html">descseq</a></td>
883 <td>Alter the name or description of a sequence</td>
884 </tr>
885
886 <tr>
887 <td><a href="entret.html">entret</a></td>
888 <td>Retrieve sequence entries from flatfile databases and files</td>
889 </tr>
890
891 <tr>
892 <td><a href="extractalign.html">extractalign</a></td>
893 <td>Extract regions from a sequence alignment</td>
894 </tr>
895
896 <tr>
897 <td><a href="extractfeat.html">extractfeat</a></td>
898 <td>Extract features from sequence(s)</td>
899 </tr>
900
901 <tr>
902 <td><a href="extractseq.html">extractseq</a></td>
903 <td>Extract regions from a sequence</td>
904 </tr>
905
906 <tr>
907 <td><a href="featcopy.html">featcopy</a></td>
908 <td>Read and write a feature table</td>
909 </tr>
910
911 <tr>
912 <td><a href="featmerge.html">featmerge</a></td>
913 <td>Merge two overlapping feature tables</td>
914 </tr>
915
916 <tr>
917 <td><a href="featreport.html">featreport</a></td>
918 <td>Read and write a feature table</td>
919 </tr>
920
921 <tr>
922 <td><a href="feattext.html">feattext</a></td>
923 <td>Return a feature table original text</td>
924 </tr>
925
926 <tr>
927 <td><a href="makenucseq.html">makenucseq</a></td>
928 <td>Create random nucleotide sequences</td>
929 </tr>
930
931 <tr>
932 <td><a href="makeprotseq.html">makeprotseq</a></td>
933 <td>Create random protein sequences</td>
934 </tr>
935
936 <tr>
937 <td><a href="maskambignuc.html">maskambignuc</a></td>
938 <td>Mask all ambiguity characters in nucleotide sequences with N</td>
939 </tr>
940
941 <tr>
942 <td><a href="maskambigprot.html">maskambigprot</a></td>
943 <td>Mask all ambiguity characters in protein sequences with X</td>
944 </tr>
945
946 <tr>
947 <td><a href="maskfeat.html">maskfeat</a></td>
948 <td>Write a sequence with masked features</td>
949 </tr>
950
951 <tr>
952 <td><a href="maskseq.html">maskseq</a></td>
953 <td>Write a sequence with masked regions</td>
954 </tr>
955
956 <tr>
957 <td><a href="newseq.html">newseq</a></td>
958 <td>Create a sequence file from a typed-in sequence</td>
959 </tr>
960
961 <tr>
962 <td><a href="nohtml.html">nohtml</a></td>
963 <td>Remove mark-up (e.g. HTML tags) from an ASCII text file</td>
964 </tr>
965
966 <tr>
967 <td><a href="noreturn.html">noreturn</a></td>
968 <td>Remove carriage return from ASCII files</td>
969 </tr>
970
971 <tr>
972 <td><a href="nospace.html">nospace</a></td>
973 <td>Remove whitespace from an ASCII text file</td>
974 </tr>
975
976 <tr>
977 <td><a href="notab.html">notab</a></td>
978 <td>Replace tabs with spaces in an ASCII text file</td>
979 </tr>
980
981 <tr>
982 <td><a href="notseq.html">notseq</a></td>
983 <td>Write to file a subset of an input stream of sequences</td>
984 </tr>
985
986 <tr>
987 <td><a href="nthseq.html">nthseq</a></td>
988 <td>Write to file a single sequence from an input stream of sequences</td>
989 </tr>
990
991 <tr>
992 <td><a href="nthseqset.html">nthseqset</a></td>
993 <td>Read and write (return) one set of sequences from many</td>
994 </tr>
995
996 <tr>
997 <td><a href="pasteseq.html">pasteseq</a></td>
998 <td>Insert one sequence into another</td>
999 </tr>
1000
1001 <tr>
1002 <td><a href="revseq.html">revseq</a></td>
1003 <td>Reverse and complement a nucleotide sequence</td>
1004 </tr>
1005
1006 <tr>
1007 <td><a href="seqcount.html">seqcount</a></td>
1008 <td>Read and count sequences</td>
1009 </tr>
1010
1011 <tr>
1012 <td><a href="seqret.html">seqret</a></td>
1013 <td>Read and write (return) sequences</td>
1014 </tr>
1015
1016 <tr>
1017 <td><a href="seqretsetall.html">seqretsetall</a></td>
1018 <td>Read and write (return) many sets of sequences</td>
1019 </tr>
1020
1021 <tr>
1022 <td><a href="seqretsplit.html">seqretsplit</a></td>
1023 <td>Read sequences and write them to individual files</td>
1024 </tr>
1025
1026 <tr>
1027 <td><a href="sizeseq.html">sizeseq</a></td>
1028 <td>Sort sequences by size</td>
1029 </tr>
1030
1031 <tr>
1032 <td><a href="skipredundant.html">skipredundant</a></td>
1033 <td>Remove redundant sequences from an input set</td>
1034 </tr>
1035
1036 <tr>
1037 <td><a href="skipseq.html">skipseq</a></td>
1038 <td>Read and write (return) sequences, skipping first few</td>
1039 </tr>
1040
1041 <tr>
1042 <td><a href="splitsource.html">splitsource</a></td>
1043 <td>Split sequence(s) into original source sequences</td>
1044 </tr>
1045
1046 <tr>
1047 <td><a href="splitter.html">splitter</a></td>
1048 <td>Split sequence(s) into smaller sequences</td>
1049 </tr>
1050
1051 <tr>
1052 <td><a href="trimest.html">trimest</a></td>
1053 <td>Remove poly-A tails from nucleotide sequences</td>
1054 </tr>
1055
1056 <tr>
1057 <td><a href="trimseq.html">trimseq</a></td>
1058 <td>Remove unwanted characters from start and end of sequence(s)</td>
1059 </tr>
1060
1061 <tr>
1062 <td><a href="trimspace.html">trimspace</a></td>
1063 <td>Remove extra whitespace from an ASCII text file</td>
1064 </tr>
1065
1066 <tr>
1067 <td><a href="union.html">union</a></td>
1068 <td>Concatenate multiple sequences into a single sequence</td>
1069 </tr>
1070
1071 <tr>
1072 <td><a href="vectorstrip.html">vectorstrip</a></td>
1073 <td>Remove vectors from the ends of nucleotide sequence(s)</td>
1074 </tr>
1075
1076 <tr>
1077 <td><a href="yank.html">yank</a></td>
1078 <td>Add a sequence reference (a full USA) to a list file</td>
1079 </tr>
1080
1081 </table>
1082
1083
1084 <H2>
1085 Author(s)
1086 </H2>
1087
1088 Gary Williams formerly at:
1089 <br>
1090 MRC Rosalind Franklin Centre for Genomics Research
1091 Wellcome Trust Genome Campus, Hinxton, Cambridge, CB10 1SB, UK
1092
1093 <p>
1094 Please report all bugs to the EMBOSS bug team (emboss-bug&nbsp;&copy;&nbsp;emboss.open-bio.org) not to the original author.
1095
1096 <H2>
1097 History
1098 </H2>
1099
1100
1101 Written (1 Aug 2001) - Gary Williams
1102
1103
1104 <H2>
1105 Target users
1106 </H2>
1107
1108 This program is intended to be used by everyone and everything, from naive users to embedded scripts.
1109
1110 <H2>
1111 Comments
1112 </H2>
1113
1114
1115 None
1116
1117 </BODY>
1118 </HTML>
1119