Debian Codegraph @

doc/programs/html/dbxreport.html

raw symbols SCIP
1 <HTML>
2 <HEAD>
3 <TITLE>
4 EMBOSS: dbxreport
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 dbxreport
16 </font></b>
17 </td></tr>
18 </table>
19 <br>&nbsp;
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 Validate index and report internals for dbx databases
39 <!--
40 DON'T WRITE ANYTHING HERE.
41 IT IS DONE FOR YOU.
42 -->
43
44
45
46
47 <H2>
48 Description
49 </H2>
50
51 <!--
52 This is the main part of the document.
53 This is what the user looks at to find out if this program will do what he wants.
54 Long description.
55 Why it is useful.
56 When it should/shouldn't be used.
57 -->
58
59 <b>dbxreport</b> reports statistics for the index fields of a database.
60
61 <H2>
62 Algorithm
63 </H2>
64
65
66 The index directory is, by default, the index directory af an
67 installed database.
68
69 <p>
70 <b>dbxreport</b> reads the index file, reporting on the file name, the
71 number of index terms, the depth of the index tree, statistics of
72 internal page types and the free space in an uncompressed index.
73
74 <H2>
75 Usage
76 </H2>
77
78 <!--
79 Example usage, as run from the command-line.
80 Many examples illustrating different behaviours is good.
81 -->
82
83 Here is a sample session with <b>dbxreport</b>
84 <p>
85
86 <p>
87 <table width="90%"><tr><td bgcolor="#CCFFFF"><pre>
88
89 % <b>dbxreport -indexdir . </b>
90 Validate index and report internals for dbx databases
91 EMBOSS database name: <b>embl</b>
92 Index fields [id]: <b>id,acc</b>
93 Output file [embl.dbxreport]: <b></b>
94
95 </pre></td></tr></table><p>
96 <p>
97 <a href="#output.1">Go to the output files for this example</a><p><p>
98
99
100
101 <H2>
102 Command line arguments
103 </H2>
104
105 <table CELLSPACING=0 CELLPADDING=3 BGCOLOR="#f5f5ff" ><tr><td>
106 <pre>
107 Validate index and report internals for dbx databases
108 Version: EMBOSS:6.6.0.0
109
110 Standard (Mandatory) qualifiers:
111 [-dbname] string EMBOSS database name (Any string from 2 to
112 19 characters, matching regular expression
113 /[A-z][A-z0-9_]+/)
114 [-fields] string [id] A list of index fields separated by
115 spaces or commas. (Any string)
116 -outfile outfile [*.dbxreport] Output file name
117
118 Additional (Optional) qualifiers: (none)
119 Advanced (Unprompted) qualifiers:
120 -indexdir directory Index directory (optional)
121 -fullreport boolean [N] Write full details to debug file
122
123 Associated qualifiers:
124
125 "-indexdir" associated qualifiers
126 -extension string Default file extension
127
128 "-outfile" associated qualifiers
129 -odirectory string Output directory
130
131 General qualifiers:
132 -auto boolean Turn off prompts
133 -stdout boolean Write first file to standard output
134 -filter boolean Read first file from standard input, write
135 first file to standard output
136 -options boolean Prompt for standard and additional values
137 -debug boolean Write debug output to program.dbg
138 -verbose boolean Report some/full command line options
139 -help boolean Report command line options and exit. More
140 information on associated and general
141 qualifiers can be found with -help -verbose
142 -warning boolean Report warnings
143 -error boolean Report errors
144 -fatal boolean Report fatal errors
145 -die boolean Report dying program messages
146 -version boolean Report version number and exit
147
148 </pre>
149 </td></tr></table>
150 <P>
151 <table border cellspacing=0 cellpadding=3 bgcolor="#ccccff">
152 <tr bgcolor="#FFFFCC">
153 <th align="left">Qualifier</th>
154 <th align="left">Type</th>
155 <th align="left">Description</th>
156 <th align="left">Allowed values</th>
157 <th align="left">Default</th>
158 </tr>
159
160 <tr bgcolor="#FFFFCC">
161 <th align="left" colspan=5>Standard (Mandatory) qualifiers</th>
162 </tr>
163
164 <tr bgcolor="#FFFFCC">
165 <td>[-dbname]<br>(Parameter 1)</td>
166 <td>string</td>
167 <td>EMBOSS database name</td>
168 <td>Any string from 2 to 19 characters, matching regular expression /[A-z][A-z0-9_]+/</td>
169 <td><b>Required</b></td>
170 </tr>
171
172 <tr bgcolor="#FFFFCC">
173 <td>[-fields]<br>(Parameter 2)</td>
174 <td>string</td>
175 <td>A list of index fields separated by spaces or commas.</td>
176 <td>Any string</td>
177 <td>id</td>
178 </tr>
179
180 <tr bgcolor="#FFFFCC">
181 <td>-outfile</td>
182 <td>outfile</td>
183 <td>Output file name</td>
184 <td>Output file</td>
185 <td><i>&lt;*&gt;</i>.dbxreport</td>
186 </tr>
187
188 <tr bgcolor="#FFFFCC">
189 <th align="left" colspan=5>Additional (Optional) qualifiers</th>
190 </tr>
191
192 <tr>
193 <td colspan=5>(none)</td>
194 </tr>
195
196 <tr bgcolor="#FFFFCC">
197 <th align="left" colspan=5>Advanced (Unprompted) qualifiers</th>
198 </tr>
199
200 <tr bgcolor="#FFFFCC">
201 <td>-indexdir</td>
202 <td>directory</td>
203 <td>Index directory (optional)</td>
204 <td>Directory</td>
205 <td>&nbsp;</td>
206 </tr>
207
208 <tr bgcolor="#FFFFCC">
209 <td>-fullreport</td>
210 <td>boolean</td>
211 <td>Write full details to debug file</td>
212 <td>Boolean value Yes/No</td>
213 <td>No</td>
214 </tr>
215
216 <tr bgcolor="#FFFFCC">
217 <th align="left" colspan=5>Associated qualifiers</th>
218 </tr>
219
220 <tr bgcolor="#FFFFCC">
221 <td align="left" colspan=5>"-indexdir" associated directory qualifiers
222 </td>
223 </tr>
224
225 <tr bgcolor="#FFFFCC">
226 <td> -extension</td>
227 <td>string</td>
228 <td>Default file extension</td>
229 <td>Any string</td>
230 <td>&nbsp;</td>
231 </tr>
232
233 <tr bgcolor="#FFFFCC">
234 <td align="left" colspan=5>"-outfile" associated outfile qualifiers
235 </td>
236 </tr>
237
238 <tr bgcolor="#FFFFCC">
239 <td> -odirectory</td>
240 <td>string</td>
241 <td>Output directory</td>
242 <td>Any string</td>
243 <td>&nbsp;</td>
244 </tr>
245
246 <tr bgcolor="#FFFFCC">
247 <th align="left" colspan=5>General qualifiers</th>
248 </tr>
249
250 <tr bgcolor="#FFFFCC">
251 <td> -auto</td>
252 <td>boolean</td>
253 <td>Turn off prompts</td>
254 <td>Boolean value Yes/No</td>
255 <td>N</td>
256 </tr>
257
258 <tr bgcolor="#FFFFCC">
259 <td> -stdout</td>
260 <td>boolean</td>
261 <td>Write first file to standard output</td>
262 <td>Boolean value Yes/No</td>
263 <td>N</td>
264 </tr>
265
266 <tr bgcolor="#FFFFCC">
267 <td> -filter</td>
268 <td>boolean</td>
269 <td>Read first file from standard input, write first file to standard output</td>
270 <td>Boolean value Yes/No</td>
271 <td>N</td>
272 </tr>
273
274 <tr bgcolor="#FFFFCC">
275 <td> -options</td>
276 <td>boolean</td>
277 <td>Prompt for standard and additional values</td>
278 <td>Boolean value Yes/No</td>
279 <td>N</td>
280 </tr>
281
282 <tr bgcolor="#FFFFCC">
283 <td> -debug</td>
284 <td>boolean</td>
285 <td>Write debug output to program.dbg</td>
286 <td>Boolean value Yes/No</td>
287 <td>N</td>
288 </tr>
289
290 <tr bgcolor="#FFFFCC">
291 <td> -verbose</td>
292 <td>boolean</td>
293 <td>Report some/full command line options</td>
294 <td>Boolean value Yes/No</td>
295 <td>Y</td>
296 </tr>
297
298 <tr bgcolor="#FFFFCC">
299 <td> -help</td>
300 <td>boolean</td>
301 <td>Report command line options and exit. More information on associated and general qualifiers can be found with -help -verbose</td>
302 <td>Boolean value Yes/No</td>
303 <td>N</td>
304 </tr>
305
306 <tr bgcolor="#FFFFCC">
307 <td> -warning</td>
308 <td>boolean</td>
309 <td>Report warnings</td>
310 <td>Boolean value Yes/No</td>
311 <td>Y</td>
312 </tr>
313
314 <tr bgcolor="#FFFFCC">
315 <td> -error</td>
316 <td>boolean</td>
317 <td>Report errors</td>
318 <td>Boolean value Yes/No</td>
319 <td>Y</td>
320 </tr>
321
322 <tr bgcolor="#FFFFCC">
323 <td> -fatal</td>
324 <td>boolean</td>
325 <td>Report fatal errors</td>
326 <td>Boolean value Yes/No</td>
327 <td>Y</td>
328 </tr>
329
330 <tr bgcolor="#FFFFCC">
331 <td> -die</td>
332 <td>boolean</td>
333 <td>Report dying program messages</td>
334 <td>Boolean value Yes/No</td>
335 <td>Y</td>
336 </tr>
337
338 <tr bgcolor="#FFFFCC">
339 <td> -version</td>
340 <td>boolean</td>
341 <td>Report version number and exit</td>
342 <td>Boolean value Yes/No</td>
343 <td>N</td>
344 </tr>
345
346 </table>
347
348 <!--
349 DON'T WRITE ANYTHING HERE.
350 IT IS DONE FOR YOU.
351 -->
352
353
354
355
356
357
358
359
360 <H2>
361 Input file format
362 </H2>
363
364 <!--
365 This includes example input file formats.
366 This should be a detailed description and example - assume
367 someone will want to parse this file and will want to know what
368 happens in unusual cases - null input, etc.
369 -->
370
371 <b>dbxreport</b> reads index files created by any of the EMBOSS 'dbx'
372 indexing applications.
373
374 <p>
375
376
377
378
379
380
381 <H2>
382 Output file format
383 </H2>
384
385 The output is a text report of index statistics.
386
387 <p>
388
389
390 <a name="output.1"></a>
391 <h3>Output files for usage example </h3>
392 <p><h3>File: embl.dbxreport</h3>
393 <table width="90%"><tr><td bgcolor="#CCFFCC">
394 <pre>
395 Index 'id' (.xid)
396 compressed: Yes (Compressed)
397 cachesize: 20000 (Size of primary cache)
398 seccachesize: 20000 (Size of secondary cache)
399 pagesize: 2048 (Page size)
400 secpagesize: 512 (Secondary page size)
401 pagecount: 3 (Primary page count)
402 pagecount: 0 (Secondary page count)
403 refcount: 0 (Number of reference files)
404 order: 71 (Tree order)
405 sorder: 22 (Order of secondary tree)
406 level: 0 (Level of tree)
407 slevel: 0 (Level of secondary tree)
408 fill: 56 (Entries per bucket)
409 sfill: 41 (Entries per secondary bucket)
410 keylimit: 15 (Max key size)
411 idlimit: 0 (Max secondary id size)
412 count: 6 (Unique entries in index)
413 fullcount: 6 (Total entries in index)
414 Identifier index 'id' index found with 3 pages
415 COUNT: 6
416 COUNTALL: 6
417 root: 1
418 bucket: 2
419 ... keys: 1
420 ... bkeys: 6
421 ... total_size: 6144
422 ... freespace: 5871, 95.6% of uncompressed 6144
423 FOUND: 6
424 FOUNDALL: 6
425 Index 'acc' (.xac)
426 compressed: Yes (Compressed)
427 cachesize: 20000 (Size of primary cache)
428 seccachesize: 20000 (Size of secondary cache)
429 pagesize: 2048 (Page size)
430 secpagesize: 512 (Secondary page size)
431 pagecount: 3 (Primary page count)
432 pagecount: 3 (Secondary page count)
433 refcount: 0 (Number of reference files)
434 order: 71 (Tree order)
435 sorder: 22 (Order of secondary tree)
436 level: 0 (Level of tree)
437 slevel: 0 (Level of secondary tree)
438 fill: 56 (Entries per bucket)
439 sfill: 41 (Entries per secondary bucket)
440 keylimit: 15 (Max key size)
441 idlimit: 0 (Max secondary id size)
442 count: 7 (Unique entries in index)
443 fullcount: 9 (Total entries in index)
444 Identifier index 'acc' index found with 6 pages
445 COUNT: 7
446 COUNTALL: 9
447 root: 1
448 numroot: 1
449 bucket: 2
450 numbucket: 2
451 ... keys: 2
452 ... bkeys: 7
453 ... bdups: 1
454 ... bxtra: 2
455 ... nkeys: 3 (0)
456 ... total_size: 7680
457 ... freespace: 7236, 94.2% of uncompressed 7680
458 FOUND: 7
459 FOUNDALL: 9
460 </pre>
461 </td></tr></table><p>
462
463
464
465
466
467 <H2>
468 Data files
469 </H2>
470
471 <!--
472 Any data files used (e.g. translation table file)
473 This includes example data file formats if they are
474 not obvious.
475
476 If you wish to include the standard description of what data
477 files are and how to use embossdata to inspect and retrieve
478 them, use:
479
480 #include file="inc/localfiles.ihtml"
481 -->
482
483 None.
484
485 <H2>
486 Notes
487 </H2>
488
489 <!--
490 Restrictions.
491 Interesting behaviour.
492 Useful things you can do with this program.
493 -->
494
495 None.
496
497
498
499
500
501
502
503 <H2>
504 References
505 </H2>
506
507 <!--
508 Bibliography for methods used.
509 <ol>
510
511 <li>
512
513 </ol>
514
515 -->
516
517 None.
518
519
520
521
522
523
524
525
526 <H2>
527 Warnings
528 </H2>
529
530 <!--
531 Potentially stupid things the program will let you do.
532 -->
533
534 None.
535
536
537
538
539
540
541
542 <H2>
543 Diagnostic Error Messages
544 </H2>
545
546 <!--
547 Error messages specific to this program, eg:
548 "FATAL xxx" - means you have not set up the xxx data using program <b>prog</b>.<p>
549 -->
550
551 None.
552
553
554
555
556
557
558
559 <H2>
560 Exit status
561 </H2>
562
563 <!--
564 Description of the exit status for various error conditions
565 -->
566
567 It always exits with status 0.
568
569
570
571
572
573
574
575
576 <H2>
577 Known bugs
578 </H2>
579
580
581 <!--
582 Bugs noted but not yet fixed.
583 -->
584
585 None.
586
587
588
589
590
591
592
593
594 <!--
595 <H2>
596 See also
597 </H2>
598 -->
599 <h2><a name="See also">See also</a></h2>
600 <table border cellpadding=4 bgcolor="#FFFFF0">
601 <tr><th>Program name</th>
602 <th>Description</th></tr>
603 <tr>
604 <td><a href="dbiblast.html">dbiblast</a></td>
605 <td>Index a BLAST database</td>
606 </tr>
607
608 <tr>
609 <td><a href="dbifasta.html">dbifasta</a></td>
610 <td>Index a fasta file database</td>
611 </tr>
612
613 <tr>
614 <td><a href="dbiflat.html">dbiflat</a></td>
615 <td>Index a flat file database</td>
616 </tr>
617
618 <tr>
619 <td><a href="dbigcg.html">dbigcg</a></td>
620 <td>Index a GCG formatted database</td>
621 </tr>
622
623 <tr>
624 <td><a href="dbxcompress.html">dbxcompress</a></td>
625 <td>Compress an uncompressed dbx index</td>
626 </tr>
627
628 <tr>
629 <td><a href="dbxedam.html">dbxedam</a></td>
630 <td>Index the EDAM ontology using b+tree indices</td>
631 </tr>
632
633 <tr>
634 <td><a href="dbxfasta.html">dbxfasta</a></td>
635 <td>Index a fasta file database using b+tree indices</td>
636 </tr>
637
638 <tr>
639 <td><a href="dbxflat.html">dbxflat</a></td>
640 <td>Index a flat file database using b+tree indices</td>
641 </tr>
642
643 <tr>
644 <td><a href="dbxgcg.html">dbxgcg</a></td>
645 <td>Index a GCG formatted database using b+tree indices</td>
646 </tr>
647
648 <tr>
649 <td><a href="dbxobo.html">dbxobo</a></td>
650 <td>Index an obo ontology using b+tree indices</td>
651 </tr>
652
653 <tr>
654 <td><a href="dbxresource.html">dbxresource</a></td>
655 <td>Index a data resource catalogue using b+tree indices</td>
656 </tr>
657
658 <tr>
659 <td><a href="dbxstat.html">dbxstat</a></td>
660 <td>Dump statistics for dbx databases</td>
661 </tr>
662
663 <tr>
664 <td><a href="dbxtax.html">dbxtax</a></td>
665 <td>Index NCBI taxonomy using b+tree indices</td>
666 </tr>
667
668 <tr>
669 <td><a href="dbxuncompress.html">dbxuncompress</a></td>
670 <td>Uncompress a compressed dbx index</td>
671 </tr>
672
673 </table>
674 <!--
675 Add any comments about other associated programs (to prepare
676 data files?) that seealso doesn't find.
677 -->
678
679
680
681
682
683
684
685
686
687
688 <H2>
689 Author(s)
690 </H2>
691 Peter Rice
692 <br>
693 European Bioinformatics Institute, Wellcome Trust Genome Campus, Hinxton, Cambridge CB10 1SD, UK
694
695 <p>
696 Please report all bugs to the EMBOSS bug team (emboss-bug&nbsp;&copy;&nbsp;emboss.open-bio.org) not to the original author.
697
698
699 <H2>
700 History
701 </H2>
702 <!--
703 Date written and what changes have been made go in this file.
704 -->
705
706
707
708
709 <H2>
710 Target users
711 </H2>
712 <!--
713 For general users, use this text
714 -->
715 This program is intended to be used by everyone and everything, from naive users to embedded scripts.
716
717 <H2>
718 Comments
719 </H2>
720 <!--
721 User/developer/other comments go in this file.
722 -->
723 None
724
725
726 </BODY>
727 </HTML>
728