Debian Codegraph @

doc/programs/html/dbxuncompress.html

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