IUBio GIL .. BIOSCI/Bionet News .. Biosequences .. Software .. FTP

Question on ACEDB

Richard Durbin rd at sanger.ac.uk
Sun Apr 11 19:13:38 EST 1999


To start an empty database, you need to rewrite three files in directory wspec/
that define the schema.  

First the file options.wrm should list the classes you want to use.
To keep things simple, just declare them with no options and they will
get sensible default.  

Second, the file models.wrm defines the object structure for each
classs.  It is best to work from example, e.g. using the movie
database used in Lincoln Stein's article.  There are some fairly
simple introductions to models file design on the documentation
server.

Third, the file subclasses.wrm defines subclasses, which in the case
of ACEDB are not a mechanism for inheritance but rather subsets of a
class satisfying a query -- the simplest case is not to have any,
though they are useful both for data organisation and efficiency.

If you are using the X interface rather than AcePerl then you should
also edit layout.wrm to present the classes that you want on the
startup window.

Richard




More information about the Acedb mailing list

Send comments to us at archive@iubioarchive.bio.net