Debian Codegraph @

winfo/Newsletters/Year2001/May.html

raw
1 <HTML>
2
3 <!-- -->
4 <!-- Stuff you should alter is highlighted with "***" -->
5 <!-- -->
6 <!-- The newsletters are parsed by a script to automatically produce the -->
7 <!-- index file for the directory. If you change the format of this template -->
8 <!-- you had better change the script as well. -->
9 <!-- -->
10
11
12 <HEAD>
13 <TITLE>ACEDB User Group Newsletter - May 2001</TITLE>
14
15 <!-- you won't pick up the style sheet if you view this template file, it works OK
16 for the newsletters which are in the directory above. -->
17
18 <LINK rel=stylesheet type="text/css"
19 href="../newsletter.css"
20 title="Style sheet for Acedb newsletters">
21
22 </HEAD>
23
24
25 <BODY>
26
27 <HR>
28 <HR>
29
30 <!-- Don't change this name unless you change mkindex.pl. -->
31 <a name="Top"></a>
32
33 <H1>ACEDB User Group Newsletter - May 2001</H1>
34
35
36 <!-- ******************************************************************** -->
37 <P>If you want to have this newsletter mailed to you <B>or</B> you want to
38 make comments/suggestions about the format/content then
39 send an email to <A HREF="mailto:[email protected]">[email protected]</A>.
40
41
42 <!-- ******************************************************************** -->
43 <P>There are still places available on the AceDB course in June. There are
44 some improvements to the command line interface (see items on status and lastmodified).
45 The usage of the CDS tag in Sequence objects has been tightened up but restrictions
46 on translation of Sequence objects have correspondingly been relaxed. If you use
47 tags which have names consisting of numerics only you should read the article
48 non-numeric tags. There are a number of bug fixes.
49
50
51
52 <!-- ******************************************************************** -->
53 <a name="General_News"></a><H2>General News</H2>
54
55 <P>We are still struggling to build AceDB 4_9 on our Solaris system
56 for a variety of excrutiatingly boring reasons. We are now close to finishing
57 the build so Solaris users please hang on. The problems are genuinely not
58 AceDB but system based.... This means that this months monthly build does
59 not at the moment include Solaris binaries.
60
61
62
63 <!-- ******************************************************************** -->
64 <a name="Education"></a><H2>Education</H2>
65
66 <P>There are still places available on the 1-day AceDB introductory course on 19th June
67 and the 3-day advanced AceDB course on 20th-22nd June at the Dept. of Genetics,
68 Cambridge University, Cambridge.
69
70 <p>For further details please visit:
71 <ul>
72 <li><A href="http://www.hgmp.mrc.ac.uk/About/Courses/2001/comp.acedb.course.html">
73 http://www.hgmp.mrc.ac.uk/About/Courses/2001/comp.acedb.course.html</A>
74 </ul>
75
76 <!-- ******************************************************************** -->
77 <a name="New_Features"></a><H2>New Features</H2>
78
79 <a name="last_modified"></a><H3>Last Modified command line interface</H3>
80
81 <P>To help systems that interface to AceDB via the server or via tace, a
82 last modified command has been introduced. The command returns the time
83 the last command was executed that changed the database. This is currently a
84 bit crude in a "fail-safe" way in that the time may be updated for some
85 commands where in fact no modification took place.
86
87 <P>The intention of this command is to allow systems such as Lincoln Steins
88 wormbase servers to cache features they have requested from the server for
89 faster performance. They can use the last modified command to check the database
90 has not been modified.
91
92 <P><b>Command description:</b><pre>
93 lastmodified : Returns time database was last modified as a string in AceDB time format.
94 </pre>
95 <P><b>Example:</b><pre>
96 acedb> lastmodified
97 2001-05-29_21:30:54
98 // 0 Active Objects
99 acedb>
100 </pre>
101
102
103 <a name="status_cmd"></a><H3>New format 'status' display</H3>
104
105 <P>It's possible to look at AceDB program status either from graphical xace
106 (via "Admin" -> "Program Status" menu item from the main window)
107 and from command line programs such as tace and giface using the "status"
108 command.
109
110 <P>The format of the status display has been changed to make it more readable,
111 and from the command line it is possible to ask for one or more subsets
112 of the status report statistics.
113
114 <P><b>Command description:</b><pre>
115 Status {on | off} : toggle memory statistics
116 {-code -database -disk -lexiques -hash -index
117 -cache -cache1 -cache2 -array -memory -all} : select stats to print
118 </pre>
119 <P><b>Example:</b><pre>
120 acedb> status -code -database
121 // ************************************************
122 // AceDB status at 2001-05-29_23:44:41
123 //
124 // - Code
125 // Program: tace
126 // Version: ACEDB 4_9a
127 // Build: May 29 2001 23:42:39
128 // - Database
129 // Title: <undefined>
130 // Name: <undefined>
131 // Release: 4_0
132 // Directory: /home/edgrif/acedb/databases/bA404F10_db
133 // Session: 9
134 // User: edgrif
135 // Write Access: No
136 // Global Address: 351
137 //
138 // ************************************************
139
140 // 0 Active Objects
141 acedb>
142 </pre>
143
144 <a name="non_cds_translation"></a><H3>Translation of non-CDS Sequence objects now possible.</H3>
145
146 <P>In previous versions of AceDB it was only possible to translate
147 Sequence objects that were tagged as CDS objects. Although this seems logical it is not very
148 helpful as users often wanted to do translations of other Sequence objects just to see what
149 sort of protein might be produced. This led to some database administrators tagging most
150 Sequence objects in their databases as CDS objects just so they could do protein translations
151 which is not desireable. The code has been altered so that its possible to translate
152 all Sequence objects which are positioned on a piece of dna. There should not be any need
153 now to add the CDS tag just to see a protein translation.
154
155 <P>If you have any problems with this, please send mail to
156 <A HREF="mailto:[email protected]">[email protected]</A>.
157
158
159
160
161 <!-- ******************************************************************** -->
162 <a name="Articles"></a><H2>Articles</H2>
163
164 <a name="numeric_tags"></a><H3>Non-numeric tags</H3>
165
166 <P>Naming of tags in AceDB is reasonably flexible, but a recent bug report
167 for a query that involved a tag that had a name that consisted only of numerics
168 (i.e. 0 - 9) has forced a rethink. The query in question failed because if
169 numeric tags are allowed then the query language has an inherent ambiguity because
170 it is not possible to distinguish between a tag that has a name consisting only
171 of numerics and a particular position following a tag, e.g. the code cannot
172 disambiguate the user saying <code>"find me the tag following whose name is '3'"</code>
173 from <code>"find me the 3rd value over from where we are now"</code>.
174
175 <P>It would be possible to alter the query language in some incompatible way, but
176 more desireable is simply that numeric only tag names should not be used. The code
177 has been modified to issue a warning every time it encounters a numeric only tag
178 name in a <code>wspec/models.wrm</code> file.
179
180 <P>You should note that it is likely that support will be withdrawn for tags with
181 numeric only names in the near future. It is likely that tags will be restricted to
182 the regular expression "[a-zA-Z][a-zA-Z0-9_]*", i.e. tags must begin with a lower or
183 upper case letter and must consist only of letters, numbers and the underscore
184 character.
185
186 <a name="cds_tags"></a><H3>Yet more on CDS tags</H3>
187
188 <P>Following an AceDB user group meeting this month, it was decided to tighten up
189 the use of tags for defining the position of a CDS in a Sequence object.
190 The relevant parts of the Sequence class that can be used to define the position
191 of a CDS within a sequence object are as follows:<pre>
192 ?Sequence.....
193 Structure.....
194 Source_Exons Int UNIQUE Int
195 Properties.....
196 Coding CDS UNIQUE Int UNIQUE Int // start, end in spliced DNA coords,
197 // default: 1, length_of_Source_Exons
198 End_not_found
199 Start_not_found UNIQUE Int // Gives position of start frame for protein
200 // translation when start of CDS is before first
201 // exon in this object (should be in range 1 -> 3).
202 </pre>
203
204 <P>Description of the tags:
205 <dl>
206 <dt><b>Source_Exons</b>
207 <dd>Define the transcription unit, only part of which may be the CDS.
208 <dt><b>CDS UNIQUE Int UNIQUE Int</b>
209 <dd>Defines which section of the the transcription unit is the CDS, the <b>Int</b>'s
210 specify the start/end of the CDS in spliced DNA coordinates, i.e. the start of the
211 transcription unit is "1" and the end is "(sum of all exon lengths)".
212 If the second
213 int is not specified it defaults to the end of the transcription unit, if the
214 first int is not specified it defaults to the beginning of the transcripton
215 unit.
216 <dt><b>Start_not_found UNIQUE Int</b>
217 <dd>For a CDS object this tag specifies that the CDS is incomplete
218 because there are further exon(s) upstream. In this case the reading frame for translation
219 of the CDS may incorrect, the <b>Int</b> can be used to alter the reading frame. The
220 <b>Int</b> must have the value 1, 2 or 3, it defaults to 1.
221 <dt><b>End_not_found</b>
222 <dd>For a CDS object this tag specifies that the CDS is incomplete
223 because there are further exon(s) downstream. This implies that translation of
224 the CDS may end before the end of the CDS depending on the alignment of the reading
225 frame and the end of the CDS.
226 </dl>
227
228 <P>The rules for specifying the tags are:
229 <dl>
230 <dt><b>CDS UNIQUE Int UNIQUE Int</b>
231 <dd>If the <b>Int</b>'s are not specified to lie within the extent of the spliced DNA
232 of the Source_Exons they will be ignored and the code will issue an error message
233 and the only translation allowed will be of the entire transcription unit.
234 <dt><b>Start_not_found UNIQUE Int</b>
235 <dd>If this tag is set, then the CDS tag <b>must</b> specify that the CDS starts
236 at the beginning of the transcription unit. Otherwise the code will issue an error message
237 and the only translation allowed will be of the entire transcription unit.
238 <dt><b>End_not_found</b>
239 <dd>When this tag is set the CDS tag should specify that the CDS ends at the end
240 of the transcription unit, this condition is not enforced at the moment.
241 </dl>
242
243 <P>These rules are intended to reflect the biology of translation, if you feel that this
244 system does not then please email
245 <A HREF="mailto:[email protected]">[email protected]</A>.
246
247
248
249 <!-- ******************************************************************** -->
250 <a name="Bugs_Fixed"></a><H2>Bugs Fixed</H2>
251
252 <a name="dna_cmd"></a><H3>DNA command misnamed files</H3>
253
254 <P>A bug was introduced in the <b><code>"dna"</code></b> command (part of the
255 <code>tace/giface</code> interface) which led to files being called <code>"-f"</code> if
256 the user specified the file as <code>"-f your_filename"</code>. This is now fixed,
257 the file can be specified in either of these forms:
258 <ul>
259 <li><code>"dna your_filename"</code>
260 <li><code>"dna -f your_filename"</code>
261 </ul>
262
263
264 <a name="seqfeatures"></a><H3>Asking for coordinates off the end of clone crashed giface.</H3>
265
266 <P>Using "seqfeatures" with "-coords" that are a long way off the start/end of the Sequence
267 object caused giface or sgifaceserver to crash. This bug has probably not emerged before
268 because the code coped with coordinates that were only a little off the start/end of
269 the Sequence because it adjusted the coordinates to lie within the Sequence. Coordinates
270 that were a long way off resulted in arrays of negative size being created which unsurprisingly
271 crashed the code.
272
273 <P>The bug is now fixed, the "seqfeatures" request is now terminated with an error reporting
274 that the coordinates are outside of the Sequence object.
275
276 <a name="underlining"></a><H3>Underlining of features for printing.</H3>
277
278 <P>In AceDB 4_7 it was possible to set the colour of certain features in fmap/gmap to "black"
279 so that when printed they came out as underlined which looks much better for printed copy.
280 This feature was broken in AceDB 4_8, it has now been fixed in AceDB 4_9.
281
282 <a name="static_build"></a><H3>Build of "Static" executables failed.</H3>
283
284 <P>In some circumstances where users tried building of dynamically linked and then statically
285 executables, the latter would fail in the build because the build must be done in a certain order.
286 This is now fixed and you should use the following make targets to do the builds:
287
288 <p>dynamic builds: <b>"make all"</b>
289
290 <p>static builds: <b>"make all_static"</b>
291
292 <p>The <code><b>all_static</b></code> target makes sure that the build directory is cleaned up correctly
293 before starting the build.
294
295
296 <a name="aql_crash"></a><H3>Some AQL queries could cause AceDB to crash.</H3>
297
298 <P>Malformed AQL queries of the form<pre>
299 <code>select s from sequence</code>
300 </pre>
301 instead of the fuller<pre>
302 <code>select s from s in class sequence</code>
303 </pre>
304 used to crash AceDB, this is now fixed to issue an error message instead.
305
306
307 <!-- ******************************************************************** -->
308 <H2>May monthly build now available.</H2>
309
310 <P>You can pick up the monthly builds from:
311 <dl>
312 <dt><b>Sanger users</b>
313 <dd>~acedb/RELEASE.DEVELOPMENT
314 <dt><b>External users</b>
315 <dd><A href="http://www.acedb.org/Software/Downloads/monthly.shtml">
316 http://www.acedb.org/Software/Downloads/monthly.shtml</A>
317 </dl>
318
319 <!-- ******************************************************************** -->
320 <H2>Next User Group Meeting - D319, 2.30pm, Thursday, 14th June 2001</H2>
321
322
323 <!-- ******************************************************************** -->
324 <HR>
325 <HR>
326
327 <ADDRESS><A href="mailto:[email protected]">Ed Griffiths &lt;[email protected]&gt;</A></ADDRESS>
328 <!-- hhmts start -->
329 Last modified: Thu May 31 15:01:15 BST 2001
330 <!-- hhmts end -->
331
332 </BODY>
333 </HTML>