| 1 |
<HTML> |
| 2 |
<HEAD> |
| 3 |
<TITLE> |
| 4 |
EMBOSS: dbxstat |
| 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 |
dbxstat |
| 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 |
Dump statistics for dbx databases |
| 39 |
|
| 40 |
|
| 41 |
|
| 42 |
|
| 43 |
|
| 44 |
|
| 45 |
|
| 46 |
|
| 47 |
<H2> |
| 48 |
Description |
| 49 |
</H2> |
| 50 |
|
| 51 |
<b>dbxstat</b> reports the contents of a B+ tree database index. |
| 52 |
|
| 53 |
|
| 54 |
|
| 55 |
|
| 56 |
|
| 57 |
|
| 58 |
|
| 59 |
|
| 60 |
|
| 61 |
|
| 62 |
|
| 63 |
|
| 64 |
|
| 65 |
|
| 66 |
<H2> |
| 67 |
Usage |
| 68 |
</H2> |
| 69 |
|
| 70 |
|
| 71 |
|
| 72 |
|
| 73 |
|
| 74 |
|
| 75 |
Here is a sample session with <b>dbxstat</b> |
| 76 |
<p> |
| 77 |
|
| 78 |
<p> |
| 79 |
<table width="90%"><tr><td bgcolor="#CCFFFF"><pre> |
| 80 |
|
| 81 |
% <b>dbxstat </b> |
| 82 |
Dump statistics for dbx databases |
| 83 |
EMBOSS database name: <b>edam</b> |
| 84 |
EMBOSS database field [id]: <b>ns</b> |
| 85 |
Output file [edam.dbxstat]: <b></b> |
| 86 |
|
| 87 |
</pre></td></tr></table><p> |
| 88 |
<p> |
| 89 |
<a href="#output.1">Go to the output files for this example</a><p><p> |
| 90 |
|
| 91 |
|
| 92 |
|
| 93 |
<H2> |
| 94 |
Command line arguments |
| 95 |
</H2> |
| 96 |
|
| 97 |
<table CELLSPACING=0 CELLPADDING=3 BGCOLOR="#f5f5ff" ><tr><td> |
| 98 |
<pre> |
| 99 |
Dump statistics for dbx databases |
| 100 |
Version: EMBOSS:6.6.0.0 |
| 101 |
|
| 102 |
Standard (Mandatory) qualifiers: |
| 103 |
[-dbname] string EMBOSS database name (Any string from 2 to |
| 104 |
19 characters, matching regular expression |
| 105 |
/[A-z][A-z0-9_]+/) |
| 106 |
[-field] string [id] EMBOSS database field (Any string) |
| 107 |
-outfile outfile [*.dbxstat] Output file name |
| 108 |
|
| 109 |
Additional (Optional) qualifiers: (none) |
| 110 |
Advanced (Unprompted) qualifiers: |
| 111 |
-indexdir directory Index directory (optional) |
| 112 |
-minimum integer [1] Minimum occurrences (Integer 1 or more) |
| 113 |
-maximum integer [0] Maximum occurrences (0=no maximum) |
| 114 |
(Integer 0 or more) |
| 115 |
|
| 116 |
Associated qualifiers: |
| 117 |
|
| 118 |
"-indexdir" associated qualifiers |
| 119 |
-extension string Default file extension |
| 120 |
|
| 121 |
"-outfile" associated qualifiers |
| 122 |
-odirectory string Output directory |
| 123 |
|
| 124 |
General qualifiers: |
| 125 |
-auto boolean Turn off prompts |
| 126 |
-stdout boolean Write first file to standard output |
| 127 |
-filter boolean Read first file from standard input, write |
| 128 |
first file to standard output |
| 129 |
-options boolean Prompt for standard and additional values |
| 130 |
-debug boolean Write debug output to program.dbg |
| 131 |
-verbose boolean Report some/full command line options |
| 132 |
-help boolean Report command line options and exit. More |
| 133 |
information on associated and general |
| 134 |
qualifiers can be found with -help -verbose |
| 135 |
-warning boolean Report warnings |
| 136 |
-error boolean Report errors |
| 137 |
-fatal boolean Report fatal errors |
| 138 |
-die boolean Report dying program messages |
| 139 |
-version boolean Report version number and exit |
| 140 |
|
| 141 |
</pre> |
| 142 |
</td></tr></table> |
| 143 |
<P> |
| 144 |
<table border cellspacing=0 cellpadding=3 bgcolor="#ccccff"> |
| 145 |
<tr bgcolor="#FFFFCC"> |
| 146 |
<th align="left">Qualifier</th> |
| 147 |
<th align="left">Type</th> |
| 148 |
<th align="left">Description</th> |
| 149 |
<th align="left">Allowed values</th> |
| 150 |
<th align="left">Default</th> |
| 151 |
</tr> |
| 152 |
|
| 153 |
<tr bgcolor="#FFFFCC"> |
| 154 |
<th align="left" colspan=5>Standard (Mandatory) qualifiers</th> |
| 155 |
</tr> |
| 156 |
|
| 157 |
<tr bgcolor="#FFFFCC"> |
| 158 |
<td>[-dbname]<br>(Parameter 1)</td> |
| 159 |
<td>string</td> |
| 160 |
<td>EMBOSS database name</td> |
| 161 |
<td>Any string from 2 to 19 characters, matching regular expression /[A-z][A-z0-9_]+/</td> |
| 162 |
<td><b>Required</b></td> |
| 163 |
</tr> |
| 164 |
|
| 165 |
<tr bgcolor="#FFFFCC"> |
| 166 |
<td>[-field]<br>(Parameter 2)</td> |
| 167 |
<td>string</td> |
| 168 |
<td>EMBOSS database field</td> |
| 169 |
<td>Any string</td> |
| 170 |
<td>id</td> |
| 171 |
</tr> |
| 172 |
|
| 173 |
<tr bgcolor="#FFFFCC"> |
| 174 |
<td>-outfile</td> |
| 175 |
<td>outfile</td> |
| 176 |
<td>Output file name</td> |
| 177 |
<td>Output file</td> |
| 178 |
<td><i><*></i>.dbxstat</td> |
| 179 |
</tr> |
| 180 |
|
| 181 |
<tr bgcolor="#FFFFCC"> |
| 182 |
<th align="left" colspan=5>Additional (Optional) qualifiers</th> |
| 183 |
</tr> |
| 184 |
|
| 185 |
<tr> |
| 186 |
<td colspan=5>(none)</td> |
| 187 |
</tr> |
| 188 |
|
| 189 |
<tr bgcolor="#FFFFCC"> |
| 190 |
<th align="left" colspan=5>Advanced (Unprompted) qualifiers</th> |
| 191 |
</tr> |
| 192 |
|
| 193 |
<tr bgcolor="#FFFFCC"> |
| 194 |
<td>-indexdir</td> |
| 195 |
<td>directory</td> |
| 196 |
<td>Index directory (optional)</td> |
| 197 |
<td>Directory</td> |
| 198 |
<td> </td> |
| 199 |
</tr> |
| 200 |
|
| 201 |
<tr bgcolor="#FFFFCC"> |
| 202 |
<td>-minimum</td> |
| 203 |
<td>integer</td> |
| 204 |
<td>Minimum occurrences</td> |
| 205 |
<td>Integer 1 or more</td> |
| 206 |
<td>1</td> |
| 207 |
</tr> |
| 208 |
|
| 209 |
<tr bgcolor="#FFFFCC"> |
| 210 |
<td>-maximum</td> |
| 211 |
<td>integer</td> |
| 212 |
<td>Maximum occurrences (0=no maximum)</td> |
| 213 |
<td>Integer 0 or more</td> |
| 214 |
<td>0</td> |
| 215 |
</tr> |
| 216 |
|
| 217 |
<tr bgcolor="#FFFFCC"> |
| 218 |
<th align="left" colspan=5>Associated qualifiers</th> |
| 219 |
</tr> |
| 220 |
|
| 221 |
<tr bgcolor="#FFFFCC"> |
| 222 |
<td align="left" colspan=5>"-indexdir" associated directory qualifiers |
| 223 |
</td> |
| 224 |
</tr> |
| 225 |
|
| 226 |
<tr bgcolor="#FFFFCC"> |
| 227 |
<td> -extension</td> |
| 228 |
<td>string</td> |
| 229 |
<td>Default file extension</td> |
| 230 |
<td>Any string</td> |
| 231 |
<td> </td> |
| 232 |
</tr> |
| 233 |
|
| 234 |
<tr bgcolor="#FFFFCC"> |
| 235 |
<td align="left" colspan=5>"-outfile" associated outfile qualifiers |
| 236 |
</td> |
| 237 |
</tr> |
| 238 |
|
| 239 |
<tr bgcolor="#FFFFCC"> |
| 240 |
<td> -odirectory</td> |
| 241 |
<td>string</td> |
| 242 |
<td>Output directory</td> |
| 243 |
<td>Any string</td> |
| 244 |
<td> </td> |
| 245 |
</tr> |
| 246 |
|
| 247 |
<tr bgcolor="#FFFFCC"> |
| 248 |
<th align="left" colspan=5>General qualifiers</th> |
| 249 |
</tr> |
| 250 |
|
| 251 |
<tr bgcolor="#FFFFCC"> |
| 252 |
<td> -auto</td> |
| 253 |
<td>boolean</td> |
| 254 |
<td>Turn off prompts</td> |
| 255 |
<td>Boolean value Yes/No</td> |
| 256 |
<td>N</td> |
| 257 |
</tr> |
| 258 |
|
| 259 |
<tr bgcolor="#FFFFCC"> |
| 260 |
<td> -stdout</td> |
| 261 |
<td>boolean</td> |
| 262 |
<td>Write first file to standard output</td> |
| 263 |
<td>Boolean value Yes/No</td> |
| 264 |
<td>N</td> |
| 265 |
</tr> |
| 266 |
|
| 267 |
<tr bgcolor="#FFFFCC"> |
| 268 |
<td> -filter</td> |
| 269 |
<td>boolean</td> |
| 270 |
<td>Read first file from standard input, write first file to standard output</td> |
| 271 |
<td>Boolean value Yes/No</td> |
| 272 |
<td>N</td> |
| 273 |
</tr> |
| 274 |
|
| 275 |
<tr bgcolor="#FFFFCC"> |
| 276 |
<td> -options</td> |
| 277 |
<td>boolean</td> |
| 278 |
<td>Prompt for standard and additional values</td> |
| 279 |
<td>Boolean value Yes/No</td> |
| 280 |
<td>N</td> |
| 281 |
</tr> |
| 282 |
|
| 283 |
<tr bgcolor="#FFFFCC"> |
| 284 |
<td> -debug</td> |
| 285 |
<td>boolean</td> |
| 286 |
<td>Write debug output to program.dbg</td> |
| 287 |
<td>Boolean value Yes/No</td> |
| 288 |
<td>N</td> |
| 289 |
</tr> |
| 290 |
|
| 291 |
<tr bgcolor="#FFFFCC"> |
| 292 |
<td> -verbose</td> |
| 293 |
<td>boolean</td> |
| 294 |
<td>Report some/full command line options</td> |
| 295 |
<td>Boolean value Yes/No</td> |
| 296 |
<td>Y</td> |
| 297 |
</tr> |
| 298 |
|
| 299 |
<tr bgcolor="#FFFFCC"> |
| 300 |
<td> -help</td> |
| 301 |
<td>boolean</td> |
| 302 |
<td>Report command line options and exit. More information on associated and general qualifiers can be found with -help -verbose</td> |
| 303 |
<td>Boolean value Yes/No</td> |
| 304 |
<td>N</td> |
| 305 |
</tr> |
| 306 |
|
| 307 |
<tr bgcolor="#FFFFCC"> |
| 308 |
<td> -warning</td> |
| 309 |
<td>boolean</td> |
| 310 |
<td>Report warnings</td> |
| 311 |
<td>Boolean value Yes/No</td> |
| 312 |
<td>Y</td> |
| 313 |
</tr> |
| 314 |
|
| 315 |
<tr bgcolor="#FFFFCC"> |
| 316 |
<td> -error</td> |
| 317 |
<td>boolean</td> |
| 318 |
<td>Report errors</td> |
| 319 |
<td>Boolean value Yes/No</td> |
| 320 |
<td>Y</td> |
| 321 |
</tr> |
| 322 |
|
| 323 |
<tr bgcolor="#FFFFCC"> |
| 324 |
<td> -fatal</td> |
| 325 |
<td>boolean</td> |
| 326 |
<td>Report fatal errors</td> |
| 327 |
<td>Boolean value Yes/No</td> |
| 328 |
<td>Y</td> |
| 329 |
</tr> |
| 330 |
|
| 331 |
<tr bgcolor="#FFFFCC"> |
| 332 |
<td> -die</td> |
| 333 |
<td>boolean</td> |
| 334 |
<td>Report dying program messages</td> |
| 335 |
<td>Boolean value Yes/No</td> |
| 336 |
<td>Y</td> |
| 337 |
</tr> |
| 338 |
|
| 339 |
<tr bgcolor="#FFFFCC"> |
| 340 |
<td> -version</td> |
| 341 |
<td>boolean</td> |
| 342 |
<td>Report version number and exit</td> |
| 343 |
<td>Boolean value Yes/No</td> |
| 344 |
<td>N</td> |
| 345 |
</tr> |
| 346 |
|
| 347 |
</table> |
| 348 |
|
| 349 |
|
| 350 |
|
| 351 |
|
| 352 |
|
| 353 |
|
| 354 |
|
| 355 |
|
| 356 |
|
| 357 |
|
| 358 |
|
| 359 |
|
| 360 |
|
| 361 |
<H2> |
| 362 |
Input file format |
| 363 |
</H2> |
| 364 |
|
| 365 |
|
| 366 |
|
| 367 |
|
| 368 |
|
| 369 |
|
| 370 |
|
| 371 |
|
| 372 |
<b>dbxstat</b> reads the index files for any database defined with |
| 373 |
"emboss" access method. |
| 374 |
|
| 375 |
|
| 376 |
|
| 377 |
|
| 378 |
|
| 379 |
|
| 380 |
|
| 381 |
<H2> |
| 382 |
Output file format |
| 383 |
</H2> |
| 384 |
|
| 385 |
|
| 386 |
|
| 387 |
|
| 388 |
|
| 389 |
|
| 390 |
|
| 391 |
|
| 392 |
|
| 393 |
|
| 394 |
|
| 395 |
|
| 396 |
<b>dbxstat</b> |
| 397 |
reports the contents of the selected index files. |
| 398 |
|
| 399 |
|
| 400 |
<p> |
| 401 |
|
| 402 |
|
| 403 |
<a name="output.1"></a> |
| 404 |
<h3>Output files for usage example </h3> |
| 405 |
<p><h3>File: edam.dbxstat</h3> |
| 406 |
<table width="90%"><tr><td bgcolor="#CCFFCC"> |
| 407 |
<pre> |
| 408 |
821 data |
| 409 |
455 format |
| 410 |
606 identifier |
| 411 |
618 operation |
| 412 |
245 topic |
| 413 |
|
| 414 |
Total keywords: 5 IDs: 2745 |
| 415 |
</pre> |
| 416 |
</td></tr></table><p> |
| 417 |
|
| 418 |
|
| 419 |
|
| 420 |
|
| 421 |
|
| 422 |
<H2> |
| 423 |
Data files |
| 424 |
</H2> |
| 425 |
|
| 426 |
None. |
| 427 |
|
| 428 |
|
| 429 |
<H2> |
| 430 |
Notes |
| 431 |
</H2> |
| 432 |
|
| 433 |
|
| 434 |
|
| 435 |
|
| 436 |
|
| 437 |
|
| 438 |
|
| 439 |
None. |
| 440 |
|
| 441 |
|
| 442 |
|
| 443 |
|
| 444 |
|
| 445 |
|
| 446 |
|
| 447 |
<H2> |
| 448 |
References |
| 449 |
</H2> |
| 450 |
|
| 451 |
|
| 452 |
|
| 453 |
|
| 454 |
|
| 455 |
|
| 456 |
|
| 457 |
|
| 458 |
|
| 459 |
|
| 460 |
|
| 461 |
None. |
| 462 |
|
| 463 |
|
| 464 |
|
| 465 |
|
| 466 |
|
| 467 |
|
| 468 |
|
| 469 |
|
| 470 |
<H2> |
| 471 |
Warnings |
| 472 |
</H2> |
| 473 |
|
| 474 |
|
| 475 |
|
| 476 |
|
| 477 |
|
| 478 |
None. |
| 479 |
|
| 480 |
|
| 481 |
|
| 482 |
|
| 483 |
|
| 484 |
|
| 485 |
|
| 486 |
<H2> |
| 487 |
Diagnostic Error Messages |
| 488 |
</H2> |
| 489 |
|
| 490 |
|
| 491 |
|
| 492 |
|
| 493 |
|
| 494 |
|
| 495 |
None. |
| 496 |
|
| 497 |
|
| 498 |
|
| 499 |
|
| 500 |
|
| 501 |
|
| 502 |
|
| 503 |
<H2> |
| 504 |
Exit status |
| 505 |
</H2> |
| 506 |
|
| 507 |
|
| 508 |
|
| 509 |
|
| 510 |
|
| 511 |
It always exits with status 0. |
| 512 |
|
| 513 |
|
| 514 |
|
| 515 |
|
| 516 |
|
| 517 |
|
| 518 |
|
| 519 |
|
| 520 |
<H2> |
| 521 |
Known bugs |
| 522 |
</H2> |
| 523 |
|
| 524 |
|
| 525 |
|
| 526 |
|
| 527 |
|
| 528 |
|
| 529 |
None. |
| 530 |
|
| 531 |
|
| 532 |
|
| 533 |
|
| 534 |
|
| 535 |
|
| 536 |
|
| 537 |
|
| 538 |
|
| 539 |
|
| 540 |
|
| 541 |
|
| 542 |
|
| 543 |
<h2><a name="See also">See also</a></h2> |
| 544 |
<table border cellpadding=4 bgcolor="#FFFFF0"> |
| 545 |
<tr><th>Program name</th> |
| 546 |
<th>Description</th></tr> |
| 547 |
<tr> |
| 548 |
<td><a href="dbiblast.html">dbiblast</a></td> |
| 549 |
<td>Index a BLAST database</td> |
| 550 |
</tr> |
| 551 |
|
| 552 |
<tr> |
| 553 |
<td><a href="dbifasta.html">dbifasta</a></td> |
| 554 |
<td>Index a fasta file database</td> |
| 555 |
</tr> |
| 556 |
|
| 557 |
<tr> |
| 558 |
<td><a href="dbiflat.html">dbiflat</a></td> |
| 559 |
<td>Index a flat file database</td> |
| 560 |
</tr> |
| 561 |
|
| 562 |
<tr> |
| 563 |
<td><a href="dbigcg.html">dbigcg</a></td> |
| 564 |
<td>Index a GCG formatted database</td> |
| 565 |
</tr> |
| 566 |
|
| 567 |
<tr> |
| 568 |
<td><a href="dbxcompress.html">dbxcompress</a></td> |
| 569 |
<td>Compress an uncompressed dbx index</td> |
| 570 |
</tr> |
| 571 |
|
| 572 |
<tr> |
| 573 |
<td><a href="dbxedam.html">dbxedam</a></td> |
| 574 |
<td>Index the EDAM ontology using b+tree indices</td> |
| 575 |
</tr> |
| 576 |
|
| 577 |
<tr> |
| 578 |
<td><a href="dbxfasta.html">dbxfasta</a></td> |
| 579 |
<td>Index a fasta file database using b+tree indices</td> |
| 580 |
</tr> |
| 581 |
|
| 582 |
<tr> |
| 583 |
<td><a href="dbxflat.html">dbxflat</a></td> |
| 584 |
<td>Index a flat file database using b+tree indices</td> |
| 585 |
</tr> |
| 586 |
|
| 587 |
<tr> |
| 588 |
<td><a href="dbxgcg.html">dbxgcg</a></td> |
| 589 |
<td>Index a GCG formatted database using b+tree indices</td> |
| 590 |
</tr> |
| 591 |
|
| 592 |
<tr> |
| 593 |
<td><a href="dbxobo.html">dbxobo</a></td> |
| 594 |
<td>Index an obo ontology using b+tree indices</td> |
| 595 |
</tr> |
| 596 |
|
| 597 |
<tr> |
| 598 |
<td><a href="dbxreport.html">dbxreport</a></td> |
| 599 |
<td>Validate index and report internals for dbx databases</td> |
| 600 |
</tr> |
| 601 |
|
| 602 |
<tr> |
| 603 |
<td><a href="dbxresource.html">dbxresource</a></td> |
| 604 |
<td>Index a data resource catalogue using b+tree indices</td> |
| 605 |
</tr> |
| 606 |
|
| 607 |
<tr> |
| 608 |
<td><a href="dbxtax.html">dbxtax</a></td> |
| 609 |
<td>Index NCBI taxonomy using b+tree indices</td> |
| 610 |
</tr> |
| 611 |
|
| 612 |
<tr> |
| 613 |
<td><a href="dbxuncompress.html">dbxuncompress</a></td> |
| 614 |
<td>Uncompress a compressed dbx index</td> |
| 615 |
</tr> |
| 616 |
|
| 617 |
</table> |
| 618 |
|
| 619 |
|
| 620 |
|
| 621 |
|
| 622 |
|
| 623 |
|
| 624 |
|
| 625 |
|
| 626 |
|
| 627 |
|
| 628 |
|
| 629 |
|
| 630 |
|
| 631 |
|
| 632 |
<H2> |
| 633 |
Author(s) |
| 634 |
</H2> |
| 635 |
|
| 636 |
Alan Bleasby |
| 637 |
<br> |
| 638 |
European Bioinformatics Institute, Wellcome Trust Genome Campus, Hinxton, Cambridge CB10 1SD, UK |
| 639 |
|
| 640 |
<p> |
| 641 |
Please report all bugs to the EMBOSS bug team (emboss-bug © emboss.open-bio.org) not to the original author. |
| 642 |
|
| 643 |
|
| 644 |
|
| 645 |
|
| 646 |
|
| 647 |
|
| 648 |
<H2> |
| 649 |
History |
| 650 |
</H2> |
| 651 |
|
| 652 |
|
| 653 |
|
| 654 |
|
| 655 |
|
| 656 |
|
| 657 |
|
| 658 |
<H2> |
| 659 |
Target users |
| 660 |
</H2> |
| 661 |
|
| 662 |
|
| 663 |
|
| 664 |
This program is intended to be used by everyone and everything, from naive users to embedded scripts. |
| 665 |
|
| 666 |
<H2> |
| 667 |
Comments |
| 668 |
</H2> |
| 669 |
|
| 670 |
|
| 671 |
|
| 672 |
None |
| 673 |
|
| 674 |
|
| 675 |
</BODY> |
| 676 |
</HTML> |
| 677 |
|