Debian Codegraph @

winfo/Newsletters/Year2001/April.html

raw
1 <HTML>
2
3
4 <HEAD>
5 <TITLE>ACEDB User Group Newsletter - April 2001</TITLE>
6
7 <LINK rel=stylesheet type="text/css"
8 href="../newsletter.css"
9 title="Style sheet for Acedb newsletters">
10
11 </HEAD>
12
13
14 <BODY>
15
16 <HR>
17 <HR>
18
19 <a name="Top"></a>
20
21 <H1>ACEDB User Group Newsletter - April 2001</H1>
22
23
24 <!-- ******************************************************************** -->
25 <P>If you want to have this newsletter mailed to you <B>or</B> you want to
26 make comments/suggestions about the format/content then
27 send an email to <A HREF="mailto:[email protected]">[email protected]</A>.
28
29
30 <!-- ******************************************************************** -->
31 <P>This months newsletter is once again late...sigh. I had hoped to
32 announce the arrival in a blaze of glory of AceDB 4_9. Sadly we have had
33 endless trouble with getting the binaries for different platforms to build
34 and in particular with doing static-link builds. There is some news on
35 AceDB 4_9 however so see the special section below. There is also news of the
36 next AceDB course, see "Education" section. And a reminder about the new
37 code to display CDS's in fmap see "Articles" section. The newsletter web pages
38 have also been improved.
39
40
41 <!--******************************************************************** -->
42 <a name="General"></a><H2>General News</H2>
43
44 <a name="AceDB"></a><H3>AceDB 4_9</H3>
45
46 <P>AceDB 4_9 has finally arrived, the development version (4_8) has been
47 around for what seems like years but its been a labour of love to translate
48 that into 4_9. What follows is a brief overview.
49
50
51 <a name="summary"></a><h4>Summary</h4>
52
53 <P>The current release is AceDB 4_9a and can be found at:
54
55 <ul>
56 <li><b>Internally to the Sanger Centre:</b> ~acedb/RELEASE.SUPPORTED
57 <li><b>Externally:</b>
58 <A href="http://www.acedb.org/Software/Downloads/supported.shtml">
59 http://www.acedb.org/Software/Downloads/supported.shtml</A>
60 </ul>
61
62 <P>This new release is fully compatible with 4_7 & 4_8. The new release also
63 includes a windows version.
64
65 <P>Note that from this release onwards, AceDB is distributed under
66 the GNU General Public License. This means that AceDB is still
67 free/open software. The license allows you to copy and alter the
68 code for your own purposes but you must acknowledge and retain the AceDB and GNU copyright
69 notices in the code and you must not try to make money from it.
70 Please see the file
71 wdoc/GNU_GENERAL_PUBLIC_LICENSE in this distribution or go to
72 http://www.uk.gnu.org/ for more details.
73
74
75 <a name="Whats"></a><h4>What's available/not available</h4>
76
77 <P>For the first time this release we are supplying both compiled binaries
78 that include the readline/GTK libraries used by AceDB (so-called "statically linked"
79 executables) and also, for users who already have readline/GTK installed on their
80 systems, binaries that don't (so-called "dynamically linked" executables).
81 The problems in producing the static links are too numerous, tiring,
82 tiresome and, well just irritating to go into. Suffice it to say that about
83 half the problems have been caused by individual operating system manufacturers own
84 little quirks...sigh....and the other half by local system problems (including a power
85 cut, overloaded networks, and...oh never mind).
86
87 <P>We have managed to do both static and dynamic linked builds of 4_9a for the
88 following operating systems/levels:
89 <dl>
90 <dt>ALPHA
91 <dd>OSF1 V4.0 1229 alpha
92 <dt>LINUX
93 <dd>Linux 2.2.14-5.0 #1 Tue Mar 7 21:07:39 EST 2000 i686 unknown" -->
94 <dt>SGI
95 <dd>IRIX 6.5 10120105 IP32
96 </dl>
97
98 <P>We are close to succeeding with a Sun box running SunOS 5.8, a system which should more
99 closely match many users Sun boxes. Currently we are held up by the fact that the GNU
100 software supplied by Sun themselves is incorrectly installed and will have to be reinstalled
101 from scratch. Sounds simple but took about 5 million years to track down.
102
103 <a name="Porting"></a><h4>Porting to MS Windows, and beyond...</h4>
104
105 <P>In the past AceDB has been ported to both Windows and the Mac but
106 these ports have suffered in a number of ways:
107
108 <ol>
109 <li>They've had fewer features because system
110 incompatibilities have limited the port.
111 <li>They've been hard to extend or bugfix because
112 significant portions of code had to be rewritten to support
113 the different systems.
114 <li>They've been hard to build because each
115 system had a completely different way of building programs.
116 </ol>
117
118 <P>The net effect of this is that the Mac version is now completely
119 out of date and the original Windows system was not being updated
120 often enough.
121
122 <P>Simon Kelley has pretty much single-handedly introduced two
123 vital pieces of software that have enabled us to port AceDB
124 to Windows (and soon we hope to the Mac) with very few code
125 changes from the Unix version:
126
127 <ul>
128 <li><b>Cygwin</b> is a piece of software that emulates on MS-Windows
129 much of the Unix environment (shells, make, utilities, C libraries etc.).
130 Cygwin provides not only the utilities we need to build AceDB
131 but also the operating system calls that we need for AceDB to work.
132 <li><b>GTK</b> is a new set of windowing libraries that allow us to
133 use the same programming interface for both X-windows/Unix and
134 MS-Windows.
135 </ul>
136
137 <P>The new Mac operating system (OS-X) is a variant of unix so that much
138 of AceDB should run unaltered on it, the missing piece is the X Windows
139 libraries. Once these are available then GTK should also work and AceDB
140 will at last be available again on the Mac. We are getting our new Mac system sometime in the next
141 couple of weeks to begin the the port to OS-X.
142
143
144 <P><b>AceDB 4_7 no longer supported:</b>
145 we will be putting all our efforts into supporting/developing 4_9 which means
146 that we will no longer be actively supporting 4_7. The existing 4_7 code will
147 still be available from:
148 <ul>
149 <li><b>Internally:</b> to the Sanger Centre: ~acedb/RELEASE.4_7
150 <li><b>Externally:</b> by ftp (ftp.sanger.ac.uk) from the directory pub/ftp/ace.4_7
151 </ul>
152
153
154 <P><b>New query language:</b>
155 The new release also incorporates the new AQL query language that
156 allows much finer grained and more complex queries than the existing
157 query language.
158
159 <p><b>Socket server replaces RPC server:</b>
160 The RPC server has been discontinued and is replaced by the sockets based version.
161 The sockets version has been ported to MS-Windows as well as Unix and includes:
162
163 <ul>
164 <li>A proper MD5-based userid/password mechanism (the client and server no longer
165 have to be able to see a common disk for control of user access to the database)..
166 <li>Simple control of read/write access to the database.
167 <li>"Read", "Write" and "Admin" classes of users.
168 <li>Allows access for domain name groups of users, e.g. everyone at sanger.ac.uk
169 <li>New database admin commands, e.g. to add new users.
170 <li>Control of server restarting after crashes.
171 </ul>
172
173 <P>For fuller details, see the online documentation in
174 <A href="http://www.acedb.org/Development/wdoc/SOCKET_aceserver.html>wdoc/SOCKET_aceserver.html</A>.
175
176 <P>There is also a developers guide to interfacing to the the socket server in
177 <A href="http://www.acedb.org/Development/wdoc/SOCKET_interface.html>wdoc/SOCKET_interface.html</A>.
178
179 <p><b>Fmap configurable columns:</b> fmap columns can now be interactively configured
180 via drop down menus at the top of each column. fmap configuration will be further
181 extended in the next month or so with the addition of user defaults to allow
182 individual customisation of fmap views.
183
184 <P>Please do try the new AceDB 4_9 and let us the developers know of any problems, you can
185 report bugs in the usual ways:
186
187 <ul>
188 <li><b>web:</b> <A href="http://www.sanger.ac.uk/cgi-bin/webddts/WebDDTS.pl?Project=Acedb">
189 http://www.sanger.ac.uk/cgi-bin/webddts/WebDDTS.pl?Project=Acedb</A>
190 <li><b>email:</b> <A href="mailto:[email protected]">&lt;[email protected]&gt;</A>
191 </ul>
192
193
194
195
196 <!--******************************************************************** -->
197 <a name="Education"></a><H2>Education</H2>
198
199 <P>The next AceDB course is coming soon, it will be at the Dept. of Genetics
200 in Cambridge and comprises:
201
202 <dl>
203 <dt>19th June:
204 <dd>An Introduction to ACEDB software using C. elegans and human genome databases.
205 <dt>20th-22nd June:
206 <dd>Advanced use of AceDB : for those wanting to use AceDB to manage their own data.
207 </dl>
208
209 <p>For further details please visit:
210 <ul>
211 <li><A href="http://www.hgmp.mrc.ac.uk/About/Courses/2001/comp.acedb.course.html">
212 http://www.hgmp.mrc.ac.uk/About/Courses/2001/comp.acedb.course.html</A>
213 </ul>
214
215
216
217 <!--******************************************************************** -->
218 <a name="New"></a><H2>New Features</H2>
219
220
221 <a name="Newsindex"></a><H3>Improved Newsletter pages</H3>
222
223 <P>The newsletter web pages have been improved thanks to a script from
224 Roger Pettett of the Sanger Web Team. If you go to any of the directories
225 containing one of the years set of newsletters
226 e.g.
227 <A href="http://www.acedb.org/winfo/Newsletters/Year2000/index.shtml">
228 http://www.acedb.org/winfo/Newsletters/Year2000/index.shtml
229 </A>, you will find that the major sections of the newsletter are
230 all listed as hyperlinks into the newsletters. This makes it easy to
231 see what each newsletter contains and get a quick overview of the letter.
232
233 <a name="Title"></a><H3>New TITLE keyword for databases</H3>
234
235 <P>If you use xace you will have noticed that the main window has some text in
236 its title bar. This text is made up of the following elements:
237
238 <pre>"code-version, window-title db-name"
239 </pre>
240
241 <P>In the past these elements were set by:
242
243 <dl>
244 <dt>code-version
245 <dd>Always set according to the builtin code version number, cannot be altered.
246 <dt>window-title
247 <dd>Optional, set each time an AceDB program is run using the "-t" option
248 for _DDtMain in wspec/dislays.wrm
249 <dt>db-name
250 <dd>Optional, set when the database is rebuilt using the NAME keyword in wspec/database.wrm
251 </dl>
252
253 <P>Over time however the window-title and db-name elements have in some cases
254 been used to represent the database title and database version respectively.
255 In the C. elegans database for instance the window-title was set to something
256 like "C. elegans database" and the db-name to "WS40" to show that this build
257 of the database was at the WS40 level.
258
259 <p>This presents a bit of a problem for tace users (e.g. all those who use AcePerl,
260 which itself uses tace), because the window-title is not available. In an attempt
261 at making this more rational, a new "TITLE" keyword has been added to wspec/database.wrm.
262 This new keyword can take the place of window-title, the rules for what is displayed are
263 now:
264
265 <pre>"code-version, db-title db-name"
266 </pre>
267
268 <P>set by:
269
270 <dl>
271 <dt>code-version
272 <dd>Always set according to the builtin code version number, cannot be altered.
273 <dt>db-title
274 <dd>Optional, set each time an AceDB program is run using the TITLE keyword
275 in wspec/database.wrm, if this is not set then its set using any text
276 specified with the "-t" option for _DDtMain in wspec/dislays.wrm.
277 <dt>db-name
278 <dd>Optional, set when the database is rebuilt using the NAME keyword in wspec/database.wrm
279 </dl>
280
281 <P>It is recommended that database administrators switch to using the TITLE
282 and NAME keywords in wspec/database.wrm, only use the "-t" option for _DDtMain
283 in wspec/dislays.wrm if you don't really care about a database title.
284
285 <P>The db-title and db-name can be seen in tace/saceclient using the "status"
286 command.
287
288
289
290 <a name="BLIXEM"></a><H3>BLIXEM improvements including gapped alignments</H3>
291
292 <a name="Generaldisp"></a><H4>General display improvements</H4>
293
294 <P>A number of changes have been made to the Blixem window in response
295 to annotators requests:
296
297 <ul>
298 <li>bug fix to prevent the Blixem window from being too large to fit
299 on the screen initially.
300 <li>Independant scolling to alignments for each strand.
301 <li>Detachable button bar with cut-able co-ordinate display.
302 </ul>
303
304 <P>In addition finer control of the homology data that blixem uses
305 has been provided. The user can set a maximum number of sequences
306 to efetch in the AceDB preferences window.
307 If that num is exceeded a dialog box will ask for confirmation
308 that sequences should be ommitted and the user can then set a cut off
309 score to exclude more sequences as necessary.
310
311
312 <a name="Display"></a><H4>Display of gapped alignments in Blixem</H4>
313
314 <P>AceDB now supports the storage and display of gap information with alignments, the
315 following are extracts from
316 <A href="http://www.acedb.org/Development/wdoc/gappedAlignments.html">
317 wdoc/gappedAlignments.html</A> which contains a fuller write up of the gapped
318 alignment system.
319
320 <P><HR>
321 The Homol tag in ?Sequence and ?Protein now has a model which looks
322 like this:
323
324 <pre><code>Homol DNA_homol ?Sequence XREF DNA_homol ?Method Float Int Int Int Int #Homol_info
325 Pep_homol ?Protein XREF DNA_homol ?Method Float Int Int Int Int #Homol_info
326 Motif_homol ?Motif XREF DNA_homol ?Method Float Int Int Int Int #Homol_info
327 </code></pre>
328
329 <P>and the Homol-info class looks like this:
330
331 <pre><code>#Homol_info Segs #Match_seg // old way to give gapped alignment - used in pephomolcol for Belvu call
332 Align Int UNIQUE Int UNIQUE Int // correct way to give gapped alignments for FMAP
333 // for each ungapped block, self_start target_start [length]
334 // if no length then until next block (so no double gap)
335 // if no Align assume ungapped
336 AlignDNAPep Int UNIQUE Int UNIQUE Int
337 AlignPepDNA Int UNIQUE Int UNIQUE Int
338 // These two tags are analogous to Align, but scale length
339 // for the case of a dna alignment to peptide or vice-versa.
340 </code></pre>
341
342 <P>This system is backwards compatible since if the Homol_info data is
343 not present, the Homologies are interpreted as before. (For reference,
344 the Float parameter is a score and the four Ints are start and end
345 co-ordinates in this sequence followed by start and end coordinates in
346 the homologous sequence.
347
348 <P>The gaps are not displayed in the fMap, but they are displayed in blixem.
349
350 <P>Gaps in the query sequence (ie where there are bases in the target
351 with corresponding bases in the query) are shown by omitting the un-matched bases
352 and drawing a vertical red bar. Gaps in the target sequence are shown with dots.
353
354 <HR><P>
355
356
357
358 <a name="Socket"></a><H3>Socket Server working directory</H3>
359
360 <P>When the socket server is started via inetd it inherits much of the inetd
361 daemons environment including its current working directory. This is a potential
362 security exposure. Accordingly an alternative working directory can now be specified
363 in wspec/serverconfig.wrm using the WORKING_DIRECTORY keyword, if no
364 directory is specified then the database directory will be used as
365 the working directory. If the server is unable to set the working
366 directory it will exit.
367
368
369 <a name="CDS"></a><H3>The new CDS code for fmap</H3>
370
371 <P>I received the following comment about the new colours of some objects when
372 displayed in fmap:
373
374
375 <pre>&gt; We have just changed over to the new version of ACEDB and we have a
376 &gt; question about the purple object repreenting coding CDS.
377 &gt; Unfortunately every prediction, (Genscan, Ensembl, halfwise etc) is
378 &gt; purple alongside our own CDS which we create. Is there something we have
379 &gt; to change in the method model to be able to differentiate between these
380 &gt; different things and set different colours (I dont have anything against
381 &gt; purple honest!).
382 </pre>
383
384 <P>Well why is everything purple (or pink or magenta depending on your
385 eyes/screen) ???
386
387 <P>Some new code has been introduced into AceDB to solve the somewhat annoying
388 problem of having to use two sequence objects to represent an mRNA and its
389 coding region.
390
391 <P>The way this should work is that you define a sequence object for the mRNA with
392 a set of Source_Exons and then set the CDS tag in the object to show which part
393 of the Source_Exons are the coding region. The object will then be displayed
394 according to how the Method object for the sequence has been set up: non-coding
395 parts will be coloured with the "Colour" tag colour and coding parts with the
396 "CDS_colour" tag colour (yes, you've guessed it, the default colour is purple).
397
398 <P>So what has gone wrong for the user above ? Well....in the past AceDB has only
399 done protein translations of objects which had the CDS tag set in them so people
400 ended up setting the CDS tag in everything just to get the translation. This
401 means of course that whole objects now come out in purple with the new code.
402
403
404 <P>How to fix this....
405
406 <P>In the short term you can just update your models file to make sure you have the
407 Method class with the CDS_colour tag in it and then change your methods so that
408 the CDS_colour is the same as the CDS tag for objects that you want to come out
409 in the colour they were before you used the new code.
410
411 <P>In the longer term (and far more preferably), you should use the CDS tag
412 correctly and not add it willy-nilly to all sequence objects. To allow this I
413 have been adding code to allow protein translation of non-CDS objects. This
414 latter facility should be in the next monthly build, so if you use the May build
415 and find that its not working how you would like send me a note.
416
417 <P>You should also note that this change was originally described in the February
418 AceDB newsletter so you may want to go back to that and reread it (you can
419 access past newsletters via: http://www.acedb.org/winfo/Newsletters/).
420
421 <P>If this is not clear or you need further information then come and see me, phone
422 me, email me,
423 <A href="mailto:[email protected]">Ed Griffiths &lt;[email protected]&gt;</A>.
424
425
426 <!--******************************************************************** -->
427 <a name="Bugs"></a><H2>Bugs Fixed</H2>
428
429 <a name="Tablemaker"></a><H3>Old, old table maker bug</H3>
430
431 <P>Table maker uses %n in two different ways:
432
433 <dl>
434 <dt>%n
435 <dd>are parameter to be given on the command line in tace
436 <dt>\%n
437 <dd>are substituted by the value of column n at run time
438 </dl>
439
440 <P>Neither of these worked correctly in some later versions of 4_7 code and in
441 4_8 code because of a bug in AceDBs parameter quoting/interpreting mechanism.
442 This bug is now fixed.
443
444
445
446 <!-- ******************************************************************** -->
447 <H2>April monthly build now available.</H2>
448
449 <P>You can pick up the monthly builds from:
450 <dl>
451 <dt><b>Sanger users</b>
452 <dd>~acedb/RELEASE.DEVELOPMENT
453 <dt><b>External users</b>
454 <dd><A href="http://www.acedb.org/Software/Downloads/monthly.shtml">
455 http://www.acedb.org/Software/Downloads/monthly.shtml</A>
456 </dl>
457
458 <!-- ******************************************************************** -->
459 <H2>Next User Group Meeting - D319, 2.30pm, Thursday, 17th May 2001</H2>
460
461
462 <!-- ******************************************************************** -->
463 <HR>
464 <HR>
465
466 <ADDRESS><A href="mailto:[email protected]">Ed Griffiths &lt;[email protected]&gt;</A></ADDRESS>
467 <!-- hhmts start -->
468 Last modified: Mon May 21 18:35:29 BST 2001
469 <!-- hhmts end -->
470
471 </BODY>
472 </HTML>