📄 dbxflat.txt
字号:
dbxflat Function Database b+tree indexing for flat file databasesDescription dbxflat indexes a flat file database of one or more files, and builds EMBOSS B+tree format index files. These indexes allow access of flat files larger than 2Gb. Having created the EMBOSS indexes for this file, a database can then be defined in the file emboss.defaults as something like:DB embl [ type: N dbalias: embl (see below) format: embl method: emboss directory: /data/embl file: *.dat indexdirectory: /data/embl/indexes] The index file 'basename' given to dbxflat must match the DB name in the definition. If not, then a 'dbalias' line must be given which specifies the basename of the indexes. Fields Indexed By default, dbxflat will index the ID name and the accession number (if present). If they are present in your database, you may also specify that dbxflat should index the Sequence Version and GI, the words in the description, the keywords and the organism words using the '-fields' qualifier with the appropriate values.Usage Here is a sample session with dbxflat% dbxflat Database b+tree indexing for flat file databasesBasename for index files: emblResource name: embl EMBL : EMBL SWISS : Swiss-Prot, SpTrEMBL, TrEMBLnew GB : Genbank, DDBJ REFSEQ : RefseqEntry format [SWISS]: emblWildcard database filename [*.dat]: rod.datDatabase directory [.]: embl id : ID acc : Accession number sv : Sequence Version and GI des : Description key : Keywords org : TaxonomyIndex fields [id,acc]: Processing file /homes/user/test/embl/rod.dat Go to the output files for this exampleGlobal Parameters dbxflat requires that two global parameters be defined in the file emboss.defaults. These are:SET PAGESIZE 2048SET CACHESIZE 200 The 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 dbxflat is allowed to cache.Resources dbxflat will ask you for the name of a resource definition in the file emboss.defaults. This will be something like: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.Command line arguments 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 [SWISS] Entry format (Values: EMBL (EMBL); SWISS (Swiss-Prot, SpTrEMBL, TrEMBLnew); GB (Genbank, DDBJ); REFSEQ (Refseq)) -filenames string [*.dat] Wildcard database filename (Any string is accepted) -directory directory [.] Database directory -fields menu [id,acc] Index fields (Values: id (ID); acc (Accession number); sv (Sequence Version and GI); des (Description); key (Keywords); org (Taxonomy)) 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: (none) General qualifiers: -auto boolean Turn off prompts -stdout boolean Write standard output -filter boolean Read standard input, write 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 messagesInput file format dbxflat reads any normal sequence USAs.Output file format dbxflat creates one summary file for the database and two files for each field indexed. * dbalias.ent is the master file containing the names of the files that have been indexed. It is an ASCII file. This file also contains the database release and date information. * dbalias.xid is the B+tree index file for the ID names. It is a binary file. * dbalias.pxid is an ASCII file containing information regarding the structure of the ID name index. Output files for usage example File: embl.ent# Number of files: 1# Release: 0.0# Date: 00/00/00Single filename databaserod.dat File: embl.pxacOrder 71Fill 47Pagesize 2048Level 0Cachesize 200Order2 82Fill2 99Count 2Kwlimit 15 File: embl.pxidOrder 71Fill 47Pagesize 2048Level 0Cachesize 200Order2 82Fill2 99Count 2Kwlimit 15 File: embl.xac This file contains non-printing characters and so cannot be displayed here. File: embl.xid This file contains non-printing characters and so cannot be displayed here.Data files None.Notes The indexing system has been designed to allow on-the-fly updating of indexes. This feature is, however, not implemented in the current version. It will be made available in future releases.References None.Warnings None.Diagnostic Error Messages None.Exit status It always exits with status 0.Known bugs None.See also Program name Description dbiblast Index a BLAST database dbifasta Database indexing for fasta file databases dbiflat Index a flat file database dbigcg Index a GCG formatted database dbxfasta Database b+tree indexing for fasta file databases dbxgcg Database b+tree indexing for GCG formatted databasesAuthor(s) Alan Bleasby (ajb
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -