| 1 |
<HTML> |
| 2 |
<HEAD> |
| 3 |
<TITLE> |
| 4 |
EMBOSS: dbxflat |
| 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 |
dbxflat |
| 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 |
Index a flat file database using b+tree indices |
| 39 |
|
| 40 |
|
| 41 |
|
| 42 |
|
| 43 |
|
| 44 |
|
| 45 |
|
| 46 |
|
| 47 |
<H2> |
| 48 |
Description |
| 49 |
</H2> |
| 50 |
|
| 51 |
|
| 52 |
|
| 53 |
|
| 54 |
|
| 55 |
|
| 56 |
|
| 57 |
|
| 58 |
|
| 59 |
<b>dbxflat</b> indexes a flat file database of one or more files, and builds |
| 60 |
EMBOSS B+tree format index files. |
| 61 |
|
| 62 |
<p> |
| 63 |
These indexes allow access of flat files larger than 2Gb. |
| 64 |
|
| 65 |
|
| 66 |
<H2> |
| 67 |
Usage |
| 68 |
</H2> |
| 69 |
|
| 70 |
|
| 71 |
|
| 72 |
|
| 73 |
|
| 74 |
|
| 75 |
Here is a sample session with <b>dbxflat</b> |
| 76 |
<p> |
| 77 |
|
| 78 |
<p> |
| 79 |
<table width="90%"><tr><td bgcolor="#CCFFFF"><pre> |
| 80 |
|
| 81 |
% <b>dbxflat </b> |
| 82 |
Index a flat file database using b+tree indices |
| 83 |
Basename for index files: <b>embl</b> |
| 84 |
Resource name: <b>emblresource</b> |
| 85 |
EMBL : EMBL |
| 86 |
SWISS : Swiss-Prot, SpTrEMBL, TrEMBLnew |
| 87 |
GB : Genbank, DDBJ |
| 88 |
REFSEQ : Refseq |
| 89 |
FASTQ : Fastq files |
| 90 |
USPTO : Iguspto files |
| 91 |
Entry format [SWISS]: <b>embl</b> |
| 92 |
Wildcard database filename [*.dat]: <b>rod.dat</b> |
| 93 |
Database directory [.]: <b>embl</b> |
| 94 |
id : ID |
| 95 |
acc : Accession number |
| 96 |
sv : Sequence Version and GI |
| 97 |
des : Description |
| 98 |
key : Keywords |
| 99 |
org : Taxonomy |
| 100 |
Index fields [id,acc]: <b></b> |
| 101 |
Compressed index files [Y]: <b></b> |
| 102 |
General log output file [outfile.dbxflat]: <b></b> |
| 103 |
|
| 104 |
</pre></td></tr></table><p> |
| 105 |
<p> |
| 106 |
<a href="#output.1">Go to the output files for this example</a><p><p> |
| 107 |
|
| 108 |
|
| 109 |
|
| 110 |
<H2> |
| 111 |
Command line arguments |
| 112 |
</H2> |
| 113 |
|
| 114 |
<table CELLSPACING=0 CELLPADDING=3 BGCOLOR="#f5f5ff" ><tr><td> |
| 115 |
<pre> |
| 116 |
Index a flat file database using b+tree indices |
| 117 |
Version: EMBOSS:6.6.0.0 |
| 118 |
|
| 119 |
Standard (Mandatory) qualifiers: |
| 120 |
[-dbname] string Basename for index files (Any string from 2 |
| 121 |
to 19 characters, matching regular |
| 122 |
expression /[A-z][A-z0-9_]+/) |
| 123 |
[-dbresource] string Resource name (Any string from 2 to 19 |
| 124 |
characters, matching regular expression |
| 125 |
/[A-z][A-z0-9_]+/) |
| 126 |
-idformat menu [SWISS] Entry format (Values: EMBL (EMBL); |
| 127 |
SWISS (Swiss-Prot, SpTrEMBL, TrEMBLnew); GB |
| 128 |
(Genbank, DDBJ); REFSEQ (Refseq); FASTQ |
| 129 |
(Fastq files); USPTO (Iguspto files)) |
| 130 |
-filenames string [*.dat] Wildcard database filename (Any |
| 131 |
string) |
| 132 |
-directory directory [.] Database directory |
| 133 |
-fields menu [id,acc] Index fields (Values: id (ID); acc |
| 134 |
(Accession number); sv (Sequence Version and |
| 135 |
GI); des (Description); key (Keywords); org |
| 136 |
(Taxonomy)) |
| 137 |
-[no]compressed boolean [Y] Compressed index files |
| 138 |
-outfile outfile [*.dbxflat] General log output file |
| 139 |
|
| 140 |
Additional (Optional) qualifiers: (none) |
| 141 |
Advanced (Unprompted) qualifiers: |
| 142 |
-release string [0.0] Release number (Any string up to 9 |
| 143 |
characters) |
| 144 |
-date string [00/00/00] Index date (Date string dd/mm/yy) |
| 145 |
-exclude string Wildcard filename(s) to exclude (Any string) |
| 146 |
-statistics boolean [N] Report I/O statistics for each input |
| 147 |
file |
| 148 |
-indexoutdir outdir [.] Index file output directory |
| 149 |
|
| 150 |
Associated qualifiers: |
| 151 |
|
| 152 |
"-directory" associated qualifiers |
| 153 |
-extension string Default file extension |
| 154 |
|
| 155 |
"-indexoutdir" associated qualifiers |
| 156 |
-extension string Default file extension |
| 157 |
|
| 158 |
"-outfile" associated qualifiers |
| 159 |
-odirectory string Output directory |
| 160 |
|
| 161 |
General qualifiers: |
| 162 |
-auto boolean Turn off prompts |
| 163 |
-stdout boolean Write first file to standard output |
| 164 |
-filter boolean Read first file from standard input, write |
| 165 |
first file to standard output |
| 166 |
-options boolean Prompt for standard and additional values |
| 167 |
-debug boolean Write debug output to program.dbg |
| 168 |
-verbose boolean Report some/full command line options |
| 169 |
-help boolean Report command line options and exit. More |
| 170 |
information on associated and general |
| 171 |
qualifiers can be found with -help -verbose |
| 172 |
-warning boolean Report warnings |
| 173 |
-error boolean Report errors |
| 174 |
-fatal boolean Report fatal errors |
| 175 |
-die boolean Report dying program messages |
| 176 |
-version boolean Report version number and exit |
| 177 |
|
| 178 |
</pre> |
| 179 |
</td></tr></table> |
| 180 |
<P> |
| 181 |
<table border cellspacing=0 cellpadding=3 bgcolor="#ccccff"> |
| 182 |
<tr bgcolor="#FFFFCC"> |
| 183 |
<th align="left">Qualifier</th> |
| 184 |
<th align="left">Type</th> |
| 185 |
<th align="left">Description</th> |
| 186 |
<th align="left">Allowed values</th> |
| 187 |
<th align="left">Default</th> |
| 188 |
</tr> |
| 189 |
|
| 190 |
<tr bgcolor="#FFFFCC"> |
| 191 |
<th align="left" colspan=5>Standard (Mandatory) qualifiers</th> |
| 192 |
</tr> |
| 193 |
|
| 194 |
<tr bgcolor="#FFFFCC"> |
| 195 |
<td>[-dbname]<br>(Parameter 1)</td> |
| 196 |
<td>string</td> |
| 197 |
<td>Basename for index files</td> |
| 198 |
<td>Any string from 2 to 19 characters, matching regular expression /[A-z][A-z0-9_]+/</td> |
| 199 |
<td><b>Required</b></td> |
| 200 |
</tr> |
| 201 |
|
| 202 |
<tr bgcolor="#FFFFCC"> |
| 203 |
<td>[-dbresource]<br>(Parameter 2)</td> |
| 204 |
<td>string</td> |
| 205 |
<td>Resource name</td> |
| 206 |
<td>Any string from 2 to 19 characters, matching regular expression /[A-z][A-z0-9_]+/</td> |
| 207 |
<td><b>Required</b></td> |
| 208 |
</tr> |
| 209 |
|
| 210 |
<tr bgcolor="#FFFFCC"> |
| 211 |
<td>-idformat</td> |
| 212 |
<td>list</td> |
| 213 |
<td>Entry format</td> |
| 214 |
<td><table><tr><td>EMBL</td> <td><i>(EMBL)</i></td></tr><tr><td>SWISS</td> <td><i>(Swiss-Prot, SpTrEMBL, TrEMBLnew)</i></td></tr><tr><td>GB</td> <td><i>(Genbank, DDBJ)</i></td></tr><tr><td>REFSEQ</td> <td><i>(Refseq)</i></td></tr><tr><td>FASTQ</td> <td><i>(Fastq files)</i></td></tr><tr><td>USPTO</td> <td><i>(Iguspto files)</i></td></tr></table></td> |
| 215 |
<td>SWISS</td> |
| 216 |
</tr> |
| 217 |
|
| 218 |
<tr bgcolor="#FFFFCC"> |
| 219 |
<td>-filenames</td> |
| 220 |
<td>string</td> |
| 221 |
<td>Wildcard database filename</td> |
| 222 |
<td>Any string</td> |
| 223 |
<td>*.dat</td> |
| 224 |
</tr> |
| 225 |
|
| 226 |
<tr bgcolor="#FFFFCC"> |
| 227 |
<td>-directory</td> |
| 228 |
<td>directory</td> |
| 229 |
<td>Database directory</td> |
| 230 |
<td>Directory</td> |
| 231 |
<td>.</td> |
| 232 |
</tr> |
| 233 |
|
| 234 |
<tr bgcolor="#FFFFCC"> |
| 235 |
<td>-fields</td> |
| 236 |
<td>list</td> |
| 237 |
<td>Index fields</td> |
| 238 |
<td><table><tr><td>id</td> <td><i>(ID)</i></td></tr><tr><td>acc</td> <td><i>(Accession number)</i></td></tr><tr><td>sv</td> <td><i>(Sequence Version and GI)</i></td></tr><tr><td>des</td> <td><i>(Description)</i></td></tr><tr><td>key</td> <td><i>(Keywords)</i></td></tr><tr><td>org</td> <td><i>(Taxonomy)</i></td></tr></table></td> |
| 239 |
<td>id,acc</td> |
| 240 |
</tr> |
| 241 |
|
| 242 |
<tr bgcolor="#FFFFCC"> |
| 243 |
<td>-[no]compressed</td> |
| 244 |
<td>boolean</td> |
| 245 |
<td>Compressed index files</td> |
| 246 |
<td>Boolean value Yes/No</td> |
| 247 |
<td>Yes</td> |
| 248 |
</tr> |
| 249 |
|
| 250 |
<tr bgcolor="#FFFFCC"> |
| 251 |
<td>-outfile</td> |
| 252 |
<td>outfile</td> |
| 253 |
<td>General log output file</td> |
| 254 |
<td>Output file</td> |
| 255 |
<td><i><*></i>.dbxflat</td> |
| 256 |
</tr> |
| 257 |
|
| 258 |
<tr bgcolor="#FFFFCC"> |
| 259 |
<th align="left" colspan=5>Additional (Optional) qualifiers</th> |
| 260 |
</tr> |
| 261 |
|
| 262 |
<tr> |
| 263 |
<td colspan=5>(none)</td> |
| 264 |
</tr> |
| 265 |
|
| 266 |
<tr bgcolor="#FFFFCC"> |
| 267 |
<th align="left" colspan=5>Advanced (Unprompted) qualifiers</th> |
| 268 |
</tr> |
| 269 |
|
| 270 |
<tr bgcolor="#FFFFCC"> |
| 271 |
<td>-release</td> |
| 272 |
<td>string</td> |
| 273 |
<td>Release number</td> |
| 274 |
<td>Any string up to 9 characters</td> |
| 275 |
<td>0.0</td> |
| 276 |
</tr> |
| 277 |
|
| 278 |
<tr bgcolor="#FFFFCC"> |
| 279 |
<td>-date</td> |
| 280 |
<td>string</td> |
| 281 |
<td>Index date</td> |
| 282 |
<td>Date string dd/mm/yy</td> |
| 283 |
<td>00/00/00</td> |
| 284 |
</tr> |
| 285 |
|
| 286 |
<tr bgcolor="#FFFFCC"> |
| 287 |
<td>-exclude</td> |
| 288 |
<td>string</td> |
| 289 |
<td>Wildcard filename(s) to exclude</td> |
| 290 |
<td>Any string</td> |
| 291 |
<td> </td> |
| 292 |
</tr> |
| 293 |
|
| 294 |
<tr bgcolor="#FFFFCC"> |
| 295 |
<td>-statistics</td> |
| 296 |
<td>boolean</td> |
| 297 |
<td>Report I/O statistics for each input file</td> |
| 298 |
<td>Boolean value Yes/No</td> |
| 299 |
<td>No</td> |
| 300 |
</tr> |
| 301 |
|
| 302 |
<tr bgcolor="#FFFFCC"> |
| 303 |
<td>-indexoutdir</td> |
| 304 |
<td>outdir</td> |
| 305 |
<td>Index file output directory</td> |
| 306 |
<td>Output directory</td> |
| 307 |
<td>.</td> |
| 308 |
</tr> |
| 309 |
|
| 310 |
<tr bgcolor="#FFFFCC"> |
| 311 |
<th align="left" colspan=5>Associated qualifiers</th> |
| 312 |
</tr> |
| 313 |
|
| 314 |
<tr bgcolor="#FFFFCC"> |
| 315 |
<td align="left" colspan=5>"-directory" associated directory qualifiers |
| 316 |
</td> |
| 317 |
</tr> |
| 318 |
|
| 319 |
<tr bgcolor="#FFFFCC"> |
| 320 |
<td> -extension</td> |
| 321 |
<td>string</td> |
| 322 |
<td>Default file extension</td> |
| 323 |
<td>Any string</td> |
| 324 |
<td> </td> |
| 325 |
</tr> |
| 326 |
|
| 327 |
<tr bgcolor="#FFFFCC"> |
| 328 |
<td align="left" colspan=5>"-indexoutdir" associated outdir qualifiers |
| 329 |
</td> |
| 330 |
</tr> |
| 331 |
|
| 332 |
<tr bgcolor="#FFFFCC"> |
| 333 |
<td> -extension</td> |
| 334 |
<td>string</td> |
| 335 |
<td>Default file extension</td> |
| 336 |
<td>Any string</td> |
| 337 |
<td> </td> |
| 338 |
</tr> |
| 339 |
|
| 340 |
<tr bgcolor="#FFFFCC"> |
| 341 |
<td align="left" colspan=5>"-outfile" associated outfile qualifiers |
| 342 |
</td> |
| 343 |
</tr> |
| 344 |
|
| 345 |
<tr bgcolor="#FFFFCC"> |
| 346 |
<td> -odirectory</td> |
| 347 |
<td>string</td> |
| 348 |
<td>Output directory</td> |
| 349 |
<td>Any string</td> |
| 350 |
<td> </td> |
| 351 |
</tr> |
| 352 |
|
| 353 |
<tr bgcolor="#FFFFCC"> |
| 354 |
<th align="left" colspan=5>General qualifiers</th> |
| 355 |
</tr> |
| 356 |
|
| 357 |
<tr bgcolor="#FFFFCC"> |
| 358 |
<td> -auto</td> |
| 359 |
<td>boolean</td> |
| 360 |
<td>Turn off prompts</td> |
| 361 |
<td>Boolean value Yes/No</td> |
| 362 |
<td>N</td> |
| 363 |
</tr> |
| 364 |
|
| 365 |
<tr bgcolor="#FFFFCC"> |
| 366 |
<td> -stdout</td> |
| 367 |
<td>boolean</td> |
| 368 |
<td>Write first file to standard output</td> |
| 369 |
<td>Boolean value Yes/No</td> |
| 370 |
<td>N</td> |
| 371 |
</tr> |
| 372 |
|
| 373 |
<tr bgcolor="#FFFFCC"> |
| 374 |
<td> -filter</td> |
| 375 |
<td>boolean</td> |
| 376 |
<td>Read first file from standard input, write first file to standard output</td> |
| 377 |
<td>Boolean value Yes/No</td> |
| 378 |
<td>N</td> |
| 379 |
</tr> |
| 380 |
|
| 381 |
<tr bgcolor="#FFFFCC"> |
| 382 |
<td> -options</td> |
| 383 |
<td>boolean</td> |
| 384 |
<td>Prompt for standard and additional values</td> |
| 385 |
<td>Boolean value Yes/No</td> |
| 386 |
<td>N</td> |
| 387 |
</tr> |
| 388 |
|
| 389 |
<tr bgcolor="#FFFFCC"> |
| 390 |
<td> -debug</td> |
| 391 |
<td>boolean</td> |
| 392 |
<td>Write debug output to program.dbg</td> |
| 393 |
<td>Boolean value Yes/No</td> |
| 394 |
<td>N</td> |
| 395 |
</tr> |
| 396 |
|
| 397 |
<tr bgcolor="#FFFFCC"> |
| 398 |
<td> -verbose</td> |
| 399 |
<td>boolean</td> |
| 400 |
<td>Report some/full command line options</td> |
| 401 |
<td>Boolean value Yes/No</td> |
| 402 |
<td>Y</td> |
| 403 |
</tr> |
| 404 |
|
| 405 |
<tr bgcolor="#FFFFCC"> |
| 406 |
<td> -help</td> |
| 407 |
<td>boolean</td> |
| 408 |
<td>Report command line options and exit. More information on associated and general qualifiers can be found with -help -verbose</td> |
| 409 |
<td>Boolean value Yes/No</td> |
| 410 |
<td>N</td> |
| 411 |
</tr> |
| 412 |
|
| 413 |
<tr bgcolor="#FFFFCC"> |
| 414 |
<td> -warning</td> |
| 415 |
<td>boolean</td> |
| 416 |
<td>Report warnings</td> |
| 417 |
<td>Boolean value Yes/No</td> |
| 418 |
<td>Y</td> |
| 419 |
</tr> |
| 420 |
|
| 421 |
<tr bgcolor="#FFFFCC"> |
| 422 |
<td> -error</td> |
| 423 |
<td>boolean</td> |
| 424 |
<td>Report errors</td> |
| 425 |
<td>Boolean value Yes/No</td> |
| 426 |
<td>Y</td> |
| 427 |
</tr> |
| 428 |
|
| 429 |
<tr bgcolor="#FFFFCC"> |
| 430 |
<td> -fatal</td> |
| 431 |
<td>boolean</td> |
| 432 |
<td>Report fatal errors</td> |
| 433 |
<td>Boolean value Yes/No</td> |
| 434 |
<td>Y</td> |
| 435 |
</tr> |
| 436 |
|
| 437 |
<tr bgcolor="#FFFFCC"> |
| 438 |
<td> -die</td> |
| 439 |
<td>boolean</td> |
| 440 |
<td>Report dying program messages</td> |
| 441 |
<td>Boolean value Yes/No</td> |
| 442 |
<td>Y</td> |
| 443 |
</tr> |
| 444 |
|
| 445 |
<tr bgcolor="#FFFFCC"> |
| 446 |
<td> -version</td> |
| 447 |
<td>boolean</td> |
| 448 |
<td>Report version number and exit</td> |
| 449 |
<td>Boolean value Yes/No</td> |
| 450 |
<td>N</td> |
| 451 |
</tr> |
| 452 |
|
| 453 |
</table> |
| 454 |
|
| 455 |
|
| 456 |
|
| 457 |
|
| 458 |
|
| 459 |
|
| 460 |
|
| 461 |
|
| 462 |
|
| 463 |
|
| 464 |
|
| 465 |
|
| 466 |
|
| 467 |
<H2> |
| 468 |
Input file format |
| 469 |
</H2> |
| 470 |
|
| 471 |
|
| 472 |
|
| 473 |
|
| 474 |
|
| 475 |
|
| 476 |
|
| 477 |
|
| 478 |
<b>dbxflat</b> reads and indexes sequence data flatfiles in any of the available |
| 479 |
formats. |
| 480 |
|
| 481 |
<p> |
| 482 |
|
| 483 |
|
| 484 |
|
| 485 |
|
| 486 |
|
| 487 |
|
| 488 |
<H2> |
| 489 |
Output file format |
| 490 |
</H2> |
| 491 |
|
| 492 |
|
| 493 |
<b>dbxflat</b> creates one summary file for the database and two files |
| 494 |
for each field indexed. |
| 495 |
|
| 496 |
<p> |
| 497 |
|
| 498 |
<ul> |
| 499 |
|
| 500 |
<li>dbalias.ent is the master file containing the names of the files |
| 501 |
that have been indexed. It is an ASCII file. This file also contains |
| 502 |
the database release and date information. |
| 503 |
|
| 504 |
<li>dbalias.xid is the B+tree index file for the ID names. It is a binary |
| 505 |
file. |
| 506 |
|
| 507 |
<li>dbalias.pxid is an ASCII file containing information regarding the |
| 508 |
structure of the ID name index. |
| 509 |
|
| 510 |
</ul> |
| 511 |
|
| 512 |
|
| 513 |
<p> |
| 514 |
|
| 515 |
|
| 516 |
<a name="output.1"></a> |
| 517 |
<h3>Output files for usage example </h3> |
| 518 |
<p><h3>File: outfile.dbxflat</h3> |
| 519 |
<table width="90%"><tr><td bgcolor="#CCFFCC"> |
| 520 |
<pre> |
| 521 |
Processing directory: /homes/user/test/embl/ |
| 522 |
Processing file: rod.dat |
| 523 |
entries: 6 (6) time: 0.0/0.0s (0.0/0.0s) |
| 524 |
Total time: 0:00.0 |
| 525 |
Entry idlen 15 OK. Maximum ID length was 6 for 'L48662'. |
| 526 |
Field acc acclen 15 OK. Maximum acc term length was 6 for 'L48662'. |
| 527 |
</pre> |
| 528 |
</td></tr></table><p> |
| 529 |
<p><h3>File: embl.ent</h3> |
| 530 |
<table width="90%"><tr><td bgcolor="#CCFFCC"> |
| 531 |
<pre> |
| 532 |
# Number of files: 1 |
| 533 |
# Release: 0.0 |
| 534 |
# Date: 00/00/00 |
| 535 |
Single filename database |
| 536 |
rod.dat |
| 537 |
</pre> |
| 538 |
</td></tr></table><p> |
| 539 |
<p><h3>File: embl.pxac</h3> |
| 540 |
<table width="90%"><tr><td bgcolor="#CCFFCC"> |
| 541 |
<pre> |
| 542 |
Type Identifier |
| 543 |
Compress Yes |
| 544 |
Pages 3 |
| 545 |
Secpages 3 |
| 546 |
Order 71 |
| 547 |
Fill 56 |
| 548 |
Level 0 |
| 549 |
Pagesize 2048 |
| 550 |
Cachesize 20000 |
| 551 |
Order2 22 |
| 552 |
Fill2 41 |
| 553 |
Secpagesize 512 |
| 554 |
Seccachesize 20000 |
| 555 |
Count 7 |
| 556 |
Fullcount 9 |
| 557 |
Kwlimit 15 |
| 558 |
Reffiles 0 |
| 559 |
</pre> |
| 560 |
</td></tr></table><p> |
| 561 |
<p><h3>File: embl.pxid</h3> |
| 562 |
<table width="90%"><tr><td bgcolor="#CCFFCC"> |
| 563 |
<pre> |
| 564 |
Type Identifier |
| 565 |
Compress Yes |
| 566 |
Pages 3 |
| 567 |
Secpages 0 |
| 568 |
Order 71 |
| 569 |
Fill 56 |
| 570 |
Level 0 |
| 571 |
Pagesize 2048 |
| 572 |
Cachesize 20000 |
| 573 |
Order2 22 |
| 574 |
Fill2 41 |
| 575 |
Secpagesize 512 |
| 576 |
Seccachesize 20000 |
| 577 |
Count 6 |
| 578 |
Fullcount 6 |
| 579 |
Kwlimit 15 |
| 580 |
Reffiles 0 |
| 581 |
</pre> |
| 582 |
</td></tr></table><p> |
| 583 |
<p><h3>File: embl.xac</h3> |
| 584 |
<p>This file contains non-printing characters and so cannot be displayed here. |
| 585 |
<p><h3>File: embl.xid</h3> |
| 586 |
<p>This file contains non-printing characters and so cannot be displayed here. |
| 587 |
|
| 588 |
|
| 589 |
|
| 590 |
|
| 591 |
|
| 592 |
<H2> |
| 593 |
Data files |
| 594 |
</H2> |
| 595 |
|
| 596 |
|
| 597 |
None. |
| 598 |
|
| 599 |
|
| 600 |
|
| 601 |
|
| 602 |
|
| 603 |
|
| 604 |
|
| 605 |
|
| 606 |
|
| 607 |
|
| 608 |
|
| 609 |
<H2> |
| 610 |
Notes |
| 611 |
</H2> |
| 612 |
|
| 613 |
|
| 614 |
|
| 615 |
|
| 616 |
|
| 617 |
|
| 618 |
|
| 619 |
The indexing system has been designed to allow on-the-fly updating |
| 620 |
of indexes. This feature is, however, not implemented in the current |
| 621 |
version. It will be made available in future releases. |
| 622 |
|
| 623 |
|
| 624 |
|
| 625 |
<p> |
| 626 |
|
| 627 |
Having created the EMBOSS indexes for this file, a database can then be |
| 628 |
defined in the file <b>emboss.defaults</b> as something like: |
| 629 |
|
| 630 |
<pre> |
| 631 |
DB embl [ |
| 632 |
type: N |
| 633 |
dbalias: embl (see below) |
| 634 |
format: embl |
| 635 |
method: emboss |
| 636 |
directory: /data/embl |
| 637 |
file: *.dat |
| 638 |
indexdirectory: /data/embl/indexes |
| 639 |
] |
| 640 |
</pre> |
| 641 |
|
| 642 |
The index file 'basename' given to <b>dbxflat</b> must match the DB name |
| 643 |
in the definition. If not, then a 'dbalias' line must be given which |
| 644 |
specifies the basename of the indexes. |
| 645 |
|
| 646 |
<h3>Fields Indexed</H3> |
| 647 |
|
| 648 |
By default, <b>dbxflat</b> will index the ID name and the accession |
| 649 |
number (if present). |
| 650 |
|
| 651 |
<br> |
| 652 |
|
| 653 |
If they are present in your database, you may also specify that |
| 654 |
<b>dbxflat</b> should index the Sequence Version and GI, the words |
| 655 |
in the description, the keywords and the organism words using the |
| 656 |
'-fields' qualifier with the appropriate values. |
| 657 |
|
| 658 |
|
| 659 |
|
| 660 |
|
| 661 |
|
| 662 |
<H2> |
| 663 |
Global Parameters |
| 664 |
</H2> |
| 665 |
|
| 666 |
<b>dbxflat</b> requires that two global parameters be defined in |
| 667 |
the file <b>emboss.defaults</b>. These are: |
| 668 |
|
| 669 |
<pre> |
| 670 |
SET PAGESIZE 2048 |
| 671 |
SET CACHESIZE 200 |
| 672 |
</pre> |
| 673 |
|
| 674 |
The above values are recommended for most systems. The PAGESIZE is |
| 675 |
a multiple of the size of disc pages the operating system buffers. |
| 676 |
The CACHESIZE is the number of disc pages <b>dbxflat</b> is |
| 677 |
allowed to cache. |
| 678 |
|
| 679 |
|
| 680 |
<H2> |
| 681 |
Resources |
| 682 |
</H2> |
| 683 |
|
| 684 |
|
| 685 |
<b>dbxflat</b> will ask you for the name of a resource definition |
| 686 |
in the file <b>emboss.defaults</b>. This will be something like: |
| 687 |
|
| 688 |
<pre> |
| 689 |
RES embl [ |
| 690 |
type: Index |
| 691 |
idlen: 15 |
| 692 |
acclen: 15 |
| 693 |
svlen: 20 |
| 694 |
keylen: 25 |
| 695 |
deslen: 25 |
| 696 |
orglen: 25 |
| 697 |
] |
| 698 |
</pre> |
| 699 |
|
| 700 |
The length definitions are the maximum lengths of 'words' in the |
| 701 |
field being indexed. Longer words will be truncated to the |
| 702 |
value set. |
| 703 |
|
| 704 |
|
| 705 |
|
| 706 |
|
| 707 |
|
| 708 |
|
| 709 |
|
| 710 |
|
| 711 |
<H2> |
| 712 |
References |
| 713 |
</H2> |
| 714 |
|
| 715 |
|
| 716 |
|
| 717 |
|
| 718 |
|
| 719 |
|
| 720 |
|
| 721 |
|
| 722 |
|
| 723 |
|
| 724 |
|
| 725 |
None. |
| 726 |
|
| 727 |
|
| 728 |
|
| 729 |
|
| 730 |
|
| 731 |
|
| 732 |
|
| 733 |
|
| 734 |
<H2> |
| 735 |
Warnings |
| 736 |
</H2> |
| 737 |
|
| 738 |
|
| 739 |
|
| 740 |
|
| 741 |
|
| 742 |
None. |
| 743 |
|
| 744 |
|
| 745 |
|
| 746 |
|
| 747 |
|
| 748 |
|
| 749 |
|
| 750 |
<H2> |
| 751 |
Diagnostic Error Messages |
| 752 |
</H2> |
| 753 |
|
| 754 |
|
| 755 |
|
| 756 |
|
| 757 |
|
| 758 |
|
| 759 |
None. |
| 760 |
|
| 761 |
|
| 762 |
|
| 763 |
|
| 764 |
|
| 765 |
|
| 766 |
|
| 767 |
<H2> |
| 768 |
Exit status |
| 769 |
</H2> |
| 770 |
|
| 771 |
|
| 772 |
|
| 773 |
|
| 774 |
|
| 775 |
It always exits with status 0. |
| 776 |
|
| 777 |
|
| 778 |
|
| 779 |
|
| 780 |
|
| 781 |
|
| 782 |
|
| 783 |
|
| 784 |
<H2> |
| 785 |
Known bugs |
| 786 |
</H2> |
| 787 |
|
| 788 |
|
| 789 |
|
| 790 |
|
| 791 |
|
| 792 |
|
| 793 |
None. |
| 794 |
|
| 795 |
|
| 796 |
|
| 797 |
|
| 798 |
|
| 799 |
|
| 800 |
|
| 801 |
|
| 802 |
|
| 803 |
|
| 804 |
|
| 805 |
|
| 806 |
|
| 807 |
<h2><a name="See also">See also</a></h2> |
| 808 |
<table border cellpadding=4 bgcolor="#FFFFF0"> |
| 809 |
<tr><th>Program name</th> |
| 810 |
<th>Description</th></tr> |
| 811 |
<tr> |
| 812 |
<td><a href="dbiblast.html">dbiblast</a></td> |
| 813 |
<td>Index a BLAST database</td> |
| 814 |
</tr> |
| 815 |
|
| 816 |
<tr> |
| 817 |
<td><a href="dbifasta.html">dbifasta</a></td> |
| 818 |
<td>Index a fasta file database</td> |
| 819 |
</tr> |
| 820 |
|
| 821 |
<tr> |
| 822 |
<td><a href="dbiflat.html">dbiflat</a></td> |
| 823 |
<td>Index a flat file database</td> |
| 824 |
</tr> |
| 825 |
|
| 826 |
<tr> |
| 827 |
<td><a href="dbigcg.html">dbigcg</a></td> |
| 828 |
<td>Index a GCG formatted database</td> |
| 829 |
</tr> |
| 830 |
|
| 831 |
<tr> |
| 832 |
<td><a href="dbxcompress.html">dbxcompress</a></td> |
| 833 |
<td>Compress an uncompressed dbx index</td> |
| 834 |
</tr> |
| 835 |
|
| 836 |
<tr> |
| 837 |
<td><a href="dbxedam.html">dbxedam</a></td> |
| 838 |
<td>Index the EDAM ontology using b+tree indices</td> |
| 839 |
</tr> |
| 840 |
|
| 841 |
<tr> |
| 842 |
<td><a href="dbxfasta.html">dbxfasta</a></td> |
| 843 |
<td>Index a fasta file database using b+tree indices</td> |
| 844 |
</tr> |
| 845 |
|
| 846 |
<tr> |
| 847 |
<td><a href="dbxgcg.html">dbxgcg</a></td> |
| 848 |
<td>Index a GCG formatted database using b+tree indices</td> |
| 849 |
</tr> |
| 850 |
|
| 851 |
<tr> |
| 852 |
<td><a href="dbxobo.html">dbxobo</a></td> |
| 853 |
<td>Index an obo ontology using b+tree indices</td> |
| 854 |
</tr> |
| 855 |
|
| 856 |
<tr> |
| 857 |
<td><a href="dbxreport.html">dbxreport</a></td> |
| 858 |
<td>Validate index and report internals for dbx databases</td> |
| 859 |
</tr> |
| 860 |
|
| 861 |
<tr> |
| 862 |
<td><a href="dbxresource.html">dbxresource</a></td> |
| 863 |
<td>Index a data resource catalogue using b+tree indices</td> |
| 864 |
</tr> |
| 865 |
|
| 866 |
<tr> |
| 867 |
<td><a href="dbxstat.html">dbxstat</a></td> |
| 868 |
<td>Dump statistics for dbx databases</td> |
| 869 |
</tr> |
| 870 |
|
| 871 |
<tr> |
| 872 |
<td><a href="dbxtax.html">dbxtax</a></td> |
| 873 |
<td>Index NCBI taxonomy using b+tree indices</td> |
| 874 |
</tr> |
| 875 |
|
| 876 |
<tr> |
| 877 |
<td><a href="dbxuncompress.html">dbxuncompress</a></td> |
| 878 |
<td>Uncompress a compressed dbx index</td> |
| 879 |
</tr> |
| 880 |
|
| 881 |
</table> |
| 882 |
|
| 883 |
|
| 884 |
|
| 885 |
|
| 886 |
|
| 887 |
|
| 888 |
|
| 889 |
|
| 890 |
|
| 891 |
|
| 892 |
|
| 893 |
|
| 894 |
|
| 895 |
|
| 896 |
<H2> |
| 897 |
Author(s) |
| 898 |
</H2> |
| 899 |
|
| 900 |
Alan Bleasby |
| 901 |
<br> |
| 902 |
European Bioinformatics Institute, Wellcome Trust Genome Campus, Hinxton, Cambridge CB10 1SD, UK |
| 903 |
|
| 904 |
<p> |
| 905 |
Please report all bugs to the EMBOSS bug team (emboss-bug © emboss.open-bio.org) not to the original author. |
| 906 |
|
| 907 |
|
| 908 |
|
| 909 |
|
| 910 |
|
| 911 |
|
| 912 |
|
| 913 |
|
| 914 |
|
| 915 |
|
| 916 |
|
| 917 |
<H2> |
| 918 |
History |
| 919 |
</H2> |
| 920 |
|
| 921 |
|
| 922 |
|
| 923 |
|
| 924 |
|
| 925 |
|
| 926 |
|
| 927 |
<H2> |
| 928 |
Target users |
| 929 |
</H2> |
| 930 |
|
| 931 |
|
| 932 |
|
| 933 |
This program is intended to be used by administrators responsible |
| 934 |
for software and database installation and maintenance. |
| 935 |
|
| 936 |
<H2> |
| 937 |
Comments |
| 938 |
</H2> |
| 939 |
|
| 940 |
|
| 941 |
|
| 942 |
None |
| 943 |
|
| 944 |
|
| 945 |
</BODY> |
| 946 |
</HTML> |