| Calling Sequence | ReadDb(dbname)
| |||||||||||||||||||||||||||||||||||||||
| Return Type | database | |||||||||||||||||||||||||||||||||||||||
| Selectors |
| |||||||||||||||||||||||||||||||||||||||
| Synopsis | A database (DNA, RNA, mixed or peptide) is loaded with the command ReadDb. The database needs to be loaded for most operations involving sequences and alignments. The database is always available in the global variable DB. A database can be assigned to any other name, but certain operations, like finding an Entry, or using the Pat index, will perform on the database which is assigned to the global variable DB. All the selectors are read-only, they cannot be modified. | |||||||||||||||||||||||||||||||||||||||
The database consists of an SGML-formatted file which
contains the information about entries and sequences.
For a file to be successfully loaded as a database, there have to be
entries (tagged between | ||||||||||||||||||||||||||||||||||||||||
The Pat index maintains a total order among all the subsequences of the SEQ fields of the entries. There are as many entries in the Pat index as amino acids (or bases) in the entire database. If a Pat index is not desired, creating a null dbname.tree file will prevent ReadDb of building a Pat index. | ||||||||||||||||||||||||||||||||||||||||
| Examples | > DB := ReadDb('/home/darwin/DB/SwissProt.Z'):;
Peptide file(/home/darwin/DB/SP45.0/SwissProt45.0(169638448), 163235 entries, 59631787 aminoacids) | |||||||||||||||||||||||||||||||||||||||
| See also | AC, ConsistentGenome, Entry, GenomeSummary, GetOffset, ID, Offset, PatEntry, ReadDb, SearchDb, SearchFrag, SearchID, SearchSeqDb, SearchTag, Sequence | |||||||||||||||||||||||||||||||||||||||