Debian Codegraph @

winfo/Newsletters/Year2003/October.html

raw
1 <HTML>
2
3 <HEAD>
4 <TITLE>ACEDB User Group Newsletter - October 2003</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 - October 2003</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
36 <P>After a bit of a shake down caused by the departure of Simon Kelley from the
37 Acedb team we've decided that we will continue to send out a monthly newsletter
38 and do a monthly build. Although we have cut down enormously on how much we
39 are working on acedb, its still enough to warrant continuing with the builds
40 and newsletters.
41
42
43
44 <!-- ******************************************************************** -->
45 <P><hr width="62%" align=left>
46 <a name="General_News"></a><H2>General News</H2>
47
48 <P>This newsletter sees the last contributions to acedb from Simon Kelley and
49 describes a number of changes to support the increasing use of different classes
50 to make virtual sequences for display/annotation via FMap or dumping as GFF.
51 We are moving on to GTK version 2 at long last. And there are a number of bug fixes.
52
53
54 <!-- ******************************************************************** -->
55 <P><hr width="62%" align=left>
56 <a name="New_Features"></a><H2>New Features</H2>
57
58
59 <a name="superclass"></a><H3>Composite classes: the opposite of Subclasses</H3>
60
61 <P>As a parting shot Simon Kelley implemented a mechanism for allowing you
62 to create collections of database classes that can be queried as a unit.
63 You could for example clump all your Smap'd classes into a single composite
64 class to make running queries easier. Here's a brief description of how you
65 do this courtesy of Simon:
66
67 <P>"Composite classes" behave in the Query language and the Acedb Main
68 window like a superclass of their members.
69
70 <P>They are called "Composite classes" because we already have a concept
71 of superclasses which are the inverse of subclasses.
72
73 <P>To make a Composite class:
74
75 <P>You need to add the class to subclasses.wrm (I know, I know, it's like using the
76 "Start" menu to shut down the computer.) There is a new tag in Class class
77 called "Composite_of", so to make a Composite class called "Interesting"
78 which is all Sequences and Loci add the following to subclasses.wrm
79
80 <pre><code>Class Interesting
81 Visible
82 Composite_of Sequence
83 Composite_of Locus
84 </code></pre>
85
86 <P>The new class behaves like a protected class (you can't create objects
87 of that class) but you can query it and select it in the main window.
88
89 <P>Unfortunately there will be no AQL support for the foreable future.
90
91
92
93 <a name="temp_genes"></a><H3>Gene Finder changes: Making Temp Genes</H3>
94
95 <P>If you don't use the Gene finder facility built into FMap then there's
96 probably not much point in reading this.
97
98 <P>The introduction of the SMap tags into acedb has meant that it is now possible
99 to construct virtual sequences for display by FMap not just from Sequence
100 class objects, but from any classes the user has embedded the SMap tags in.
101 This has meant changes to Acedb in a number of places to generalise the
102 code to handle any number of classes.
103
104 <P>The Gene finder facility allows the user to create new "gene" objects to
105 match the exons/splice site information produced by the Gene Finder code.
106 Previously these objects could only be Sequence class objects, now they
107 could be any one of a number of classes. The "Selected -> temp_gene" menu
108 item now gives a submenu allowing the user to select the class of the
109 temp_gene to be created. To be included in the submenu a class must contain
110 the <b>S_Parent</b> and <b>Source_Exons</b> tags, i.e. the class must be
111 mappable and able to represent exons in the usual acedb style.
112
113 <P>The code that fixes and removes temporary genes
114 has also been altered to cope with
115 temp_gene_N objects of different classes.
116
117 <P>An earlier attempt to allow different class objects to be created relied
118 on the user setting a USE_CDS_CLASS preference, this is now redundant and
119 has been removed from the preferences list.
120
121
122 <!-- ******************************************************************** -->
123 <P><hr width="62%" align=left>
124 <a name="Articles"></a><H2>Articles</H2>
125
126 <a name="GTK2"></a><H3>GTK 2: moving on with the times</H3>
127
128 <P>GTK has been our underlying widget set (i.e. the library that provides sliders,
129 buttons etc.) for some years now. Up until recently acedb was only compiled with
130 GTK version 1 which is now substantially out of date.
131
132 <P>Accordingly we have put some effort (thanks to Simon for getting this all going)
133 into getting acedb to compile with GTK version 2. The newer version has many bug
134 fixes and improvements but has required a number of code and build changes.
135
136 <P>The build changes are encapsulated in scripts in w3rdparty/ and the usual
137 wmake/XXXX_DEF files. For now the relevant wmake/XXXX_DEF files contain
138 "GTK2" as part of their file name, e.g. LINUX_GTK2_4_DEF. We have provided
139 DEF files for Linux and Alpha builds.
140
141
142 <a name="fmap_smap"></a><H3>FMap changes</H3>
143
144 <P>As users incorporate new classes into their sequence data to replace
145 the old monolithic Sequence class based data there have had to be a number
146 of changes to the FMap. Its likely that these changes will continue for
147 some time to come. Latest changes include:
148
149 <ul>
150 <li>When you double click on any box in the FMap window that is derived from
151 an SMap'd object, that object will be shown in the Tree display.
152 <li>The blue information line at the top of the Fmap now shows both the class
153 and object name for a box in the format "Class:name", e.g. "Sequence:B0250".
154 This is necessary now that boxes can be derived from objects of many different
155 classes.
156 </ul>
157
158
159
160
161
162
163 <!-- ******************************************************************** -->
164 <P><hr width="62%" align=left>
165 <a name="Bugs_Fixed"></a><H2>Bugs Fixed</H2>
166
167
168 <a name="dotter"></a><H3>Small Dotter change</H3>
169
170 <P>In response to a frequent user request, fullscreen crosshairs are now the default.
171
172
173 <a name="find_tree"></a><H3>Find bug in Tree display</H3>
174
175 <P>Fixed bug whereby a failed Find didn't give an error message.
176
177
178
179 <a name="fmap_bugs"></a><H3>FMap bugs</H3>
180
181 <P>Fixed horrible bug in fmap window title, same old dangling text pointer issues.
182 This bug caused window title to sometimes be garbage because pointer that name(key)
183 returned was no longer pointing to the name of the key.
184
185 <P>Yet more horrid text pointer stuff, we were passing blixem the pointer
186 returned by name(key), the blixem code then truncated this text directly
187 because it didn't take a copy of the text, this changed the text in the
188 lex thus actually changing the name of the object in the database !
189 This didn't show up before because most object names were sufficiently short
190 that blixem did not truncate them for display, the Otter/lace system at
191 Sanger creates long object names automatically for its assemblies and this
192 revealed the bug.
193
194
195 <a name="socket_bug"></a><H3>Server bug</H3>
196
197 <P>Fixed bug in socket layer: I misunderstood how much shutdown() does for you,
198 I thought it closed the file as well as stopping the TCP connection. This
199 turns out not to be true, you need to explicitly close the connection after
200 the shutdown. I think this is fixed but the command that lets you monitor
201 how many files a process has open is su root so I can't check this..sigh.
202
203
204
205 <!-- ******************************************************************** -->
206 <P><hr width="62%" align=left>
207 <a name="Developers_Corner"></a><H2>Developers Corner</H2>
208
209
210 <a name="composite_function"></a><H3>New Pick function for Composite classes</H3>
211
212 <P>Simon Kelley says:
213
214 <P>For programming, I've added one function
215
216 <P><code>BOOL pickBelongsToComposite(KEY classe, KEY key)
217 </code>
218
219 <P>classe can either be a small integer from pickWord2Class or a Key in
220 Class class. The function returns TRUE of key is in classe. It's legal
221 to call it with either composite or ordinary classes.
222
223
224
225
226 <a name="smapconvert_works"></a><H3>Various sMapConvert() bits</H3>
227
228 <P>The introduction of multiple classes has required a number of changes
229 to the smap code, this is a sample of the type of work that's had to
230 be done:
231
232 <ul>
233 <li>Exon code needs to make an artificial "parent" seg for non-sequence class
234 exons/introns otherwise bumping algorithm doesn't work. This feels like a hack.
235 <li>Fixed confirmed introns code which did not deal with when smap call failed
236 in the right way, looks like a v. old bug to me.
237 <li>Fix convertAllele() so that it gets the Method correctly for non-sequence
238 class alleles.
239 <li>Change main convert loop to remove code that makes sequence segs to a
240 subroutine, otherwise processing is v. complex for classes other than
241 a sequence.
242 <li>Add data to conv_info for smapped position of current obj, needs to be
243 passed to convert routines for classes other than sequence.
244 </ul>
245
246
247 <a name="aquila"></a><H3>Aquila</H3>
248
249 <P>These changes are courtesy of Rob Clack.
250
251 <P>Added better support to Aquila for which executable is run, e.g. tace, giface etc.
252
253 <P>Aquila requires the Mail package and now warns if its not available.
254
255 <P>gff tests added, very important now many different classes are being
256 SMap'd and then dumped.
257
258
259 <!-- ******************************************************************** -->
260 <P><hr width="62%" align=left>
261 <a name="Monthly_Build"><H2>October monthly build now available.</H2>
262
263 <P>You can pick up the monthly builds from:
264 <dl>
265 <dt><b>Sanger users</b>
266 <dd>~acedb/RELEASE.DEVELOPMENT
267 <dt><b>External users</b>
268 <dd><A href="http://www.acedb.org/Software/Downloads/monthly.shtml">
269 http://www.acedb.org/Software/Downloads/monthly.shtml</A>
270 </dl>
271
272 <!-- ******************************************************************** -->
273 <HR>
274 <HR>
275
276 <ADDRESS><A href="mailto:[email protected]">Ed Griffiths &lt;[email protected]&gt;</A></ADDRESS>
277 <!-- hhmts start -->
278 Last modified: Tue Dec 23 11:42:45 GMT 2003
279 <!-- hhmts end -->
280
281 </BODY>
282 </HTML>