| 1 | <HTML> |
| 2 | |
| 3 | <HEAD> |
| 4 | <TITLE> |
| 5 | EMBOSS: textsearch |
| 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 | textsearch |
| 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 | Search the textual description of sequence(s) |
| 40 | |
| 41 | <H2> |
| 42 | Description |
| 43 | </H2> |
| 44 | |
| 45 | |
| 46 | <p><b>textsearch</b> searches for words (specified as a regular |
| 47 | expression) in the description text of one or more input sequences. |
| 48 | It writes an output file with optional contents such as the name, |
| 49 | description and accession number of any sequence whose description |
| 50 | line from the annotation matches the search term. Optionally, the |
| 51 | search is case-sensitive and the results output as an HTML |
| 52 | table. <b>textsearch</b> is convenient for small input files but will |
| 53 | be slow for larger files and databases; you should use use SRS or |
| 54 | Entrez instead.</p> |
| 55 | |
| 56 | |
| 57 | <H2> |
| 58 | Algorithm |
| 59 | </H2> |
| 60 | <p><b>textsearch</b> searches only the description line, not the full |
| 61 | sequence annotation.</p> |
| 62 | |
| 63 | |
| 64 | <H2> |
| 65 | Usage |
| 66 | </H2> |
| 67 | Here is a sample session with <b>textsearch</b> |
| 68 | <p> |
| 69 | Search for 'lactose': |
| 70 | <p> |
| 71 | |
| 72 | <p> |
| 73 | <table width="90%"><tr><td bgcolor="#CCFFFF"><pre> |
| 74 | |
| 75 | % <b>textsearch "tsw:*" "lactose" </b> |
| 76 | Search the textual description of sequence(s) |
| 77 | Output file [cru4_arath.textsearch]: <b></b> |
| 78 | |
| 79 | </pre></td></tr></table><p> |
| 80 | <p> |
| 81 | <a href="#output.1">Go to the output files for this example</a><p><p> |
| 82 | <p> |
| 83 | <b>Example 2</b> |
| 84 | <p> |
| 85 | Search for 'lactose' or 'permease' in E.coli proteins: |
| 86 | <p> |
| 87 | |
| 88 | <p> |
| 89 | <table width="90%"><tr><td bgcolor="#CCFFFF"><pre> |
| 90 | |
| 91 | % <b>textsearch "tsw:*_ecoli" "lactose | permease" </b> |
| 92 | Search the textual description of sequence(s) |
| 93 | Output file [bgal_ecoli.textsearch]: <b></b> |
| 94 | |
| 95 | </pre></td></tr></table><p> |
| 96 | <p> |
| 97 | <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> |
| 98 | <p> |
| 99 | <b>Example 3</b> |
| 100 | <p> |
| 101 | Output a search for 'lacz' formatted with HTML to a file: |
| 102 | <p> |
| 103 | |
| 104 | <p> |
| 105 | <table width="90%"><tr><td bgcolor="#CCFFFF"><pre> |
| 106 | |
| 107 | % <b>textsearch "tembl:*" "lacz" -html -outfile embl.lacz.html </b> |
| 108 | Search the textual description of sequence(s) |
| 109 | |
| 110 | </pre></td></tr></table><p> |
| 111 | <p> |
| 112 | <a href="#output.3">Go to the output files for this example</a><p><p> |
| 113 | |
| 114 | |
| 115 | <H2> |
| 116 | Command line arguments |
| 117 | </H2> |
| 118 | <table CELLSPACING=0 CELLPADDING=3 BGCOLOR="#f5f5ff" ><tr><td> |
| 119 | <pre> |
| 120 | Search the textual description of sequence(s) |
| 121 | Version: EMBOSS:6.6.0.0 |
| 122 | |
| 123 | Standard (Mandatory) qualifiers: |
| 124 | [-sequence] seqall (Gapped) sequence(s) filename and optional |
| 125 | format, or reference (input USA) |
| 126 | [-pattern] string The search pattern is a regular expression. |
| 127 | Use a | to indicate OR. |
| 128 | For example: |
| 129 | human|mouse |
| 130 | will find text with either 'human' OR |
| 131 | 'mouse' in the text (Any string) |
| 132 | [-outfile] outfile [*.textsearch] Output file name |
| 133 | |
| 134 | Additional (Optional) qualifiers: |
| 135 | -casesensitive boolean [N] Do a case-sensitive search |
| 136 | -html boolean [N] Format output as an HTML table |
| 137 | |
| 138 | Advanced (Unprompted) qualifiers: |
| 139 | -only boolean [N] This is a way of shortening the command |
| 140 | line if you only want a few things to be |
| 141 | displayed. Instead of specifying: |
| 142 | '-nohead -noname -nousa -noacc -nodesc' |
| 143 | to get only the name output, you can specify |
| 144 | '-only -name' |
| 145 | -heading boolean [@(!$(only))] Display column headings |
| 146 | -usa boolean [@(!$(only))] Display the USA of the |
| 147 | sequence |
| 148 | -accession boolean [@(!$(only))] Display 'accession' column |
| 149 | -name boolean [@(!$(only))] Display 'name' column |
| 150 | -description boolean [@(!$(only))] Display 'description' column |
| 151 | |
| 152 | Associated qualifiers: |
| 153 | |
| 154 | "-sequence" associated qualifiers |
| 155 | -sbegin1 integer Start of each sequence to be used |
| 156 | -send1 integer End of each sequence to be used |
| 157 | -sreverse1 boolean Reverse (if DNA) |
| 158 | -sask1 boolean Ask for begin/end/reverse |
| 159 | -snucleotide1 boolean Sequence is nucleotide |
| 160 | -sprotein1 boolean Sequence is protein |
| 161 | -slower1 boolean Make lower case |
| 162 | -supper1 boolean Make upper case |
| 163 | -scircular1 boolean Sequence is circular |
| 164 | -squick1 boolean Read id and sequence only |
| 165 | -sformat1 string Input sequence format |
| 166 | -iquery1 string Input query fields or ID list |
| 167 | -ioffset1 integer Input start position offset |
| 168 | -sdbname1 string Database name |
| 169 | -sid1 string Entryname |
| 170 | -ufo1 string UFO features |
| 171 | -fformat1 string Features format |
| 172 | -fopenfile1 string Features file name |
| 173 | |
| 174 | "-outfile" associated qualifiers |
| 175 | -odirectory3 string Output directory |
| 176 | |
| 177 | General qualifiers: |
| 178 | -auto boolean Turn off prompts |
| 179 | -stdout boolean Write first file to standard output |
| 180 | -filter boolean Read first file from standard input, write |
| 181 | first file to standard output |
| 182 | -options boolean Prompt for standard and additional values |
| 183 | -debug boolean Write debug output to program.dbg |
| 184 | -verbose boolean Report some/full command line options |
| 185 | -help boolean Report command line options and exit. More |
| 186 | information on associated and general |
| 187 | qualifiers can be found with -help -verbose |
| 188 | -warning boolean Report warnings |
| 189 | -error boolean Report errors |
| 190 | -fatal boolean Report fatal errors |
| 191 | -die boolean Report dying program messages |
| 192 | -version boolean Report version number and exit |
| 193 | |
| 194 | </pre> |
| 195 | </td></tr></table> |
| 196 | <P> |
| 197 | <table border cellspacing=0 cellpadding=3 bgcolor="#ccccff"> |
| 198 | <tr bgcolor="#FFFFCC"> |
| 199 | <th align="left">Qualifier</th> |
| 200 | <th align="left">Type</th> |
| 201 | <th align="left">Description</th> |
| 202 | <th align="left">Allowed values</th> |
| 203 | <th align="left">Default</th> |
| 204 | </tr> |
| 205 | |
| 206 | <tr bgcolor="#FFFFCC"> |
| 207 | <th align="left" colspan=5>Standard (Mandatory) qualifiers</th> |
| 208 | </tr> |
| 209 | |
| 210 | <tr bgcolor="#FFFFCC"> |
| 211 | <td>[-sequence]<br>(Parameter 1)</td> |
| 212 | <td>seqall</td> |
| 213 | <td>(Gapped) sequence(s) filename and optional format, or reference (input USA)</td> |
| 214 | <td>Readable sequence(s)</td> |
| 215 | <td><b>Required</b></td> |
| 216 | </tr> |
| 217 | |
| 218 | <tr bgcolor="#FFFFCC"> |
| 219 | <td>[-pattern]<br>(Parameter 2)</td> |
| 220 | <td>string</td> |
| 221 | <td>The search pattern is a regular expression. Use a | to indicate OR. |
| 222 | For example: |
| 223 | human|mouse |
| 224 | will find text with either 'human' OR 'mouse' in the text</td> |
| 225 | <td>Any string</td> |
| 226 | <td> </td> |
| 227 | </tr> |
| 228 | |
| 229 | <tr bgcolor="#FFFFCC"> |
| 230 | <td>[-outfile]<br>(Parameter 3)</td> |
| 231 | <td>outfile</td> |
| 232 | <td>Output file name</td> |
| 233 | <td>Output file</td> |
| 234 | <td><i><*></i>.textsearch</td> |
| 235 | </tr> |
| 236 | |
| 237 | <tr bgcolor="#FFFFCC"> |
| 238 | <th align="left" colspan=5>Additional (Optional) qualifiers</th> |
| 239 | </tr> |
| 240 | |
| 241 | <tr bgcolor="#FFFFCC"> |
| 242 | <td>-casesensitive</td> |
| 243 | <td>boolean</td> |
| 244 | <td>Do a case-sensitive search</td> |
| 245 | <td>Boolean value Yes/No</td> |
| 246 | <td>No</td> |
| 247 | </tr> |
| 248 | |
| 249 | <tr bgcolor="#FFFFCC"> |
| 250 | <td>-html</td> |
| 251 | <td>boolean</td> |
| 252 | <td>Format output as an HTML table</td> |
| 253 | <td>Boolean value Yes/No</td> |
| 254 | <td>No</td> |
| 255 | </tr> |
| 256 | |
| 257 | <tr bgcolor="#FFFFCC"> |
| 258 | <th align="left" colspan=5>Advanced (Unprompted) qualifiers</th> |
| 259 | </tr> |
| 260 | |
| 261 | <tr bgcolor="#FFFFCC"> |
| 262 | <td>-only</td> |
| 263 | <td>boolean</td> |
| 264 | <td>This is a way of shortening the command line if you only want a few things to be displayed. Instead of specifying: |
| 265 | '-nohead -noname -nousa -noacc -nodesc' |
| 266 | to get only the name output, you can specify |
| 267 | '-only -name'</td> |
| 268 | <td>Boolean value Yes/No</td> |
| 269 | <td>No</td> |
| 270 | </tr> |
| 271 | |
| 272 | <tr bgcolor="#FFFFCC"> |
| 273 | <td>-heading</td> |
| 274 | <td>boolean</td> |
| 275 | <td>Display column headings</td> |
| 276 | <td>Boolean value Yes/No</td> |
| 277 | <td>@(!$(only))</td> |
| 278 | </tr> |
| 279 | |
| 280 | <tr bgcolor="#FFFFCC"> |
| 281 | <td>-usa</td> |
| 282 | <td>boolean</td> |
| 283 | <td>Display the USA of the sequence</td> |
| 284 | <td>Boolean value Yes/No</td> |
| 285 | <td>@(!$(only))</td> |
| 286 | </tr> |
| 287 | |
| 288 | <tr bgcolor="#FFFFCC"> |
| 289 | <td>-accession</td> |
| 290 | <td>boolean</td> |
| 291 | <td>Display 'accession' column</td> |
| 292 | <td>Boolean value Yes/No</td> |
| 293 | <td>@(!$(only))</td> |
| 294 | </tr> |
| 295 | |
| 296 | <tr bgcolor="#FFFFCC"> |
| 297 | <td>-name</td> |
| 298 | <td>boolean</td> |
| 299 | <td>Display 'name' column</td> |
| 300 | <td>Boolean value Yes/No</td> |
| 301 | <td>@(!$(only))</td> |
| 302 | </tr> |
| 303 | |
| 304 | <tr bgcolor="#FFFFCC"> |
| 305 | <td>-description</td> |
| 306 | <td>boolean</td> |
| 307 | <td>Display 'description' column</td> |
| 308 | <td>Boolean value Yes/No</td> |
| 309 | <td>@(!$(only))</td> |
| 310 | </tr> |
| 311 | |
| 312 | <tr bgcolor="#FFFFCC"> |
| 313 | <th align="left" colspan=5>Associated qualifiers</th> |
| 314 | </tr> |
| 315 | |
| 316 | <tr bgcolor="#FFFFCC"> |
| 317 | <td align="left" colspan=5>"-sequence" associated seqall qualifiers |
| 318 | </td> |
| 319 | </tr> |
| 320 | |
| 321 | <tr bgcolor="#FFFFCC"> |
| 322 | <td> -sbegin1<br>-sbegin_sequence</td> |
| 323 | <td>integer</td> |
| 324 | <td>Start of each sequence to be used</td> |
| 325 | <td>Any integer value</td> |
| 326 | <td>0</td> |
| 327 | </tr> |
| 328 | |
| 329 | <tr bgcolor="#FFFFCC"> |
| 330 | <td> -send1<br>-send_sequence</td> |
| 331 | <td>integer</td> |
| 332 | <td>End of each sequence to be used</td> |
| 333 | <td>Any integer value</td> |
| 334 | <td>0</td> |
| 335 | </tr> |
| 336 | |
| 337 | <tr bgcolor="#FFFFCC"> |
| 338 | <td> -sreverse1<br>-sreverse_sequence</td> |
| 339 | <td>boolean</td> |
| 340 | <td>Reverse (if DNA)</td> |
| 341 | <td>Boolean value Yes/No</td> |
| 342 | <td>N</td> |
| 343 | </tr> |
| 344 | |
| 345 | <tr bgcolor="#FFFFCC"> |
| 346 | <td> -sask1<br>-sask_sequence</td> |
| 347 | <td>boolean</td> |
| 348 | <td>Ask for begin/end/reverse</td> |
| 349 | <td>Boolean value Yes/No</td> |
| 350 | <td>N</td> |
| 351 | </tr> |
| 352 | |
| 353 | <tr bgcolor="#FFFFCC"> |
| 354 | <td> -snucleotide1<br>-snucleotide_sequence</td> |
| 355 | <td>boolean</td> |
| 356 | <td>Sequence is nucleotide</td> |
| 357 | <td>Boolean value Yes/No</td> |
| 358 | <td>N</td> |
| 359 | </tr> |
| 360 | |
| 361 | <tr bgcolor="#FFFFCC"> |
| 362 | <td> -sprotein1<br>-sprotein_sequence</td> |
| 363 | <td>boolean</td> |
| 364 | <td>Sequence is protein</td> |
| 365 | <td>Boolean value Yes/No</td> |
| 366 | <td>N</td> |
| 367 | </tr> |
| 368 | |
| 369 | <tr bgcolor="#FFFFCC"> |
| 370 | <td> -slower1<br>-slower_sequence</td> |
| 371 | <td>boolean</td> |
| 372 | <td>Make lower case</td> |
| 373 | <td>Boolean value Yes/No</td> |
| 374 | <td>N</td> |
| 375 | </tr> |
| 376 | |
| 377 | <tr bgcolor="#FFFFCC"> |
| 378 | <td> -supper1<br>-supper_sequence</td> |
| 379 | <td>boolean</td> |
| 380 | <td>Make upper case</td> |
| 381 | <td>Boolean value Yes/No</td> |
| 382 | <td>N</td> |
| 383 | </tr> |
| 384 | |
| 385 | <tr bgcolor="#FFFFCC"> |
| 386 | <td> -scircular1<br>-scircular_sequence</td> |
| 387 | <td>boolean</td> |
| 388 | <td>Sequence is circular</td> |
| 389 | <td>Boolean value Yes/No</td> |
| 390 | <td>N</td> |
| 391 | </tr> |
| 392 | |
| 393 | <tr bgcolor="#FFFFCC"> |
| 394 | <td> -squick1<br>-squick_sequence</td> |
| 395 | <td>boolean</td> |
| 396 | <td>Read id and sequence only</td> |
| 397 | <td>Boolean value Yes/No</td> |
| 398 | <td>N</td> |
| 399 | </tr> |
| 400 | |
| 401 | <tr bgcolor="#FFFFCC"> |
| 402 | <td> -sformat1<br>-sformat_sequence</td> |
| 403 | <td>string</td> |
| 404 | <td>Input sequence format</td> |
| 405 | <td>Any string</td> |
| 406 | <td> </td> |
| 407 | </tr> |
| 408 | |
| 409 | <tr bgcolor="#FFFFCC"> |
| 410 | <td> -iquery1<br>-iquery_sequence</td> |
| 411 | <td>string</td> |
| 412 | <td>Input query fields or ID list</td> |
| 413 | <td>Any string</td> |
| 414 | <td> </td> |
| 415 | </tr> |
| 416 | |
| 417 | <tr bgcolor="#FFFFCC"> |
| 418 | <td> -ioffset1<br>-ioffset_sequence</td> |
| 419 | <td>integer</td> |
| 420 | <td>Input start position offset</td> |
| 421 | <td>Any integer value</td> |
| 422 | <td>0</td> |
| 423 | </tr> |
| 424 | |
| 425 | <tr bgcolor="#FFFFCC"> |
| 426 | <td> -sdbname1<br>-sdbname_sequence</td> |
| 427 | <td>string</td> |
| 428 | <td>Database name</td> |
| 429 | <td>Any string</td> |
| 430 | <td> </td> |
| 431 | </tr> |
| 432 | |
| 433 | <tr bgcolor="#FFFFCC"> |
| 434 | <td> -sid1<br>-sid_sequence</td> |
| 435 | <td>string</td> |
| 436 | <td>Entryname</td> |
| 437 | <td>Any string</td> |
| 438 | <td> </td> |
| 439 | </tr> |
| 440 | |
| 441 | <tr bgcolor="#FFFFCC"> |
| 442 | <td> -ufo1<br>-ufo_sequence</td> |
| 443 | <td>string</td> |
| 444 | <td>UFO features</td> |
| 445 | <td>Any string</td> |
| 446 | <td> </td> |
| 447 | </tr> |
| 448 | |
| 449 | <tr bgcolor="#FFFFCC"> |
| 450 | <td> -fformat1<br>-fformat_sequence</td> |
| 451 | <td>string</td> |
| 452 | <td>Features format</td> |
| 453 | <td>Any string</td> |
| 454 | <td> </td> |
| 455 | </tr> |
| 456 | |
| 457 | <tr bgcolor="#FFFFCC"> |
| 458 | <td> -fopenfile1<br>-fopenfile_sequence</td> |
| 459 | <td>string</td> |
| 460 | <td>Features file name</td> |
| 461 | <td>Any string</td> |
| 462 | <td> </td> |
| 463 | </tr> |
| 464 | |
| 465 | <tr bgcolor="#FFFFCC"> |
| 466 | <td align="left" colspan=5>"-outfile" associated outfile qualifiers |
| 467 | </td> |
| 468 | </tr> |
| 469 | |
| 470 | <tr bgcolor="#FFFFCC"> |
| 471 | <td> -odirectory3<br>-odirectory_outfile</td> |
| 472 | <td>string</td> |
| 473 | <td>Output directory</td> |
| 474 | <td>Any string</td> |
| 475 | <td> </td> |
| 476 | </tr> |
| 477 | |
| 478 | <tr bgcolor="#FFFFCC"> |
| 479 | <th align="left" colspan=5>General qualifiers</th> |
| 480 | </tr> |
| 481 | |
| 482 | <tr bgcolor="#FFFFCC"> |
| 483 | <td> -auto</td> |
| 484 | <td>boolean</td> |
| 485 | <td>Turn off prompts</td> |
| 486 | <td>Boolean value Yes/No</td> |
| 487 | <td>N</td> |
| 488 | </tr> |
| 489 | |
| 490 | <tr bgcolor="#FFFFCC"> |
| 491 | <td> -stdout</td> |
| 492 | <td>boolean</td> |
| 493 | <td>Write first file to standard output</td> |
| 494 | <td>Boolean value Yes/No</td> |
| 495 | <td>N</td> |
| 496 | </tr> |
| 497 | |
| 498 | <tr bgcolor="#FFFFCC"> |
| 499 | <td> -filter</td> |
| 500 | <td>boolean</td> |
| 501 | <td>Read first file from standard input, write first file to standard output</td> |
| 502 | <td>Boolean value Yes/No</td> |
| 503 | <td>N</td> |
| 504 | </tr> |
| 505 | |
| 506 | <tr bgcolor="#FFFFCC"> |
| 507 | <td> -options</td> |
| 508 | <td>boolean</td> |
| 509 | <td>Prompt for standard and additional values</td> |
| 510 | <td>Boolean value Yes/No</td> |
| 511 | <td>N</td> |
| 512 | </tr> |
| 513 | |
| 514 | <tr bgcolor="#FFFFCC"> |
| 515 | <td> -debug</td> |
| 516 | <td>boolean</td> |
| 517 | <td>Write debug output to program.dbg</td> |
| 518 | <td>Boolean value Yes/No</td> |
| 519 | <td>N</td> |
| 520 | </tr> |
| 521 | |
| 522 | <tr bgcolor="#FFFFCC"> |
| 523 | <td> -verbose</td> |
| 524 | <td>boolean</td> |
| 525 | <td>Report some/full command line options</td> |
| 526 | <td>Boolean value Yes/No</td> |
| 527 | <td>Y</td> |
| 528 | </tr> |
| 529 | |
| 530 | <tr bgcolor="#FFFFCC"> |
| 531 | <td> -help</td> |
| 532 | <td>boolean</td> |
| 533 | <td>Report command line options and exit. More information on associated and general qualifiers can be found with -help -verbose</td> |
| 534 | <td>Boolean value Yes/No</td> |
| 535 | <td>N</td> |
| 536 | </tr> |
| 537 | |
| 538 | <tr bgcolor="#FFFFCC"> |
| 539 | <td> -warning</td> |
| 540 | <td>boolean</td> |
| 541 | <td>Report warnings</td> |
| 542 | <td>Boolean value Yes/No</td> |
| 543 | <td>Y</td> |
| 544 | </tr> |
| 545 | |
| 546 | <tr bgcolor="#FFFFCC"> |
| 547 | <td> -error</td> |
| 548 | <td>boolean</td> |
| 549 | <td>Report errors</td> |
| 550 | <td>Boolean value Yes/No</td> |
| 551 | <td>Y</td> |
| 552 | </tr> |
| 553 | |
| 554 | <tr bgcolor="#FFFFCC"> |
| 555 | <td> -fatal</td> |
| 556 | <td>boolean</td> |
| 557 | <td>Report fatal errors</td> |
| 558 | <td>Boolean value Yes/No</td> |
| 559 | <td>Y</td> |
| 560 | </tr> |
| 561 | |
| 562 | <tr bgcolor="#FFFFCC"> |
| 563 | <td> -die</td> |
| 564 | <td>boolean</td> |
| 565 | <td>Report dying program messages</td> |
| 566 | <td>Boolean value Yes/No</td> |
| 567 | <td>Y</td> |
| 568 | </tr> |
| 569 | |
| 570 | <tr bgcolor="#FFFFCC"> |
| 571 | <td> -version</td> |
| 572 | <td>boolean</td> |
| 573 | <td>Report version number and exit</td> |
| 574 | <td>Boolean value Yes/No</td> |
| 575 | <td>N</td> |
| 576 | </tr> |
| 577 | |
| 578 | </table> |
| 579 | |
| 580 | |
| 581 | <H2> |
| 582 | Input file format |
| 583 | </H2> |
| 584 | |
| 585 | |
| 586 | <b>textsearch</b> reads one or more nucleotide or protein sequences. |
| 587 | <p> |
| 588 | <p> |
| 589 | |
| 590 | The input is a standard EMBOSS sequence query (also known as a 'USA'). |
| 591 | |
| 592 | <p> |
| 593 | Major sequence database sources defined as standard in EMBOSS |
| 594 | installations include srs:embl, srs:uniprot and ensembl |
| 595 | |
| 596 | <p> |
| 597 | |
| 598 | Data can also be read from sequence output in any supported format |
| 599 | written by an EMBOSS or third-party application. |
| 600 | |
| 601 | <p> |
| 602 | The input format can be specified by using the |
| 603 | command-line qualifier <tt>-sformat xxx</tt>, where 'xxx' is replaced |
| 604 | by the name of the required format. The available format names are: |
| 605 | gff (gff3), gff2, embl (em), genbank (gb, refseq), ddbj, refseqp, pir |
| 606 | (nbrf), swissprot (swiss, sw), dasgff and debug. |
| 607 | |
| 608 | <p> |
| 609 | |
| 610 | See: |
| 611 | <A href="http://emboss.sf.net/docs/themes/SequenceFormats.html"> |
| 612 | http://emboss.sf.net/docs/themes/SequenceFormats.html</A> |
| 613 | for further information on sequence formats. |
| 614 | |
| 615 | <p> |
| 616 | |
| 617 | |
| 618 | <a name="input.2"></a> |
| 619 | <h3>Input files for usage example 2</h3> |
| 620 | |
| 621 | '|' is a sequence entry in the example protein database '|' |
| 622 | <p> |
| 623 | |
| 624 | <H2> |
| 625 | Output file format |
| 626 | </H2> |
| 627 | |
| 628 | |
| 629 | |
| 630 | <a name="output.1"></a> |
| 631 | <h3>Output files for usage example </h3> |
| 632 | <p><h3>File: cru4_arath.textsearch</h3> |
| 633 | <table width="90%"><tr><td bgcolor="#CCFFCC"> |
| 634 | <pre> |
| 635 | # Search for: lactose |
| 636 | tsw-id:LACI_ECOLI LACI_ECOLI P03023 Lactose operon repressor |
| 637 | tsw-id:LACY_ECOLI LACY_ECOLI P02920 Lactose permease (Lactose-proton symport) |
| 638 | </pre> |
| 639 | </td></tr></table><p> |
| 640 | |
| 641 | <a name="output.2"></a> |
| 642 | <h3>Output files for usage example 2</h3> |
| 643 | <p><h3>File: bgal_ecoli.textsearch</h3> |
| 644 | <table width="90%"><tr><td bgcolor="#CCFFCC"> |
| 645 | <pre> |
| 646 | # Search for: lactose | permease |
| 647 | tsw-id:LACI_ECOLI LACI_ECOLI P03023 Lactose operon repressor |
| 648 | tsw-id:LACY_ECOLI LACY_ECOLI P02920 Lactose permease (Lactose-proton symport) |
| 649 | </pre> |
| 650 | </td></tr></table><p> |
| 651 | |
| 652 | <a name="output.3"></a> |
| 653 | <h3>Output files for usage example 3</h3> |
| 654 | <p><h3>File: embl.lacz.html</h3> |
| 655 | <table width="90%"><tr><td bgcolor="#CCFFCC"> |
| 656 | <table border cellpadding=4 bgcolor="#FFFFF0"> |
| 657 | <tr>Search for: lacz</tr> |
| 658 | <tr><td>tembl-id:J01636</td><td>J01636</td><td>J01636</td> <td>E.coli lactose operon with lacI, lacZ, lacY and lacA genes.</td></tr> |
| 659 | <tr><td>tembl-id:V00296</td><td>V00296</td><td>V00296</td> <td>E. coli gene lacZ coding for beta-galactosidase (EC 3.2.1.23).</td></tr> |
| 660 | </table> |
| 661 | </td></tr></table><p> |
| 662 | |
| 663 | |
| 664 | <p> |
| 665 | |
| 666 | The first column in the name or ID of each sequence. The remaining |
| 667 | text is the description line of the sequence. |
| 668 | |
| 669 | <p> |
| 670 | |
| 671 | When the -html qualifier is specified, then the output will be wrapped |
| 672 | in HTML tags, ready for inclusion in a Web page. Note that tags such |
| 673 | as <HTML>, <BODY>, </BODY> and </HTML> are not |
| 674 | output by this program as the table of databases is expected to form |
| 675 | only part of the contents of a web page - the rest of the web page |
| 676 | must be supplier by the user. |
| 677 | |
| 678 | <p> |
| 679 | |
| 680 | The lines of out information are guaranteed not to have trailing |
| 681 | white-space at the end. So if '-nodesc' is used, there will not be any |
| 682 | whitespace after the ID name. |
| 683 | |
| 684 | <H2> |
| 685 | Data files |
| 686 | </H2> |
| 687 | |
| 688 | |
| 689 | None. |
| 690 | |
| 691 | <H2> |
| 692 | Notes |
| 693 | </H2> |
| 694 | |
| 695 | |
| 696 | This is a rather slow way to search for text in databases. If you are |
| 697 | searching for text in public databases, you should consider using |
| 698 | either |
| 699 | SRS (<a |
| 700 | href="http://srs.ebi.ac.uk/">http://srs.ebi.ac.uk/</a>) |
| 701 | or |
| 702 | Entrez (<a |
| 703 | href="http://www.ncbi.nlm.nih.gov/Entrez/"> |
| 704 | http://www.ncbi.nlm.nih.gov/Entrez/</a>) |
| 705 | |
| 706 | |
| 707 | <H2> |
| 708 | References |
| 709 | </H2> |
| 710 | |
| 711 | None. |
| 712 | |
| 713 | |
| 714 | <H2> |
| 715 | Warnings |
| 716 | </H2> |
| 717 | |
| 718 | |
| 719 | |
| 720 | <H2> |
| 721 | Diagnostic Error Messages |
| 722 | </H2> |
| 723 | |
| 724 | None. |
| 725 | |
| 726 | |
| 727 | <H2> |
| 728 | Exit status |
| 729 | </H2> |
| 730 | |
| 731 | |
| 732 | It always exits with status 0 |
| 733 | |
| 734 | <H2> |
| 735 | Known bugs |
| 736 | </H2> |
| 737 | |
| 738 | |
| 739 | None. |
| 740 | |
| 741 | <h2><a name="See also">See also</a></h2> |
| 742 | <table border cellpadding=4 bgcolor="#FFFFF0"> |
| 743 | <tr><th>Program name</th> |
| 744 | <th>Description</th></tr> |
| 745 | <tr> |
| 746 | <td><a href="drtext.html">drtext</a></td> |
| 747 | <td>Get data resource entries complete text</td> |
| 748 | </tr> |
| 749 | |
| 750 | <tr> |
| 751 | <td><a href="entret.html">entret</a></td> |
| 752 | <td>Retrieve sequence entries from flatfile databases and files</td> |
| 753 | </tr> |
| 754 | |
| 755 | <tr> |
| 756 | <td><a href="ontotext.html">ontotext</a></td> |
| 757 | <td>Get ontology term(s) original full text</td> |
| 758 | </tr> |
| 759 | |
| 760 | <tr> |
| 761 | <td><a href="textget.html">textget</a></td> |
| 762 | <td>Get text data entries</td> |
| 763 | </tr> |
| 764 | |
| 765 | <tr> |
| 766 | <td><a href="xmltext.html">xmltext</a></td> |
| 767 | <td>Get XML document original full text</td> |
| 768 | </tr> |
| 769 | |
| 770 | </table> |
| 771 | |
| 772 | |
| 773 | <H2> |
| 774 | Author(s) |
| 775 | </H2> |
| 776 | |
| 777 | |
| 778 | Gary Williams formerly at: |
| 779 | <br> |
| 780 | MRC Rosalind Franklin Centre for Genomics Research |
| 781 | Wellcome Trust Genome Campus, Hinxton, Cambridge, CB10 1SB, UK |
| 782 | |
| 783 | <p> |
| 784 | Please report all bugs to the EMBOSS bug team (emboss-bug © emboss.open-bio.org) not to the original author. |
| 785 | |
| 786 | <H2> |
| 787 | History |
| 788 | </H2> |
| 789 | |
| 790 | |
| 791 | <H2> |
| 792 | Target users |
| 793 | </H2> |
| 794 | This program is intended to be used by everyone and everything, from naive users to embedded scripts. |
| 795 | |
| 796 | |
| 797 | <H2> |
| 798 | Comments |
| 799 | </H2> |
| 800 | None |
| 801 | |
| 802 | |
| 803 | </BODY> |
| 804 | </HTML> |
| 805 |