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