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