| 1 | <HTML> |
| 2 | |
| 3 | <HEAD> |
| 4 | <TITLE> |
| 5 | EMBOSS: extractseq |
| 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 | extractseq |
| 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 | Extract regions from a sequence |
| 40 | <H2> |
| 41 | Description |
| 42 | </H2> |
| 43 | |
| 44 | <p><b>extractseq</b> reads a sequence and writes sub-sequences from it to file. The set of regions to extract is specified on the command-line or in a file as pairs of start and end positions. The regions are written in the order in which they are specified. Thus, if the sequence <tt>AAAGGGTTT</tt> has been input and the regions: <tt>7-9, 3-4</tt> have been specified, then the output sequence will be: <tt>TTTAG</tt>. Optionally, each region may be written out as a separate sequence.</p> |
| 45 | |
| 46 | <H2> |
| 47 | Usage |
| 48 | </H2> |
| 49 | Here is a sample session with <b>extractseq</b> |
| 50 | <p> |
| 51 | Extract the region from position 10 to 20: |
| 52 | <p> |
| 53 | |
| 54 | <p> |
| 55 | <table width="90%"><tr><td bgcolor="#CCFFFF"><pre> |
| 56 | |
| 57 | % <b>extractseq tembl:x65923 result.seq -regions "10-20" </b> |
| 58 | Extract regions from a sequence |
| 59 | |
| 60 | </pre></td></tr></table><p> |
| 61 | <p> |
| 62 | <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> |
| 63 | <p> |
| 64 | <b>Example 2</b> |
| 65 | <p> |
| 66 | Extract the regions 10 to 20, 30 to 45, 533 to 537: |
| 67 | <p> |
| 68 | |
| 69 | <p> |
| 70 | <table width="90%"><tr><td bgcolor="#CCFFFF"><pre> |
| 71 | |
| 72 | % <b>extractseq tembl:x65921 result2.seq -regions "10-20 30-45 533-537" </b> |
| 73 | Extract regions from a sequence |
| 74 | |
| 75 | </pre></td></tr></table><p> |
| 76 | <p> |
| 77 | <a href="#input.2">Go to the input files for this example</a><br><a href="#output.2">Go to the output files for this example</a><p><p> |
| 78 | <p> |
| 79 | <b>Example 3</b> |
| 80 | <p> |
| 81 | Extract the regions 782-856, 951-1095, 1557-1612 and 1787-1912: |
| 82 | <p> |
| 83 | |
| 84 | <p> |
| 85 | <table width="90%"><tr><td bgcolor="#CCFFFF"><pre> |
| 86 | |
| 87 | % <b>extractseq tembl:x65921 -reg "782..856,951..1095,1557..1612,1787..1912" stdout </b> |
| 88 | Extract regions from a sequence |
| 89 | |
| 90 | >X65921 X65921.1 H.sapiens fau 1 gene |
| 91 | atgcagctctttgtccgcgcccaggagctacacaccttcgaggtgaccggccaggaaacg |
| 92 | gtcgcccagatcaaggctcatgtagcctcactggagggcattgccccggaagatcaagtc |
| 93 | gtgctcctggcaggcgcgcccctggaggatgaggccactctgggccagtgcggggtggag |
| 94 | gccctgactaccctggaagtagcaggccgcatgcttggaggtaaagtccatggttccctg |
| 95 | gcccgtgctggaaaagtgagaggtcagactcctaaggtggccaaacaggagaagaagaag |
| 96 | aagaagacaggtcgggctaagcggcggatgcagtacaaccggcgctttgtcaacgttgtg |
| 97 | cccacctttggcaagaagaagggccccaatgccaactcttaa |
| 98 | |
| 99 | </pre></td></tr></table><p> |
| 100 | <p> |
| 101 | <p> |
| 102 | <p> |
| 103 | <b>Example 4</b> |
| 104 | <p> |
| 105 | Extract the regions 782-856, 951-1095, 1557-1612 and 1787-1912 all to separate output sequences: |
| 106 | <p> |
| 107 | |
| 108 | <p> |
| 109 | <table width="90%"><tr><td bgcolor="#CCFFFF"><pre> |
| 110 | |
| 111 | % <b>extractseq tembl:x65921 -reg "782..856,951..1095,1557..1612,1787..1912" stdout -separate </b> |
| 112 | Extract regions from a sequence |
| 113 | |
| 114 | >X65921_782_856 H.sapiens fau 1 gene |
| 115 | atgcagctctttgtccgcgcccaggagctacacaccttcgaggtgaccggccaggaaacg |
| 116 | gtcgcccagatcaag |
| 117 | >X65921_951_1095 H.sapiens fau 1 gene |
| 118 | gctcatgtagcctcactggagggcattgccccggaagatcaagtcgtgctcctggcaggc |
| 119 | gcgcccctggaggatgaggccactctgggccagtgcggggtggaggccctgactaccctg |
| 120 | gaagtagcaggccgcatgcttggag |
| 121 | >X65921_1557_1612 H.sapiens fau 1 gene |
| 122 | gtaaagtccatggttccctggcccgtgctggaaaagtgagaggtcagactcctaag |
| 123 | >X65921_1787_1912 H.sapiens fau 1 gene |
| 124 | gtggccaaacaggagaagaagaagaagaagacaggtcgggctaagcggcggatgcagtac |
| 125 | aaccggcgctttgtcaacgttgtgcccacctttggcaagaagaagggccccaatgccaac |
| 126 | tcttaa |
| 127 | |
| 128 | </pre></td></tr></table><p> |
| 129 | <p> |
| 130 | <p> |
| 131 | |
| 132 | <H2> |
| 133 | Command line arguments |
| 134 | </H2> |
| 135 | <table CELLSPACING=0 CELLPADDING=3 BGCOLOR="#f5f5ff" ><tr><td> |
| 136 | <pre> |
| 137 | Extract regions from a sequence |
| 138 | Version: EMBOSS:6.6.0.0 |
| 139 | |
| 140 | Standard (Mandatory) qualifiers: |
| 141 | [-sequence] sequence Sequence filename and optional format, or |
| 142 | reference (input USA) |
| 143 | -regions range [Whole sequence] Regions to extract. |
| 144 | A set of regions is specified by a set of |
| 145 | pairs of positions. |
| 146 | The positions are integers. |
| 147 | They are separated by any non-digit, |
| 148 | non-alpha character. |
| 149 | Examples of region specifications are: |
| 150 | 24-45, 56-78 |
| 151 | 1:45, 67=99;765..888 |
| 152 | 1,5,8,10,23,45,57,99 |
| 153 | [-outseq] seqoutall [<sequence>.<format>] Sequence set(s) |
| 154 | filename and optional format (output USA) |
| 155 | |
| 156 | Additional (Optional) qualifiers: |
| 157 | -separate boolean [N] If this is set true then each specified |
| 158 | region is written out as a separate |
| 159 | sequence. The name of the sequence is |
| 160 | created from the name of the original |
| 161 | sequence with the start and end positions of |
| 162 | the range appended with underscore |
| 163 | characters between them, eg: XYZ region 2 to |
| 164 | 34 is written as: XYZ_2_34 |
| 165 | |
| 166 | Advanced (Unprompted) qualifiers: (none) |
| 167 | Associated qualifiers: |
| 168 | |
| 169 | "-sequence" associated qualifiers |
| 170 | -sbegin1 integer Start of the sequence to be used |
| 171 | -send1 integer End of the sequence to be used |
| 172 | -sreverse1 boolean Reverse (if DNA) |
| 173 | -sask1 boolean Ask for begin/end/reverse |
| 174 | -snucleotide1 boolean Sequence is nucleotide |
| 175 | -sprotein1 boolean Sequence is protein |
| 176 | -slower1 boolean Make lower case |
| 177 | -supper1 boolean Make upper case |
| 178 | -scircular1 boolean Sequence is circular |
| 179 | -squick1 boolean Read id and sequence only |
| 180 | -sformat1 string Input sequence format |
| 181 | -iquery1 string Input query fields or ID list |
| 182 | -ioffset1 integer Input start position offset |
| 183 | -sdbname1 string Database name |
| 184 | -sid1 string Entryname |
| 185 | -ufo1 string UFO features |
| 186 | -fformat1 string Features format |
| 187 | -fopenfile1 string Features file name |
| 188 | |
| 189 | "-outseq" associated qualifiers |
| 190 | -osformat2 string Output seq format |
| 191 | -osextension2 string File name extension |
| 192 | -osname2 string Base file name |
| 193 | -osdirectory2 string Output directory |
| 194 | -osdbname2 string Database name to add |
| 195 | -ossingle2 boolean Separate file for each entry |
| 196 | -oufo2 string UFO features |
| 197 | -offormat2 string Features format |
| 198 | -ofname2 string Features file name |
| 199 | -ofdirectory2 string Output directory |
| 200 | |
| 201 | General qualifiers: |
| 202 | -auto boolean Turn off prompts |
| 203 | -stdout boolean Write first file to standard output |
| 204 | -filter boolean Read first file from standard input, write |
| 205 | first file to standard output |
| 206 | -options boolean Prompt for standard and additional values |
| 207 | -debug boolean Write debug output to program.dbg |
| 208 | -verbose boolean Report some/full command line options |
| 209 | -help boolean Report command line options and exit. More |
| 210 | information on associated and general |
| 211 | qualifiers can be found with -help -verbose |
| 212 | -warning boolean Report warnings |
| 213 | -error boolean Report errors |
| 214 | -fatal boolean Report fatal errors |
| 215 | -die boolean Report dying program messages |
| 216 | -version boolean Report version number and exit |
| 217 | |
| 218 | </pre> |
| 219 | </td></tr></table> |
| 220 | <P> |
| 221 | <table border cellspacing=0 cellpadding=3 bgcolor="#ccccff"> |
| 222 | <tr bgcolor="#FFFFCC"> |
| 223 | <th align="left">Qualifier</th> |
| 224 | <th align="left">Type</th> |
| 225 | <th align="left">Description</th> |
| 226 | <th align="left">Allowed values</th> |
| 227 | <th align="left">Default</th> |
| 228 | </tr> |
| 229 | |
| 230 | <tr bgcolor="#FFFFCC"> |
| 231 | <th align="left" colspan=5>Standard (Mandatory) qualifiers</th> |
| 232 | </tr> |
| 233 | |
| 234 | <tr bgcolor="#FFFFCC"> |
| 235 | <td>[-sequence]<br>(Parameter 1)</td> |
| 236 | <td>sequence</td> |
| 237 | <td>Sequence filename and optional format, or reference (input USA)</td> |
| 238 | <td>Readable sequence</td> |
| 239 | <td><b>Required</b></td> |
| 240 | </tr> |
| 241 | |
| 242 | <tr bgcolor="#FFFFCC"> |
| 243 | <td>-regions</td> |
| 244 | <td>range</td> |
| 245 | <td>Regions to extract. |
| 246 | A set of regions is specified by a set of pairs of positions. |
| 247 | The positions are integers. |
| 248 | They are separated by any non-digit, non-alpha character. |
| 249 | Examples of region specifications are: |
| 250 | 24-45, 56-78 |
| 251 | 1:45, 67=99;765..888 |
| 252 | 1,5,8,10,23,45,57,99</td> |
| 253 | <td>Sequence range</td> |
| 254 | <td>Whole sequence</td> |
| 255 | </tr> |
| 256 | |
| 257 | <tr bgcolor="#FFFFCC"> |
| 258 | <td>[-outseq]<br>(Parameter 2)</td> |
| 259 | <td>seqoutall</td> |
| 260 | <td>Sequence set(s) filename and optional format (output USA)</td> |
| 261 | <td>Writeable sequence(s)</td> |
| 262 | <td><i><*></i>.<i>format</i></td> |
| 263 | </tr> |
| 264 | |
| 265 | <tr bgcolor="#FFFFCC"> |
| 266 | <th align="left" colspan=5>Additional (Optional) qualifiers</th> |
| 267 | </tr> |
| 268 | |
| 269 | <tr bgcolor="#FFFFCC"> |
| 270 | <td>-separate</td> |
| 271 | <td>boolean</td> |
| 272 | <td>If this is set true then each specified region is written out as a separate sequence. The name of the sequence is created from the name of the original sequence with the start and end positions of the range appended with underscore characters between them, eg: XYZ region 2 to 34 is written as: XYZ_2_34</td> |
| 273 | <td>Boolean value Yes/No</td> |
| 274 | <td>No</td> |
| 275 | </tr> |
| 276 | |
| 277 | <tr bgcolor="#FFFFCC"> |
| 278 | <th align="left" colspan=5>Advanced (Unprompted) qualifiers</th> |
| 279 | </tr> |
| 280 | |
| 281 | <tr> |
| 282 | <td colspan=5>(none)</td> |
| 283 | </tr> |
| 284 | |
| 285 | <tr bgcolor="#FFFFCC"> |
| 286 | <th align="left" colspan=5>Associated qualifiers</th> |
| 287 | </tr> |
| 288 | |
| 289 | <tr bgcolor="#FFFFCC"> |
| 290 | <td align="left" colspan=5>"-sequence" associated sequence qualifiers |
| 291 | </td> |
| 292 | </tr> |
| 293 | |
| 294 | <tr bgcolor="#FFFFCC"> |
| 295 | <td> -sbegin1<br>-sbegin_sequence</td> |
| 296 | <td>integer</td> |
| 297 | <td>Start of the sequence to be used</td> |
| 298 | <td>Any integer value</td> |
| 299 | <td>0</td> |
| 300 | </tr> |
| 301 | |
| 302 | <tr bgcolor="#FFFFCC"> |
| 303 | <td> -send1<br>-send_sequence</td> |
| 304 | <td>integer</td> |
| 305 | <td>End of the sequence to be used</td> |
| 306 | <td>Any integer value</td> |
| 307 | <td>0</td> |
| 308 | </tr> |
| 309 | |
| 310 | <tr bgcolor="#FFFFCC"> |
| 311 | <td> -sreverse1<br>-sreverse_sequence</td> |
| 312 | <td>boolean</td> |
| 313 | <td>Reverse (if DNA)</td> |
| 314 | <td>Boolean value Yes/No</td> |
| 315 | <td>N</td> |
| 316 | </tr> |
| 317 | |
| 318 | <tr bgcolor="#FFFFCC"> |
| 319 | <td> -sask1<br>-sask_sequence</td> |
| 320 | <td>boolean</td> |
| 321 | <td>Ask for begin/end/reverse</td> |
| 322 | <td>Boolean value Yes/No</td> |
| 323 | <td>N</td> |
| 324 | </tr> |
| 325 | |
| 326 | <tr bgcolor="#FFFFCC"> |
| 327 | <td> -snucleotide1<br>-snucleotide_sequence</td> |
| 328 | <td>boolean</td> |
| 329 | <td>Sequence is nucleotide</td> |
| 330 | <td>Boolean value Yes/No</td> |
| 331 | <td>N</td> |
| 332 | </tr> |
| 333 | |
| 334 | <tr bgcolor="#FFFFCC"> |
| 335 | <td> -sprotein1<br>-sprotein_sequence</td> |
| 336 | <td>boolean</td> |
| 337 | <td>Sequence is protein</td> |
| 338 | <td>Boolean value Yes/No</td> |
| 339 | <td>N</td> |
| 340 | </tr> |
| 341 | |
| 342 | <tr bgcolor="#FFFFCC"> |
| 343 | <td> -slower1<br>-slower_sequence</td> |
| 344 | <td>boolean</td> |
| 345 | <td>Make lower case</td> |
| 346 | <td>Boolean value Yes/No</td> |
| 347 | <td>N</td> |
| 348 | </tr> |
| 349 | |
| 350 | <tr bgcolor="#FFFFCC"> |
| 351 | <td> -supper1<br>-supper_sequence</td> |
| 352 | <td>boolean</td> |
| 353 | <td>Make upper case</td> |
| 354 | <td>Boolean value Yes/No</td> |
| 355 | <td>N</td> |
| 356 | </tr> |
| 357 | |
| 358 | <tr bgcolor="#FFFFCC"> |
| 359 | <td> -scircular1<br>-scircular_sequence</td> |
| 360 | <td>boolean</td> |
| 361 | <td>Sequence is circular</td> |
| 362 | <td>Boolean value Yes/No</td> |
| 363 | <td>N</td> |
| 364 | </tr> |
| 365 | |
| 366 | <tr bgcolor="#FFFFCC"> |
| 367 | <td> -squick1<br>-squick_sequence</td> |
| 368 | <td>boolean</td> |
| 369 | <td>Read id and sequence only</td> |
| 370 | <td>Boolean value Yes/No</td> |
| 371 | <td>N</td> |
| 372 | </tr> |
| 373 | |
| 374 | <tr bgcolor="#FFFFCC"> |
| 375 | <td> -sformat1<br>-sformat_sequence</td> |
| 376 | <td>string</td> |
| 377 | <td>Input sequence format</td> |
| 378 | <td>Any string</td> |
| 379 | <td> </td> |
| 380 | </tr> |
| 381 | |
| 382 | <tr bgcolor="#FFFFCC"> |
| 383 | <td> -iquery1<br>-iquery_sequence</td> |
| 384 | <td>string</td> |
| 385 | <td>Input query fields or ID list</td> |
| 386 | <td>Any string</td> |
| 387 | <td> </td> |
| 388 | </tr> |
| 389 | |
| 390 | <tr bgcolor="#FFFFCC"> |
| 391 | <td> -ioffset1<br>-ioffset_sequence</td> |
| 392 | <td>integer</td> |
| 393 | <td>Input start position offset</td> |
| 394 | <td>Any integer value</td> |
| 395 | <td>0</td> |
| 396 | </tr> |
| 397 | |
| 398 | <tr bgcolor="#FFFFCC"> |
| 399 | <td> -sdbname1<br>-sdbname_sequence</td> |
| 400 | <td>string</td> |
| 401 | <td>Database name</td> |
| 402 | <td>Any string</td> |
| 403 | <td> </td> |
| 404 | </tr> |
| 405 | |
| 406 | <tr bgcolor="#FFFFCC"> |
| 407 | <td> -sid1<br>-sid_sequence</td> |
| 408 | <td>string</td> |
| 409 | <td>Entryname</td> |
| 410 | <td>Any string</td> |
| 411 | <td> </td> |
| 412 | </tr> |
| 413 | |
| 414 | <tr bgcolor="#FFFFCC"> |
| 415 | <td> -ufo1<br>-ufo_sequence</td> |
| 416 | <td>string</td> |
| 417 | <td>UFO features</td> |
| 418 | <td>Any string</td> |
| 419 | <td> </td> |
| 420 | </tr> |
| 421 | |
| 422 | <tr bgcolor="#FFFFCC"> |
| 423 | <td> -fformat1<br>-fformat_sequence</td> |
| 424 | <td>string</td> |
| 425 | <td>Features format</td> |
| 426 | <td>Any string</td> |
| 427 | <td> </td> |
| 428 | </tr> |
| 429 | |
| 430 | <tr bgcolor="#FFFFCC"> |
| 431 | <td> -fopenfile1<br>-fopenfile_sequence</td> |
| 432 | <td>string</td> |
| 433 | <td>Features file name</td> |
| 434 | <td>Any string</td> |
| 435 | <td> </td> |
| 436 | </tr> |
| 437 | |
| 438 | <tr bgcolor="#FFFFCC"> |
| 439 | <td align="left" colspan=5>"-outseq" associated seqoutall qualifiers |
| 440 | </td> |
| 441 | </tr> |
| 442 | |
| 443 | <tr bgcolor="#FFFFCC"> |
| 444 | <td> -osformat2<br>-osformat_outseq</td> |
| 445 | <td>string</td> |
| 446 | <td>Output seq format</td> |
| 447 | <td>Any string</td> |
| 448 | <td> </td> |
| 449 | </tr> |
| 450 | |
| 451 | <tr bgcolor="#FFFFCC"> |
| 452 | <td> -osextension2<br>-osextension_outseq</td> |
| 453 | <td>string</td> |
| 454 | <td>File name extension</td> |
| 455 | <td>Any string</td> |
| 456 | <td> </td> |
| 457 | </tr> |
| 458 | |
| 459 | <tr bgcolor="#FFFFCC"> |
| 460 | <td> -osname2<br>-osname_outseq</td> |
| 461 | <td>string</td> |
| 462 | <td>Base file name</td> |
| 463 | <td>Any string</td> |
| 464 | <td> </td> |
| 465 | </tr> |
| 466 | |
| 467 | <tr bgcolor="#FFFFCC"> |
| 468 | <td> -osdirectory2<br>-osdirectory_outseq</td> |
| 469 | <td>string</td> |
| 470 | <td>Output directory</td> |
| 471 | <td>Any string</td> |
| 472 | <td> </td> |
| 473 | </tr> |
| 474 | |
| 475 | <tr bgcolor="#FFFFCC"> |
| 476 | <td> -osdbname2<br>-osdbname_outseq</td> |
| 477 | <td>string</td> |
| 478 | <td>Database name to add</td> |
| 479 | <td>Any string</td> |
| 480 | <td> </td> |
| 481 | </tr> |
| 482 | |
| 483 | <tr bgcolor="#FFFFCC"> |
| 484 | <td> -ossingle2<br>-ossingle_outseq</td> |
| 485 | <td>boolean</td> |
| 486 | <td>Separate file for each entry</td> |
| 487 | <td>Boolean value Yes/No</td> |
| 488 | <td>N</td> |
| 489 | </tr> |
| 490 | |
| 491 | <tr bgcolor="#FFFFCC"> |
| 492 | <td> -oufo2<br>-oufo_outseq</td> |
| 493 | <td>string</td> |
| 494 | <td>UFO features</td> |
| 495 | <td>Any string</td> |
| 496 | <td> </td> |
| 497 | </tr> |
| 498 | |
| 499 | <tr bgcolor="#FFFFCC"> |
| 500 | <td> -offormat2<br>-offormat_outseq</td> |
| 501 | <td>string</td> |
| 502 | <td>Features format</td> |
| 503 | <td>Any string</td> |
| 504 | <td> </td> |
| 505 | </tr> |
| 506 | |
| 507 | <tr bgcolor="#FFFFCC"> |
| 508 | <td> -ofname2<br>-ofname_outseq</td> |
| 509 | <td>string</td> |
| 510 | <td>Features file name</td> |
| 511 | <td>Any string</td> |
| 512 | <td> </td> |
| 513 | </tr> |
| 514 | |
| 515 | <tr bgcolor="#FFFFCC"> |
| 516 | <td> -ofdirectory2<br>-ofdirectory_outseq</td> |
| 517 | <td>string</td> |
| 518 | <td>Output directory</td> |
| 519 | <td>Any string</td> |
| 520 | <td> </td> |
| 521 | </tr> |
| 522 | |
| 523 | <tr bgcolor="#FFFFCC"> |
| 524 | <th align="left" colspan=5>General qualifiers</th> |
| 525 | </tr> |
| 526 | |
| 527 | <tr bgcolor="#FFFFCC"> |
| 528 | <td> -auto</td> |
| 529 | <td>boolean</td> |
| 530 | <td>Turn off prompts</td> |
| 531 | <td>Boolean value Yes/No</td> |
| 532 | <td>N</td> |
| 533 | </tr> |
| 534 | |
| 535 | <tr bgcolor="#FFFFCC"> |
| 536 | <td> -stdout</td> |
| 537 | <td>boolean</td> |
| 538 | <td>Write first file to standard output</td> |
| 539 | <td>Boolean value Yes/No</td> |
| 540 | <td>N</td> |
| 541 | </tr> |
| 542 | |
| 543 | <tr bgcolor="#FFFFCC"> |
| 544 | <td> -filter</td> |
| 545 | <td>boolean</td> |
| 546 | <td>Read first file from standard input, write first file to standard output</td> |
| 547 | <td>Boolean value Yes/No</td> |
| 548 | <td>N</td> |
| 549 | </tr> |
| 550 | |
| 551 | <tr bgcolor="#FFFFCC"> |
| 552 | <td> -options</td> |
| 553 | <td>boolean</td> |
| 554 | <td>Prompt for standard and additional values</td> |
| 555 | <td>Boolean value Yes/No</td> |
| 556 | <td>N</td> |
| 557 | </tr> |
| 558 | |
| 559 | <tr bgcolor="#FFFFCC"> |
| 560 | <td> -debug</td> |
| 561 | <td>boolean</td> |
| 562 | <td>Write debug output to program.dbg</td> |
| 563 | <td>Boolean value Yes/No</td> |
| 564 | <td>N</td> |
| 565 | </tr> |
| 566 | |
| 567 | <tr bgcolor="#FFFFCC"> |
| 568 | <td> -verbose</td> |
| 569 | <td>boolean</td> |
| 570 | <td>Report some/full command line options</td> |
| 571 | <td>Boolean value Yes/No</td> |
| 572 | <td>Y</td> |
| 573 | </tr> |
| 574 | |
| 575 | <tr bgcolor="#FFFFCC"> |
| 576 | <td> -help</td> |
| 577 | <td>boolean</td> |
| 578 | <td>Report command line options and exit. More information on associated and general qualifiers can be found with -help -verbose</td> |
| 579 | <td>Boolean value Yes/No</td> |
| 580 | <td>N</td> |
| 581 | </tr> |
| 582 | |
| 583 | <tr bgcolor="#FFFFCC"> |
| 584 | <td> -warning</td> |
| 585 | <td>boolean</td> |
| 586 | <td>Report warnings</td> |
| 587 | <td>Boolean value Yes/No</td> |
| 588 | <td>Y</td> |
| 589 | </tr> |
| 590 | |
| 591 | <tr bgcolor="#FFFFCC"> |
| 592 | <td> -error</td> |
| 593 | <td>boolean</td> |
| 594 | <td>Report errors</td> |
| 595 | <td>Boolean value Yes/No</td> |
| 596 | <td>Y</td> |
| 597 | </tr> |
| 598 | |
| 599 | <tr bgcolor="#FFFFCC"> |
| 600 | <td> -fatal</td> |
| 601 | <td>boolean</td> |
| 602 | <td>Report fatal errors</td> |
| 603 | <td>Boolean value Yes/No</td> |
| 604 | <td>Y</td> |
| 605 | </tr> |
| 606 | |
| 607 | <tr bgcolor="#FFFFCC"> |
| 608 | <td> -die</td> |
| 609 | <td>boolean</td> |
| 610 | <td>Report dying program messages</td> |
| 611 | <td>Boolean value Yes/No</td> |
| 612 | <td>Y</td> |
| 613 | </tr> |
| 614 | |
| 615 | <tr bgcolor="#FFFFCC"> |
| 616 | <td> -version</td> |
| 617 | <td>boolean</td> |
| 618 | <td>Report version number and exit</td> |
| 619 | <td>Boolean value Yes/No</td> |
| 620 | <td>N</td> |
| 621 | </tr> |
| 622 | |
| 623 | </table> |
| 624 | |
| 625 | <H2> |
| 626 | Input file format |
| 627 | </H2> |
| 628 | |
| 629 | <b>extractseq</b> reads a single nucleotide or protein sequence. |
| 630 | |
| 631 | <p> |
| 632 | <p> |
| 633 | |
| 634 | The input is a standard EMBOSS sequence query (also known as a 'USA'). |
| 635 | |
| 636 | <p> |
| 637 | Major sequence database sources defined as standard in EMBOSS |
| 638 | installations include srs:embl, srs:uniprot and ensembl |
| 639 | |
| 640 | <p> |
| 641 | |
| 642 | Data can also be read from sequence output in any supported format |
| 643 | written by an EMBOSS or third-party application. |
| 644 | |
| 645 | <p> |
| 646 | The input format can be specified by using the |
| 647 | command-line qualifier <tt>-sformat xxx</tt>, where 'xxx' is replaced |
| 648 | by the name of the required format. The available format names are: |
| 649 | gff (gff3), gff2, embl (em), genbank (gb, refseq), ddbj, refseqp, pir |
| 650 | (nbrf), swissprot (swiss, sw), dasgff and debug. |
| 651 | |
| 652 | <p> |
| 653 | |
| 654 | See: |
| 655 | <A href="http://emboss.sf.net/docs/themes/SequenceFormats.html"> |
| 656 | http://emboss.sf.net/docs/themes/SequenceFormats.html</A> |
| 657 | for further information on sequence formats. |
| 658 | |
| 659 | <p> |
| 660 | |
| 661 | <a name="input.1"></a> |
| 662 | <h3>Input files for usage example </h3> |
| 663 | |
| 664 | 'tembl:x65923' is a sequence entry in the example nucleic acid database 'tembl' |
| 665 | <p> |
| 666 | <p><h3>Database entry: tembl:x65923</h3> |
| 667 | <table width="90%"><tr><td bgcolor="#FFCCFF"> |
| 668 | <pre> |
| 669 | ID X65923; SV 1; linear; mRNA; STD; HUM; 518 BP. |
| 670 | XX |
| 671 | AC X65923; |
| 672 | XX |
| 673 | DT 13-MAY-1992 (Rel. 31, Created) |
| 674 | DT 18-APR-2005 (Rel. 83, Last updated, Version 11) |
| 675 | XX |
| 676 | DE H.sapiens fau mRNA |
| 677 | XX |
| 678 | KW fau gene. |
| 679 | XX |
| 680 | OS Homo sapiens (human) |
| 681 | OC Eukaryota; Metazoa; Chordata; Craniata; Vertebrata; Euteleostomi; Mammalia; |
| 682 | OC Eutheria; Euarchontoglires; Primates; Haplorrhini; Catarrhini; Hominidae; |
| 683 | OC Homo. |
| 684 | XX |
| 685 | RN [1] |
| 686 | RP 1-518 |
| 687 | RA Michiels L.M.R.; |
| 688 | RT ; |
| 689 | RL Submitted (29-APR-1992) to the INSDC. |
| 690 | RL L.M.R. Michiels, University of Antwerp, Dept of Biochemistry, |
| 691 | RL Universiteisplein 1, 2610 Wilrijk, BELGIUM |
| 692 | XX |
| 693 | RN [2] |
| 694 | RP 1-518 |
| 695 | RX PUBMED; 8395683. |
| 696 | RA Michiels L., Van der Rauwelaert E., Van Hasselt F., Kas K., Merregaert J.; |
| 697 | RT "fau cDNA encodes a ubiquitin-like-S30 fusion protein and is expressed as |
| 698 | RT an antisense sequence in the Finkel-Biskis-Reilly murine sarcoma virus"; |
| 699 | RL Oncogene 8(9):2537-2546(1993). |
| 700 | XX |
| 701 | DR Ensembl-Gn; ENSG00000149806; Homo_sapiens. |
| 702 | DR Ensembl-Tr; ENST00000279259; Homo_sapiens. |
| 703 | DR Ensembl-Tr; ENST00000434372; Homo_sapiens. |
| 704 | DR Ensembl-Tr; ENST00000525297; Homo_sapiens. |
| 705 | DR Ensembl-Tr; ENST00000526555; Homo_sapiens. |
| 706 | DR Ensembl-Tr; ENST00000527548; Homo_sapiens. |
| 707 | DR Ensembl-Tr; ENST00000529259; Homo_sapiens. |
| 708 | DR Ensembl-Tr; ENST00000529639; Homo_sapiens. |
| 709 | DR Ensembl-Tr; ENST00000531743; Homo_sapiens. |
| 710 | XX |
| 711 | FH Key Location/Qualifiers |
| 712 | FH |
| 713 | FT source 1..518 |
| 714 | FT /organism="Homo sapiens" |
| 715 | FT /chromosome="11q" |
| 716 | FT /map="13" |
| 717 | FT /mol_type="mRNA" |
| 718 | FT /clone_lib="cDNA" |
| 719 | FT /clone="pUIA 631" |
| 720 | FT /tissue_type="placenta" |
| 721 | FT /db_xref="taxon:9606" |
| 722 | FT misc_feature 57..278 |
| 723 | FT /note="ubiquitin like part" |
| 724 | FT CDS 57..458 |
| 725 | FT /gene="fau" |
| 726 | FT /db_xref="GDB:135476" |
| 727 | FT /db_xref="GOA:P35544" |
| 728 | FT /db_xref="GOA:P62861" |
| 729 | FT /db_xref="H-InvDB:HIT000322806.14" |
| 730 | FT /db_xref="HGNC:3597" |
| 731 | FT /db_xref="InterPro:IPR000626" |
| 732 | FT /db_xref="InterPro:IPR006846" |
| 733 | FT /db_xref="InterPro:IPR019954" |
| 734 | FT /db_xref="InterPro:IPR019955" |
| 735 | FT /db_xref="InterPro:IPR019956" |
| 736 | FT /db_xref="PDB:2L7R" |
| 737 | FT /db_xref="UniProtKB/Swiss-Prot:P35544" |
| 738 | FT /db_xref="UniProtKB/Swiss-Prot:P62861" |
| 739 | FT /protein_id="CAA46716.1" |
| 740 | FT /translation="MQLFVRAQELHTFEVTGQETVAQIKAHVASLEGIAPEDQVVLLAG |
| 741 | FT APLEDEATLGQCGVEALTTLEVAGRMLGGKVHGSLARAGKVRGQTPKVAKQEKKKKKTG |
| 742 | FT RAKRRMQYNRRFVNVVPTFGKKKGPNANS" |
| 743 | FT misc_feature 98..102 |
| 744 | FT /note="nucleolar localization signal" |
| 745 | FT misc_feature 279..458 |
| 746 | FT /note="S30 part" |
| 747 | FT polyA_signal 484..489 |
| 748 | FT polyA_site 509 |
| 749 | XX |
| 750 | SQ Sequence 518 BP; 125 A; 139 C; 148 G; 106 T; 0 other; |
| 751 | ttcctctttc tcgactccat cttcgcggta gctgggaccg ccgttcagtc gccaatatgc 60 |
| 752 | agctctttgt ccgcgcccag gagctacaca ccttcgaggt gaccggccag gaaacggtcg 120 |
| 753 | cccagatcaa ggctcatgta gcctcactgg agggcattgc cccggaagat caagtcgtgc 180 |
| 754 | tcctggcagg cgcgcccctg gaggatgagg ccactctggg ccagtgcggg gtggaggccc 240 |
| 755 | tgactaccct ggaagtagca ggccgcatgc ttggaggtaa agttcatggt tccctggccc 300 |
| 756 | gtgctggaaa agtgagaggt cagactccta aggtggccaa acaggagaag aagaagaaga 360 |
| 757 | agacaggtcg ggctaagcgg cggatgcagt acaaccggcg ctttgtcaac gttgtgccca 420 |
| 758 | cctttggcaa gaagaagggc cccaatgcca actcttaagt cttttgtaat tctggctttc 480 |
| 759 | tctaataaaa aagccactta gttcagtcaa aaaaaaaa 518 |
| 760 | // |
| 761 | </pre> |
| 762 | </td></tr></table><p> |
| 763 | |
| 764 | <a name="input.2"></a> |
| 765 | <h3>Input files for usage example 2</h3> |
| 766 | <p><h3>Database entry: tembl:x65921</h3> |
| 767 | <table width="90%"><tr><td bgcolor="#FFCCFF"> |
| 768 | <pre> |
| 769 | ID X65921; SV 1; linear; genomic DNA; STD; HUM; 2016 BP. |
| 770 | XX |
| 771 | AC X65921; S45242; |
| 772 | XX |
| 773 | DT 13-MAY-1992 (Rel. 31, Created) |
| 774 | DT 14-NOV-2006 (Rel. 89, Last updated, Version 7) |
| 775 | XX |
| 776 | DE H.sapiens fau 1 gene |
| 777 | XX |
| 778 | KW fau 1 gene. |
| 779 | XX |
| 780 | OS Homo sapiens (human) |
| 781 | OC Eukaryota; Metazoa; Chordata; Craniata; Vertebrata; Euteleostomi; Mammalia; |
| 782 | OC Eutheria; Euarchontoglires; Primates; Haplorrhini; Catarrhini; Hominidae; |
| 783 | OC Homo. |
| 784 | XX |
| 785 | RN [1] |
| 786 | RP 1-2016 |
| 787 | RA Kas K.; |
| 788 | RT ; |
| 789 | RL Submitted (29-APR-1992) to the INSDC. |
| 790 | RL K. Kas, University of Antwerp, Dept of Biochemistry T3.22, |
| 791 | RL Universiteitsplein 1, 2610 Wilrijk, BELGIUM |
| 792 | XX |
| 793 | RN [2] |
| 794 | RP 1-2016 |
| 795 | RX DOI; 10.1016/0006-291X(92)91286-Y. |
| 796 | RX PUBMED; 1326960. |
| 797 | RA Kas K., Michiels L., Merregaert J.; |
| 798 | RT "Genomic structure and expression of the human fau gene: encoding the |
| 799 | RT ribosomal protein S30 fused to a ubiquitin-like protein"; |
| 800 | RL Biochem. Biophys. Res. Commun. 187(2):927-933(1992). |
| 801 | XX |
| 802 | DR Ensembl-Gn; ENSG00000149806; Homo_sapiens. |
| 803 | DR Ensembl-Tr; ENST00000279259; Homo_sapiens. |
| 804 | DR Ensembl-Tr; ENST00000434372; Homo_sapiens. |
| 805 | DR Ensembl-Tr; ENST00000525297; Homo_sapiens. |
| 806 | DR Ensembl-Tr; ENST00000526555; Homo_sapiens. |
| 807 | DR Ensembl-Tr; ENST00000527548; Homo_sapiens. |
| 808 | DR Ensembl-Tr; ENST00000529259; Homo_sapiens. |
| 809 | DR Ensembl-Tr; ENST00000529639; Homo_sapiens. |
| 810 | DR Ensembl-Tr; ENST00000531743; Homo_sapiens. |
| 811 | DR GDB; 191789. |
| 812 | DR GDB; 191790. |
| 813 | DR GDB; 354872. |
| 814 | DR GDB; 4590236. |
| 815 | XX |
| 816 | FH Key Location/Qualifiers |
| 817 | FH |
| 818 | FT source 1..2016 |
| 819 | |
| 820 | |
| 821 | <font color=red> [Part of this file has been deleted for brevity]</font> |
| 822 | |
| 823 | FT RAKRRMQYNRRFVNVVPTFGKKKGPNANS" |
| 824 | FT intron 857..950 |
| 825 | FT /number=2 |
| 826 | FT exon 951..1095 |
| 827 | FT /number=3 |
| 828 | FT intron 1096..1556 |
| 829 | FT /number=3 |
| 830 | FT exon 1557..1612 |
| 831 | FT /number=4 |
| 832 | FT intron 1613..1786 |
| 833 | FT /number=4 |
| 834 | FT exon 1787..>1912 |
| 835 | FT /number=5 |
| 836 | FT polyA_signal 1938..1943 |
| 837 | XX |
| 838 | SQ Sequence 2016 BP; 421 A; 562 C; 538 G; 495 T; 0 other; |
| 839 | ctaccatttt ccctctcgat tctatatgta cactcgggac aagttctcct gatcgaaaac 60 |
| 840 | ggcaaaacta aggccccaag taggaatgcc ttagttttcg gggttaacaa tgattaacac 120 |
| 841 | tgagcctcac acccacgcga tgccctcagc tcctcgctca gcgctctcac caacagccgt 180 |
| 842 | agcccgcagc cccgctggac accggttctc catccccgca gcgtagcccg gaacatggta 240 |
| 843 | gctgccatct ttacctgcta cgccagcctt ctgtgcgcgc aactgtctgg tcccgccccg 300 |
| 844 | tcctgcgcga gctgctgccc aggcaggttc gccggtgcga gcgtaaaggg gcggagctag 360 |
| 845 | gactgccttg ggcggtacaa atagcaggga accgcgcggt cgctcagcag tgacgtgaca 420 |
| 846 | cgcagcccac ggtctgtact gacgcgccct cgcttcttcc tctttctcga ctccatcttc 480 |
| 847 | gcggtagctg ggaccgccgt tcaggtaaga atggggcctt ggctggatcc gaagggcttg 540 |
| 848 | tagcaggttg gctgcggggt cagaaggcgc ggggggaacc gaagaacggg gcctgctccg 600 |
| 849 | tggccctgct ccagtcccta tccgaactcc ttgggaggca ctggccttcc gcacgtgagc 660 |
| 850 | cgccgcgacc accatcccgt cgcgatcgtt tctggaccgc tttccactcc caaatctcct 720 |
| 851 | ttatcccaga gcatttcttg gcttctctta caagccgtct tttctttact cagtcgccaa 780 |
| 852 | tatgcagctc tttgtccgcg cccaggagct acacaccttc gaggtgaccg gccaggaaac 840 |
| 853 | ggtcgcccag atcaaggtaa ggctgcttgg tgcgccctgg gttccatttt cttgtgctct 900 |
| 854 | tcactctcgc ggcccgaggg aacgcttacg agccttatct ttccctgtag gctcatgtag 960 |
| 855 | cctcactgga gggcattgcc ccggaagatc aagtcgtgct cctggcaggc gcgcccctgg 1020 |
| 856 | aggatgaggc cactctgggc cagtgcgggg tggaggccct gactaccctg gaagtagcag 1080 |
| 857 | gccgcatgct tggaggtgag tgagagagga atgttctttg aagtaccggt aagcgtctag 1140 |
| 858 | tgagtgtggg gtgcatagtc ctgacagctg agtgtcacac ctatggtaat agagtacttc 1200 |
| 859 | tcactgtctt cagttcagag tgattcttcc tgtttacatc cctcatgttg aacacagacg 1260 |
| 860 | tccatgggag actgagccag agtgtagttg tatttcagtc acatcacgag atcctagtct 1320 |
| 861 | ggttatcagc ttccacacta aaaattaggt cagaccaggc cccaaagtgc tctataaatt 1380 |
| 862 | agaagctgga agatcctgaa atgaaactta agatttcaag gtcaaatatc tgcaactttg 1440 |
| 863 | ttctcattac ctattgggcg cagcttctct ttaaaggctt gaattgagaa aagaggggtt 1500 |
| 864 | ctgctgggtg gcaccttctt gctcttacct gctggtgcct tcctttccca ctacaggtaa 1560 |
| 865 | agtccatggt tccctggccc gtgctggaaa agtgagaggt cagactccta aggtgagtga 1620 |
| 866 | gagtattagt ggtcatggtg ttaggacttt ttttcctttc acagctaaac caagtccctg 1680 |
| 867 | ggctcttact cggtttgcct tctccctccc tggagatgag cctgagggaa gggatgctag 1740 |
| 868 | gtgtggaaga caggaaccag ggcctgatta accttccctt ctccaggtgg ccaaacagga 1800 |
| 869 | gaagaagaag aagaagacag gtcgggctaa gcggcggatg cagtacaacc ggcgctttgt 1860 |
| 870 | caacgttgtg cccacctttg gcaagaagaa gggccccaat gccaactctt aagtcttttg 1920 |
| 871 | taattctggc tttctctaat aaaaaagcca cttagttcag tcatcgcatt gtttcatctt 1980 |
| 872 | tacttgcaag gcctcaggga gaggtgtgct tctcgg 2016 |
| 873 | // |
| 874 | </pre> |
| 875 | </td></tr></table><p> |
| 876 | |
| 877 | <p> |
| 878 | |
| 879 | You can specify a file of ranges to extract by giving the '-regions' |
| 880 | qualifier the value '@' followed by the name of the file containing the |
| 881 | ranges. (eg: '-regions @myfile'). |
| 882 | |
| 883 | <p> |
| 884 | The format of the range file is: |
| 885 | |
| 886 | <ul> |
| 887 | <li>Comment lines start with '#' in the first column. |
| 888 | <li>Comment lines and blank lines are ignored. |
| 889 | <li>The line may start with white-space. |
| 890 | <li>There are two positive (integer) numbers per line separated by one or |
| 891 | more space or TAB characters. |
| 892 | <li>The second number must be greater or equal to the first number. |
| 893 | <li>There can be optional text after the two numbers to annotate the line. |
| 894 | <li>White-space before or after the text is removed. |
| 895 | </ul> |
| 896 | |
| 897 | <p> |
| 898 | |
| 899 | An example range file is: |
| 900 | |
| 901 | <pre> |
| 902 | |
| 903 | # this is my set of ranges |
| 904 | 12 23 |
| 905 | 4 5 this is like 12-23, but smaller |
| 906 | 67 10348 interesting region |
| 907 | |
| 908 | </pre> |
| 909 | |
| 910 | <H2> |
| 911 | Output file format |
| 912 | </H2> |
| 913 | |
| 914 | |
| 915 | <p> |
| 916 | |
| 917 | The output is a standard EMBOSS sequence file. |
| 918 | |
| 919 | <p> |
| 920 | |
| 921 | The results can be output in one of several styles by using the |
| 922 | command-line qualifier <tt>-osformat xxx</tt>, where 'xxx' is replaced by |
| 923 | the name of the required format. The available format names are: embl, |
| 924 | genbank, gff, pir, swiss, dasgff, debug, listfile, dbmotif, diffseq, excel, |
| 925 | feattable, motif, nametable, regions, seqtable, simple, srs, table, tagseq. |
| 926 | |
| 927 | <p> |
| 928 | |
| 929 | See: |
| 930 | <A href="http://emboss.sf.net/docs/themes/SequenceFormats.html"> |
| 931 | http://emboss.sf.net/docs/themes/SequenceFormats.html</A> |
| 932 | for further information on sequence formats. |
| 933 | |
| 934 | <p> |
| 935 | |
| 936 | <p> |
| 937 | |
| 938 | <a name="output.1"></a> |
| 939 | <h3>Output files for usage example </h3> |
| 940 | <p><h3>File: result.seq</h3> |
| 941 | <table width="90%"><tr><td bgcolor="#CCFFCC"> |
| 942 | <pre> |
| 943 | >X65923 X65923.1 H.sapiens fau mRNA |
| 944 | ctcgactccat |
| 945 | </pre> |
| 946 | </td></tr></table><p> |
| 947 | |
| 948 | <a name="output.2"></a> |
| 949 | <h3>Output files for usage example 2</h3> |
| 950 | <p><h3>File: result2.seq</h3> |
| 951 | <table width="90%"><tr><td bgcolor="#CCFFCC"> |
| 952 | <pre> |
| 953 | >X65921 X65921.1 H.sapiens fau 1 gene |
| 954 | tccctctcgatacactcgggacaagttagggc |
| 955 | </pre> |
| 956 | </td></tr></table><p> |
| 957 | <p> |
| 958 | |
| 959 | If the option <tt>-separate</tt> is used then each specified region is written |
| 960 | to the output file as a separate sequence. The name of the sequence is |
| 961 | created from the name of the original sequence with the start and end |
| 962 | positions of the range appended with underscore characters between them, |
| 963 | |
| 964 | <p> |
| 965 | |
| 966 | For example: "XYZ region 2 to 34" is written as: "XYZ_2_34" |
| 967 | |
| 968 | |
| 969 | |
| 970 | |
| 971 | |
| 972 | <H2> |
| 973 | Data files |
| 974 | </H2> |
| 975 | |
| 976 | |
| 977 | None. |
| 978 | |
| 979 | <H2> |
| 980 | Notes |
| 981 | </H2> |
| 982 | |
| 983 | <p><b>extractseq</b> allows you to specify one or more regions of a sequence to extract sub-sequences from to build up a contiguous output sequence. This is modelled on the cell's process of splicing out exons from mRNA, but the program is generally applicable to any cutting and splicing or editing operation on a single sequence.</p> |
| 984 | <p>Where the <tt>-regions</tt> option is used to specify output as separate sequences, the name of the sequence is created from the name of the original sequence with the start and end positions of the range appended with underscore characters between them, eg: XYZ region 2 to 34 is written as: <tt>XYZ_2_34</tt>. In such cases the output sequence format must be capable of supporting multiple sequences.</p> |
| 985 | |
| 986 | |
| 987 | <H2> |
| 988 | References |
| 989 | </H2> |
| 990 | |
| 991 | |
| 992 | None. |
| 993 | |
| 994 | <H2> |
| 995 | Warnings |
| 996 | </H2> |
| 997 | |
| 998 | |
| 999 | None. |
| 1000 | |
| 1001 | <H2> |
| 1002 | Diagnostic Error Messages |
| 1003 | </H2> |
| 1004 | |
| 1005 | |
| 1006 | Several warning messages about malformed region specifications: |
| 1007 | |
| 1008 | <ul> |
| 1009 | <li> Non-digit found in region ... |
| 1010 | |
| 1011 | <li> Unpaired start of a region found in ... |
| 1012 | |
| 1013 | <li> Non-digit found in region ... |
| 1014 | |
| 1015 | <li> The start of a pair of region positions must be smaller than the |
| 1016 | end in ... |
| 1017 | |
| 1018 | </ul> |
| 1019 | |
| 1020 | <H2> |
| 1021 | Exit status |
| 1022 | </H2> |
| 1023 | |
| 1024 | |
| 1025 | It exits with status 0, unless a region is badly constructed. |
| 1026 | |
| 1027 | <H2> |
| 1028 | Known bugs |
| 1029 | </H2> |
| 1030 | |
| 1031 | |
| 1032 | None noted. |
| 1033 | |
| 1034 | <H2> |
| 1035 | Comments |
| 1036 | </H2> |
| 1037 | |
| 1038 | <h2><a name="See also">See also</a></h2> |
| 1039 | <table border cellpadding=4 bgcolor="#FFFFF0"> |
| 1040 | <tr><th>Program name</th> |
| 1041 | <th>Description</th></tr> |
| 1042 | <tr> |
| 1043 | <td><a href="aligncopy.html">aligncopy</a></td> |
| 1044 | <td>Read and write alignments</td> |
| 1045 | </tr> |
| 1046 | |
| 1047 | <tr> |
| 1048 | <td><a href="aligncopypair.html">aligncopypair</a></td> |
| 1049 | <td>Read and write pairs from alignments</td> |
| 1050 | </tr> |
| 1051 | |
| 1052 | <tr> |
| 1053 | <td><a href="biosed.html">biosed</a></td> |
| 1054 | <td>Replace or delete sequence sections</td> |
| 1055 | </tr> |
| 1056 | |
| 1057 | <tr> |
| 1058 | <td><a href="codcopy.html">codcopy</a></td> |
| 1059 | <td>Copy and reformat a codon usage table</td> |
| 1060 | </tr> |
| 1061 | |
| 1062 | <tr> |
| 1063 | <td><a href="cutseq.html">cutseq</a></td> |
| 1064 | <td>Remove a section from a sequence</td> |
| 1065 | </tr> |
| 1066 | |
| 1067 | <tr> |
| 1068 | <td><a href="degapseq.html">degapseq</a></td> |
| 1069 | <td>Remove non-alphabetic (e.g. gap) characters from sequences</td> |
| 1070 | </tr> |
| 1071 | |
| 1072 | <tr> |
| 1073 | <td><a href="descseq.html">descseq</a></td> |
| 1074 | <td>Alter the name or description of a sequence</td> |
| 1075 | </tr> |
| 1076 | |
| 1077 | <tr> |
| 1078 | <td><a href="entret.html">entret</a></td> |
| 1079 | <td>Retrieve sequence entries from flatfile databases and files</td> |
| 1080 | </tr> |
| 1081 | |
| 1082 | <tr> |
| 1083 | <td><a href="extractalign.html">extractalign</a></td> |
| 1084 | <td>Extract regions from a sequence alignment</td> |
| 1085 | </tr> |
| 1086 | |
| 1087 | <tr> |
| 1088 | <td><a href="extractfeat.html">extractfeat</a></td> |
| 1089 | <td>Extract features from sequence(s)</td> |
| 1090 | </tr> |
| 1091 | |
| 1092 | <tr> |
| 1093 | <td><a href="featcopy.html">featcopy</a></td> |
| 1094 | <td>Read and write a feature table</td> |
| 1095 | </tr> |
| 1096 | |
| 1097 | <tr> |
| 1098 | <td><a href="featmerge.html">featmerge</a></td> |
| 1099 | <td>Merge two overlapping feature tables</td> |
| 1100 | </tr> |
| 1101 | |
| 1102 | <tr> |
| 1103 | <td><a href="featreport.html">featreport</a></td> |
| 1104 | <td>Read and write a feature table</td> |
| 1105 | </tr> |
| 1106 | |
| 1107 | <tr> |
| 1108 | <td><a href="feattext.html">feattext</a></td> |
| 1109 | <td>Return a feature table original text</td> |
| 1110 | </tr> |
| 1111 | |
| 1112 | <tr> |
| 1113 | <td><a href="listor.html">listor</a></td> |
| 1114 | <td>Write a list file of the logical OR of two sets of sequences</td> |
| 1115 | </tr> |
| 1116 | |
| 1117 | <tr> |
| 1118 | <td><a href="makenucseq.html">makenucseq</a></td> |
| 1119 | <td>Create random nucleotide sequences</td> |
| 1120 | </tr> |
| 1121 | |
| 1122 | <tr> |
| 1123 | <td><a href="makeprotseq.html">makeprotseq</a></td> |
| 1124 | <td>Create random protein sequences</td> |
| 1125 | </tr> |
| 1126 | |
| 1127 | <tr> |
| 1128 | <td><a href="maskambignuc.html">maskambignuc</a></td> |
| 1129 | <td>Mask all ambiguity characters in nucleotide sequences with N</td> |
| 1130 | </tr> |
| 1131 | |
| 1132 | <tr> |
| 1133 | <td><a href="maskambigprot.html">maskambigprot</a></td> |
| 1134 | <td>Mask all ambiguity characters in protein sequences with X</td> |
| 1135 | </tr> |
| 1136 | |
| 1137 | <tr> |
| 1138 | <td><a href="maskfeat.html">maskfeat</a></td> |
| 1139 | <td>Write a sequence with masked features</td> |
| 1140 | </tr> |
| 1141 | |
| 1142 | <tr> |
| 1143 | <td><a href="maskseq.html">maskseq</a></td> |
| 1144 | <td>Write a sequence with masked regions</td> |
| 1145 | </tr> |
| 1146 | |
| 1147 | <tr> |
| 1148 | <td><a href="newseq.html">newseq</a></td> |
| 1149 | <td>Create a sequence file from a typed-in sequence</td> |
| 1150 | </tr> |
| 1151 | |
| 1152 | <tr> |
| 1153 | <td><a href="nohtml.html">nohtml</a></td> |
| 1154 | <td>Remove mark-up (e.g. HTML tags) from an ASCII text file</td> |
| 1155 | </tr> |
| 1156 | |
| 1157 | <tr> |
| 1158 | <td><a href="noreturn.html">noreturn</a></td> |
| 1159 | <td>Remove carriage return from ASCII files</td> |
| 1160 | </tr> |
| 1161 | |
| 1162 | <tr> |
| 1163 | <td><a href="nospace.html">nospace</a></td> |
| 1164 | <td>Remove whitespace from an ASCII text file</td> |
| 1165 | </tr> |
| 1166 | |
| 1167 | <tr> |
| 1168 | <td><a href="notab.html">notab</a></td> |
| 1169 | <td>Replace tabs with spaces in an ASCII text file</td> |
| 1170 | </tr> |
| 1171 | |
| 1172 | <tr> |
| 1173 | <td><a href="notseq.html">notseq</a></td> |
| 1174 | <td>Write to file a subset of an input stream of sequences</td> |
| 1175 | </tr> |
| 1176 | |
| 1177 | <tr> |
| 1178 | <td><a href="nthseq.html">nthseq</a></td> |
| 1179 | <td>Write to file a single sequence from an input stream of sequences</td> |
| 1180 | </tr> |
| 1181 | |
| 1182 | <tr> |
| 1183 | <td><a href="nthseqset.html">nthseqset</a></td> |
| 1184 | <td>Read and write (return) one set of sequences from many</td> |
| 1185 | </tr> |
| 1186 | |
| 1187 | <tr> |
| 1188 | <td><a href="pasteseq.html">pasteseq</a></td> |
| 1189 | <td>Insert one sequence into another</td> |
| 1190 | </tr> |
| 1191 | |
| 1192 | <tr> |
| 1193 | <td><a href="revseq.html">revseq</a></td> |
| 1194 | <td>Reverse and complement a nucleotide sequence</td> |
| 1195 | </tr> |
| 1196 | |
| 1197 | <tr> |
| 1198 | <td><a href="seqcount.html">seqcount</a></td> |
| 1199 | <td>Read and count sequences</td> |
| 1200 | </tr> |
| 1201 | |
| 1202 | <tr> |
| 1203 | <td><a href="seqret.html">seqret</a></td> |
| 1204 | <td>Read and write (return) sequences</td> |
| 1205 | </tr> |
| 1206 | |
| 1207 | <tr> |
| 1208 | <td><a href="seqretsetall.html">seqretsetall</a></td> |
| 1209 | <td>Read and write (return) many sets of sequences</td> |
| 1210 | </tr> |
| 1211 | |
| 1212 | <tr> |
| 1213 | <td><a href="seqretsplit.html">seqretsplit</a></td> |
| 1214 | <td>Read sequences and write them to individual files</td> |
| 1215 | </tr> |
| 1216 | |
| 1217 | <tr> |
| 1218 | <td><a href="sizeseq.html">sizeseq</a></td> |
| 1219 | <td>Sort sequences by size</td> |
| 1220 | </tr> |
| 1221 | |
| 1222 | <tr> |
| 1223 | <td><a href="skipredundant.html">skipredundant</a></td> |
| 1224 | <td>Remove redundant sequences from an input set</td> |
| 1225 | </tr> |
| 1226 | |
| 1227 | <tr> |
| 1228 | <td><a href="skipseq.html">skipseq</a></td> |
| 1229 | <td>Read and write (return) sequences, skipping first few</td> |
| 1230 | </tr> |
| 1231 | |
| 1232 | <tr> |
| 1233 | <td><a href="splitsource.html">splitsource</a></td> |
| 1234 | <td>Split sequence(s) into original source sequences</td> |
| 1235 | </tr> |
| 1236 | |
| 1237 | <tr> |
| 1238 | <td><a href="splitter.html">splitter</a></td> |
| 1239 | <td>Split sequence(s) into smaller sequences</td> |
| 1240 | </tr> |
| 1241 | |
| 1242 | <tr> |
| 1243 | <td><a href="trimest.html">trimest</a></td> |
| 1244 | <td>Remove poly-A tails from nucleotide sequences</td> |
| 1245 | </tr> |
| 1246 | |
| 1247 | <tr> |
| 1248 | <td><a href="trimseq.html">trimseq</a></td> |
| 1249 | <td>Remove unwanted characters from start and end of sequence(s)</td> |
| 1250 | </tr> |
| 1251 | |
| 1252 | <tr> |
| 1253 | <td><a href="trimspace.html">trimspace</a></td> |
| 1254 | <td>Remove extra whitespace from an ASCII text file</td> |
| 1255 | </tr> |
| 1256 | |
| 1257 | <tr> |
| 1258 | <td><a href="union.html">union</a></td> |
| 1259 | <td>Concatenate multiple sequences into a single sequence</td> |
| 1260 | </tr> |
| 1261 | |
| 1262 | <tr> |
| 1263 | <td><a href="vectorstrip.html">vectorstrip</a></td> |
| 1264 | <td>Remove vectors from the ends of nucleotide sequence(s)</td> |
| 1265 | </tr> |
| 1266 | |
| 1267 | <tr> |
| 1268 | <td><a href="yank.html">yank</a></td> |
| 1269 | <td>Add a sequence reference (a full USA) to a list file</td> |
| 1270 | </tr> |
| 1271 | |
| 1272 | </table> |
| 1273 | |
| 1274 | <H2> |
| 1275 | Author(s) |
| 1276 | </H2> |
| 1277 | |
| 1278 | Gary Williams formerly at: |
| 1279 | <br> |
| 1280 | MRC Rosalind Franklin Centre for Genomics Research |
| 1281 | Wellcome Trust Genome Campus, Hinxton, Cambridge, CB10 1SB, UK |
| 1282 | |
| 1283 | <p> |
| 1284 | Please report all bugs to the EMBOSS bug team (emboss-bug © emboss.open-bio.org) not to the original author. |
| 1285 | |
| 1286 | <H2> |
| 1287 | History |
| 1288 | </H2> |
| 1289 | |
| 1290 | Written (2000) - Gary Williams |
| 1291 | |
| 1292 | <H2> |
| 1293 | Target users |
| 1294 | </H2> |
| 1295 | This program is intended to be used by everyone and everything, from naive users to embedded scripts. |
| 1296 | |
| 1297 | <H2> |
| 1298 | Comments |
| 1299 | </H2> |
| 1300 | None |
| 1301 | |
| 1302 | |
| 1303 | </BODY> |
| 1304 | </HTML> |
| 1305 |