| 1 | <HTML> |
| 2 | <HEAD> |
| 3 | <TITLE> |
| 4 | EMBOSS: union |
| 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 | union |
| 16 | </font></b> |
| 17 | </td></tr> |
| 18 | </table> |
| 19 | <br> |
| 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 | Concatenate multiple sequences into a single sequence |
| 39 | <H2> |
| 40 | Description |
| 41 | </H2> |
| 42 | |
| 43 | <p> |
| 44 | |
| 45 | <b>union</b> reads in several sequences, concatenates them and writes |
| 46 | them out as a single sequence. The input is typically a list file |
| 47 | containing references to multiple sequences or subsequences (regions |
| 48 | of a sequence). Optionally, feature information will be used.</p> |
| 49 | |
| 50 | <p> |
| 51 | The output can have source features generated which document composite |
| 52 | sequences in the EMBL/GenBank feature table. The -findoverlap optin |
| 53 | checks for overlaps between adjacent joined regions and reports them |
| 54 | in the overlap file. |
| 55 | </p> |
| 56 | |
| 57 | <H2> |
| 58 | Usage |
| 59 | </H2> |
| 60 | |
| 61 | Here is a sample session with <b>union</b> |
| 62 | <p> |
| 63 | The file 'cds.list' contains a list of the regions making up the coding sequence of 'embl:x65923': |
| 64 | <p> |
| 65 | |
| 66 | <p> |
| 67 | <table width="90%"><tr><td bgcolor="#CCFFFF"><pre> |
| 68 | |
| 69 | % <b>union </b> |
| 70 | Concatenate multiple sequences into a single sequence |
| 71 | Input (gapped) sequence(s): <b>@cds.list</b> |
| 72 | output sequence [x65921.fasta]: <b></b> |
| 73 | |
| 74 | </pre></td></tr></table><p> |
| 75 | <p> |
| 76 | <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> |
| 77 | |
| 78 | <H2> |
| 79 | Command line arguments |
| 80 | </H2> |
| 81 | |
| 82 | <table CELLSPACING=0 CELLPADDING=3 BGCOLOR="#f5f5ff" ><tr><td> |
| 83 | <pre> |
| 84 | Concatenate multiple sequences into a single sequence |
| 85 | Version: EMBOSS:6.6.0.0 |
| 86 | |
| 87 | Standard (Mandatory) qualifiers: |
| 88 | [-sequence] seqall (Gapped) sequence(s) filename and optional |
| 89 | format, or reference (input USA) |
| 90 | [-outseq] seqout [<sequence>.<format>] Sequence filename and |
| 91 | optional format (output USA) |
| 92 | |
| 93 | Additional (Optional) qualifiers: |
| 94 | -overlapfile outfile [*.union] Sequence overlaps output file |
| 95 | (optional) |
| 96 | |
| 97 | Advanced (Unprompted) qualifiers: |
| 98 | -feature boolean [N] Use feature information |
| 99 | -source boolean [N] Create source features |
| 100 | -findoverlap boolean [N] Look for overlaps when joining |
| 101 | |
| 102 | Associated qualifiers: |
| 103 | |
| 104 | "-sequence" associated qualifiers |
| 105 | -sbegin1 integer Start of each sequence to be used |
| 106 | -send1 integer End of each sequence to be used |
| 107 | -sreverse1 boolean Reverse (if DNA) |
| 108 | -sask1 boolean Ask for begin/end/reverse |
| 109 | -snucleotide1 boolean Sequence is nucleotide |
| 110 | -sprotein1 boolean Sequence is protein |
| 111 | -slower1 boolean Make lower case |
| 112 | -supper1 boolean Make upper case |
| 113 | -scircular1 boolean Sequence is circular |
| 114 | -squick1 boolean Read id and sequence only |
| 115 | -sformat1 string Input sequence format |
| 116 | -iquery1 string Input query fields or ID list |
| 117 | -ioffset1 integer Input start position offset |
| 118 | -sdbname1 string Database name |
| 119 | -sid1 string Entryname |
| 120 | -ufo1 string UFO features |
| 121 | -fformat1 string Features format |
| 122 | -fopenfile1 string Features file name |
| 123 | |
| 124 | "-outseq" associated qualifiers |
| 125 | -osformat2 string Output seq format |
| 126 | -osextension2 string File name extension |
| 127 | -osname2 string Base file name |
| 128 | -osdirectory2 string Output directory |
| 129 | -osdbname2 string Database name to add |
| 130 | -ossingle2 boolean Separate file for each entry |
| 131 | -oufo2 string UFO features |
| 132 | -offormat2 string Features format |
| 133 | -ofname2 string Features file name |
| 134 | -ofdirectory2 string Output directory |
| 135 | |
| 136 | "-overlapfile" associated qualifiers |
| 137 | -odirectory string Output directory |
| 138 | |
| 139 | General qualifiers: |
| 140 | -auto boolean Turn off prompts |
| 141 | -stdout boolean Write first file to standard output |
| 142 | -filter boolean Read first file from standard input, write |
| 143 | first file to standard output |
| 144 | -options boolean Prompt for standard and additional values |
| 145 | -debug boolean Write debug output to program.dbg |
| 146 | -verbose boolean Report some/full command line options |
| 147 | -help boolean Report command line options and exit. More |
| 148 | information on associated and general |
| 149 | qualifiers can be found with -help -verbose |
| 150 | -warning boolean Report warnings |
| 151 | -error boolean Report errors |
| 152 | -fatal boolean Report fatal errors |
| 153 | -die boolean Report dying program messages |
| 154 | -version boolean Report version number and exit |
| 155 | |
| 156 | </pre> |
| 157 | </td></tr></table> |
| 158 | <P> |
| 159 | <table border cellspacing=0 cellpadding=3 bgcolor="#ccccff"> |
| 160 | <tr bgcolor="#FFFFCC"> |
| 161 | <th align="left">Qualifier</th> |
| 162 | <th align="left">Type</th> |
| 163 | <th align="left">Description</th> |
| 164 | <th align="left">Allowed values</th> |
| 165 | <th align="left">Default</th> |
| 166 | </tr> |
| 167 | |
| 168 | <tr bgcolor="#FFFFCC"> |
| 169 | <th align="left" colspan=5>Standard (Mandatory) qualifiers</th> |
| 170 | </tr> |
| 171 | |
| 172 | <tr bgcolor="#FFFFCC"> |
| 173 | <td>[-sequence]<br>(Parameter 1)</td> |
| 174 | <td>seqall</td> |
| 175 | <td>(Gapped) sequence(s) filename and optional format, or reference (input USA)</td> |
| 176 | <td>Readable sequence(s)</td> |
| 177 | <td><b>Required</b></td> |
| 178 | </tr> |
| 179 | |
| 180 | <tr bgcolor="#FFFFCC"> |
| 181 | <td>[-outseq]<br>(Parameter 2)</td> |
| 182 | <td>seqout</td> |
| 183 | <td>Sequence filename and optional format (output USA)</td> |
| 184 | <td>Writeable sequence</td> |
| 185 | <td><i><*></i>.<i>format</i></td> |
| 186 | </tr> |
| 187 | |
| 188 | <tr bgcolor="#FFFFCC"> |
| 189 | <th align="left" colspan=5>Additional (Optional) qualifiers</th> |
| 190 | </tr> |
| 191 | |
| 192 | <tr bgcolor="#FFFFCC"> |
| 193 | <td>-overlapfile</td> |
| 194 | <td>outfile</td> |
| 195 | <td>Sequence overlaps output file (optional)</td> |
| 196 | <td>Output file</td> |
| 197 | <td><i><*></i>.union</td> |
| 198 | </tr> |
| 199 | |
| 200 | <tr bgcolor="#FFFFCC"> |
| 201 | <th align="left" colspan=5>Advanced (Unprompted) qualifiers</th> |
| 202 | </tr> |
| 203 | |
| 204 | <tr bgcolor="#FFFFCC"> |
| 205 | <td>-feature</td> |
| 206 | <td>boolean</td> |
| 207 | <td>Use feature information</td> |
| 208 | <td>Boolean value Yes/No</td> |
| 209 | <td>No</td> |
| 210 | </tr> |
| 211 | |
| 212 | <tr bgcolor="#FFFFCC"> |
| 213 | <td>-source</td> |
| 214 | <td>boolean</td> |
| 215 | <td>Create source features</td> |
| 216 | <td>Boolean value Yes/No</td> |
| 217 | <td>No</td> |
| 218 | </tr> |
| 219 | |
| 220 | <tr bgcolor="#FFFFCC"> |
| 221 | <td>-findoverlap</td> |
| 222 | <td>boolean</td> |
| 223 | <td>Look for overlaps when joining</td> |
| 224 | <td>Boolean value Yes/No</td> |
| 225 | <td>No</td> |
| 226 | </tr> |
| 227 | |
| 228 | <tr bgcolor="#FFFFCC"> |
| 229 | <th align="left" colspan=5>Associated qualifiers</th> |
| 230 | </tr> |
| 231 | |
| 232 | <tr bgcolor="#FFFFCC"> |
| 233 | <td align="left" colspan=5>"-sequence" associated seqall qualifiers |
| 234 | </td> |
| 235 | </tr> |
| 236 | |
| 237 | <tr bgcolor="#FFFFCC"> |
| 238 | <td> -sbegin1<br>-sbegin_sequence</td> |
| 239 | <td>integer</td> |
| 240 | <td>Start of each sequence to be used</td> |
| 241 | <td>Any integer value</td> |
| 242 | <td>0</td> |
| 243 | </tr> |
| 244 | |
| 245 | <tr bgcolor="#FFFFCC"> |
| 246 | <td> -send1<br>-send_sequence</td> |
| 247 | <td>integer</td> |
| 248 | <td>End of each sequence to be used</td> |
| 249 | <td>Any integer value</td> |
| 250 | <td>0</td> |
| 251 | </tr> |
| 252 | |
| 253 | <tr bgcolor="#FFFFCC"> |
| 254 | <td> -sreverse1<br>-sreverse_sequence</td> |
| 255 | <td>boolean</td> |
| 256 | <td>Reverse (if DNA)</td> |
| 257 | <td>Boolean value Yes/No</td> |
| 258 | <td>N</td> |
| 259 | </tr> |
| 260 | |
| 261 | <tr bgcolor="#FFFFCC"> |
| 262 | <td> -sask1<br>-sask_sequence</td> |
| 263 | <td>boolean</td> |
| 264 | <td>Ask for begin/end/reverse</td> |
| 265 | <td>Boolean value Yes/No</td> |
| 266 | <td>N</td> |
| 267 | </tr> |
| 268 | |
| 269 | <tr bgcolor="#FFFFCC"> |
| 270 | <td> -snucleotide1<br>-snucleotide_sequence</td> |
| 271 | <td>boolean</td> |
| 272 | <td>Sequence is nucleotide</td> |
| 273 | <td>Boolean value Yes/No</td> |
| 274 | <td>N</td> |
| 275 | </tr> |
| 276 | |
| 277 | <tr bgcolor="#FFFFCC"> |
| 278 | <td> -sprotein1<br>-sprotein_sequence</td> |
| 279 | <td>boolean</td> |
| 280 | <td>Sequence is protein</td> |
| 281 | <td>Boolean value Yes/No</td> |
| 282 | <td>N</td> |
| 283 | </tr> |
| 284 | |
| 285 | <tr bgcolor="#FFFFCC"> |
| 286 | <td> -slower1<br>-slower_sequence</td> |
| 287 | <td>boolean</td> |
| 288 | <td>Make lower case</td> |
| 289 | <td>Boolean value Yes/No</td> |
| 290 | <td>N</td> |
| 291 | </tr> |
| 292 | |
| 293 | <tr bgcolor="#FFFFCC"> |
| 294 | <td> -supper1<br>-supper_sequence</td> |
| 295 | <td>boolean</td> |
| 296 | <td>Make upper case</td> |
| 297 | <td>Boolean value Yes/No</td> |
| 298 | <td>N</td> |
| 299 | </tr> |
| 300 | |
| 301 | <tr bgcolor="#FFFFCC"> |
| 302 | <td> -scircular1<br>-scircular_sequence</td> |
| 303 | <td>boolean</td> |
| 304 | <td>Sequence is circular</td> |
| 305 | <td>Boolean value Yes/No</td> |
| 306 | <td>N</td> |
| 307 | </tr> |
| 308 | |
| 309 | <tr bgcolor="#FFFFCC"> |
| 310 | <td> -squick1<br>-squick_sequence</td> |
| 311 | <td>boolean</td> |
| 312 | <td>Read id and sequence only</td> |
| 313 | <td>Boolean value Yes/No</td> |
| 314 | <td>N</td> |
| 315 | </tr> |
| 316 | |
| 317 | <tr bgcolor="#FFFFCC"> |
| 318 | <td> -sformat1<br>-sformat_sequence</td> |
| 319 | <td>string</td> |
| 320 | <td>Input sequence format</td> |
| 321 | <td>Any string</td> |
| 322 | <td> </td> |
| 323 | </tr> |
| 324 | |
| 325 | <tr bgcolor="#FFFFCC"> |
| 326 | <td> -iquery1<br>-iquery_sequence</td> |
| 327 | <td>string</td> |
| 328 | <td>Input query fields or ID list</td> |
| 329 | <td>Any string</td> |
| 330 | <td> </td> |
| 331 | </tr> |
| 332 | |
| 333 | <tr bgcolor="#FFFFCC"> |
| 334 | <td> -ioffset1<br>-ioffset_sequence</td> |
| 335 | <td>integer</td> |
| 336 | <td>Input start position offset</td> |
| 337 | <td>Any integer value</td> |
| 338 | <td>0</td> |
| 339 | </tr> |
| 340 | |
| 341 | <tr bgcolor="#FFFFCC"> |
| 342 | <td> -sdbname1<br>-sdbname_sequence</td> |
| 343 | <td>string</td> |
| 344 | <td>Database name</td> |
| 345 | <td>Any string</td> |
| 346 | <td> </td> |
| 347 | </tr> |
| 348 | |
| 349 | <tr bgcolor="#FFFFCC"> |
| 350 | <td> -sid1<br>-sid_sequence</td> |
| 351 | <td>string</td> |
| 352 | <td>Entryname</td> |
| 353 | <td>Any string</td> |
| 354 | <td> </td> |
| 355 | </tr> |
| 356 | |
| 357 | <tr bgcolor="#FFFFCC"> |
| 358 | <td> -ufo1<br>-ufo_sequence</td> |
| 359 | <td>string</td> |
| 360 | <td>UFO features</td> |
| 361 | <td>Any string</td> |
| 362 | <td> </td> |
| 363 | </tr> |
| 364 | |
| 365 | <tr bgcolor="#FFFFCC"> |
| 366 | <td> -fformat1<br>-fformat_sequence</td> |
| 367 | <td>string</td> |
| 368 | <td>Features format</td> |
| 369 | <td>Any string</td> |
| 370 | <td> </td> |
| 371 | </tr> |
| 372 | |
| 373 | <tr bgcolor="#FFFFCC"> |
| 374 | <td> -fopenfile1<br>-fopenfile_sequence</td> |
| 375 | <td>string</td> |
| 376 | <td>Features file name</td> |
| 377 | <td>Any string</td> |
| 378 | <td> </td> |
| 379 | </tr> |
| 380 | |
| 381 | <tr bgcolor="#FFFFCC"> |
| 382 | <td align="left" colspan=5>"-outseq" associated seqout qualifiers |
| 383 | </td> |
| 384 | </tr> |
| 385 | |
| 386 | <tr bgcolor="#FFFFCC"> |
| 387 | <td> -osformat2<br>-osformat_outseq</td> |
| 388 | <td>string</td> |
| 389 | <td>Output seq format</td> |
| 390 | <td>Any string</td> |
| 391 | <td> </td> |
| 392 | </tr> |
| 393 | |
| 394 | <tr bgcolor="#FFFFCC"> |
| 395 | <td> -osextension2<br>-osextension_outseq</td> |
| 396 | <td>string</td> |
| 397 | <td>File name extension</td> |
| 398 | <td>Any string</td> |
| 399 | <td> </td> |
| 400 | </tr> |
| 401 | |
| 402 | <tr bgcolor="#FFFFCC"> |
| 403 | <td> -osname2<br>-osname_outseq</td> |
| 404 | <td>string</td> |
| 405 | <td>Base file name</td> |
| 406 | <td>Any string</td> |
| 407 | <td> </td> |
| 408 | </tr> |
| 409 | |
| 410 | <tr bgcolor="#FFFFCC"> |
| 411 | <td> -osdirectory2<br>-osdirectory_outseq</td> |
| 412 | <td>string</td> |
| 413 | <td>Output directory</td> |
| 414 | <td>Any string</td> |
| 415 | <td> </td> |
| 416 | </tr> |
| 417 | |
| 418 | <tr bgcolor="#FFFFCC"> |
| 419 | <td> -osdbname2<br>-osdbname_outseq</td> |
| 420 | <td>string</td> |
| 421 | <td>Database name to add</td> |
| 422 | <td>Any string</td> |
| 423 | <td> </td> |
| 424 | </tr> |
| 425 | |
| 426 | <tr bgcolor="#FFFFCC"> |
| 427 | <td> -ossingle2<br>-ossingle_outseq</td> |
| 428 | <td>boolean</td> |
| 429 | <td>Separate file for each entry</td> |
| 430 | <td>Boolean value Yes/No</td> |
| 431 | <td>N</td> |
| 432 | </tr> |
| 433 | |
| 434 | <tr bgcolor="#FFFFCC"> |
| 435 | <td> -oufo2<br>-oufo_outseq</td> |
| 436 | <td>string</td> |
| 437 | <td>UFO features</td> |
| 438 | <td>Any string</td> |
| 439 | <td> </td> |
| 440 | </tr> |
| 441 | |
| 442 | <tr bgcolor="#FFFFCC"> |
| 443 | <td> -offormat2<br>-offormat_outseq</td> |
| 444 | <td>string</td> |
| 445 | <td>Features format</td> |
| 446 | <td>Any string</td> |
| 447 | <td> </td> |
| 448 | </tr> |
| 449 | |
| 450 | <tr bgcolor="#FFFFCC"> |
| 451 | <td> -ofname2<br>-ofname_outseq</td> |
| 452 | <td>string</td> |
| 453 | <td>Features file name</td> |
| 454 | <td>Any string</td> |
| 455 | <td> </td> |
| 456 | </tr> |
| 457 | |
| 458 | <tr bgcolor="#FFFFCC"> |
| 459 | <td> -ofdirectory2<br>-ofdirectory_outseq</td> |
| 460 | <td>string</td> |
| 461 | <td>Output directory</td> |
| 462 | <td>Any string</td> |
| 463 | <td> </td> |
| 464 | </tr> |
| 465 | |
| 466 | <tr bgcolor="#FFFFCC"> |
| 467 | <td align="left" colspan=5>"-overlapfile" associated outfile qualifiers |
| 468 | </td> |
| 469 | </tr> |
| 470 | |
| 471 | <tr bgcolor="#FFFFCC"> |
| 472 | <td> -odirectory</td> |
| 473 | <td>string</td> |
| 474 | <td>Output directory</td> |
| 475 | <td>Any string</td> |
| 476 | <td> </td> |
| 477 | </tr> |
| 478 | |
| 479 | <tr bgcolor="#FFFFCC"> |
| 480 | <th align="left" colspan=5>General qualifiers</th> |
| 481 | </tr> |
| 482 | |
| 483 | <tr bgcolor="#FFFFCC"> |
| 484 | <td> -auto</td> |
| 485 | <td>boolean</td> |
| 486 | <td>Turn off prompts</td> |
| 487 | <td>Boolean value Yes/No</td> |
| 488 | <td>N</td> |
| 489 | </tr> |
| 490 | |
| 491 | <tr bgcolor="#FFFFCC"> |
| 492 | <td> -stdout</td> |
| 493 | <td>boolean</td> |
| 494 | <td>Write first file to standard output</td> |
| 495 | <td>Boolean value Yes/No</td> |
| 496 | <td>N</td> |
| 497 | </tr> |
| 498 | |
| 499 | <tr bgcolor="#FFFFCC"> |
| 500 | <td> -filter</td> |
| 501 | <td>boolean</td> |
| 502 | <td>Read first file from standard input, write first file to standard output</td> |
| 503 | <td>Boolean value Yes/No</td> |
| 504 | <td>N</td> |
| 505 | </tr> |
| 506 | |
| 507 | <tr bgcolor="#FFFFCC"> |
| 508 | <td> -options</td> |
| 509 | <td>boolean</td> |
| 510 | <td>Prompt for standard and additional values</td> |
| 511 | <td>Boolean value Yes/No</td> |
| 512 | <td>N</td> |
| 513 | </tr> |
| 514 | |
| 515 | <tr bgcolor="#FFFFCC"> |
| 516 | <td> -debug</td> |
| 517 | <td>boolean</td> |
| 518 | <td>Write debug output to program.dbg</td> |
| 519 | <td>Boolean value Yes/No</td> |
| 520 | <td>N</td> |
| 521 | </tr> |
| 522 | |
| 523 | <tr bgcolor="#FFFFCC"> |
| 524 | <td> -verbose</td> |
| 525 | <td>boolean</td> |
| 526 | <td>Report some/full command line options</td> |
| 527 | <td>Boolean value Yes/No</td> |
| 528 | <td>Y</td> |
| 529 | </tr> |
| 530 | |
| 531 | <tr bgcolor="#FFFFCC"> |
| 532 | <td> -help</td> |
| 533 | <td>boolean</td> |
| 534 | <td>Report command line options and exit. More information on associated and general qualifiers can be found with -help -verbose</td> |
| 535 | <td>Boolean value Yes/No</td> |
| 536 | <td>N</td> |
| 537 | </tr> |
| 538 | |
| 539 | <tr bgcolor="#FFFFCC"> |
| 540 | <td> -warning</td> |
| 541 | <td>boolean</td> |
| 542 | <td>Report warnings</td> |
| 543 | <td>Boolean value Yes/No</td> |
| 544 | <td>Y</td> |
| 545 | </tr> |
| 546 | |
| 547 | <tr bgcolor="#FFFFCC"> |
| 548 | <td> -error</td> |
| 549 | <td>boolean</td> |
| 550 | <td>Report errors</td> |
| 551 | <td>Boolean value Yes/No</td> |
| 552 | <td>Y</td> |
| 553 | </tr> |
| 554 | |
| 555 | <tr bgcolor="#FFFFCC"> |
| 556 | <td> -fatal</td> |
| 557 | <td>boolean</td> |
| 558 | <td>Report fatal errors</td> |
| 559 | <td>Boolean value Yes/No</td> |
| 560 | <td>Y</td> |
| 561 | </tr> |
| 562 | |
| 563 | <tr bgcolor="#FFFFCC"> |
| 564 | <td> -die</td> |
| 565 | <td>boolean</td> |
| 566 | <td>Report dying program messages</td> |
| 567 | <td>Boolean value Yes/No</td> |
| 568 | <td>Y</td> |
| 569 | </tr> |
| 570 | |
| 571 | <tr bgcolor="#FFFFCC"> |
| 572 | <td> -version</td> |
| 573 | <td>boolean</td> |
| 574 | <td>Report version number and exit</td> |
| 575 | <td>Boolean value Yes/No</td> |
| 576 | <td>N</td> |
| 577 | </tr> |
| 578 | |
| 579 | </table> |
| 580 | |
| 581 | <H2> |
| 582 | Input file format |
| 583 | </H2> |
| 584 | |
| 585 | The input can be any set of sequences in a file of multiple sequence |
| 586 | entries or in a <i>List</i> file. The sequences are concatenated in the |
| 587 | order in which they appear in the file. |
| 588 | |
| 589 | <p> |
| 590 | |
| 591 | |
| 592 | <a name="input.1"></a> |
| 593 | <h3>Input files for usage example </h3> |
| 594 | <p><h3>File: cds.list</h3> |
| 595 | <table width="90%"><tr><td bgcolor="#FFCCFF"> |
| 596 | <pre> |
| 597 | tembl-id:X65921[782:856] |
| 598 | tembl-id:X65921[951:1095] |
| 599 | tembl-id:X65921[1557:1612] |
| 600 | tembl-id:X65921[1787:1912] |
| 601 | </pre> |
| 602 | </td></tr></table><p> |
| 603 | |
| 604 | <p> |
| 605 | |
| 606 | You may find the program <b>yank</b> useful for creating List files. |
| 607 | |
| 608 | |
| 609 | <H2> |
| 610 | Output file format |
| 611 | </H2> |
| 612 | |
| 613 | |
| 614 | <a name="output.1"></a> |
| 615 | <h3>Output files for usage example </h3> |
| 616 | <p><h3>File: x65921.fasta</h3> |
| 617 | <table width="90%"><tr><td bgcolor="#CCFFCC"> |
| 618 | <pre> |
| 619 | >X65921 X65921.1 H.sapiens fau 1 gene |
| 620 | atgcagctctttgtccgcgcccaggagctacacaccttcgaggtgaccggccaggaaacg |
| 621 | gtcgcccagatcaaggctcatgtagcctcactggagggcattgccccggaagatcaagtc |
| 622 | gtgctcctggcaggcgcgcccctggaggatgaggccactctgggccagtgcggggtggag |
| 623 | gccctgactaccctggaagtagcaggccgcatgcttggaggtaaagtccatggttccctg |
| 624 | gcccgtgctggaaaagtgagaggtcagactcctaaggtggccaaacaggagaagaagaag |
| 625 | aagaagacaggtcgggctaagcggcggatgcagtacaaccggcgctttgtcaacgttgtg |
| 626 | cccacctttggcaagaagaagggccccaatgccaactcttaa |
| 627 | </pre> |
| 628 | </td></tr></table><p> |
| 629 | |
| 630 | <p> |
| 631 | |
| 632 | The result is a normal sequence file containing a single sequence |
| 633 | resulting from the concatenation of the input sequences. |
| 634 | |
| 635 | <H2> |
| 636 | Data files |
| 637 | </H2> |
| 638 | |
| 639 | None. |
| 640 | |
| 641 | <H2> |
| 642 | Notes |
| 643 | </H2> |
| 644 | |
| 645 | <p><b>union</b> is most useful when the input sequences are specified in a "list file". A list file contain references to any number of sequences which are retrieved from some other file or database. Each sequence reference is a Uniform Sequence Address (USA) which can include the specification of sub-regions of the sequence, eg. <tt>em:x65923[20:55]</tt>). Specifying several such subregions in a sequence or sequences allows you to enter disjoint sequences to be joined.</p> |
| 646 | |
| 647 | <H2> |
| 648 | References |
| 649 | </H2> |
| 650 | |
| 651 | None. |
| 652 | |
| 653 | <H2> |
| 654 | Warnings |
| 655 | </H2> |
| 656 | |
| 657 | None. |
| 658 | |
| 659 | <H2> |
| 660 | Diagnostic Error Messages |
| 661 | </H2> |
| 662 | |
| 663 | None. |
| 664 | |
| 665 | <H2> |
| 666 | Exit status |
| 667 | </H2> |
| 668 | |
| 669 | It always exits with status 0. |
| 670 | |
| 671 | <H2> |
| 672 | Known bugs |
| 673 | </H2> |
| 674 | |
| 675 | None. |
| 676 | |
| 677 | <h2><a name="See also">See also</a></h2> |
| 678 | <table border cellpadding=4 bgcolor="#FFFFF0"> |
| 679 | <tr><th>Program name</th> |
| 680 | <th>Description</th></tr> |
| 681 | <tr> |
| 682 | <td><a href="aligncopy.html">aligncopy</a></td> |
| 683 | <td>Read and write alignments</td> |
| 684 | </tr> |
| 685 | |
| 686 | <tr> |
| 687 | <td><a href="aligncopypair.html">aligncopypair</a></td> |
| 688 | <td>Read and write pairs from alignments</td> |
| 689 | </tr> |
| 690 | |
| 691 | <tr> |
| 692 | <td><a href="biosed.html">biosed</a></td> |
| 693 | <td>Replace or delete sequence sections</td> |
| 694 | </tr> |
| 695 | |
| 696 | <tr> |
| 697 | <td><a href="codcopy.html">codcopy</a></td> |
| 698 | <td>Copy and reformat a codon usage table</td> |
| 699 | </tr> |
| 700 | |
| 701 | <tr> |
| 702 | <td><a href="cutseq.html">cutseq</a></td> |
| 703 | <td>Remove a section from a sequence</td> |
| 704 | </tr> |
| 705 | |
| 706 | <tr> |
| 707 | <td><a href="degapseq.html">degapseq</a></td> |
| 708 | <td>Remove non-alphabetic (e.g. gap) characters from sequences</td> |
| 709 | </tr> |
| 710 | |
| 711 | <tr> |
| 712 | <td><a href="descseq.html">descseq</a></td> |
| 713 | <td>Alter the name or description of a sequence</td> |
| 714 | </tr> |
| 715 | |
| 716 | <tr> |
| 717 | <td><a href="entret.html">entret</a></td> |
| 718 | <td>Retrieve sequence entries from flatfile databases and files</td> |
| 719 | </tr> |
| 720 | |
| 721 | <tr> |
| 722 | <td><a href="extractalign.html">extractalign</a></td> |
| 723 | <td>Extract regions from a sequence alignment</td> |
| 724 | </tr> |
| 725 | |
| 726 | <tr> |
| 727 | <td><a href="extractfeat.html">extractfeat</a></td> |
| 728 | <td>Extract features from sequence(s)</td> |
| 729 | </tr> |
| 730 | |
| 731 | <tr> |
| 732 | <td><a href="extractseq.html">extractseq</a></td> |
| 733 | <td>Extract regions from a sequence</td> |
| 734 | </tr> |
| 735 | |
| 736 | <tr> |
| 737 | <td><a href="featcopy.html">featcopy</a></td> |
| 738 | <td>Read and write a feature table</td> |
| 739 | </tr> |
| 740 | |
| 741 | <tr> |
| 742 | <td><a href="featmerge.html">featmerge</a></td> |
| 743 | <td>Merge two overlapping feature tables</td> |
| 744 | </tr> |
| 745 | |
| 746 | <tr> |
| 747 | <td><a href="featreport.html">featreport</a></td> |
| 748 | <td>Read and write a feature table</td> |
| 749 | </tr> |
| 750 | |
| 751 | <tr> |
| 752 | <td><a href="feattext.html">feattext</a></td> |
| 753 | <td>Return a feature table original text</td> |
| 754 | </tr> |
| 755 | |
| 756 | <tr> |
| 757 | <td><a href="listor.html">listor</a></td> |
| 758 | <td>Write a list file of the logical OR of two sets of sequences</td> |
| 759 | </tr> |
| 760 | |
| 761 | <tr> |
| 762 | <td><a href="makenucseq.html">makenucseq</a></td> |
| 763 | <td>Create random nucleotide sequences</td> |
| 764 | </tr> |
| 765 | |
| 766 | <tr> |
| 767 | <td><a href="makeprotseq.html">makeprotseq</a></td> |
| 768 | <td>Create random protein sequences</td> |
| 769 | </tr> |
| 770 | |
| 771 | <tr> |
| 772 | <td><a href="maskambignuc.html">maskambignuc</a></td> |
| 773 | <td>Mask all ambiguity characters in nucleotide sequences with N</td> |
| 774 | </tr> |
| 775 | |
| 776 | <tr> |
| 777 | <td><a href="maskambigprot.html">maskambigprot</a></td> |
| 778 | <td>Mask all ambiguity characters in protein sequences with X</td> |
| 779 | </tr> |
| 780 | |
| 781 | <tr> |
| 782 | <td><a href="maskfeat.html">maskfeat</a></td> |
| 783 | <td>Write a sequence with masked features</td> |
| 784 | </tr> |
| 785 | |
| 786 | <tr> |
| 787 | <td><a href="maskseq.html">maskseq</a></td> |
| 788 | <td>Write a sequence with masked regions</td> |
| 789 | </tr> |
| 790 | |
| 791 | <tr> |
| 792 | <td><a href="newseq.html">newseq</a></td> |
| 793 | <td>Create a sequence file from a typed-in sequence</td> |
| 794 | </tr> |
| 795 | |
| 796 | <tr> |
| 797 | <td><a href="nohtml.html">nohtml</a></td> |
| 798 | <td>Remove mark-up (e.g. HTML tags) from an ASCII text file</td> |
| 799 | </tr> |
| 800 | |
| 801 | <tr> |
| 802 | <td><a href="noreturn.html">noreturn</a></td> |
| 803 | <td>Remove carriage return from ASCII files</td> |
| 804 | </tr> |
| 805 | |
| 806 | <tr> |
| 807 | <td><a href="nospace.html">nospace</a></td> |
| 808 | <td>Remove whitespace from an ASCII text file</td> |
| 809 | </tr> |
| 810 | |
| 811 | <tr> |
| 812 | <td><a href="notab.html">notab</a></td> |
| 813 | <td>Replace tabs with spaces in an ASCII text file</td> |
| 814 | </tr> |
| 815 | |
| 816 | <tr> |
| 817 | <td><a href="notseq.html">notseq</a></td> |
| 818 | <td>Write to file a subset of an input stream of sequences</td> |
| 819 | </tr> |
| 820 | |
| 821 | <tr> |
| 822 | <td><a href="nthseq.html">nthseq</a></td> |
| 823 | <td>Write to file a single sequence from an input stream of sequences</td> |
| 824 | </tr> |
| 825 | |
| 826 | <tr> |
| 827 | <td><a href="nthseqset.html">nthseqset</a></td> |
| 828 | <td>Read and write (return) one set of sequences from many</td> |
| 829 | </tr> |
| 830 | |
| 831 | <tr> |
| 832 | <td><a href="pasteseq.html">pasteseq</a></td> |
| 833 | <td>Insert one sequence into another</td> |
| 834 | </tr> |
| 835 | |
| 836 | <tr> |
| 837 | <td><a href="revseq.html">revseq</a></td> |
| 838 | <td>Reverse and complement a nucleotide sequence</td> |
| 839 | </tr> |
| 840 | |
| 841 | <tr> |
| 842 | <td><a href="seqcount.html">seqcount</a></td> |
| 843 | <td>Read and count sequences</td> |
| 844 | </tr> |
| 845 | |
| 846 | <tr> |
| 847 | <td><a href="seqret.html">seqret</a></td> |
| 848 | <td>Read and write (return) sequences</td> |
| 849 | </tr> |
| 850 | |
| 851 | <tr> |
| 852 | <td><a href="seqretsetall.html">seqretsetall</a></td> |
| 853 | <td>Read and write (return) many sets of sequences</td> |
| 854 | </tr> |
| 855 | |
| 856 | <tr> |
| 857 | <td><a href="seqretsplit.html">seqretsplit</a></td> |
| 858 | <td>Read sequences and write them to individual files</td> |
| 859 | </tr> |
| 860 | |
| 861 | <tr> |
| 862 | <td><a href="sizeseq.html">sizeseq</a></td> |
| 863 | <td>Sort sequences by size</td> |
| 864 | </tr> |
| 865 | |
| 866 | <tr> |
| 867 | <td><a href="skipredundant.html">skipredundant</a></td> |
| 868 | <td>Remove redundant sequences from an input set</td> |
| 869 | </tr> |
| 870 | |
| 871 | <tr> |
| 872 | <td><a href="skipseq.html">skipseq</a></td> |
| 873 | <td>Read and write (return) sequences, skipping first few</td> |
| 874 | </tr> |
| 875 | |
| 876 | <tr> |
| 877 | <td><a href="splitsource.html">splitsource</a></td> |
| 878 | <td>Split sequence(s) into original source sequences</td> |
| 879 | </tr> |
| 880 | |
| 881 | <tr> |
| 882 | <td><a href="splitter.html">splitter</a></td> |
| 883 | <td>Split sequence(s) into smaller sequences</td> |
| 884 | </tr> |
| 885 | |
| 886 | <tr> |
| 887 | <td><a href="trimest.html">trimest</a></td> |
| 888 | <td>Remove poly-A tails from nucleotide sequences</td> |
| 889 | </tr> |
| 890 | |
| 891 | <tr> |
| 892 | <td><a href="trimseq.html">trimseq</a></td> |
| 893 | <td>Remove unwanted characters from start and end of sequence(s)</td> |
| 894 | </tr> |
| 895 | |
| 896 | <tr> |
| 897 | <td><a href="trimspace.html">trimspace</a></td> |
| 898 | <td>Remove extra whitespace from an ASCII text file</td> |
| 899 | </tr> |
| 900 | |
| 901 | <tr> |
| 902 | <td><a href="vectorstrip.html">vectorstrip</a></td> |
| 903 | <td>Remove vectors from the ends of nucleotide sequence(s)</td> |
| 904 | </tr> |
| 905 | |
| 906 | <tr> |
| 907 | <td><a href="yank.html">yank</a></td> |
| 908 | <td>Add a sequence reference (a full USA) to a list file</td> |
| 909 | </tr> |
| 910 | |
| 911 | </table> |
| 912 | <p> |
| 913 | |
| 914 | You may find the program <b>yank</b> useful for creating List files. |
| 915 | |
| 916 | |
| 917 | |
| 918 | <H2> |
| 919 | Author(s) |
| 920 | </H2> |
| 921 | Peter Rice |
| 922 | <br> |
| 923 | European Bioinformatics Institute, Wellcome Trust Genome Campus, Hinxton, Cambridge CB10 1SD, UK |
| 924 | |
| 925 | <p> |
| 926 | Please report all bugs to the EMBOSS bug team (emboss-bug © emboss.open-bio.org) not to the original author. |
| 927 | |
| 928 | |
| 929 | <H2> |
| 930 | History |
| 931 | </H2> |
| 932 | |
| 933 | Written (March 2002) - Peter Rice. |
| 934 | |
| 935 | <H2> |
| 936 | Target users |
| 937 | </H2> |
| 938 | This program is intended to be used by everyone and everything, from naive users to embedded scripts. |
| 939 | |
| 940 | <H2> |
| 941 | Comments |
| 942 | </H2> |
| 943 | None |
| 944 | |
| 945 | </BODY> |
| 946 | </HTML> |
| 947 |