Darwin Help

Back to Index

ReadDb

Function ReadDb


Calling Sequence  ReadDb(fname)
Parameters
NameTypeDescription

fname stringsequence database
Return Type  database
Globals DB,
Synopsis The function loads the sequence database located in file. The contents of file must be in the Darwin ISO-SGML format. By default, this sequence database is assigned to the system variable DB unless another variable is specified. This functions allows filename to specify a path. If fname ends in ".gz" or ".Z", then it is assumed to be a compressed file and it is decompressed before reading.
Examples
> DB := ReadDb('/home/darwin/DB/SwissProt.Z'):;
Peptide file(/home/darwin/DB/SP45.0/SwissProt45.0(169638448), 163235
 entries, 59631787 aminoacids)
See also ConsistentGenome,   DB,   Entry,   GenomeSummary,   MySql