Debian Codegraph @

doc/programs/html/dbxobo.html

raw symbols SCIP
1 <HTML>
2
3 <HEAD>
4 <TITLE>
5 EMBOSS: dbxobo
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 dbxobo
17 </font></b>
18 </td></tr>
19 </table>
20 <br>&nbsp;
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 Index an obo ontology using b+tree indices
40 <H2>
41 Description
42 </H2>
43
44 <b>dbxobo</b> indexes an ontology in OBO format, and builds
45 EMBOSS B+tree format index files.
46
47 <p>
48 These indexes allow access of flat files larger than 2Gb.
49
50 <p>
51 Related application <b>dbxedam</b> provides additional index fields
52 for EDAM-specific namespaces and relations.
53
54
55 <H2>
56 Usage
57 </H2>
58 Here is a sample session with <b>dbxobo</b>
59 <p>
60
61 <p>
62 <table width="90%"><tr><td bgcolor="#CCFFFF"><pre>
63
64 % <b>dbxobo </b>
65 Index an obo ontology using b+tree indices
66 Basename for index files: <b>edam</b>
67 Standard database name [edam]: <b></b>
68 Resource name [oboresource]: <b>oboresource</b>
69 Database directory [.]: <b></b>
70 Wildcard database filename [*.obo]: <b>EDAM.obo</b>
71 id : ID
72 acc : Synonym
73 nam : Name
74 isa : Parent
75 des : Description
76 ns : Namespace
77 Index fields [*]: <b>*</b>
78 Compressed index files [Y]: <b></b>
79 General log output file [outfile.dbxobo]: <b></b>
80
81 </pre></td></tr></table><p>
82 <p>
83 <a href="#output.1">Go to the output files for this example</a><p><p>
84
85 <H2>
86 Command line arguments
87 </H2>
88 <table CELLSPACING=0 CELLPADDING=3 BGCOLOR="#f5f5ff" ><tr><td>
89 <pre>
90 Index an obo ontology using b+tree indices
91 Version: EMBOSS:6.6.0.0
92
93 Standard (Mandatory) qualifiers:
94 [-dbname] string Basename for index files (Any string from 2
95 to 19 characters, matching regular
96 expression /[A-z][A-z0-9_]+/)
97 [-standardname] string [$(dbname)] Standard database name (Any
98 string from 2 to 19 characters, matching
99 regular expression /[A-z][A-z0-9_]+/)
100 [-dbresource] string [oboresource] Resource name (Any string from
101 2 to 19 characters, matching regular
102 expression /[A-z][A-z0-9_]+/)
103 -directory directory [.] Database directory
104 -filenames string [*.obo] Wildcard database filename (Any
105 string)
106 -fields menu [*] Index fields (Values: id (ID); acc
107 (Synonym); nam (Name); isa (Parent); des
108 (Description); ns (Namespace))
109 -[no]compressed boolean [Y] Compressed index files
110 -outfile outfile [*.dbxobo] General log output file
111
112 Additional (Optional) qualifiers: (none)
113 Advanced (Unprompted) qualifiers:
114 -release string [0.0] Release number (Any string up to 9
115 characters)
116 -date string [00/00/00] Index date (Date string dd/mm/yy)
117 -exclude string Wildcard filename(s) to exclude (Any string)
118 -indexoutdir outdir [.] Index file output directory
119
120 Associated qualifiers:
121
122 "-directory" associated qualifiers
123 -extension string Default file extension
124
125 "-indexoutdir" 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>Basename for index files</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>[-standardname]<br>(Parameter 2)</td>
174 <td>string</td>
175 <td>Standard database name</td>
176 <td>Any string from 2 to 19 characters, matching regular expression /[A-z][A-z0-9_]+/</td>
177 <td>$(dbname)</td>
178 </tr>
179
180 <tr bgcolor="#FFFFCC">
181 <td>[-dbresource]<br>(Parameter 3)</td>
182 <td>string</td>
183 <td>Resource name</td>
184 <td>Any string from 2 to 19 characters, matching regular expression /[A-z][A-z0-9_]+/</td>
185 <td>oboresource</td>
186 </tr>
187
188 <tr bgcolor="#FFFFCC">
189 <td>-directory</td>
190 <td>directory</td>
191 <td>Database directory</td>
192 <td>Directory</td>
193 <td>.</td>
194 </tr>
195
196 <tr bgcolor="#FFFFCC">
197 <td>-filenames</td>
198 <td>string</td>
199 <td>Wildcard database filename</td>
200 <td>Any string</td>
201 <td>*.obo</td>
202 </tr>
203
204 <tr bgcolor="#FFFFCC">
205 <td>-fields</td>
206 <td>list</td>
207 <td>Index fields</td>
208 <td><table><tr><td>id</td> <td><i>(ID)</i></td></tr><tr><td>acc</td> <td><i>(Synonym)</i></td></tr><tr><td>nam</td> <td><i>(Name)</i></td></tr><tr><td>isa</td> <td><i>(Parent)</i></td></tr><tr><td>des</td> <td><i>(Description)</i></td></tr><tr><td>ns</td> <td><i>(Namespace)</i></td></tr></table></td>
209 <td>*</td>
210 </tr>
211
212 <tr bgcolor="#FFFFCC">
213 <td>-[no]compressed</td>
214 <td>boolean</td>
215 <td>Compressed index files</td>
216 <td>Boolean value Yes/No</td>
217 <td>Yes</td>
218 </tr>
219
220 <tr bgcolor="#FFFFCC">
221 <td>-outfile</td>
222 <td>outfile</td>
223 <td>General log output file</td>
224 <td>Output file</td>
225 <td><i>&lt;*&gt;</i>.dbxobo</td>
226 </tr>
227
228 <tr bgcolor="#FFFFCC">
229 <th align="left" colspan=5>Additional (Optional) qualifiers</th>
230 </tr>
231
232 <tr>
233 <td colspan=5>(none)</td>
234 </tr>
235
236 <tr bgcolor="#FFFFCC">
237 <th align="left" colspan=5>Advanced (Unprompted) qualifiers</th>
238 </tr>
239
240 <tr bgcolor="#FFFFCC">
241 <td>-release</td>
242 <td>string</td>
243 <td>Release number</td>
244 <td>Any string up to 9 characters</td>
245 <td>0.0</td>
246 </tr>
247
248 <tr bgcolor="#FFFFCC">
249 <td>-date</td>
250 <td>string</td>
251 <td>Index date</td>
252 <td>Date string dd/mm/yy</td>
253 <td>00/00/00</td>
254 </tr>
255
256 <tr bgcolor="#FFFFCC">
257 <td>-exclude</td>
258 <td>string</td>
259 <td>Wildcard filename(s) to exclude</td>
260 <td>Any string</td>
261 <td>&nbsp;</td>
262 </tr>
263
264 <tr bgcolor="#FFFFCC">
265 <td>-indexoutdir</td>
266 <td>outdir</td>
267 <td>Index file output directory</td>
268 <td>Output directory</td>
269 <td>.</td>
270 </tr>
271
272 <tr bgcolor="#FFFFCC">
273 <th align="left" colspan=5>Associated qualifiers</th>
274 </tr>
275
276 <tr bgcolor="#FFFFCC">
277 <td align="left" colspan=5>"-directory" associated directory qualifiers
278 </td>
279 </tr>
280
281 <tr bgcolor="#FFFFCC">
282 <td> -extension</td>
283 <td>string</td>
284 <td>Default file extension</td>
285 <td>Any string</td>
286 <td>&nbsp;</td>
287 </tr>
288
289 <tr bgcolor="#FFFFCC">
290 <td align="left" colspan=5>"-indexoutdir" associated outdir qualifiers
291 </td>
292 </tr>
293
294 <tr bgcolor="#FFFFCC">
295 <td> -extension</td>
296 <td>string</td>
297 <td>Default file extension</td>
298 <td>Any string</td>
299 <td>&nbsp;</td>
300 </tr>
301
302 <tr bgcolor="#FFFFCC">
303 <td align="left" colspan=5>"-outfile" associated outfile qualifiers
304 </td>
305 </tr>
306
307 <tr bgcolor="#FFFFCC">
308 <td> -odirectory</td>
309 <td>string</td>
310 <td>Output directory</td>
311 <td>Any string</td>
312 <td>&nbsp;</td>
313 </tr>
314
315 <tr bgcolor="#FFFFCC">
316 <th align="left" colspan=5>General qualifiers</th>
317 </tr>
318
319 <tr bgcolor="#FFFFCC">
320 <td> -auto</td>
321 <td>boolean</td>
322 <td>Turn off prompts</td>
323 <td>Boolean value Yes/No</td>
324 <td>N</td>
325 </tr>
326
327 <tr bgcolor="#FFFFCC">
328 <td> -stdout</td>
329 <td>boolean</td>
330 <td>Write first file to standard output</td>
331 <td>Boolean value Yes/No</td>
332 <td>N</td>
333 </tr>
334
335 <tr bgcolor="#FFFFCC">
336 <td> -filter</td>
337 <td>boolean</td>
338 <td>Read first file from standard input, write first file to standard output</td>
339 <td>Boolean value Yes/No</td>
340 <td>N</td>
341 </tr>
342
343 <tr bgcolor="#FFFFCC">
344 <td> -options</td>
345 <td>boolean</td>
346 <td>Prompt for standard and additional values</td>
347 <td>Boolean value Yes/No</td>
348 <td>N</td>
349 </tr>
350
351 <tr bgcolor="#FFFFCC">
352 <td> -debug</td>
353 <td>boolean</td>
354 <td>Write debug output to program.dbg</td>
355 <td>Boolean value Yes/No</td>
356 <td>N</td>
357 </tr>
358
359 <tr bgcolor="#FFFFCC">
360 <td> -verbose</td>
361 <td>boolean</td>
362 <td>Report some/full command line options</td>
363 <td>Boolean value Yes/No</td>
364 <td>Y</td>
365 </tr>
366
367 <tr bgcolor="#FFFFCC">
368 <td> -help</td>
369 <td>boolean</td>
370 <td>Report command line options and exit. More information on associated and general qualifiers can be found with -help -verbose</td>
371 <td>Boolean value Yes/No</td>
372 <td>N</td>
373 </tr>
374
375 <tr bgcolor="#FFFFCC">
376 <td> -warning</td>
377 <td>boolean</td>
378 <td>Report warnings</td>
379 <td>Boolean value Yes/No</td>
380 <td>Y</td>
381 </tr>
382
383 <tr bgcolor="#FFFFCC">
384 <td> -error</td>
385 <td>boolean</td>
386 <td>Report errors</td>
387 <td>Boolean value Yes/No</td>
388 <td>Y</td>
389 </tr>
390
391 <tr bgcolor="#FFFFCC">
392 <td> -fatal</td>
393 <td>boolean</td>
394 <td>Report fatal errors</td>
395 <td>Boolean value Yes/No</td>
396 <td>Y</td>
397 </tr>
398
399 <tr bgcolor="#FFFFCC">
400 <td> -die</td>
401 <td>boolean</td>
402 <td>Report dying program messages</td>
403 <td>Boolean value Yes/No</td>
404 <td>Y</td>
405 </tr>
406
407 <tr bgcolor="#FFFFCC">
408 <td> -version</td>
409 <td>boolean</td>
410 <td>Report version number and exit</td>
411 <td>Boolean value Yes/No</td>
412 <td>N</td>
413 </tr>
414
415 </table>
416
417 <H2>
418 Input file format
419 </H2>
420
421 <b>dbxobo</b> reads and indexes OBO format ontology files
422
423 <p>
424
425
426 <H2>
427 Output file format
428 </H2>
429
430 <b>dbxobo</b> creates one summary file for the database and two files
431 for each field indexed.
432
433 <p>
434
435 <a name="output.1"></a>
436 <h3>Output files for usage example </h3>
437 <p><h3>File: outfile.dbxobo</h3>
438 <table width="90%"><tr><td bgcolor="#CCFFCC">
439 <pre>
440 Processing directory: /homes/user/test/data/
441 Processing file: EDAM.obo
442 entries: 143 (143) time: 0.0s (0.0s)
443 Total time: 0.0s
444 Entry idlen 15 OK. Maximum ID length was 4 for '0004'.
445 Field acc acclen 200 OK. Maximum acc term length was 47 for 'HMMER profile alignment (sequences versus HMMs)'.
446 Field nam namlen 70 OK. Maximum nam term length was 15 for 'semanticscience'.
447 Field isa isalen 15 OK. Maximum isa term length was 4 for '0003'.
448 Field ns nslen 20 OK. Maximum ns term length was 10 for 'identifier'.
449 Field des deslen 50 OK. Maximum des term length was 17 for 'conceptualisation'.
450 </pre>
451 </td></tr></table><p>
452 <p><h3>File: edam.ent</h3>
453 <table width="90%"><tr><td bgcolor="#CCFFCC">
454 <pre>
455 # Number of files: 1
456 # Release: 0.0
457 # Date: 00/00/00
458 Single filename database
459 EDAM.obo
460 </pre>
461 </td></tr></table><p>
462 <p><h3>File: edam.pxac</h3>
463 <table width="90%"><tr><td bgcolor="#CCFFCC">
464 <pre>
465 Type Identifier
466 Compress Yes
467 Pages 3
468 Secpages 0
469 Order 76
470 Fill 74
471 Level 0
472 Pagesize 16384
473 Cachesize 20000
474 Order2 816
475 Fill2 1364
476 Secpagesize 16384
477 Seccachesize 20000
478 Count 143
479 Fullcount 143
480 Kwlimit 200
481 Reffiles 0
482 </pre>
483 </td></tr></table><p>
484 <p><h3>File: edam.pxde</h3>
485 <table width="90%"><tr><td bgcolor="#CCFFCC">
486 <pre>
487 Type Secondary
488 Compress Yes
489 Pages 21
490 Secpages 562
491 Order 64
492 Fill 57
493 Level 0
494 Pagesize 4096
495 Cachesize 20000
496 Order2 144
497 Fill2 204
498 Secpagesize 4096
499 Seccachesize 20000
500 Count 562
501 Fullcount 2167
502 Kwlimit 50
503 Idlimit 15
504 </pre>
505 </td></tr></table><p>
506 <p><h3>File: edam.pxid</h3>
507 <table width="90%"><tr><td bgcolor="#CCFFCC">
508 <pre>
509 Type Identifier
510 Compress Yes
511 Pages 5
512 Secpages 0
513 Order 71
514 Fill 56
515 Level 0
516 Pagesize 2048
517 Cachesize 20000
518 Order2 22
519 Fill2 41
520 Secpagesize 512
521 Seccachesize 20000
522 Count 143
523 Fullcount 143
524 Kwlimit 15
525 Reffiles 0
526 </pre>
527 </td></tr></table><p>
528 <p><h3>File: edam.pxis</h3>
529 <table width="90%"><tr><td bgcolor="#CCFFCC">
530 <pre>
531 Type Secondary
532 Compress Yes
533 Pages 4
534 Secpages 96
535 Order 71
536 Fill 56
537 Level 0
538 Pagesize 2048
539 Cachesize 20000
540 Order2 16
541 Fill2 24
542 Secpagesize 512
543 Seccachesize 20000
544 Count 90
545 Fullcount 225
546 Kwlimit 15
547 Idlimit 15
548 </pre>
549 </td></tr></table><p>
550 <p><h3>File: edam.pxnm</h3>
551 <table width="90%"><tr><td bgcolor="#CCFFCC">
552 <pre>
553 Type Secondary
554 Compress Yes
555 Pages 5
556 Secpages 323
557 Order 196
558 Fill 179
559 Level 0
560 Pagesize 16384
561 Cachesize 20000
562 Order2 583
563 Fill2 818
564 Secpagesize 16384
565 Seccachesize 20000
566 Count 323
567 Fullcount 725
568 Kwlimit 70
569 Idlimit 15
570 </pre>
571 </td></tr></table><p>
572 <p><h3>File: edam.pxns</h3>
573 <table width="90%"><tr><td bgcolor="#CCFFCC">
574 <pre>
575 Type Secondary
576 Compress Yes
577 Pages 3
578 Secpages 12
579 Order 60
580 Fill 49
581 Level 0
582 Pagesize 2048
583 Cachesize 20000
584 Order2 16
585 Fill2 24
586 Secpagesize 512
587 Seccachesize 20000
588 Count 5
589 Fullcount 143
590 Kwlimit 20
591 Idlimit 15
592 </pre>
593 </td></tr></table><p>
594 <p><h3>File: edam.xac</h3>
595 <p>This file contains non-printing characters and so cannot be displayed here.
596 <p><h3>File: edam.xde</h3>
597 <p>This file contains non-printing characters and so cannot be displayed here.
598 <p><h3>File: edam.xid</h3>
599 <p>This file contains non-printing characters and so cannot be displayed here.
600 <p><h3>File: edam.xis</h3>
601 <p>This file contains non-printing characters and so cannot be displayed here.
602 <p><h3>File: edam.xnm</h3>
603 <p>This file contains non-printing characters and so cannot be displayed here.
604 <p><h3>File: edam.xns</h3>
605 <p>This file contains non-printing characters and so cannot be displayed here.
606
607 <H2>
608 Data files
609 </H2>
610
611
612 <H2>
613 Notes
614 </H2>
615
616
617
618 <H2>
619 References
620 </H2>
621
622
623
624 <H2>
625 Warnings
626 </H2>
627
628 None.
629
630 <H2>
631 Diagnostic Error Messages
632 </H2>
633
634 None.
635
636
637 <H2>
638 Exit status
639 </H2>
640
641 It exits with a status of 0.
642
643 <H2>
644 Known bugs
645 </H2>
646
647 None.
648
649 <h2><a name="See also">See also</a></h2>
650 <table border cellpadding=4 bgcolor="#FFFFF0">
651 <tr><th>Program name</th>
652 <th>Description</th></tr>
653 <tr>
654 <td><a href="dbiblast.html">dbiblast</a></td>
655 <td>Index a BLAST database</td>
656 </tr>
657
658 <tr>
659 <td><a href="dbifasta.html">dbifasta</a></td>
660 <td>Index a fasta file database</td>
661 </tr>
662
663 <tr>
664 <td><a href="dbiflat.html">dbiflat</a></td>
665 <td>Index a flat file database</td>
666 </tr>
667
668 <tr>
669 <td><a href="dbigcg.html">dbigcg</a></td>
670 <td>Index a GCG formatted database</td>
671 </tr>
672
673 <tr>
674 <td><a href="dbxcompress.html">dbxcompress</a></td>
675 <td>Compress an uncompressed dbx index</td>
676 </tr>
677
678 <tr>
679 <td><a href="dbxedam.html">dbxedam</a></td>
680 <td>Index the EDAM ontology using b+tree indices</td>
681 </tr>
682
683 <tr>
684 <td><a href="dbxfasta.html">dbxfasta</a></td>
685 <td>Index a fasta file database using b+tree indices</td>
686 </tr>
687
688 <tr>
689 <td><a href="dbxflat.html">dbxflat</a></td>
690 <td>Index a flat file database using b+tree indices</td>
691 </tr>
692
693 <tr>
694 <td><a href="dbxgcg.html">dbxgcg</a></td>
695 <td>Index a GCG formatted database using b+tree indices</td>
696 </tr>
697
698 <tr>
699 <td><a href="dbxreport.html">dbxreport</a></td>
700 <td>Validate index and report internals for dbx databases</td>
701 </tr>
702
703 <tr>
704 <td><a href="dbxresource.html">dbxresource</a></td>
705 <td>Index a data resource catalogue using b+tree indices</td>
706 </tr>
707
708 <tr>
709 <td><a href="dbxstat.html">dbxstat</a></td>
710 <td>Dump statistics for dbx databases</td>
711 </tr>
712
713 <tr>
714 <td><a href="dbxtax.html">dbxtax</a></td>
715 <td>Index NCBI taxonomy using b+tree indices</td>
716 </tr>
717
718 <tr>
719 <td><a href="dbxuncompress.html">dbxuncompress</a></td>
720 <td>Uncompress a compressed dbx index</td>
721 </tr>
722
723 </table>
724
725 <H2>
726 Author(s)
727 </H2>
728
729 Peter Rice
730 <br>
731 European Bioinformatics Institute, Wellcome Trust Genome Campus, Hinxton, Cambridge CB10 1SD, UK
732
733 <p>
734 Please report all bugs to the EMBOSS bug team (emboss-bug&nbsp;&copy;&nbsp;emboss.open-bio.org) not to the original author.
735
736 <H2>
737 History
738 </H2>
739
740
741
742 <H2>
743 Target users
744 </H2>
745 This program is intended to be used by administrators responsible
746 for software and database installation and maintenance.
747
748 <H2>
749 Comments
750 </H2>
751 None
752
753 </BODY>
754 </HTML>
755