|
|
dbxfasta |
% dbxfasta
Index a fasta file database using b+tree indices
Basename for index files: emrod
Resource name: emblresource
simple : >ID
idacc : >ID ACC or >ID (ACC)
gcgid : >db:ID
gcgidacc : >db:ID ACC
dbid : >db ID
ncbi : | formats
ID line format [idacc]: idacc
Database directory [.]: data
Wildcard database filename [*.fasta]: emrod
id : ID
acc : Accession number
sv : Sequence Version and GI
des : Description
Index fields [id,acc]:
General log output file [outfile.dbxfasta]:
|
Go to the output files for this example
Standard (Mandatory) qualifiers:
[-dbname] string Basename for index files (Any string from 2
to 19 characters, matching regular
expression /[A-z][A-z0-9_]+/)
[-dbresource] string Resource name (Any string from 2 to 19
characters, matching regular expression
/[A-z][A-z0-9_]+/)
-idformat menu [idacc] ID line format (Values: simple
(>ID); idacc (>ID ACC or >ID (ACC)); gcgid
(>db:ID); gcgidacc (>db:ID ACC); dbid (>db
ID); ncbi (| formats))
-directory directory [.] Database directory
-filenames string [*.fasta] Wildcard database filename (Any
string is accepted)
-fields menu [id,acc] Index fields (Values: id (ID); acc
(Accession number); sv (Sequence Version and
GI); des (Description))
-outfile outfile [*.dbxfasta] General log output file
Additional (Optional) qualifiers: (none)
Advanced (Unprompted) qualifiers:
-release string [0.0] Release number (Any string up to 9
characters)
-date string [00/00/00] Index date (Date string dd/mm/yy)
-exclude string Wildcard filename(s) to exclude (Any string
is accepted)
-indexoutdir outdir [.] Index file output directory
Associated qualifiers:
"-outfile" associated qualifiers
-odirectory string Output directory
General qualifiers:
-auto boolean Turn off prompts
-stdout boolean Write first file to standard output
-filter boolean Read first file from standard input, write
first file to standard output
-options boolean Prompt for standard and additional values
-debug boolean Write debug output to program.dbg
-verbose boolean Report some/full command line options
-help boolean Report command line options. More
information on associated and general
qualifiers can be found with -help -verbose
-warning boolean Report warnings
-error boolean Report errors
-fatal boolean Report fatal errors
-die boolean Report dying program messages
|
| Standard (Mandatory) qualifiers | Allowed values | Default | |||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| [-dbname] (Parameter 1) |
Basename for index files | Any string from 2 to 19 characters, matching regular expression /[A-z][A-z0-9_]+/ | Required | ||||||||||||
| [-dbresource] (Parameter 2) |
Resource name | Any string from 2 to 19 characters, matching regular expression /[A-z][A-z0-9_]+/ | Required | ||||||||||||
| -idformat | ID line format |
|
idacc | ||||||||||||
| -directory | Database directory | Directory | . | ||||||||||||
| -filenames | Wildcard database filename | Any string is accepted | *.fasta | ||||||||||||
| -fields | Index fields |
|
id,acc | ||||||||||||
| -outfile | General log output file | Output file | <*>.dbxfasta | ||||||||||||
| Additional (Optional) qualifiers | Allowed values | Default | |||||||||||||
| (none) | |||||||||||||||
| Advanced (Unprompted) qualifiers | Allowed values | Default | |||||||||||||
| -release | Release number | Any string up to 9 characters | 0.0 | ||||||||||||
| -date | Index date | Date string dd/mm/yy | 00/00/00 | ||||||||||||
| -exclude | Wildcard filename(s) to exclude | Any string is accepted | An empty string is accepted | ||||||||||||
| -indexoutdir | Index file output directory | Output directory | . | ||||||||||||
Processing directory: /homes/user/test/data/ Processing file: emrod entries: 6 (6) time: 0.0s (0.0s) Total time: 0.0s |
# Number of files: 1 # Release: 0.0 # Date: 00/00/00 Single filename database emrod |
Order 71 Fill 46 Pagesize 2048 Level 0 Cachesize 100 Order2 99 Fill2 101 Count 5 Kwlimit 15 |
Order 71 Fill 46 Pagesize 2048 Level 0 Cachesize 100 Order2 99 Fill2 101 Count 5 Kwlimit 15 |
This file contains non-printing characters and so cannot be displayed here.
This file contains non-printing characters and so cannot be displayed here.
Having created the EMBOSS indexes for this file, a database can then be defined in the file emboss.defaults as something like:
DB emrod [ type: N dbalias: emrod (see below) format: fasta method: emboss directory: /data/embl/fasta file: emrod.fasta indexdirectory: /data/embl/fasta/indexes ]The index file 'basename' given to dbxfasta must match the DB name in the definition. If not, then a 'dbalias' line must be given which specifies the basename of the indexes.
SET PAGESIZE 2048 SET CACHESIZE 200The above values are recommended for most systems. The PAGESIZE is a multiple of the size of disc pages the operating system buffers. The CACHESIZE is the number of disc pages dbxfasta is allowed to cache.
RES embl [ type: Index idlen: 15 acclen: 15 svlen: 20 keylen: 25 deslen: 25 orglen: 25 ]The length definitions are the maximum lengths of 'words' in the field being indexed. Longer words will be truncated to the value set.
| Program name | Description |
|---|---|
| dbiblast | Index a BLAST database |
| dbifasta | Index a fasta file database |
| dbiflat | Index a flat file database |
| dbigcg | Index a GCG formatted database |
| dbxflat | Index a flat file database using b+tree indices |
| dbxgcg | Index a GCG formatted database using b+tree indices |