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