next up previous contents
Next: Read Lines Up: Input and Output Functions Previous: Load a Library Function

Loading a Genetic Database

Calling Sequence:
ReadDb(file)
Parameters:
file : filename

Returns: database.

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.

Examples:

> DB:=ReadDb('~/cbrg/SwissProt');   # DB now points to this
                                      # peptide database.
> ReadDb('~/cbrg/EMBL');            # Implicitly DB now points to
                                      # this amino acid database




Gaston Gonnet
1998-09-15