| 1 | <HTML> |
| 2 | |
| 3 | <HEAD> |
| 4 | <TITLE> |
| 5 | EMBOSS: nthseqset |
| 6 | </TITLE> |
| 7 | </HEAD> |
| 8 | <BODY BGCOLOR="#FFFFFF" text="#000000"> |
| 9 | |
| 10 | <table align=center border=0 cellspacing=0 cellpadding=0> |
| 11 | <tr><td valign=top> |
| 12 | <A HREF="/" ONMOUSEOVER="self.status='Go to the EMBOSS home page';return true"><img border=0 src="/images/emboss_icon.jpg" alt="" width=150 height=48></a> |
| 13 | </td> |
| 14 | <td align=left valign=middle> |
| 15 | <b><font size="+6"> |
| 16 | nthseqset |
| 17 | </font></b> |
| 18 | </td></tr> |
| 19 | </table> |
| 20 | <br> |
| 21 | <p> |
| 22 | |
| 23 | <H2> |
| 24 | Wiki |
| 25 | </H2> |
| 26 | |
| 27 | The master copies of EMBOSS documentation are available |
| 28 | at <a href="http://emboss.open-bio.org/wiki/Appdocs"> |
| 29 | http://emboss.open-bio.org/wiki/Appdocs</a> |
| 30 | on the EMBOSS Wiki. |
| 31 | |
| 32 | <p> |
| 33 | Please help by correcting and extending the Wiki pages. |
| 34 | |
| 35 | <H2> |
| 36 | Function |
| 37 | </H2> |
| 38 | Read and write (return) one set of sequences from many |
| 39 | |
| 40 | <H2> |
| 41 | Description |
| 42 | </H2> |
| 43 | |
| 44 | |
| 45 | <p><b>nthseqset</b> writes to file a single sequence alignment (set) |
| 46 | from an input stream of sequence sets. The sequence set is specified |
| 47 | by number, which is the order it appears in the input file. The output |
| 48 | file name may be specified.</p> |
| 49 | |
| 50 | <H2> |
| 51 | Usage |
| 52 | </H2> |
| 53 | |
| 54 | |
| 55 | Here is a sample session with <b>nthseqset</b> |
| 56 | <p> |
| 57 | |
| 58 | <p> |
| 59 | <table width="90%"><tr><td bgcolor="#CCFFFF"><pre> |
| 60 | |
| 61 | % <b>nthseqset -osf phylip </b> |
| 62 | Read and write (return) one set of sequences from many |
| 63 | Input sequence set(s): <b>globins-all.phy</b> |
| 64 | The number of the sequence set to output [1]: <b>2</b> |
| 65 | output sequence(s) [globins-all.phylip]: <b></b> |
| 66 | |
| 67 | </pre></td></tr></table><p> |
| 68 | <p> |
| 69 | <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> |
| 70 | |
| 71 | |
| 72 | <H2> |
| 73 | Command line arguments |
| 74 | </H2> |
| 75 | <table CELLSPACING=0 CELLPADDING=3 BGCOLOR="#f5f5ff" ><tr><td> |
| 76 | <pre> |
| 77 | Read and write (return) one set of sequences from many |
| 78 | Version: EMBOSS:6.6.0.0 |
| 79 | |
| 80 | Standard (Mandatory) qualifiers: |
| 81 | [-sequence] seqsetall Sequence set(s) filename and optional |
| 82 | format, or reference (input USA) |
| 83 | -number integer [1] The number of the sequence set to output |
| 84 | (Integer 1 or more) |
| 85 | [-outseq] seqoutall [<sequence>.<format>] Sequence set(s) |
| 86 | filename and optional format (output USA) |
| 87 | |
| 88 | Additional (Optional) qualifiers: (none) |
| 89 | Advanced (Unprompted) qualifiers: |
| 90 | -feature boolean Use feature information |
| 91 | |
| 92 | Associated qualifiers: |
| 93 | |
| 94 | "-sequence" associated qualifiers |
| 95 | -sbegin1 integer Start of each sequence to be used |
| 96 | -send1 integer End of each sequence to be used |
| 97 | -sreverse1 boolean Reverse (if DNA) |
| 98 | -sask1 boolean Ask for begin/end/reverse |
| 99 | -snucleotide1 boolean Sequence is nucleotide |
| 100 | -sprotein1 boolean Sequence is protein |
| 101 | -slower1 boolean Make lower case |
| 102 | -supper1 boolean Make upper case |
| 103 | -scircular1 boolean Sequence is circular |
| 104 | -squick1 boolean Read id and sequence only |
| 105 | -sformat1 string Input sequence format |
| 106 | -iquery1 string Input query fields or ID list |
| 107 | -ioffset1 integer Input start position offset |
| 108 | -sdbname1 string Database name |
| 109 | -sid1 string Entryname |
| 110 | -ufo1 string UFO features |
| 111 | -fformat1 string Features format |
| 112 | -fopenfile1 string Features file name |
| 113 | |
| 114 | "-outseq" associated qualifiers |
| 115 | -osformat2 string Output seq format |
| 116 | -osextension2 string File name extension |
| 117 | -osname2 string Base file name |
| 118 | -osdirectory2 string Output directory |
| 119 | -osdbname2 string Database name to add |
| 120 | -ossingle2 boolean Separate file for each entry |
| 121 | -oufo2 string UFO features |
| 122 | -offormat2 string Features format |
| 123 | -ofname2 string Features file name |
| 124 | -ofdirectory2 string Output directory |
| 125 | |
| 126 | General qualifiers: |
| 127 | -auto boolean Turn off prompts |
| 128 | -stdout boolean Write first file to standard output |
| 129 | -filter boolean Read first file from standard input, write |
| 130 | first file to standard output |
| 131 | -options boolean Prompt for standard and additional values |
| 132 | -debug boolean Write debug output to program.dbg |
| 133 | -verbose boolean Report some/full command line options |
| 134 | -help boolean Report command line options and exit. More |
| 135 | information on associated and general |
| 136 | qualifiers can be found with -help -verbose |
| 137 | -warning boolean Report warnings |
| 138 | -error boolean Report errors |
| 139 | -fatal boolean Report fatal errors |
| 140 | -die boolean Report dying program messages |
| 141 | -version boolean Report version number and exit |
| 142 | |
| 143 | </pre> |
| 144 | </td></tr></table> |
| 145 | <P> |
| 146 | |
| 147 | <table border cellspacing=0 cellpadding=3 bgcolor="#ccccff"> |
| 148 | <tr bgcolor="#FFFFCC"> |
| 149 | <th align="left">Qualifier</th> |
| 150 | <th align="left">Type</th> |
| 151 | <th align="left">Description</th> |
| 152 | <th align="left">Allowed values</th> |
| 153 | <th align="left">Default</th> |
| 154 | </tr> |
| 155 | |
| 156 | <tr bgcolor="#FFFFCC"> |
| 157 | <th align="left" colspan=5>Standard (Mandatory) qualifiers</th> |
| 158 | </tr> |
| 159 | |
| 160 | <tr bgcolor="#FFFFCC"> |
| 161 | <td>[-sequence]<br>(Parameter 1)</td> |
| 162 | <td>seqsetall</td> |
| 163 | <td>Sequence set(s) filename and optional format, or reference (input USA)</td> |
| 164 | <td>Readable sets of sequences</td> |
| 165 | <td><b>Required</b></td> |
| 166 | </tr> |
| 167 | |
| 168 | <tr bgcolor="#FFFFCC"> |
| 169 | <td>-number</td> |
| 170 | <td>integer</td> |
| 171 | <td>The number of the sequence set to output</td> |
| 172 | <td>Integer 1 or more</td> |
| 173 | <td>1</td> |
| 174 | </tr> |
| 175 | |
| 176 | <tr bgcolor="#FFFFCC"> |
| 177 | <td>[-outseq]<br>(Parameter 2)</td> |
| 178 | <td>seqoutall</td> |
| 179 | <td>Sequence set(s) filename and optional format (output USA)</td> |
| 180 | <td>Writeable sequence(s)</td> |
| 181 | <td><i><*></i>.<i>format</i></td> |
| 182 | </tr> |
| 183 | |
| 184 | <tr bgcolor="#FFFFCC"> |
| 185 | <th align="left" colspan=5>Additional (Optional) qualifiers</th> |
| 186 | </tr> |
| 187 | |
| 188 | <tr> |
| 189 | <td colspan=5>(none)</td> |
| 190 | </tr> |
| 191 | |
| 192 | <tr bgcolor="#FFFFCC"> |
| 193 | <th align="left" colspan=5>Advanced (Unprompted) qualifiers</th> |
| 194 | </tr> |
| 195 | |
| 196 | <tr bgcolor="#FFFFCC"> |
| 197 | <td>-feature</td> |
| 198 | <td>boolean</td> |
| 199 | <td>Use feature information</td> |
| 200 | <td>Boolean value Yes/No</td> |
| 201 | <td>No</td> |
| 202 | </tr> |
| 203 | |
| 204 | <tr bgcolor="#FFFFCC"> |
| 205 | <th align="left" colspan=5>Associated qualifiers</th> |
| 206 | </tr> |
| 207 | |
| 208 | <tr bgcolor="#FFFFCC"> |
| 209 | <td align="left" colspan=5>"-sequence" associated seqsetall qualifiers |
| 210 | </td> |
| 211 | </tr> |
| 212 | |
| 213 | <tr bgcolor="#FFFFCC"> |
| 214 | <td> -sbegin1<br>-sbegin_sequence</td> |
| 215 | <td>integer</td> |
| 216 | <td>Start of each sequence to be used</td> |
| 217 | <td>Any integer value</td> |
| 218 | <td>0</td> |
| 219 | </tr> |
| 220 | |
| 221 | <tr bgcolor="#FFFFCC"> |
| 222 | <td> -send1<br>-send_sequence</td> |
| 223 | <td>integer</td> |
| 224 | <td>End of each sequence to be used</td> |
| 225 | <td>Any integer value</td> |
| 226 | <td>0</td> |
| 227 | </tr> |
| 228 | |
| 229 | <tr bgcolor="#FFFFCC"> |
| 230 | <td> -sreverse1<br>-sreverse_sequence</td> |
| 231 | <td>boolean</td> |
| 232 | <td>Reverse (if DNA)</td> |
| 233 | <td>Boolean value Yes/No</td> |
| 234 | <td>N</td> |
| 235 | </tr> |
| 236 | |
| 237 | <tr bgcolor="#FFFFCC"> |
| 238 | <td> -sask1<br>-sask_sequence</td> |
| 239 | <td>boolean</td> |
| 240 | <td>Ask for begin/end/reverse</td> |
| 241 | <td>Boolean value Yes/No</td> |
| 242 | <td>N</td> |
| 243 | </tr> |
| 244 | |
| 245 | <tr bgcolor="#FFFFCC"> |
| 246 | <td> -snucleotide1<br>-snucleotide_sequence</td> |
| 247 | <td>boolean</td> |
| 248 | <td>Sequence is nucleotide</td> |
| 249 | <td>Boolean value Yes/No</td> |
| 250 | <td>N</td> |
| 251 | </tr> |
| 252 | |
| 253 | <tr bgcolor="#FFFFCC"> |
| 254 | <td> -sprotein1<br>-sprotein_sequence</td> |
| 255 | <td>boolean</td> |
| 256 | <td>Sequence is protein</td> |
| 257 | <td>Boolean value Yes/No</td> |
| 258 | <td>N</td> |
| 259 | </tr> |
| 260 | |
| 261 | <tr bgcolor="#FFFFCC"> |
| 262 | <td> -slower1<br>-slower_sequence</td> |
| 263 | <td>boolean</td> |
| 264 | <td>Make lower case</td> |
| 265 | <td>Boolean value Yes/No</td> |
| 266 | <td>N</td> |
| 267 | </tr> |
| 268 | |
| 269 | <tr bgcolor="#FFFFCC"> |
| 270 | <td> -supper1<br>-supper_sequence</td> |
| 271 | <td>boolean</td> |
| 272 | <td>Make upper case</td> |
| 273 | <td>Boolean value Yes/No</td> |
| 274 | <td>N</td> |
| 275 | </tr> |
| 276 | |
| 277 | <tr bgcolor="#FFFFCC"> |
| 278 | <td> -scircular1<br>-scircular_sequence</td> |
| 279 | <td>boolean</td> |
| 280 | <td>Sequence is circular</td> |
| 281 | <td>Boolean value Yes/No</td> |
| 282 | <td>N</td> |
| 283 | </tr> |
| 284 | |
| 285 | <tr bgcolor="#FFFFCC"> |
| 286 | <td> -squick1<br>-squick_sequence</td> |
| 287 | <td>boolean</td> |
| 288 | <td>Read id and sequence only</td> |
| 289 | <td>Boolean value Yes/No</td> |
| 290 | <td>N</td> |
| 291 | </tr> |
| 292 | |
| 293 | <tr bgcolor="#FFFFCC"> |
| 294 | <td> -sformat1<br>-sformat_sequence</td> |
| 295 | <td>string</td> |
| 296 | <td>Input sequence format</td> |
| 297 | <td>Any string</td> |
| 298 | <td> </td> |
| 299 | </tr> |
| 300 | |
| 301 | <tr bgcolor="#FFFFCC"> |
| 302 | <td> -iquery1<br>-iquery_sequence</td> |
| 303 | <td>string</td> |
| 304 | <td>Input query fields or ID list</td> |
| 305 | <td>Any string</td> |
| 306 | <td> </td> |
| 307 | </tr> |
| 308 | |
| 309 | <tr bgcolor="#FFFFCC"> |
| 310 | <td> -ioffset1<br>-ioffset_sequence</td> |
| 311 | <td>integer</td> |
| 312 | <td>Input start position offset</td> |
| 313 | <td>Any integer value</td> |
| 314 | <td>0</td> |
| 315 | </tr> |
| 316 | |
| 317 | <tr bgcolor="#FFFFCC"> |
| 318 | <td> -sdbname1<br>-sdbname_sequence</td> |
| 319 | <td>string</td> |
| 320 | <td>Database name</td> |
| 321 | <td>Any string</td> |
| 322 | <td> </td> |
| 323 | </tr> |
| 324 | |
| 325 | <tr bgcolor="#FFFFCC"> |
| 326 | <td> -sid1<br>-sid_sequence</td> |
| 327 | <td>string</td> |
| 328 | <td>Entryname</td> |
| 329 | <td>Any string</td> |
| 330 | <td> </td> |
| 331 | </tr> |
| 332 | |
| 333 | <tr bgcolor="#FFFFCC"> |
| 334 | <td> -ufo1<br>-ufo_sequence</td> |
| 335 | <td>string</td> |
| 336 | <td>UFO features</td> |
| 337 | <td>Any string</td> |
| 338 | <td> </td> |
| 339 | </tr> |
| 340 | |
| 341 | <tr bgcolor="#FFFFCC"> |
| 342 | <td> -fformat1<br>-fformat_sequence</td> |
| 343 | <td>string</td> |
| 344 | <td>Features format</td> |
| 345 | <td>Any string</td> |
| 346 | <td> </td> |
| 347 | </tr> |
| 348 | |
| 349 | <tr bgcolor="#FFFFCC"> |
| 350 | <td> -fopenfile1<br>-fopenfile_sequence</td> |
| 351 | <td>string</td> |
| 352 | <td>Features file name</td> |
| 353 | <td>Any string</td> |
| 354 | <td> </td> |
| 355 | </tr> |
| 356 | |
| 357 | <tr bgcolor="#FFFFCC"> |
| 358 | <td align="left" colspan=5>"-outseq" associated seqoutall qualifiers |
| 359 | </td> |
| 360 | </tr> |
| 361 | |
| 362 | <tr bgcolor="#FFFFCC"> |
| 363 | <td> -osformat2<br>-osformat_outseq</td> |
| 364 | <td>string</td> |
| 365 | <td>Output seq format</td> |
| 366 | <td>Any string</td> |
| 367 | <td> </td> |
| 368 | </tr> |
| 369 | |
| 370 | <tr bgcolor="#FFFFCC"> |
| 371 | <td> -osextension2<br>-osextension_outseq</td> |
| 372 | <td>string</td> |
| 373 | <td>File name extension</td> |
| 374 | <td>Any string</td> |
| 375 | <td> </td> |
| 376 | </tr> |
| 377 | |
| 378 | <tr bgcolor="#FFFFCC"> |
| 379 | <td> -osname2<br>-osname_outseq</td> |
| 380 | <td>string</td> |
| 381 | <td>Base file name</td> |
| 382 | <td>Any string</td> |
| 383 | <td> </td> |
| 384 | </tr> |
| 385 | |
| 386 | <tr bgcolor="#FFFFCC"> |
| 387 | <td> -osdirectory2<br>-osdirectory_outseq</td> |
| 388 | <td>string</td> |
| 389 | <td>Output directory</td> |
| 390 | <td>Any string</td> |
| 391 | <td> </td> |
| 392 | </tr> |
| 393 | |
| 394 | <tr bgcolor="#FFFFCC"> |
| 395 | <td> -osdbname2<br>-osdbname_outseq</td> |
| 396 | <td>string</td> |
| 397 | <td>Database name to add</td> |
| 398 | <td>Any string</td> |
| 399 | <td> </td> |
| 400 | </tr> |
| 401 | |
| 402 | <tr bgcolor="#FFFFCC"> |
| 403 | <td> -ossingle2<br>-ossingle_outseq</td> |
| 404 | <td>boolean</td> |
| 405 | <td>Separate file for each entry</td> |
| 406 | <td>Boolean value Yes/No</td> |
| 407 | <td>N</td> |
| 408 | </tr> |
| 409 | |
| 410 | <tr bgcolor="#FFFFCC"> |
| 411 | <td> -oufo2<br>-oufo_outseq</td> |
| 412 | <td>string</td> |
| 413 | <td>UFO features</td> |
| 414 | <td>Any string</td> |
| 415 | <td> </td> |
| 416 | </tr> |
| 417 | |
| 418 | <tr bgcolor="#FFFFCC"> |
| 419 | <td> -offormat2<br>-offormat_outseq</td> |
| 420 | <td>string</td> |
| 421 | <td>Features format</td> |
| 422 | <td>Any string</td> |
| 423 | <td> </td> |
| 424 | </tr> |
| 425 | |
| 426 | <tr bgcolor="#FFFFCC"> |
| 427 | <td> -ofname2<br>-ofname_outseq</td> |
| 428 | <td>string</td> |
| 429 | <td>Features file name</td> |
| 430 | <td>Any string</td> |
| 431 | <td> </td> |
| 432 | </tr> |
| 433 | |
| 434 | <tr bgcolor="#FFFFCC"> |
| 435 | <td> -ofdirectory2<br>-ofdirectory_outseq</td> |
| 436 | <td>string</td> |
| 437 | <td>Output directory</td> |
| 438 | <td>Any string</td> |
| 439 | <td> </td> |
| 440 | </tr> |
| 441 | |
| 442 | <tr bgcolor="#FFFFCC"> |
| 443 | <th align="left" colspan=5>General qualifiers</th> |
| 444 | </tr> |
| 445 | |
| 446 | <tr bgcolor="#FFFFCC"> |
| 447 | <td> -auto</td> |
| 448 | <td>boolean</td> |
| 449 | <td>Turn off prompts</td> |
| 450 | <td>Boolean value Yes/No</td> |
| 451 | <td>N</td> |
| 452 | </tr> |
| 453 | |
| 454 | <tr bgcolor="#FFFFCC"> |
| 455 | <td> -stdout</td> |
| 456 | <td>boolean</td> |
| 457 | <td>Write first file to standard output</td> |
| 458 | <td>Boolean value Yes/No</td> |
| 459 | <td>N</td> |
| 460 | </tr> |
| 461 | |
| 462 | <tr bgcolor="#FFFFCC"> |
| 463 | <td> -filter</td> |
| 464 | <td>boolean</td> |
| 465 | <td>Read first file from standard input, write first file to standard output</td> |
| 466 | <td>Boolean value Yes/No</td> |
| 467 | <td>N</td> |
| 468 | </tr> |
| 469 | |
| 470 | <tr bgcolor="#FFFFCC"> |
| 471 | <td> -options</td> |
| 472 | <td>boolean</td> |
| 473 | <td>Prompt for standard and additional values</td> |
| 474 | <td>Boolean value Yes/No</td> |
| 475 | <td>N</td> |
| 476 | </tr> |
| 477 | |
| 478 | <tr bgcolor="#FFFFCC"> |
| 479 | <td> -debug</td> |
| 480 | <td>boolean</td> |
| 481 | <td>Write debug output to program.dbg</td> |
| 482 | <td>Boolean value Yes/No</td> |
| 483 | <td>N</td> |
| 484 | </tr> |
| 485 | |
| 486 | <tr bgcolor="#FFFFCC"> |
| 487 | <td> -verbose</td> |
| 488 | <td>boolean</td> |
| 489 | <td>Report some/full command line options</td> |
| 490 | <td>Boolean value Yes/No</td> |
| 491 | <td>Y</td> |
| 492 | </tr> |
| 493 | |
| 494 | <tr bgcolor="#FFFFCC"> |
| 495 | <td> -help</td> |
| 496 | <td>boolean</td> |
| 497 | <td>Report command line options and exit. More information on associated and general qualifiers can be found with -help -verbose</td> |
| 498 | <td>Boolean value Yes/No</td> |
| 499 | <td>N</td> |
| 500 | </tr> |
| 501 | |
| 502 | <tr bgcolor="#FFFFCC"> |
| 503 | <td> -warning</td> |
| 504 | <td>boolean</td> |
| 505 | <td>Report warnings</td> |
| 506 | <td>Boolean value Yes/No</td> |
| 507 | <td>Y</td> |
| 508 | </tr> |
| 509 | |
| 510 | <tr bgcolor="#FFFFCC"> |
| 511 | <td> -error</td> |
| 512 | <td>boolean</td> |
| 513 | <td>Report errors</td> |
| 514 | <td>Boolean value Yes/No</td> |
| 515 | <td>Y</td> |
| 516 | </tr> |
| 517 | |
| 518 | <tr bgcolor="#FFFFCC"> |
| 519 | <td> -fatal</td> |
| 520 | <td>boolean</td> |
| 521 | <td>Report fatal errors</td> |
| 522 | <td>Boolean value Yes/No</td> |
| 523 | <td>Y</td> |
| 524 | </tr> |
| 525 | |
| 526 | <tr bgcolor="#FFFFCC"> |
| 527 | <td> -die</td> |
| 528 | <td>boolean</td> |
| 529 | <td>Report dying program messages</td> |
| 530 | <td>Boolean value Yes/No</td> |
| 531 | <td>Y</td> |
| 532 | </tr> |
| 533 | |
| 534 | <tr bgcolor="#FFFFCC"> |
| 535 | <td> -version</td> |
| 536 | <td>boolean</td> |
| 537 | <td>Report version number and exit</td> |
| 538 | <td>Boolean value Yes/No</td> |
| 539 | <td>N</td> |
| 540 | </tr> |
| 541 | |
| 542 | </table> |
| 543 | |
| 544 | |
| 545 | <H2> |
| 546 | Input file format |
| 547 | </H2> |
| 548 | |
| 549 | <b>nthseqset</b> reads one or more nucleotiode or protein sequences. |
| 550 | <p> |
| 551 | <p> |
| 552 | |
| 553 | The input is a standard EMBOSS sequence query (also known as a 'USA'). |
| 554 | |
| 555 | <p> |
| 556 | Major sequence database sources defined as standard in EMBOSS |
| 557 | installations include srs:embl, srs:uniprot and ensembl |
| 558 | |
| 559 | <p> |
| 560 | |
| 561 | Data can also be read from sequence output in any supported format |
| 562 | written by an EMBOSS or third-party application. |
| 563 | |
| 564 | <p> |
| 565 | The input format can be specified by using the |
| 566 | command-line qualifier <tt>-sformat xxx</tt>, where 'xxx' is replaced |
| 567 | by the name of the required format. The available format names are: |
| 568 | gff (gff3), gff2, embl (em), genbank (gb, refseq), ddbj, refseqp, pir |
| 569 | (nbrf), swissprot (swiss, sw), dasgff and debug. |
| 570 | |
| 571 | <p> |
| 572 | |
| 573 | See: |
| 574 | <A href="http://emboss.sf.net/docs/themes/SequenceFormats.html"> |
| 575 | http://emboss.sf.net/docs/themes/SequenceFormats.html</A> |
| 576 | for further information on sequence formats. |
| 577 | |
| 578 | <p> |
| 579 | |
| 580 | |
| 581 | <a name="input.1"></a> |
| 582 | <h3>Input files for usage example </h3> |
| 583 | <p><h3>File: globins-all.phy</h3> |
| 584 | <table width="90%"><tr><td bgcolor="#FFCCFF"> |
| 585 | <pre> |
| 586 | 7 164 |
| 587 | HBB_HUMAN --------VH LTPEEKSAVT ALWGKVN-VD EVGGEALGR- LLVVYPWTQR |
| 588 | HBB_HORSE --------VQ LSGEEKAAVL ALWDKVN-EE EVGGEALGR- LLVVYPWTQR |
| 589 | HBA_HUMAN ---------- ----VLSPAD KTNVKAA-WG KVGAHAGEYG AEALERMFLS |
| 590 | HBA_HORSE ---------- ----VLSAAD KTNVKAA-WS KVGGHAGEYG AEALERMFLG |
| 591 | MYG_PHYCA -------VLS EGEWQLVLHV WAKVEAD-VA GHGQDILIR- LFKSHPETLE |
| 592 | GLB5_PETMAPIVDTGSVAP LSAAEKTKIR SAWAPVYSTY ETSGVDILVK FFTSTPAAQE |
| 593 | LGB2_LUPLU--------GA LTESQAALVK SSWEEFNANI PKHTHRFFIL VLEIAPAAKD |
| 594 | |
| 595 | FFESFGDLST PDAVMGNPKV KAHGKKVLGA FSDGLAHLDN LKGTFATLSE |
| 596 | FFDSFGDLSN PGAVMGNPKV KAHGKKVLHS FGEGVHHLDN LKGTFAALSE |
| 597 | FPTTKTYFPH FDLSHGSAQV KGHGKKVADA LTNAVAHVDD MPNALSALSD |
| 598 | FPTTKTYFPH FDLSHGSAQV KAHGKKVGDA LTLAVGHLDD LPGALSNLSD |
| 599 | KFDRFKHLKT EAEMKASEDL KKHGVTVLTA LGAILKKKGH HEAELKPLAQ |
| 600 | FFPKFKGLTT ADQLKKSADV RWHAERIINA VNDAVASMDD TEKMSMKLRD |
| 601 | LFSFLKGTSE VPQNNPELQA HAGKVFKLVY EAAIQLQVTG VVVTDATLKN |
| 602 | |
| 603 | LHCDKLH--V DPENFRLLGN VLVCVLAHHF GKEFTPPVQA AYQKVVAGVA |
| 604 | LHCDKLH--V DPENFRLLGN VLVVVLARHF GKDFTPELQA SYQKVVAGVA |
| 605 | LHAHKLR--V DPVNFKLLSH CLLVTLAAHL PAEFTPAVHA SLDKFLASVS |
| 606 | LHAHKLR--V DPVNFKLLSH CLLSTLAVHL PNDFTPAVHA SLDKFLSSVS |
| 607 | SHATKHK--I PIKYLEFISE AIIHVLHSRH PGDFGADAQG AMNKALELFR |
| 608 | LSGKHAK--S FQVDPQYFKV LAAVIADTVA AGDAGFEKLM SMICILLRSA |
| 609 | LGSVHVSKGV ADAHFPVVKE AILKTIKEVV GAKWSEELNS AWTIAYDELA |
| 610 | |
| 611 | NALAHKYH-- ---- |
| 612 | NALAHKYH-- ---- |
| 613 | TVLTSKYR-- ---- |
| 614 | TVLTSKYR-- ---- |
| 615 | KDIAAKYKEL GYQG |
| 616 | Y--------- ---- |
| 617 | IVIKKEMNDA A--- |
| 618 | 7 167 |
| 619 | HBB_HUMAN --------VH LTPEEKSAVT ALWGKVN--V DEVGGEALGR LLVVYPWTQR |
| 620 | HBB_HORSE --------VQ LSGEEKAAVL ALWDKVN--E EEVGGEALGR LLVVYPWTQR |
| 621 | HBA_HUMAN ---------V LSPADKTNVK AAWGKVGAHA GEYGAEALER MFLSFPTTKT |
| 622 | HBA_HORSE ---------V LSAADKTNVK AAWSKVGGHA GEYGAEALER MFLGFPTTKT |
| 623 | GLB5_PETMAPIVDTGSVAP LSAAEKTKIR SAWAPVYSTY ETSGVDILVK FFTSTPAAQE |
| 624 | MYG_PHYCA ---------V LSEGEWQLVL HVWAKVEADV AGHGQDILIR LFKSHPETLE |
| 625 | LGB2_LUPLU--------GA LTESQAALVK SSWEEFNANI PKHTHRFFIL VLEIAPAAKD |
| 626 | |
| 627 | FFESFGDLST PDAVMGNPKV KAHGKKVLGA FSDGLAHLDN -----LKGTF |
| 628 | FFDSFGDLSN PGAVMGNPKV KAHGKKVLHS FGEGVHHLDN -----LKGTF |
| 629 | YFPHF-DLS- ----HGSAQV KGHGKKVADA LTNAVAHVDD -----MPNAL |
| 630 | YFPHF-DLS- ----HGSAQV KAHGKKVGDA LTLAVGHLDD -----LPGAL |
| 631 | FFPKFKGLTT ADQLKKSADV RWHAERIINA VNDAVASMDD T--EKMSMKL |
| 632 | KFDRFKHLKT EAEMKASEDL KKHGVTVLTA LGAILKKKGH -----HEAEL |
| 633 | LFSFLKGTSE VP--QNNPEL QAHAGKVFKL VYEAAIQLQV TGVVVTDATL |
| 634 | |
| 635 | ATLSELHCDK LHVDPENFRL LGNVLVCVLA HHFGKEFTPP VQAAYQKVVA |
| 636 | AALSELHCDK LHVDPENFRL LGNVLVVVLA RHFGKDFTPE LQASYQKVVA |
| 637 | SALSDLHAHK LRVDPVNFKL LSHCLLVTLA AHLPAEFTPA VHASLDKFLA |
| 638 | SNLSDLHAHK LRVDPVNFKL LSHCLLSTLA VHLPNDFTPA VHASLDKFLS |
| 639 | RDLSGKHAKS FQVDPQYFKV LAAVIADTVA AG-------- -DAGFEKLMS |
| 640 | KPLAQSHATK HKIPIKYLEF ISEAIIHVLH SRHPGDFGAD AQGAMNKALE |
| 641 | KNLGSVHVSK G-VADAHFPV VKEAILKTIK EVVGAKWSEE LNSAWTIAYD |
| 642 | |
| 643 | GVANALAHKY H------ |
| 644 | GVANALAHKY H------ |
| 645 | SVSTVLTSKY R------ |
| 646 | SVSTVLTSKY R------ |
| 647 | MICILLRSAY ------- |
| 648 | LFRKDIAAKY KELGYQG |
| 649 | ELAIVIKKEM NDAA--- |
| 650 | </pre> |
| 651 | </td></tr></table><p> |
| 652 | |
| 653 | <H2> |
| 654 | Output file format |
| 655 | </H2> |
| 656 | |
| 657 | |
| 658 | <p> |
| 659 | |
| 660 | The output is a standard EMBOSS sequence file. |
| 661 | |
| 662 | <p> |
| 663 | |
| 664 | The results can be output in one of several styles by using the |
| 665 | command-line qualifier <tt>-osformat xxx</tt>, where 'xxx' is replaced by |
| 666 | the name of the required format. The available format names are: embl, |
| 667 | genbank, gff, pir, swiss, dasgff, debug, listfile, dbmotif, diffseq, excel, |
| 668 | feattable, motif, nametable, regions, seqtable, simple, srs, table, tagseq. |
| 669 | |
| 670 | <p> |
| 671 | |
| 672 | See: |
| 673 | <A href="http://emboss.sf.net/docs/themes/SequenceFormats.html"> |
| 674 | http://emboss.sf.net/docs/themes/SequenceFormats.html</A> |
| 675 | for further information on sequence formats. |
| 676 | |
| 677 | <p> |
| 678 | |
| 679 | <p> |
| 680 | The output is the specified ordinal sequence set from the input USA. |
| 681 | |
| 682 | <p> |
| 683 | |
| 684 | In the example, the second sequence set from the input file will be written |
| 685 | out to the specified output file. |
| 686 | |
| 687 | <p> |
| 688 | |
| 689 | |
| 690 | <a name="output.1"></a> |
| 691 | <h3>Output files for usage example </h3> |
| 692 | <p><h3>File: globins-all.phylip</h3> |
| 693 | <table width="90%"><tr><td bgcolor="#CCFFCC"> |
| 694 | <pre> |
| 695 | 7 167 |
| 696 | HBB_HUMAN --------VH LTPEEKSAVT ALWGKVN--V DEVGGEALGR LLVVYPWTQR |
| 697 | HBB_HORSE --------VQ LSGEEKAAVL ALWDKVN--E EEVGGEALGR LLVVYPWTQR |
| 698 | HBA_HUMAN ---------V LSPADKTNVK AAWGKVGAHA GEYGAEALER MFLSFPTTKT |
| 699 | HBA_HORSE ---------V LSAADKTNVK AAWSKVGGHA GEYGAEALER MFLGFPTTKT |
| 700 | GLB5_PETMAPIVDTGSVAP LSAAEKTKIR SAWAPVYSTY ETSGVDILVK FFTSTPAAQE |
| 701 | MYG_PHYCA ---------V LSEGEWQLVL HVWAKVEADV AGHGQDILIR LFKSHPETLE |
| 702 | LGB2_LUPLU--------GA LTESQAALVK SSWEEFNANI PKHTHRFFIL VLEIAPAAKD |
| 703 | |
| 704 | FFESFGDLST PDAVMGNPKV KAHGKKVLGA FSDGLAHLDN -----LKGTF |
| 705 | FFDSFGDLSN PGAVMGNPKV KAHGKKVLHS FGEGVHHLDN -----LKGTF |
| 706 | YFPHF-DLS- ----HGSAQV KGHGKKVADA LTNAVAHVDD -----MPNAL |
| 707 | YFPHF-DLS- ----HGSAQV KAHGKKVGDA LTLAVGHLDD -----LPGAL |
| 708 | FFPKFKGLTT ADQLKKSADV RWHAERIINA VNDAVASMDD T--EKMSMKL |
| 709 | KFDRFKHLKT EAEMKASEDL KKHGVTVLTA LGAILKKKGH -----HEAEL |
| 710 | LFSFLKGTSE VP--QNNPEL QAHAGKVFKL VYEAAIQLQV TGVVVTDATL |
| 711 | |
| 712 | ATLSELHCDK LHVDPENFRL LGNVLVCVLA HHFGKEFTPP VQAAYQKVVA |
| 713 | AALSELHCDK LHVDPENFRL LGNVLVVVLA RHFGKDFTPE LQASYQKVVA |
| 714 | SALSDLHAHK LRVDPVNFKL LSHCLLVTLA AHLPAEFTPA VHASLDKFLA |
| 715 | SNLSDLHAHK LRVDPVNFKL LSHCLLSTLA VHLPNDFTPA VHASLDKFLS |
| 716 | RDLSGKHAKS FQVDPQYFKV LAAVIADTVA AG-------- -DAGFEKLMS |
| 717 | KPLAQSHATK HKIPIKYLEF ISEAIIHVLH SRHPGDFGAD AQGAMNKALE |
| 718 | KNLGSVHVSK G-VADAHFPV VKEAILKTIK EVVGAKWSEE LNSAWTIAYD |
| 719 | |
| 720 | GVANALAHKY H------ |
| 721 | GVANALAHKY H------ |
| 722 | SVSTVLTSKY R------ |
| 723 | SVSTVLTSKY R------ |
| 724 | MICILLRSAY ------- |
| 725 | LFRKDIAAKY KELGYQG |
| 726 | ELAIVIKKEM NDAA--- |
| 727 | </pre> |
| 728 | </td></tr></table><p> |
| 729 | |
| 730 | |
| 731 | <H2> |
| 732 | Data files |
| 733 | </H2> |
| 734 | |
| 735 | None. |
| 736 | |
| 737 | <H2> |
| 738 | Notes |
| 739 | </H2> |
| 740 | |
| 741 | <p>In EMBOSS, when an application has to write out many sequences, they are typically all written to a single file. This default behaviour can be changed by using the qualifier <tt>-ossingle</tt> which forces each sequence to be written to its own file.</p> |
| 742 | |
| 743 | <p>The program <b>seqretsplit</b> will take a file containing many sequences and will output many files, each containing one sequence. However you have no choice over the naming of the files - they are named after the ID name fo the sequence they contain.</p> |
| 744 | |
| 745 | |
| 746 | |
| 747 | <H2> |
| 748 | References |
| 749 | </H2> |
| 750 | |
| 751 | None. |
| 752 | |
| 753 | <H2> |
| 754 | Warnings |
| 755 | </H2> |
| 756 | |
| 757 | None. |
| 758 | |
| 759 | <H2> |
| 760 | Diagnostic Error Messages |
| 761 | </H2> |
| 762 | |
| 763 | None. |
| 764 | |
| 765 | <H2> |
| 766 | Exit status |
| 767 | </H2> |
| 768 | |
| 769 | It always exits with a status of 0. |
| 770 | |
| 771 | <H2> |
| 772 | Known bugs |
| 773 | </H2> |
| 774 | |
| 775 | None. |
| 776 | |
| 777 | <h2><a name="See also">See also</a></h2> |
| 778 | <table border cellpadding=4 bgcolor="#FFFFF0"> |
| 779 | <tr><th>Program name</th> |
| 780 | <th>Description</th></tr> |
| 781 | <tr> |
| 782 | <td><a href="aligncopy.html">aligncopy</a></td> |
| 783 | <td>Read and write alignments</td> |
| 784 | </tr> |
| 785 | |
| 786 | <tr> |
| 787 | <td><a href="aligncopypair.html">aligncopypair</a></td> |
| 788 | <td>Read and write pairs from alignments</td> |
| 789 | </tr> |
| 790 | |
| 791 | <tr> |
| 792 | <td><a href="biosed.html">biosed</a></td> |
| 793 | <td>Replace or delete sequence sections</td> |
| 794 | </tr> |
| 795 | |
| 796 | <tr> |
| 797 | <td><a href="codcopy.html">codcopy</a></td> |
| 798 | <td>Copy and reformat a codon usage table</td> |
| 799 | </tr> |
| 800 | |
| 801 | <tr> |
| 802 | <td><a href="cutseq.html">cutseq</a></td> |
| 803 | <td>Remove a section from a sequence</td> |
| 804 | </tr> |
| 805 | |
| 806 | <tr> |
| 807 | <td><a href="degapseq.html">degapseq</a></td> |
| 808 | <td>Remove non-alphabetic (e.g. gap) characters from sequences</td> |
| 809 | </tr> |
| 810 | |
| 811 | <tr> |
| 812 | <td><a href="descseq.html">descseq</a></td> |
| 813 | <td>Alter the name or description of a sequence</td> |
| 814 | </tr> |
| 815 | |
| 816 | <tr> |
| 817 | <td><a href="entret.html">entret</a></td> |
| 818 | <td>Retrieve sequence entries from flatfile databases and files</td> |
| 819 | </tr> |
| 820 | |
| 821 | <tr> |
| 822 | <td><a href="extractalign.html">extractalign</a></td> |
| 823 | <td>Extract regions from a sequence alignment</td> |
| 824 | </tr> |
| 825 | |
| 826 | <tr> |
| 827 | <td><a href="extractfeat.html">extractfeat</a></td> |
| 828 | <td>Extract features from sequence(s)</td> |
| 829 | </tr> |
| 830 | |
| 831 | <tr> |
| 832 | <td><a href="extractseq.html">extractseq</a></td> |
| 833 | <td>Extract regions from a sequence</td> |
| 834 | </tr> |
| 835 | |
| 836 | <tr> |
| 837 | <td><a href="featcopy.html">featcopy</a></td> |
| 838 | <td>Read and write a feature table</td> |
| 839 | </tr> |
| 840 | |
| 841 | <tr> |
| 842 | <td><a href="featmerge.html">featmerge</a></td> |
| 843 | <td>Merge two overlapping feature tables</td> |
| 844 | </tr> |
| 845 | |
| 846 | <tr> |
| 847 | <td><a href="featreport.html">featreport</a></td> |
| 848 | <td>Read and write a feature table</td> |
| 849 | </tr> |
| 850 | |
| 851 | <tr> |
| 852 | <td><a href="feattext.html">feattext</a></td> |
| 853 | <td>Return a feature table original text</td> |
| 854 | </tr> |
| 855 | |
| 856 | <tr> |
| 857 | <td><a href="listor.html">listor</a></td> |
| 858 | <td>Write a list file of the logical OR of two sets of sequences</td> |
| 859 | </tr> |
| 860 | |
| 861 | <tr> |
| 862 | <td><a href="makenucseq.html">makenucseq</a></td> |
| 863 | <td>Create random nucleotide sequences</td> |
| 864 | </tr> |
| 865 | |
| 866 | <tr> |
| 867 | <td><a href="makeprotseq.html">makeprotseq</a></td> |
| 868 | <td>Create random protein sequences</td> |
| 869 | </tr> |
| 870 | |
| 871 | <tr> |
| 872 | <td><a href="maskambignuc.html">maskambignuc</a></td> |
| 873 | <td>Mask all ambiguity characters in nucleotide sequences with N</td> |
| 874 | </tr> |
| 875 | |
| 876 | <tr> |
| 877 | <td><a href="maskambigprot.html">maskambigprot</a></td> |
| 878 | <td>Mask all ambiguity characters in protein sequences with X</td> |
| 879 | </tr> |
| 880 | |
| 881 | <tr> |
| 882 | <td><a href="maskfeat.html">maskfeat</a></td> |
| 883 | <td>Write a sequence with masked features</td> |
| 884 | </tr> |
| 885 | |
| 886 | <tr> |
| 887 | <td><a href="maskseq.html">maskseq</a></td> |
| 888 | <td>Write a sequence with masked regions</td> |
| 889 | </tr> |
| 890 | |
| 891 | <tr> |
| 892 | <td><a href="newseq.html">newseq</a></td> |
| 893 | <td>Create a sequence file from a typed-in sequence</td> |
| 894 | </tr> |
| 895 | |
| 896 | <tr> |
| 897 | <td><a href="nohtml.html">nohtml</a></td> |
| 898 | <td>Remove mark-up (e.g. HTML tags) from an ASCII text file</td> |
| 899 | </tr> |
| 900 | |
| 901 | <tr> |
| 902 | <td><a href="noreturn.html">noreturn</a></td> |
| 903 | <td>Remove carriage return from ASCII files</td> |
| 904 | </tr> |
| 905 | |
| 906 | <tr> |
| 907 | <td><a href="nospace.html">nospace</a></td> |
| 908 | <td>Remove whitespace from an ASCII text file</td> |
| 909 | </tr> |
| 910 | |
| 911 | <tr> |
| 912 | <td><a href="notab.html">notab</a></td> |
| 913 | <td>Replace tabs with spaces in an ASCII text file</td> |
| 914 | </tr> |
| 915 | |
| 916 | <tr> |
| 917 | <td><a href="notseq.html">notseq</a></td> |
| 918 | <td>Write to file a subset of an input stream of sequences</td> |
| 919 | </tr> |
| 920 | |
| 921 | <tr> |
| 922 | <td><a href="nthseq.html">nthseq</a></td> |
| 923 | <td>Write to file a single sequence from an input stream of sequences</td> |
| 924 | </tr> |
| 925 | |
| 926 | <tr> |
| 927 | <td><a href="pasteseq.html">pasteseq</a></td> |
| 928 | <td>Insert one sequence into another</td> |
| 929 | </tr> |
| 930 | |
| 931 | <tr> |
| 932 | <td><a href="revseq.html">revseq</a></td> |
| 933 | <td>Reverse and complement a nucleotide sequence</td> |
| 934 | </tr> |
| 935 | |
| 936 | <tr> |
| 937 | <td><a href="seqcount.html">seqcount</a></td> |
| 938 | <td>Read and count sequences</td> |
| 939 | </tr> |
| 940 | |
| 941 | <tr> |
| 942 | <td><a href="seqret.html">seqret</a></td> |
| 943 | <td>Read and write (return) sequences</td> |
| 944 | </tr> |
| 945 | |
| 946 | <tr> |
| 947 | <td><a href="seqretsetall.html">seqretsetall</a></td> |
| 948 | <td>Read and write (return) many sets of sequences</td> |
| 949 | </tr> |
| 950 | |
| 951 | <tr> |
| 952 | <td><a href="seqretsplit.html">seqretsplit</a></td> |
| 953 | <td>Read sequences and write them to individual files</td> |
| 954 | </tr> |
| 955 | |
| 956 | <tr> |
| 957 | <td><a href="sizeseq.html">sizeseq</a></td> |
| 958 | <td>Sort sequences by size</td> |
| 959 | </tr> |
| 960 | |
| 961 | <tr> |
| 962 | <td><a href="skipredundant.html">skipredundant</a></td> |
| 963 | <td>Remove redundant sequences from an input set</td> |
| 964 | </tr> |
| 965 | |
| 966 | <tr> |
| 967 | <td><a href="skipseq.html">skipseq</a></td> |
| 968 | <td>Read and write (return) sequences, skipping first few</td> |
| 969 | </tr> |
| 970 | |
| 971 | <tr> |
| 972 | <td><a href="splitsource.html">splitsource</a></td> |
| 973 | <td>Split sequence(s) into original source sequences</td> |
| 974 | </tr> |
| 975 | |
| 976 | <tr> |
| 977 | <td><a href="splitter.html">splitter</a></td> |
| 978 | <td>Split sequence(s) into smaller sequences</td> |
| 979 | </tr> |
| 980 | |
| 981 | <tr> |
| 982 | <td><a href="trimest.html">trimest</a></td> |
| 983 | <td>Remove poly-A tails from nucleotide sequences</td> |
| 984 | </tr> |
| 985 | |
| 986 | <tr> |
| 987 | <td><a href="trimseq.html">trimseq</a></td> |
| 988 | <td>Remove unwanted characters from start and end of sequence(s)</td> |
| 989 | </tr> |
| 990 | |
| 991 | <tr> |
| 992 | <td><a href="trimspace.html">trimspace</a></td> |
| 993 | <td>Remove extra whitespace from an ASCII text file</td> |
| 994 | </tr> |
| 995 | |
| 996 | <tr> |
| 997 | <td><a href="union.html">union</a></td> |
| 998 | <td>Concatenate multiple sequences into a single sequence</td> |
| 999 | </tr> |
| 1000 | |
| 1001 | <tr> |
| 1002 | <td><a href="vectorstrip.html">vectorstrip</a></td> |
| 1003 | <td>Remove vectors from the ends of nucleotide sequence(s)</td> |
| 1004 | </tr> |
| 1005 | |
| 1006 | <tr> |
| 1007 | <td><a href="yank.html">yank</a></td> |
| 1008 | <td>Add a sequence reference (a full USA) to a list file</td> |
| 1009 | </tr> |
| 1010 | |
| 1011 | </table> |
| 1012 | |
| 1013 | <H2> |
| 1014 | Author(s) |
| 1015 | </H2> |
| 1016 | |
| 1017 | |
| 1018 | Peter Rice |
| 1019 | <br> |
| 1020 | European Bioinformatics Institute, Wellcome Trust Genome Campus, Hinxton, Cambridge CB10 1SD, UK |
| 1021 | |
| 1022 | <p> |
| 1023 | Please report all bugs to the EMBOSS bug team (emboss-bug © emboss.open-bio.org) not to the original author. |
| 1024 | |
| 1025 | <H2> |
| 1026 | History |
| 1027 | </H2> |
| 1028 | |
| 1029 | |
| 1030 | <H2> |
| 1031 | Target users |
| 1032 | </H2> |
| 1033 | This program is intended to be used by everyone and everything, from naive users to embedded scripts. |
| 1034 | |
| 1035 | |
| 1036 | <H2> |
| 1037 | Comments |
| 1038 | </H2> |
| 1039 | None |
| 1040 | |
| 1041 | |
| 1042 | </BODY> |
| 1043 | </HTML> |
| 1044 |