Debian Codegraph @

winfo/Newsletters/Year2001/February.html

raw
1 <HTML>
2
3 <HEAD>
4 <TITLE>ACEDB User Group Newsletter - February 2001</TITLE>
5
6 <!-- you won't pick up the style sheet if you view this template file, it works OK
7 for the newsletters which are in the directory above. -->
8
9 <LINK rel=stylesheet type="text/css"
10 href="../newsletter.css"
11 title="Style sheet for Acedb newsletters">
12
13 </HEAD>
14
15
16 <BODY>
17
18 <HR>
19 <HR>
20
21 <a name="Top"></a>
22
23
24 <H1>ACEDB User Group Newsletter - February 2001</H1>
25
26
27 <!-- ******************************************************************** -->
28 <P>If you want to have this newsletter mailed to you <B>or</B> you want to
29 make comments/suggestions about the format/content then
30 send an email to <A HREF="mailto:[email protected]">[email protected]</A>.
31
32
33 <!-- ******************************************************************** -->
34 <P>This month sees the introduction of code to support representation of
35 mRNA exons and associated CDS in a single object rather then two as is
36 currently used in much of the human database. There are also various
37 other features such as interactive control of reporting of DNA mismatches
38 while displaying large links within fmap. There are also a number of important
39 bug fixes.
40
41
42 <!--******************************************************************** -->
43 <a name="New"></a><H2>New Features</H2>
44
45 <a name="Merging"></a><H3>Merging of "Supported mRNA" and "Supported CDS" objects for fmap</H3>
46
47 <P>This applies particularly to the acedb human chromosome databases.
48
49 <P>Previously, where a set of mRNA exons had a known CDS within them,
50 this was represented by two Sequence objects in the database. One object
51 held the positions of the mRNA exons, while the other held a subset of those
52 exons which represented the CDS. This is a hard to maintain because both objects
53 must be positioned correctly in their parent sequence object <b>AND</b> their
54 exon coordinates must be kept in step with each other. It is also very wasteful
55 of space in the database since two objects with two sets of largely overlapping
56 data must be held in the database.
57
58 <P>New code has been added to acedb to enable a single sequence object to
59 represent a set of mRNA exons and the CDS within those exons. The following gives
60 a brief example of how this is done.
61
62
63
64 <pre><code><b>Parent sequence:</b>
65 Sequence : "bA404F10"
66 DNA "bA404F10" 195976
67 ......etc
68 Subsequence "bA404F10.4" 126576 140451
69 Subsequence "bA404F10.4.mRNA" 126535 142095
70 ......etc
71
72 <b>CDS object:</b>
73 Sequence : "bA404F10.4"
74 Source "bA404F10"
75 Source_Exons 1 55
76 Source_Exons 8893 9213
77 Source_Exons 10520 10792
78 Source_Exons 11003 11122
79 Source_Exons 12044 12147
80 Source_Exons 12885 12947
81 Source_Exons 13805 13876
82 CDS
83 ......etc
84
85 <b>mRNA object:</b>
86 Sequence : "bA404F10.4.mRNA"
87 Source "bA404F10"
88 Source_Exons 1 96
89 Source_Exons 8934 9254
90 Source_Exons 10561 10833
91 Source_Exons 11044 11163
92 Source_Exons 12085 12188
93 Source_Exons 12926 12988
94 Source_Exons 13846 15561
95 ......etc
96 </code>
97 </pre>
98
99 <P>Note that the CDS object has the CDS tag set and that its exons are a strict subset of the
100 mRNA exons. The CDS tag can be followed by start/end coordinates for the CDS but this is
101 redundant here because the start and end of the exons in the CDS object themselves show
102 the start/end of the CDS.
103
104
105 <pre><code><b>New parent:</b>
106 Sequence : "bA404F10"
107 DNA "bA404F10" 195976
108 ......etc
109 Subsequence "bA404F10.4" 126535 142095
110 ......etc
111
112 <b>and single CDS/mRNA object:</b>
113 Sequence : "bA404F10.4"
114 Source "bA404F10"
115 Source_Exons 1 96
116 Source_Exons 8934 9254
117 Source_Exons 10561 10833
118 Source_Exons 11044 11163
119 Source_Exons 12085 12188
120 Source_Exons 12926 12988
121 Source_Exons 13846 15561
122 CDS 42 1049
123 ......etc
124 </code>
125 </pre>
126
127 <P>Here the two objects have been compressed into one. The exons are the full mRNA set
128 of exons and the CDS tag is used to show where the CDS starts and ends within the
129 exons. Note that the CDS start/end positions are given in the coordinates of the exons
130 when spliced together and
131 <b>not</b> the Source_Exons coordinates. Hence (if you do the maths...ugh) the start position
132 of "42" shows that the CDS starts about half way through the first exon and the end
133 position of "1049" shows that the CDS ends about a tenth of the way into the last exon.
134
135
136 <P><b>How is the new object displayed ?</b> The CDS exon sections of the new object can be
137 given a different colour using the new "CDS_colour" tag in the Method object, in the example below
138 the non-CDS section of the exons will be coloured blue while the CDS section will be red (the
139 default colour is magenta).
140
141 <pre><code>Sequence : "bA404F10.4"
142 Source "bA404F10"
143 Source_Exons 1 96
144 Source_Exons 8934 9254
145 Source_Exons 10561 10833
146 Source_Exons 11044 11163
147 Source_Exons 12085 12188
148 Source_Exons 12926 12988
149 Source_Exons 13846 15561
150 CDS 42 1049
151 ......etc
152 Method "my_CDS"
153
154
155 Method : "my_CDS"
156 Colour BLUE
157 CDS_colour RED
158 ......etc</code></pre>
159
160 <P><b>What about if the CDS extends beyond the set of exons in the object ?</b> There are
161 two tags in the existing models commonly used in the Sanger Centre that can be used to
162 deal with this situation:
163
164 <pre><code>// #Sequence# (From models.wrm for 22ace)
165
166 ?Sequence DNA UNIQUE ?DNA UNIQUE Int // Int is the length
167 ......etc
168 Properties Pseudogene Text
169 ......etc
170 End_not_found
171 Start_not_found Int
172 </code></pre>
173
174 <P>These tags have the following meaning:
175 <dl>
176 <dt><b>Start_not_found Int</b>
177 <dd>Setting this tag means that the start of the CDS lies somewhere upstream of
178 the exons in this object. The Int should be given one of the values
179 1,2 or 3 to establish the reading frame for protein translation of the
180 CDS (default to 1 if no value given). Note also that to be pedantic the
181 model should say <code><b>"Start_not_found UNIQUE Int"</b></code>.
182 <dt><b>End_not_found</b>
183 <dd>Setting this tag means that the end of the CDS lies somewhere downstream of
184 the exons in the object. This tag is not followed by an int because it is
185 assumed that transcription will always procede to the end of the last exon
186 and the transcription code can itself detect when to end transcription because
187 it has run out of codons.
188 </dl>
189
190
191 <P><b>How do I go from two objects down to one ?</b> Well the first point to note is that
192 the new code will run perfectly well with databases that contain
193 the "two object" representation of the mRNA/CDS exons, merging of objects can
194 be made gradually as required. It is not possible (and almost certainly not desireable)
195 for the code to do this automatically, the existing two objects are linked only by "similar"
196 names and a common
197 sequence parent often shared with many other objects all containing exons. Conversion
198 will require the use of a specially written script to extract the two objects from the
199 database, merge them and parse them back into the database.
200
201 <P><b>How can I control which sections of the single object are operated on by the
202 various protein translation options in fmap ?</b> The fmap menu for exons now includes
203 options to either translate the CDS section or the entire set of exons and display or
204 export the result.
205
206
207 <a name="Improved"></a><H3>Improved format for server log</H3>
208
209 <P>The acedb socket server log has changed name from <code><b>database/server.log</b></code> to
210 <code><b>database/serverlog.wrm</b></code> to be consistent with other acedb log/configuration files.
211
212 <P>The records in the server log are now output in the same format as the
213 <code>log.wrm</code> records which brings the following improvements:
214
215 <ul>
216 <li>All records are now stamped with the time, machine and process id for the program.
217 <li>All programs record SESSION_START and SESSION_END records which show information such
218 as which user was running the program, how the program ended (normal or crash) and so on
219 (see also <A href="./January.html">Januarys newsletter</A>).
220 </ul>
221
222
223 <a name="Interactive"></a><H3>Interactive control of DNA mismatch reporting in xace</H3>
224
225 <P>Originally xace would report every single mismatch between every pair
226 of DNA objects it attempted to align. This was so irritating that the code
227 was changed to report errors only once per pair of objects aligned. Sadly
228 this is still exceptionally irritating for those who are trying to construct
229 large links from existing sequences because the number of pairs of DNA
230 objects to be aligned can be very large. This is exacerbated by the fact that
231 the user, when first making a link, already knows
232 the DNA is incorrectly aligned.
233
234 <P>You can now interactively turn on/off reporting of DNA mismatches by
235 selecting the "Report/Don't Report DNA Mismatches" item from the main
236 menu in the fmap. Reporting will stay disabled for each subsequent reuse
237 of that fmap.
238
239
240 <!--******************************************************************** -->
241 <a name="Bugs"></a><H2>Bugs Fixed</H2>
242
243 <a name="Tree"></a><H3>Tree Display menu</H3>
244
245 <P>Several problems have been fixed in the Tree Display menu, some old options
246 that were removed have been put back because users preferred them to the new
247 ones, e.g. "Preserve". A bug where the "Show As Text" option disappeared from
248 the menu has been fixed. The menu should now work as it always as but with some
249 extra options, if you still have problems with the menu while using the latest
250 monthly build then please mail to <A href="mailto:[email protected]">[email protected]</A>.
251
252
253 <a name="Catching"></a><H3>Catching SIGABRT</H3>
254
255 <p>The operating system sometimes needs to interrupt the execution of a
256 program perhaps because of a serious error such as the program trying
257 to access another programs memory space. It does this by directly interrupting
258 the programs execution with a "signal", the signal could be one of a number of types
259 such as "SIGSEGV" which means the program was trying to access another
260 programs memory or "SIGFLT" which means the program was trying to do an
261 illegal floating point operation such as dividing by zero. The program is
262 allowed to "catch" these signals and try to decide what to do about them.
263 AceDB catches signals so that it can clear up its read/write locks before
264 exitting.
265
266 <P>One of these signals is reserved specifically for interrupting a program and producing
267 a snapshot of what the program was doing when interrupted, this is the
268 familiar "core" file. The signal for doing this is called SIGABRT. The acedb
269 code was erroneously catching this signal meaning that the core file was
270 not produced correctly, or in some cases not produced at all.
271
272 <P>This bug has been fixed and the following now applies for signal handling:
273
274 <dl>
275 <dt><b>SIGABRT</b>
276 <dd>signal is <b>never</b> caught by AceDB.
277 <dt><b>all other catchable signals</b>
278 <dd>signals are caught and acedb clears read/write locks and gives a chance to save
279 work before exitting.
280 </dl>
281
282 <P>Sometimes with serious, reproducible bugs it would be useful for AceDB to not catch
283 any signals so that a core file would be produced when the error occurs. Signal
284 handling can now be turned off in one of two ways:
285
286 <dl>
287 <dt><b>"-nosigcatch"</b>
288 <dd>Use this command line option when you run an acedb program to turn
289 off signal catching from the start:
290 <pre> <code>tace -nosigcatch /your/database</code>
291 </pre>
292 <dt><b>"Admin" menu item in xace</b>
293 <dd>There is a new "Signal Catching Off/On" option in the "Admin" menu which
294 can be used to toggle signal catching on and off.
295 </dl>
296
297 <P>By default programs will run as they always have with signal catching
298 turned on. This is how you should normally run the code, if you turn
299 signal catching off and have been writing to the database when acedb
300 crashes, the database will not be cleaned up with the result that it may
301 get corrupted. This facility is intended for use in debugging difficult
302 errors, not as a standard way to run acedb.
303
304
305 <a name="Print"></a><H3>Print bug</H3>
306
307 <P>An annoying bug whereby xace would sometimes "freeze" when an attempt was made to print
308 has now been fixed (DDTS bugs: SANgc10014 & SANgc10359).
309
310 <a name="Tablemaker"></a><H3>Tablemaker bug</H3>
311
312 <p>A bug in the meaning of "hidden column" in tablemaker meant
313 it mapped onto the "hidden" state in the table display
314 system, which caused rows which differed only in hidden columns to appear multiple times.
315 The semantics of "hidden" in tablemaker are not "don't show me this
316 column", but "this is an intermediate working column which doesn't
317 appear in the result table". The code was changed to reflect this, columns
318 marked as hidden are not included at all in the output table.
319
320
321
322 <a name="Two"></a><H3>Two URL bugs</H3>
323
324 <P>Two fixes for url handling by acedb:
325
326 <ul>
327 <li>the "(" and ")" characters in Urls need to be escaped (i.e. not parsed),
328 since the netscape remote mechanism mangles them.
329 <li>If a Rewrite tag was followed by only one string, acedb crashed.
330 </ul>
331
332 <a name="Dumping"></a><H3>Dumping bug</H3>
333
334 <P>There was a bug in the dumping code for perl-style and other formats
335 which caused acedb to crash or give strange output if the text being dumped contained
336 a "%". This is now fixed.
337
338
339
340 <a name="Future"></a><H2>Future Plans</H2>
341
342 <P>If you wish to make suggestions about any of these plans, please mail them
343 to <A HREF="mailto:[email protected]">[email protected]</A>
344
345 <a name="AceDB"></a><H3>AceDB and gapped alignments</H3>
346
347 <P><b>Coming in 4_9...</b>
348
349 <P>As of AceDB 4_9 (due out anytime now...honest...), AceDB will support the
350 viewing of gapped alignments in Blixem. This is a combination of work on Blixem
351 and the new "Smap" code that will support a much more sophisticated way of contructing
352 "virtual" sequences from clone, gene etc. data than the current fmap supports.
353
354
355 <a name="AceDBXml"></a><H3>AceDB and XML Schema</H3>
356
357 <P><b>Coming soon...</b>
358
359 <P>Work is currently under way to output Ace data in XML format. As well as
360 the data, AceDB will output XML Schema that describe the data and will enable
361 the data to be verified using existing XML parsers that support XML Schema.
362
363
364
365
366
367 <!-- ******************************************************************** -->
368 <H2>February monthly build now available.</H2>
369
370 <P>You can pick up the monthly builds from:
371 <dl>
372 <dt><b>Sanger users</b>
373 <dd>~acedb/RELEASE.DEVELOPMENT
374 <dt><b>External users</b>
375 <dd><A href="http://www.acedb.org/Software/Downloads/monthly.shtml">
376 http://www.acedb.org/Software/Downloads/monthly.shtml</A>
377 </dl>
378
379 <!-- ******************************************************************** -->
380 <H2>Next User Group Meeting - D319, 2.30pm, Thursday, 15th March 2001</H2>
381
382 <p><b>!*! Please note changed venue !*!</b>
383
384 <!-- ******************************************************************** -->
385 <HR>
386 <HR>
387
388 <ADDRESS><A href="mailto:[email protected]">Ed Griffiths &lt;[email protected]&gt;</A></ADDRESS>
389 <!-- hhmts start -->
390 Last modified: Mon May 21 14:42:59 BST 2001
391 <!-- hhmts end -->
392
393 </BODY>
394 </HTML>