Debian Codegraph @

whelp/WinAce.html

raw
1 <HTML>
2 <HEAD>
3 <TITLE>ACEDB for Windows ('WinAce')</TITLE>
4 </HEAD>
5 <BODY>
6 <A NAME="TOP"></A>
7 <H1>ACEDB for Microsoft Windows</H1>
8
9 <P>This document provides &quot;platform-specific&quot; documentation on the installation,
10 configuration and operation of ACEDB for the Microsoft Windows '95 ('98) or NT (4.0)
11 (formerly also called 'WinAce', however, 'WinAce' was recently discovered <B>not</B> to be
12 the name for several software applications on the WWW! Therefore, <STRONG>'ACEDB for Windows'</STRONG>
13 is now the official name of this software).
14 Development work on ACEDB for Windows is ongoing at the Sanger Centre.
15
16 <P ALIGN="CENTER"><B><FONT size=5 color="#C04040">New! New! New! October 1999 ACEDB for Windows 4.8 Release</FONT></B></P>
17
18 For the latest release news about ACEDB for Windows, go to the
19 <A HREF="http://www.sanger.ac.uk/Software/Acedb/CurrentWinAce.shtml">current release information page</A>.
20 For information on previous releases, go to the
21 <A HREF="http://www.sanger.ac.uk/Software/Acedb/PreviousWinAce.shtml">previous releases information page</A>.</P>
22
23 <P>For further information about this software (questions not answered in this document or
24 the main ACEDB documentation repository - see below; or errors/omissions in the documentation), contact
25 <A HREF="mailto:[email protected]">Simon Kelley</A>.
26 </P>
27 <Hr>
28
29 <a NAME="Copyright"></A><H2>Copyright</H2>
30 ACEDB Copyright (C) 1990-1999 - R Durbin and J Thierry-Mieg.</P>
31 <P>All rights reserved; primary code written by Jean Thierry Mieg
32 and Richard Durbin, 1990-1999; Contributions by others too numerous to note here,&nbsp; but
33 a special mention to <STRONG>Richard Bruskiewich</STRONG> who spearheaded the original ('Classical')
34 ACEDB for Windows port, and who has now gratiously abdicated his throne as the 'King of WinAce'
35 to Simon Kelley (with his new gnu/GTK port) :-)
36 </P>
37 <P>Current maintenance and extension of the Windows port of ACEDB is now
38 supported at the Sanger Centre.</P>
39 <P>Redistribution and use of source, documentation and binary forms are
40 freely permitted provided that the above copyright notice and attribution and
41 date of work and this paragraph are duplicated in all such forms and that neither
42 this software nor software based in whole or in part on this software is sold for profit.</P>
43 <P>THIS SOFTWARE AND DOCUMENTATION IS PROVIDED &quot;AS IS&quot; AND WITHOUT
44 ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE
45 IMPLIED WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
46 </P>
47 <Hr>
48
49 <A NAME="Background"></A><H2>Background</H2>
50
51 <P>Welcome to the home page for the (Intel box) Microsoft Windows version of the
52 &quot;A Caenorhabditis elegans Database (ACEDB)&quot; software. ACEDB is a
53 multi-platform supported, object-oriented
54 scientific database engine specialized for the management and representation of genomic data
55 (maps and sequences) and associated biological (including bibliographical) data. ACEDB has
56 deep knowledge about the biological nature of the data it stores and has a very rich
57 interactive graphical representation of such data.</P>
58
59 <P>This readme provides platform specific details on
60 how to set up a ACEDB for Windows ('WinAce') database upon your PC. It does NOT dwell upon the complete
61 details of operating ACEDB per say (WinAce is by and large almost identical to the well
62 established UNIX versions of the program). Rather, for further details on ACEDB, novice
63 users are directed towards to consult the rich available documentation resource about
64 ACEDB on the WWW at:</P>
65
66 <P ALIGN="CENTER"><A HREF="http://www.acedb.org/Documentation/">http://www.acedb.org/Documentation/</A></P>
67
68 <P>Back to <A HREF="#TOP">Top of Page</A></P>
69 <HR>
70 <A NAME="Requirements"></A><H2>System Requirements</H2>
71 <A NAME="Basic_Hardware"></A>
72 <H3>Basic Hardware:</H3>
73
74 <P>This program should run on any WIN32 O/S compatible Intel Pentium microprocessor based personal computer
75 with the recommended base amount of RAM and hard drive storage; however,
76 ACEDB was designed (under UNIX) to expect a bountiful memory space which
77 it exploits with abandon (JTM) so more RAM is better (shoot for 32 - 64 mb,
78 or better, depending upon the size of your database).
79 The ACEDB database will require essentially the same hard drive space as
80 currently publicized for UNIX versions.</P>
81
82 <P><A NAME="Video_Graphics_Hardware"></A>
83 <H3>Video Graphics Hardware:</H3>
84
85 <P>The program requires a minimum of 256 color VGA; 800 x 600 pixels is a desired MINIMUM screen resolution.
86 WinAce now runs well under larger color palettes (i.e. 64K or &quot;True Color&quot; palettes); The graphics
87 DEFINITELY works better upon higher pixel resolution displays and larger monitors. This writer now runs the
88 software upon a 1600 x 1200 pixel display on a 19&quot; monitor, with very appealing results. Running the
89 program at lower resolutions is found to be progressively less satisfying, with great disappointment at
90 640 x 480 VGA bordering on frustration. Moral of the story: get the highest resolution mode possible
91 running upon your machine.</P>
92
93 <P><A NAME="Ancillary_Hardware"></A>
94 <H3>Ancillary Hardware:</H3>
95
96 <P>Other than the standard windows mouse, the program doesn't absolutely rely upon any &quot;special&quot;
97 peripherals and inherits its computing functionality (i.e. printing and networking) from the Windows O/S. </P>
98
99 <A NAME="Installation_and_Configuration"></A>
100 <H2>Program Installation and Configuration</H2>
101
102 <P>This section outlines ACEDB configuration details under Windows.</P>
103
104 <H3>*** STEP 1 - Decide where you want to put your database</H3>
105
106 <P> You need to provide the program with the path name location of your database. The basic ACEDB database
107 directory structure is as follows:</P>
108 <font size="2">
109 <Pre>
110 \acedb ---|-- database----| ; (required) location of the binary database
111 | |-- new ; (created by ACEDB) used to collect update log
112 | |-- touched ; (created) used to collect changes log
113 |-- wspec ; (required) location of the *.wrm configuration files
114 |-- rawdata ; (optional) location of.ace or (mandatory) update files
115 specified by the ACEDB_DATA environment variable
116 |-- whelp ; (optional) location of HTML files (online help, etc.)
117 |-- wscript ; (optional) command line scripts, perl, etc.
118 |-- pictures ; optional - for *.jpg, *.gif pictures, etc.
119 </pre>
120 </font>
121
122 <P>Specify the latter &quot;pictures&quot; directory as an additional (semi-colon delimited)
123 path value in the ACEDB environment variable (see below).</P>
124 <P>\acedb can be ANY path name you like, but you must ensure that you start
125 the program from within that directory, provide a full path to the directory,
126 <B>OR</B> set the ACEDB environment variable (see below) is set to this path name.</P>
127
128 <H3>*** STEP 2 - Obtain programs and data</H3>
129
130 <P>The most recent updates for this program may generally be obtained by anonymous ftp from the Sanger Centre or NCBI:</P>
131 <P align="center"><A HREF="ftp://ftp.sanger.ac.uk/pub/acedb/winace">
132 ftp://ftp.sanger.ac.uk/pub/acedb/winace</A></P>
133 <P align="center">or</P>
134 <P align="center"><A HREF="ftp://ncbi.nlm.nih.gov/repository/acedb/winace">
135 ftp://ncbi.nlm.nih.gov/repository/acedb/winace</A></P>
136 <P>
137 Previous releases (4.5.6 or earlier) were Winzip self extracting archives. The current releases use
138 the Gnu gzip and UNIX style tar facilities, which you should be able to extract using either Gnu tools or
139 using Winzip or similar utilities. Extract these files into a suitable subdirectory (e.g. your c:\acedb\bin)
140 <B>AND</B> ensure that that subdirectory is entered onto your Windows program 'PATH' (i.e. in the
141 'Environment' tab of the Systems applet in the Windows Control Panel...).
142 </P>
143 <P>
144 For those of you upgrading from release 4.5.6 or earlier versions of ACEDB for Windows, it is well advised
145 to use the Add/Remove applet in the Windows Control Panel to remove any such previous WinAce version, prior
146 to attempting to run the new program.
147 </P>
148 <P><STRONG>Note that from October 1999 onwards, ACEDB for Windows is a
149 new version built upon cross-platform software tools spanning UNIX/Windows (and possibly Mac's)
150 (see the <A HREF="http://www.sanger.ac.uk/Software/Acedb/CurrentWinAce.shtml">
151 current release information page</A>) which is essentially identical in look and feel to its UNIX variant,
152 hence, the graphical version is now called 'xace' (the UNIX graphical version name) rather than 'winace'.
153 Of course, 'tace' refers to the non-graphical version of ACEDB (as in UNIX).</STRONG>
154 </P>
155 <A NAME="SOFTWARE_LOCATION"></A>
156 <H3>*** STEP 3 - Obtain Database Schema and Data</H3>
157
158 <P>It is assumed that users of the software will separately obtain the required configuration and data files
159 essential for running ACEDB (as in the UNIX version); however, a copy of the current C. elegans wspec
160 configuration files may be &quot;custom&quot; installed during WinAce setup. </P>
161 <P>Databases must be reconstructed from scratch by loading update* or .ace files into an initialized
162 database. Any model schema, display specs, etc. currently debugged on a UNIX system should work fine
163 within WIN32, with no modifications. The most important thing is to ensure that a &quot;wspec&quot;
164 subdirectory (e.g. c:\acedb\wspec) is created and all the *.wrm configuration files are placed in
165 this &quot;wspec&quot; subdirectory. The &quot;database&quot; directory (e.g. c:\acedb\database)
166 must also be created prior to first execution of the program.</P>
167 <P>For Caenorhabditis elegans, the full current release of update* files may be obtained by
168 anonymous ftp from:</P>
169 <P align="center"><A HREF="ftp://ncbi.nlm.nih.gov/repository/acedb/celegans">
170 ftp://ncbi.nlm.nih.gov/repository/acedb/celegans</A></P>
171 <P>Consult your system documentation on ftp details (or use a WWW browser).
172 Again, the files will be compressed (as UNIX update*.tar.Z files). Although
173 these are UNIX files, the shareware WinZip program :-) is fully equipped to extract such archives.
174 Simply place the .tar.Z file in your designated primary directory (e.g. c:\acedb) then
175 extract the entire archive using WinZip. WinZip should create a &quot;wspec&quot; and
176 &quot;rawdata&quot; subdirectory for the configuration and dataset (update*) files
177 respectively, plus any other files in the update. Should you experience difficulties
178 in reading the update files, please verify that you have made a proper unix to dos
179 translation of the files. Using the update (uncompressed, untar'd) files off unix
180 sometimes causes problems, as do update files ftp'd using some (older) utility programs.</P>
181 <P>Unix to DOS Conversions: As many folks will know, UNIX and DOS have different
182 conventions for file structure, in particular, the end of line (EOL) character(s)
183 in files. Some difficulties may be experienced when using UNIX files (such as wspec
184 or update files) in the Windows/DOS world. The extent that this causes malfunctions
185 within ACEDB for Windows has not yet been fully assessed. On UNIX machines, a
186 &quot;unix2dos&quot; utility program may be available which converts unix (text)
187 files into DOS formatted files (and vice versa, using dos2unix). This program should
188 be used when transferring most (text) files such as wspec and update files from Unix
189 to Windows/DOS. Alternatively, &quot;tar&quot; and &quot;Z&quot; compress your files
190 on the UNIX machine then use the WinZip utility (or other similar utility) which works
191 properly with tar.Z files on PC's) to extract the files onto your PC (Note: this is
192 probably the preferred approach).</P>
193 <P>Special Note: Windows FTP may inadvertently rename files (i.e. substitute &quot;_&quot;
194 for &quot;.&quot; In the file names). This can be a source of problems during standard
195 (Unix) update file extraction. Users should rename files back to their original names
196 if this occurs, then extract the &quot;.z&quot; files using Winzip (or equivalent) by specifying
197 the proper &quot;.tar&quot; archive name, i.e. &quot;update.WS4.4-1.tar.z&quot; should be called
198 &quot;update.WS4.4-1.tar&quot;. Then, extract the update files into your primary database directory.</P>
199 <U>Loading Large C.elegans Update Files</U>: Rumors from the field (David Baillie, SFU) suggest
200 that you can speed up your database creation/update process by locating the rawdata\update*
201 (or .ace) files on an independent physical (not merely logical) hard drive distinct from the
202 one upon which you are creating your binary database (e.g.. the hard drive containing your
203 c:\acedb\database and c:\acedb\wspec directories). This avoids the time lags of hard drive
204 read/write head &quot;thrashing&quot; associated with ACEDB reading a data object from the
205 rawdata\update then writing it out to a binary database\blockx.wrm file the same physical device.</P>
206
207 <H3>*** STEP 4 - Program Configuration</H3>
208
209 <P>After the programs have been installed on a user's machine, some program icons will have
210 been installed in the Windows &quot;Start Menu&quot;; however, they are not guaranteed to
211 work perfectly unless correctly configured, as follows. Please review these details
212 carefully and make the necessary changes to your database configuration files (under wspec)
213 and to your tace and winace &quot;Start Menu&quot; shortcut icons.</P>
214
215 <H4>Write Access:</H4>
216
217 <P>For write access to the database (essential for database creation!), ACEDB consults
218 the wspec\passwrd.wrm configuration. </P>
219 <P>You should ensure that this file lists all write permitted computer user names. NOTE:
220 Check this file after you WinZip extract new updates, in case the your passwrd.wrm gets
221 overwritten with another update* copy... </P>
222 <P>For Windows '95 (which doesn't care about user accounts), add &quot;acedb&quot; as the
223 user name. For Windows NT, you should put the actual user account name(s) of all users to
224 whom you wish to grant write permission (e.g. &quot;Administrator&quot; if that is your
225 NT account).</P>
226
227 <H4>Environment Parameter Settings:</H4>
228
229 <P>The following environment variables may be so set:</P>
230 <UL>
231 <LI>ACEDB: Set to the pathname of your primary subdirectory (e.g. c:\acedb) plus any
232 ancillary search directories (i.e. for image files). UNC names (i.e. \\&lt;hostname\&lt;path&gt;)
233 are NOT yet supported; however, mapping a drive letter to an UNC path then using the drive
234 letter root path (i.e. x:\ where &quot;x&quot; is the mapped drive letter) should work.
235 There are, however, peculiarities in LAN access permissions that may cause problems
236 (see &quot;Networking&quot; in this document).</LI>
237 </UL>
238
239 <H4>Miscellaneous Configuration Items:</H4>
240
241 <U>'wspec' Files</U>
242
243 <P>The &quot;wspec&quot; subdirectory contains *.wrm configuration files (some self documenting)
244 which may be customized for better operation of ACEDB in general and WinAce in particular.</P>
245 <P>By and large, the *.wrm files obtained from a UNIX ACEDB database will port directly, with few
246 modifications, to WinAce; however, there are a few *.wrm which are best readjusted to the WinAce
247 environment,specifically:</P>
248 <UL>
249 <LI>options.wrm - controls the number and order of classes displayed in the ACEDB main window
250 (see also layout.wrm)</LI>
251 <LI>displays.wrm - controls the default size and location of ACEDB display windows (note: some
252 ACEDB windows such as the main class display window are text font size sensitive. Changing
253 the default width and height of such windows for WinAce may be helpful, especially after font changes (below))</LI>
254 </UL>
255
256 <H3>*** STEP 5 - Initializing and Loading the Database ***</H3>
257
258 <P>Once you have configured the database, double click your shortcut icon to load the program.
259 The first time it is loaded (and everytime you delete the database\ACEDB.wrm file for your
260 database), the program will encounter an &quot;empty&quot; database and ask your permission
261 to (re-)initialize the database. </P>
262 <P>Say Yes! The database models will then be loaded and the database (re-)constructed.</P>
263 <P>Once initialized, the database will be empty. To load a large standard dataset (e.g. C.
264 elegans data) into the database, you have two options (A or B):</P>
265
266 <P><B>Option A.</B> Execute a &quot;Add Update File&quot;: from the ACEDB main window
267 pop-up menu. This method uses a formal &quot;update&quot; file such as the C.elegans
268 update* files. At present, we have occasional problems with this method: sometimes the
269 UNIX source files have a read error (not reproducible in all contexts...) and the system
270 may also crash at the end of the session; however, it is the preferred method for
271 C.elegans (and other projects issuing such updates). </P>
272
273 <P><B>Option B.</B>Execute the following sequence of operations (which simulates the
274 &quot;Add Update&quot;
275 operations) invoked from the main window popup menu:</P>
276 <OL>
277 <LI>Read models</LI>
278 <LI>Read .ace files</LI>
279 <LI>Align maps (click on all the buttons for all the types of alignments...)</LI>
280 <LI>Save the changes.</LI>
281 </OL>
282 <P>Note: you should ensure that all your input data files are renamed to have the &quot;.ace&quot;
283 file extension, in order for them to be visible by the file open dialog box for &quot;Read .ace&quot; files.</P>
284 <P>If you are loading a non-standard dataset (not structured as an &quot;update&quot; file format)
285 then use Option &quot;B&quot;. You can also input data directly into the database using the main
286 window popup menu &quot;Add-Alias-Rename&quot; command, or by using the &quot;Update&quot; menu
287 command while inside a tree graph object display.</P>
288
289 <H3>*** STEP 6 - Use the Database ***</H3>
290
291 <P>The database should now be fully operational. General
292 <a href="http://www.sanger.ac.uk/Software/Acedb/">ACEDB documentation</A> should be consulted
293 for further details.</P>
294 <P>The recommended way to start ACEDB for Windows up from the command line is to change directory
295 into your database directory, then run the program, giving the current directory ('.') as the path, e.g.</P>
296 <PRE>
297
298 c:\> cd c:\acedb
299 c:\acedb\> xace .
300
301 </PRE>
302 <P>(Substitute 'tace' for 'xace' if you wish to run the textonly version of the software).</P>
303 <P>ACEDB for Windows should behave more or less like the UNIX version, with reasonable performance,
304 except as noted below.</P>
305 <P>Back to <A HREF="#TOP">Top of Page</A></P>
306 </BODY>
307 </HTML>