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