Debian Codegraph @

winfo/Newsletters/Year2002/November.html

raw
1 <HTML>
2
3 <HEAD>
4 <TITLE>ACEDB User Group Newsletter - November 2002</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 <!-- Don't change this name unless you change mkindex.pl. -->
22 <a name="Top"></a>
23
24 <H1>ACEDB User Group Newsletter - November 2002</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><hr width="62%" align=left>
35 <P>This month sees the arrival of the first round of some long overdue keyboard shortcuts,
36 some more user preferences, changes to our build platforms, and bug fixes.
37
38
39 <!-- ******************************************************************** -->
40 <P><hr width="62%" align=left>
41 <a name="New_Features"></a><H2>New Features</H2>
42
43
44 <a name="keyboard_Shortcuts"></a><H3>First round of keyboard shortcuts</H3>
45
46 <P>There have always been some keyboard shortcuts in acedb, recent discussions have
47 shown that there is a pressing need for some kind of rationalisation and
48 extension of these. I have collated all the emails that I received about existing
49 and desired shortcuts, this is round one with more to come in the next few weeks.
50
51 <P>The first set of shortcuts are available from any of the main acedb windows
52 and include:
53
54 <ul>
55 <li><pre><code><b>Ctrl-S</b></code>: save the database</pre>
56 <li><pre><code><b>Ctrl-W</b></code>: close this window</pre>
57 <li><pre><code><b>Ctrl P</b></code>: print this window</pre>
58 <li><pre><code><b>Ctrl Q</b></code>: quit acedb</pre>
59 <li><pre><code><b>f1/f10</b></code>: help</pre>
60 <li><pre> <code><b>f2/f9</b></code>: print this window</pre>
61 </ul>
62
63 <P>The job of implementing the shortcuts has passed through a number of hands and
64 hopefully now its going to get done, thanks to everyone for their patience, send mail
65 direct to me, <A HREF="mailto:[email protected]">[email protected]</A> if you get
66 fed up with waiting or have suggestions/bugs etc.
67
68
69
70 <a name="splash_window"></a><H3>Splash window preference</H3>
71
72 <P>Acedb displays an initial "splash" window when it starts up which with some
73 window managers remains
74 on top of all the other windows on the screen which can be irritating. There is
75 a command line option "-nosplash" which can be used to turn off display of
76 the window. Now you can also set a preference to not display the window
77 at all, see "SPLASH_SCREEN" option in the preferences window which can
78 be reached from the "Admin" menu on the xace main window.
79
80
81
82 <!-- ******************************************************************** -->
83 <P><hr width="62%" align=left>
84 <a name="Articles"></a><H2>Articles</H2>
85
86
87 <a name="acedb_builds"></a><H3>Changes to Sanger Centre binaries</H3>
88
89 <P>As of this month we are building acedb on the latest versions of
90 OSF for the Alpha machines and Linux for the PCs:
91
92 <ul>
93 <li>OSF1 V5.1 732 alpha
94 <li>Red Hat Linux release 7.3 (Valhalla) Linux 2.4.18-10 i686
95 </ul>
96
97 <P>If you download binaries from the Sanger site then please make sure
98 that your operating system is at these levels at least otherwise the
99 binaries may not run.
100
101 <P>If you are running older systems you will need to download the source and
102 compile it yourself. Please report any problems with doing this to:
103 <A HREF="mailto:[email protected]">[email protected]</A>.
104
105
106 <!-- ******************************************************************** -->
107 <P><hr width="62%" align=left>
108 <a name="Bugs_Fixed"></a><H2>Bugs Fixed</H2>
109
110
111 <a name="preferences"></a><H3>Preference bug</H3>
112
113 <P>Worth noting is that the preference code cannot cope with spaces in the
114 preference name, so the following was a bug: "Use CDS class", now changed to
115 "Use_CDS_class".
116
117
118 <a name="smap_one_long"></a><H3>Smap and one base long features</H3>
119
120 <P>Simon has bravely fixed a bad oversight in the SMap code. The code continued to
121 use the time honoured acedb way of detecting strand by looking for "start < end" meaning
122 "forward strand" and vice versa. This all fails horribly when the feature being mapped
123 is just one base long. To compound matters SMap itself does produce one base long
124 mappings when getting the dna where overlaps are only a base long and then gets the strand
125 wrong and complements the dna thinking it is on the reverse strand.
126 This is now fixed, SMap keeps strand information separately from the coordinates.
127
128 <P>To indicate a one base long feature on the reverse strand
129 you need to put the following in the <b>parent</b>
130 of the feature (assuming the feature is at position 100 in the parent):
131
132 <pre><code>S_Child <tag2> <key> XREF <ctag2> 100 100 Align 100 1 -1
133 </code></pre>
134
135 <P>The final coordinate can be "1" or just omitted to indicate a one base feature on the forward
136 strand.
137
138
139 <a name="blixem_fixes"></a><H3>Some blixem fixes</H3>
140
141 <P>Blixem used to crash if the pfetch server could not be contacted, this is
142 now just a warning, otherwise this crashes xace when blixem is run as part of the xace
143 program.
144
145 <P>The private colourmap installation is now done earlier so warnings are displayed in
146 a dialogue box rather than just in terminal window.
147
148 <P>The blxparser code had a bug for SEQBL DNA sequence, used a fixed buffer that overflowed.
149
150
151 <a name="acedb.wrm"></a><H3>ACEDB.wrm should not be writeable</H3>
152
153 <P>Sadly a bug was introduced into the code a couple of years ago and recently reported by
154 a user. model.c erroneously checked to see if database/ACEDB.wrm was
155 writeable as a test to see if current user should be allowed reread the
156 models file. This is a bad idea, users like to make ACEDB.wrm read only to
157 prevent accidental reinitialisation of database.
158 There was already an internal routine in session.c which tests for the admin
159 user and does not require this incorrect predicate, I have added an external function
160 to session.c to make this visible to other bits of acedb code so that the check is
161 correct now.
162
163 <P>Users should keep database/ACEDB.wrm as a read only file to prevent accidental
164 erasing of this file followed by possibly catastrophic accidental reinitialisation
165 of the database.
166
167
168
169 <a name="minor_arithmetic"></a><H3>Minor bug in query language arithmetic</H3>
170
171 <P>A small fix to the arithmetic parsing introduced last monht: parsing of
172 <code>"[- 4 -- 3]"</code> is now correct.
173
174
175 <!-- ******************************************************************** -->
176 <P><hr width="62%" align=left>
177 <a name="Developers_Corner"></a><H2>Developers Corner</H2>
178
179 <P>If you wish to make comments/suggestions about any of the below, please mail them
180 to <A HREF="mailto:[email protected]">[email protected]</A>
181
182
183 <a name="dev_shortcuts"></a><H3>Code changes for shortcuts</H3>
184
185 <P>I've made a number of changes to the code to implement short cuts in a
186 way that I hope keeps knowledge of shortcuts in the right places without
187 introducing too much arcaneness into the code:
188
189 <ul>
190 <li>add struct to hold global graph data, pointed to from Graph_ struct.
191
192 <li>Add global keyboard shortcuts to acedb.
193 <ul>
194 <li>Add static global ptr which points to graph global data.
195 <li>Add function to register application callbacks for global application
196 actions, e.g. Cntl-S from anywhere.
197 <li>Add functions that graphdev layer will call when appropriate keys
198 are called.
199 <li>Add code to graphCBKeyboard to handle new key callbacks.
200 </ul>
201 <li>Add global keyboard shortcuts to acedb.
202 <ul>
203 <li>add call to register Quit and Save routines from mainpick as global
204 routines for whole of acedb.
205 </ul>
206 </ul>
207
208 <P>Phew...the next round of shortcuts for FMap should be easier.
209
210
211 <a name="prefs_init"></a><H3>Change to the way the prefs package is initialised.</H3>
212
213 <P>Preferences initialisation now happens before the database is initialised.
214 This means that the user can set preferences for things
215 that happen before database initialisation such as the splash screen and
216 the message window.
217
218 <P>In detail: <code>prefInit()</code> now only reads <code><b>$HOME/.acedbrc</b></code>,
219 a separate call, <code>prefReadDBPrefs()</code>,
220 reads wspec/acebrc if it exists.
221
222
223
224 <a name="aquila_changes"></a><H3>Aquila changes</H3>
225
226 <P>Documentation of aquila output files and error reporting have both been
227 improved. The huge, monolithic aquila test script file has been split into separate,
228 individual test files.
229
230 <P>aquila -u param: send email to user if aquila fails.
231
232 <P>Only highlight real and cpu times if >10% different.
233
234 <P>Aquila version appears at the top of results files.
235
236
237 <!-- ******************************************************************** -->
238 <P><hr width="62%" align=left>
239 <a name="Monthly_Build"><H2>November monthly build now available.</H2>
240
241 <P>You can pick up the monthly builds from:
242 <dl>
243 <dt><b>Sanger users</b>
244 <dd>~acedb/RELEASE.DEVELOPMENT
245 <dt><b>External users</b>
246 <dd><A href="http://www.acedb.org/Software/Downloads/monthly.shtml">
247 http://www.acedb.org/Software/Downloads/monthly.shtml</A>
248 </dl>
249
250 <!-- ******************************************************************** -->
251 <P><hr width="62%" align=left>
252 <a name="User_Group"><H2>Next User Group Meeting - D319, 2.30pm, Thursday, 14th November 2002</H2>
253
254 <!-- ******************************************************************** -->
255 <HR>
256 <HR>
257
258 <ADDRESS><A href="mailto:[email protected]">Ed Griffiths &lt;[email protected]&gt;</A></ADDRESS>
259 <!-- hhmts start -->
260 Last modified: Fri Feb 28 11:30:06 GMT 2003
261 <!-- hhmts end -->
262
263 </BODY>
264 </HTML>