| 1 |
|
| 2 |
========================================================================= |
| 3 |
ACEDB: A C.elegans Database |
| 4 |
|
| 5 |
R. Durbin and J. Thierry-Mieg |
| 6 |
|
| 7 |
(supporting cast: Ed Griffiths, Simon Kelley, John Sturdy) |
| 8 |
|
| 9 |
Last updated: 23 Avril 2001. |
| 10 |
========================================================================= |
| 11 |
|
| 12 |
|
| 13 |
------------------------------------------------------------------------- |
| 14 |
List of distribution files |
| 15 |
|
| 16 |
|
| 17 |
README brief list/description of files |
| 18 |
NOTES this file |
| 19 |
INSTALL first time installation script |
| 20 |
|
| 21 |
ACEDB-BuildVersion.shtml |
| 22 |
machine generated file summarsing build details for this |
| 23 |
release. |
| 24 |
|
| 25 |
|
| 26 |
All other files are tar'd/gzip'd files files with the common file suffix |
| 27 |
of |
| 28 |
.V_RU.tar.gz |
| 29 |
|
| 30 |
where V = AceDB version, R = AceDB release and U = AceDB update level, |
| 31 |
e.g. |
| 32 |
.4_9a.tar.gz |
| 33 |
|
| 34 |
|
| 35 |
ACEDB-binaryXXXXX.V_RU.tar.gz |
| 36 |
executables for various platforms including Dec ALPHA, |
| 37 |
Intel LINUX, Silicon Graphics SGI and Sun SOLARIS. |
| 38 |
(Other ports can be compiled by getting the source code |
| 39 |
and compiling.) |
| 40 |
Also contains documentation, tools and other useful stuff. |
| 41 |
|
| 42 |
ACEDB-serverXXXXX.V_RU.tar.gz |
| 43 |
server executables for various platforms including Dec ALPHA, |
| 44 |
Intel LINUX, Silicon Graphics SGI and Sun SOLARIS. |
| 45 |
(Other ports can be compiled by getting the source code |
| 46 |
and compiling.) |
| 47 |
Also contains documentation, tools and other useful stuff. |
| 48 |
|
| 49 |
(see comments below for explanation of "STATIC" binaries) |
| 50 |
|
| 51 |
ACEDB-demo.4_9a.tar.gz |
| 52 |
ACEDB-demo.4_9a.exe |
| 53 |
a demonstration database, based on the C. elegans |
| 54 |
database for you to try out. |
| 55 |
(The .exe file is for easy installation on Windows) |
| 56 |
|
| 57 |
ACEDB-doc.4_9a.tar.gz |
| 58 |
various documentation files, in particular |
| 59 |
WRITE_ACCESS, which explains about how to manage write |
| 60 |
access for multiple users. |
| 61 |
|
| 62 |
ACEDB-help.4_9a.tar.gz |
| 63 |
all of the online help files available from xace. |
| 64 |
|
| 65 |
ACEDB-source.4_9a.tar.gz |
| 66 |
a complete build tree for all AceDB programs including |
| 67 |
the makefile + variations for different platforms. |
| 68 |
|
| 69 |
ACEDB-tools.4_9a.tar.gz |
| 70 |
a collection of shell, perl, python programs for working |
| 71 |
with AceDB. |
| 72 |
|
| 73 |
ACEDB-windows.4_9a.exe |
| 74 |
The AceDB for Microsoft windows installer. This |
| 75 |
includes everything in the binary, server, doc, help |
| 76 |
and tools files above. |
| 77 |
|
| 78 |
|
| 79 |
All files except NOTES, README and INSTALL and the windows .exes |
| 80 |
are tar.gz files. They will be uncompressed and untarred |
| 81 |
automatically by the INSTALL script if you are using it to install, |
| 82 |
which is recommended. |
| 83 |
|
| 84 |
Note that the binary files come in two flavours, STATIC and non-static |
| 85 |
versions. The acedb programs make use of the following GNU Software |
| 86 |
libraries: readline, Glib, GDK, GTK. If you know your system already |
| 87 |
has these installed then you can download the non-static versions which |
| 88 |
are smaller and quicker to download. If your system does not have these |
| 89 |
libraries installed then you can either: |
| 90 |
|
| 91 |
- download the static binaries which include these libraries |
| 92 |
and then you can just run the programs |
| 93 |
|
| 94 |
- or you can install readline, Glib, GDK & GTK on your system |
| 95 |
and then download the non-static binaries. |
| 96 |
|
| 97 |
If you are uncertain about this then you should contact your system |
| 98 |
administrator, or if you don't have one you can: |
| 99 |
|
| 100 |
ask on the acedb newsgroup (send mail to [email protected]) |
| 101 |
|
| 102 |
ask the acedb developers (send mail to [email protected]) |
| 103 |
|
| 104 |
|
| 105 |
|
| 106 |
******* IMPORTANT ******* |
| 107 |
|
| 108 |
When downloading code/help files for an existing database, the Version |
| 109 |
number of what you are downloading should match the Version number |
| 110 |
of your database. You can find out the version of your database |
| 111 |
using the "Program Status" item of the "Admin" menu button on the |
| 112 |
xace main window. |
| 113 |
|
| 114 |
If this is not so, you will need to dump your database into ace files |
| 115 |
and then rebuild it using the new code. |
| 116 |
|
| 117 |
******* IMPORTANT ******* |
| 118 |
|
| 119 |
|
| 120 |
------------------------------------------------------------------------- |
| 121 |
Current state of the system |
| 122 |
|
| 123 |
The current release, is 4_9a. |
| 124 |
|
| 125 |
This new release is fully compatible with 4_7 & 4_8. The new release also |
| 126 |
includes a windows version. |
| 127 |
|
| 128 |
There is a new client/server package which makes use of TCP sockets |
| 129 |
rather than RPC and so is portable to Windows. The new client/server |
| 130 |
also uses a user/passwd system to give users access to the database |
| 131 |
rather than the previous system of shared files. This means that |
| 132 |
users on remote sites can be given controlled access to the server |
| 133 |
and database. The RPC server is not available in 4_9. |
| 134 |
|
| 135 |
The new release also incorporates the new AQL query language that |
| 136 |
allows much finer grained and more complex queries than the existing |
| 137 |
query language. |
| 138 |
|
| 139 |
Thus, we strongly urge you to upgrade from 4_7 or 4_8 to the new 4_9. |
| 140 |
|
| 141 |
Note that this software comes under the GNU General Public License, |
| 142 |
this means that its free and that you can do lots of things with it |
| 143 |
but that you should not try to make money from it. See the file |
| 144 |
wdoc/GNU_GENERAL_PUBLIC_LICENSE in this distribution or go to |
| 145 |
http://www.uk.gnu.org/ to see the original copy. |
| 146 |
|
| 147 |
Note especially that this software does not come with any |
| 148 |
guarantee of any kind. |
| 149 |
|
| 150 |
|
| 151 |
------------------------------------------------------------------------- |
| 152 |
How to get the latest release |
| 153 |
|
| 154 |
|
| 155 |
You are welcome to copy AceDB from a friend, but if you have access to |
| 156 |
internet then it may be best to get your own version to be sure it is |
| 157 |
up to date. You can get the latest version in several ways: |
| 158 |
|
| 159 |
1) Visit the downloads pages at the AceDB web site: |
| 160 |
|
| 161 |
http://www.acedb.org/Software/Downloads/ |
| 162 |
|
| 163 |
2) Visit one of several ftp sites on public servers. |
| 164 |
In each case log in as user "anonymous" and give your userid |
| 165 |
as password. |
| 166 |
|
| 167 |
- ncbi.nih.gov (130.14.20.1) in the USA, in repository/acedb |
| 168 |
- ftp.sanger.ac.uk in England, in pub/acedb |
| 169 |
|
| 170 |
|
| 171 |
Under each of these there should be archives for binaries, tools, |
| 172 |
source code, help files, documentation. |
| 173 |
|
| 174 |
An example session would be: |
| 175 |
# comments |
| 176 |
ftp ncbi.nlm.nih.gov |
| 177 |
login: anonymous |
| 178 |
password: your user id or email address |
| 179 |
cd repository/acedb # change to relevant directoy |
| 180 |
binary # IMPORTANT |
| 181 |
dir # display files in this directory |
| 182 |
get README |
| 183 |
get NOTES |
| 184 |
get INSTALL |
| 185 |
get ACEDB-help.4_9a.tar.gz # get help files archive |
| 186 |
quit |
| 187 |
|
| 188 |
|
| 189 |
------------------------------------------------------------------------- |
| 190 |
How to install AceDB on UNIX |
| 191 |
|
| 192 |
If installing for the first time, make a new home directory for AceDB |
| 193 |
and place all the .tar.Z files you need plus INSTALL into this |
| 194 |
directory. |
| 195 |
|
| 196 |
The INSTALL script will install packages in your current working |
| 197 |
directory, it will install the package as a sub-directory of the |
| 198 |
current directory. If such a directory exists you will be given |
| 199 |
a chance to not install that package or abort the install altogether. |
| 200 |
|
| 201 |
Since all packages are installed in sub-directories you should not |
| 202 |
|
| 203 |
INSTALL |
| 204 |
|
| 205 |
In our default configuration the AceDB database can only be updated by |
| 206 |
the user who installed it. If you want other people than the |
| 207 |
installer to be able to edit AceDB, please read the document |
| 208 |
WRITE_ACCESS (in doc/). |
| 209 |
|
| 210 |
IMPORTANT: DO NOT INSTALL AS ROOT: this would create a security loophole. |
| 211 |
|
| 212 |
|
| 213 |
------------------------------------------------------------------------- |
| 214 |
How to build AceDB on UNIX |
| 215 |
|
| 216 |
You need to install the source code on your system (see above). |
| 217 |
|
| 218 |
From 4_8 onwards, AceDB makes use of the following GNU software: |
| 219 |
|
| 220 |
readline, Glib (all AceDB programs) |
| 221 |
GDK, GTK (graphical programs only) |
| 222 |
|
| 223 |
If these are not already installed on your system then either you can |
| 224 |
get and install them, or you can use private copies which come with |
| 225 |
the AceDB source (they are in the w3rdparty subdirectory). The latter |
| 226 |
option is simpler if you just need these libraries for AceDB, but if |
| 227 |
you might need then for anything else it is better to install a shared copy. |
| 228 |
|
| 229 |
If you want to install the libraries you can down load the single GTK+ |
| 230 |
package from from www.gtk.org which includes Glib, GDK and GTK. |
| 231 |
Note that AceDB needs the 1.2.x version, where x is the latest |
| 232 |
release. |
| 233 |
|
| 234 |
You can get readline from ftp://ftp.gnu.org/gnu/readline, make sure you |
| 235 |
get readline 4.x. |
| 236 |
|
| 237 |
(If you are running linux, your distribution will certainly have |
| 238 |
packages for all of these, don't forget to install the -dev packages |
| 239 |
as well as the run-time ones.) |
| 240 |
|
| 241 |
|
| 242 |
Building AceDB with the private copies of the GNU software: |
| 243 |
----------------------------------------------------------- |
| 244 |
|
| 245 |
> cd directory_where_you_installed_source_code |
| 246 |
> setenv ACEDB_MACHINE something_like_ALPHA_4 (see available files in wmake/) |
| 247 |
> make all_static |
| 248 |
|
| 249 |
|
| 250 |
Building AceDB with the system wide copies of the GNU software: |
| 251 |
--------------------------------------------------------------- |
| 252 |
|
| 253 |
The system wide copies will have been put in directories that the |
| 254 |
compiler searches by default so you can build AceDB more simply: |
| 255 |
|
| 256 |
> cd directory_where_you_installed_source_code |
| 257 |
> setenv ACEDB_MACHINE something_like_ALPHA_4 (see available files in wmake/) |
| 258 |
> make all |
| 259 |
|
| 260 |
|
| 261 |
|
| 262 |
If the above descriptions, "make all" & "make all_static" will make all the executables |
| 263 |
for AceDB. If you want to build single programs then you should do the |
| 264 |
following (the example builds tace and xace but you could select any combination |
| 265 |
of the acedb programs): |
| 266 |
|
| 267 |
Building single programs with the private copies of the GNU software: |
| 268 |
--------------------------------------------------------------------- |
| 269 |
|
| 270 |
> cd directory_where_you_installed_source_code |
| 271 |
> setenv ACEDB_MACHINE something_like_ALPHA_4 (see available files in wmake/) |
| 272 |
> make gnulibs |
| 273 |
> make tace xace |
| 274 |
|
| 275 |
|
| 276 |
Building single programs with the system wide copies of the GNU software: |
| 277 |
------------------------------------------------------------------------- |
| 278 |
|
| 279 |
The system wide copies will have been put in directories that the |
| 280 |
compiler searches by default so you can build AceDB more simply: |
| 281 |
|
| 282 |
> cd directory_where_you_installed_source_code |
| 283 |
> setenv ACEDB_MACHINE something_like_ALPHA_4 (see available files in wmake/) |
| 284 |
> make tace xace |
| 285 |
|
| 286 |
|
| 287 |
The above examples assume that you either want to build using the private |
| 288 |
copies of the GNU software of the system wide copies. If you want to |
| 289 |
switch from doing one to doing the other you should first "clean" out |
| 290 |
existing binaries/libraries by doing this: |
| 291 |
|
| 292 |
> make clean |
| 293 |
|
| 294 |
|
| 295 |
|
| 296 |
------------------------------------------------------------------------- |
| 297 |
How to install AceDB on MicroSoft-Windows |
| 298 |
|
| 299 |
The installation of AceDB on Microsoft Windows is very |
| 300 |
simple. Download the installer from http://www.acedb.org/Software/Downloads/ |
| 301 |
and run it. The simplest way to so this is probably to download the |
| 302 |
installer onto the desktop, and then double-click on its icon. You |
| 303 |
will then be launched into a standard windows installshield-type |
| 304 |
interactive installation which will install all the AceDB files and |
| 305 |
make entries for AceDB in your start menu. |
| 306 |
|
| 307 |
AceDB has been tested on Windows 95, 95, and NT by us. It is known to |
| 308 |
be functional as well in W2k and Windows ME. |
| 309 |
|
| 310 |
------------------------------------------------------------------------- |
| 311 |
Macintosh version *** No New Version *** |
| 312 |
|
| 313 |
The Macintosh version has not been updated for a least 3-4 years, we hope |
| 314 |
to produce a fully compatible version once the new Unix-like version |
| 315 |
of the OS-X operating system is stable. This may initially only be |
| 316 |
the command line versions of the program, e.g. tace, giface, client/server. |
| 317 |
|
| 318 |
The older version of AceDB is still available from the ftp site, look |
| 319 |
in the /pub/acedb/macace directory. You need a Macintosh with absolute |
| 320 |
mimimum 16Mb of memory and a decent monitor. You also need some way of |
| 321 |
obtaining the files from an ftp site (e.g. Mosaic, Netscape, NCSA |
| 322 |
telnet, Versaterm Pro...). |
| 323 |
|
| 324 |
Please note that this version is totally unsupported. |
| 325 |
|
| 326 |
|
| 327 |
|
| 328 |
------------------------------------------------------------------------- |
| 329 |
Directory structure |
| 330 |
|
| 331 |
You will typically have $ACEDB (the home directory) layed out |
| 332 |
something like as follows: |
| 333 |
|
| 334 |
acedb # executable script to be moved in /usr/local/bin |
| 335 |
textace # executable script to be moved in /usr/local/bin |
| 336 |
database/ |
| 337 |
ACEDB.wrm # little file needed for AceDB to run |
| 338 |
block1.wrm # the database |
| 339 |
block2.wrm etc. "" |
| 340 |
database.map # info on all the block* files |
| 341 |
log.wrm # log file |
| 342 |
# all these files in database/ are only created after |
| 343 |
# running AceDB the first time |
| 344 |
bin/ # the executable(s) |
| 345 |
xace # X graphics version (usual interface) |
| 346 |
tace # command line version |
| 347 |
acediff # for comparing two ace files |
| 348 |
wspec/ # database dependent specification files. |
| 349 |
GraphPackage # X resources file - not needed |
| 350 |
cachesize.wrm # You may want to edit this file |
| 351 |
copyright |
| 352 |
options.wrm # You may want to edit this file |
| 353 |
database.wrm # specifies chunk sizes to split the database into |
| 354 |
displays.wrm # You may want to edit this file |
| 355 |
models.wrm # database schema |
| 356 |
help.wrm # help |
| 357 |
passwd.wrm # User access control - see doc/WRITE_ACCESS |
| 358 |
server.wrm # control file for server/client version |
| 359 |
subclasses.wrm # subclass schema information |
| 360 |
xfonts.wrm # Edit this to change screen fonts |
| 361 |
psfonts.wrm # Edit this file to change printing fonts |
| 362 |
rawdata/ |
| 363 |
update files |
| 364 |
|
| 365 |
The minimal requirements for running AceDB are that the database/ and |
| 366 |
wspec/ directories exist, and wspec/ contains cachesize, options, |
| 367 |
displays, models, passwd. The files in database/ will be made as |
| 368 |
necessary by the program - do not try to edit them yourself. For |
| 369 |
update files to load properly they must be in $ACEDB/rawdata. The |
| 370 |
executables can be somewhere other than $ACEDB/bin. Sites with |
| 371 |
multiple AceDB databases can use the same executables for all of them. |
| 372 |
Conversely, the same database files can be read by executables for |
| 373 |
multiple machine types (at least within Unix systems), which will |
| 374 |
require some reorganising of directories and/or file names. |
| 375 |
|
| 376 |
To run the program you must either set the environment variable ACEDB |
| 377 |
to the absolute path to the ACEDB home directory (by e.g. "setenv |
| 378 |
ACEDB ~acedb"), or make the home directory the first argument of xace |
| 379 |
or tace on the command line (e.g. "xace ~acedb"). Of course xace must |
| 380 |
be in your path. All this is done most easily by moving the shell |
| 381 |
scripts acedb and textace prepared by the INSTALL script into |
| 382 |
/usr/local/bin, where they are set up for any user, who can then type |
| 383 |
"acedb" or "textace" to run the X or command line versions, |
| 384 |
respectively. |
| 385 |
|
| 386 |
|
| 387 |
------------------------------------------------------------------------- |
| 388 |
Help system |
| 389 |
|
| 390 |
The help system has been revised. We know have an in-lined html viewer |
| 391 |
for local files. It is much fatser than Mosaic, and defaults to Mosaic |
| 392 |
(or netscape as defined in wscripts/Mosaic) on http references. The |
| 393 |
help pages will be searched 1) in $ACEDB/whelp/*.html, 2) in |
| 394 |
wspec/help.wrm. In case 1, we use the Prilusky system so you can |
| 395 |
register help to a particualr class or tag in trre displays for |
| 396 |
axemple wdir/Tree_Author_Paper.html, gives help oon tag paper in class |
| 397 |
Author in Tree display. |
| 398 |
|
| 399 |
|
| 400 |
------------------------------------------------------------------------- |
| 401 |
Server Client |
| 402 |
|
| 403 |
AceDB now has a socket version of the server client which is much |
| 404 |
better integrated with AcePerl. The new version also offers proper |
| 405 |
user id/password facilities so that the client/server can be used for |
| 406 |
controlled access across the internet. You can download the server/client |
| 407 |
separately using the ACEDB-serverXXXXX.V_RU.tar.gz archives. |
| 408 |
|
| 409 |
There is a user guide to setting up/using the new socket server in: |
| 410 |
|
| 411 |
wdoc/SOCKET_aceserver.html |
| 412 |
|
| 413 |
and a programmers guide to how to communicate with the socket server in: |
| 414 |
|
| 415 |
wdoc/SOCKET_interface.html |
| 416 |
|
| 417 |
You should read the former if you want to run saceserver and saceclient, |
| 418 |
and the latter if you want to write a client of your own. |
| 419 |
|
| 420 |
|
| 421 |
------------------------------------------------------------------------- |
| 422 |
X-client in test |
| 423 |
|
| 424 |
There is also a sockets version of the X-client in test. This gives a |
| 425 |
graphical AceDB, without loading all the data. To use it, you must first |
| 426 |
compile it (setenv ACEDB_SRC `pwd` ; setenv ACEDB_MACHINE ..) then |
| 427 |
(make xclient). Then you initialise a database on the current source |
| 428 |
code distribution models with xace, but do not load any data. Then you |
| 429 |
start xclient. Because that address is given in wspec/server.wrm, you |
| 430 |
will automatically download data from Montpellier. If you then save |
| 431 |
and run xace, you will work locally with the same data. But each time |
| 432 |
you start xclient, you load again from the network. I would lie to |
| 433 |
know a) if it works at all, b) if it is useful, c) how it should be |
| 434 |
improved. |
| 435 |
|
| 436 |
|
| 437 |
------------------------------------------------------------------------- |
| 438 |
WWW interface |
| 439 |
|
| 440 |
There are now several ways to serve the web: |
| 441 |
|
| 442 |
For Perl based AceDB web serving see AcePerl/AceBrowser at |
| 443 |
|
| 444 |
http://stein.cshl.org/AcePerl/ |
| 445 |
http://stein.cshl.org/AcePerl/AceBrowser/ |
| 446 |
|
| 447 |
|
| 448 |
For Java based AceDB see jadex at |
| 449 |
|
| 450 |
http://stein.cshl.org/ |
| 451 |
|
| 452 |
|
| 453 |
|
| 454 |
------------------------------------------------------------------------- |
| 455 |
Known problems: |
| 456 |
|
| 457 |
ALPHA builds |
| 458 |
------------ |
| 459 |
If you running on an alpha which has operating system vervion 4.0, |
| 460 |
update 1229 or later you may find that acesocket.c will not compile, |
| 461 |
the compiler will complain about not being able to find the type |
| 462 |
"socklen_t". This is because DEC have decided to change the way |
| 463 |
this type is included in /usr/include/sys/socket.h. |
| 464 |
|
| 465 |
You need to do your make like this: |
| 466 |
|
| 467 |
make USEROPTS='-D_POSIX_PII_SOCKET' saceserver sgifaceserver saceclient |
| 468 |
|
| 469 |
and then these programs (which are the only ones that require acesocket.c) |
| 470 |
should compile. |
| 471 |
|
| 472 |
You get the operating system version like this: |
| 473 |
|
| 474 |
adnah[edgrif]46: uname -a |
| 475 |
OSF1 adnah V4.0 1229 alpha |
| 476 |
|
| 477 |
|
| 478 |
|
| 479 |
|
| 480 |
Lock file problems |
| 481 |
------------------ |
| 482 |
On some machines the lock file mechanism does not appear to work |
| 483 |
correctly, so that no data can be read in (not even enough to |
| 484 |
bootstrap initialisation). You will see a message |
| 485 |
"Don't-know-who (session 0) already has write access" |
| 486 |
even before the database exists. To defeat the file locking |
| 487 |
mechanism, set the environment variable ACEDB_NO_LOCK before starting |
| 488 |
the program (e.g. "setenv ACEDB_NO_LOCK"). Of course if you do this |
| 489 |
you are responsible for making sure that two people do not try to |
| 490 |
update or edit the database at the same time. Alternatively, create a |
| 491 |
fake user "NOLOCK" in the wspec/passwd.wrm file. |
| 492 |
|
| 493 |
|
| 494 |
------------------------------------------------------------------------- |
| 495 |
Additional Information |
| 496 |
|
| 497 |
An on line help file is contained in ${ACEDB}/wspec/help.wrm and is |
| 498 |
activated by the help option in the menu, or by function key F1 or |
| 499 |
F10, or, on a Sun under twm, the help key. |
| 500 |
|
| 501 |
Some documentation files are available in the doc/ subdirectory of the |
| 502 |
distribution. Amongst these, the nicest general user guide is |
| 503 |
angistute, which was written by Bruno Gaeta of the Australian National |
| 504 |
Genome Information Service, and is available as a compressed Unix |
| 505 |
postscript file (angistute.ps.Z) and a Macintosh Word binhex/stuffit |
| 506 |
compressed file (angistute.sit.hqx). Although written for version 2 |
| 507 |
AceDB, this is still very relevant for most uses. |
| 508 |
|
| 509 |
Further information is available in files in the wdoc/ subdirectory of |
| 510 |
the source distribution, and via the AceDB website at: |
| 511 |
|
| 512 |
http://www.acedb.org/ |
| 513 |
|
| 514 |
|
| 515 |
========================= end of file =================================== |
| 516 |
|
| 517 |
|
| 518 |
|