Debian Codegraph @

winfo/Newsletters/Year2003/January.html

raw
1 <HTML>
2
3 <HEAD>
4 <TITLE>ACEDB User Group Newsletter - January 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 - January 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 <P>Set your own DNA highlighting colour in FMap, get more information from
36 EMBL dumps and more documentation when you download the acedb server package.
37 There's a new script for setting up acedb databases from scratch, a crop of
38 bug fixes and some the usual nerdy stuff for acedb developers.
39
40
41 <!-- ******************************************************************** -->
42 <P><hr width="62%" align=left>
43 <a name="New_Features"></a><H2>New Features</H2>
44
45
46 <a name="dna_colour"></a><H3>Set your DNA highlight colour</H3>
47
48 <P>The user preferences now include setting your own colour for DNA highlighting
49 in the FMap, this has always by default been a light red/pink, now you can
50 set it to any of the standard acedb colours. Select the "Admin" button on the
51 main window and from there the "Preferences" item.
52
53
54 <a name="embl_dump"></a><H3>More changes to the EMBL dumper</H3>
55
56 <P>EBML dumping now includes the following:
57 <ul>
58 <li>"product=" lines for protein/RNA, with/without species name.
59 <li>"standard=" always dumped, usually the sequence name.
60 <li>"gene=" derived from attached Locus object.
61 </ul>
62
63
64 <a name="server_download"></a><H3>Server download package now includes all server documentation.</H3>
65
66 <P>The acedb server download package (available from
67 <A HREF="http://www.acedb.org/Software/Downloads/">http://www.acedb.org/Software/Downloads/</A>)
68 now includes:
69
70 <ul>
71 <li>All server documentation from wdoc/Socket_Server (SOCKET_aceserver.html etc.).
72 <li>All server configuration files from wspec (serverconfig.wrm, serverpasswd.wrm).
73 </ul>
74
75 <P>These versions of the files will the correct and up to date versions for the server code
76 downloaded in the package.
77
78
79 <!-- ******************************************************************** -->
80 <P><hr width="62%" align=left>
81 <a name="Articles"></a><H2>Articles</H2>
82
83
84 <a name="makeacedb"></a><H3>MakeAceDB - A new script for setting up an acedb database from scratch</H3>
85
86 <P>(<I>This article is courtesy of Rob Clack</I>
87 <A HREF="mailto:[email protected]">[email protected]</A>)
88
89 <P>(<I>Thanks also to Andrew Menzies who wrote the original version of this script</I>
90 <A HREF="mailto:[email protected]">[email protected]</A>)
91
92 <P>Setting up an ace database is not particularly arduous, but there is no
93 reason not to automate it, which is what MakeAceDB does. MakeAceDB is
94 part of AceDB standard release and as such comes as part of the download
95 package available from this site. It is located in the wtools
96 subdirectory, along with all other files referred to in this document.
97
98 <P>MakeAceDB is a perl script which creates the necessary directories,
99 copies the required files into place and initialises the database. If
100 you specify the path to an ace file, then MakeAceDB will load that into
101 the new database. The run-time parameters may be given either on the
102 command line, which does tend to make for rather a long command, or in a
103 file, in which case you identify the command file with the <code>-f</code> flag.
104 Examples of how to run MakeAceDB are given in the files MADC an MADF.
105 There is also an example of a command file, MakeAceDB.com.
106
107 <P>You will need to provide the location of a set of .wrm files, but
108 individual ones can be overridden with local copies if you wish. If
109 running with command line parameters, just list the .wrm files after the
110 <code>--tace</code> option. If running with a command file, specify them with
111 <code>wrm=filename</code>. If your userid doesn't exist in the passwd.wrm file, it
112 will be added. If you don't specify a passwd.wrm file, a new one will be
113 created with just your userid in it. You can supply as many .ace files
114 as you like, and these will be loaded into the new database.
115
116 <P>MakeAceDB is written with the intention that you be able to specify
117 different userid and groupid, in which case the userid will be used in
118 the passwd.wrm file, for example.
119
120 <P>If you find bugs, please email
121 <A HREF="mailto:[email protected]">[email protected]</A>.
122
123
124 <!-- ******************************************************************** -->
125 <P><hr width="62%" align=left>
126 <a name="Bugs_Fixed"></a><H2>Bugs Fixed</H2>
127
128
129 <a name="tsuser"></a><H3>Allowable names for -tsuser option</H3>
130
131 <P>When the -tsuser command line option was introduced
132 <a href="../Year2002/July.html#tsuser_option">last July</a>
133 no restrictions were
134 enforced on the format of the name used. This led to some errors because
135 users placed characters such as "/" in the name and as this name is used
136 in constructing various file names in acedb this leads to problems because
137 files are created that have the directory separator "/" in their names.
138
139 <P>As of this release only alphanumeric characters, i.e. characters from the
140 set [a-z,A-Z,_], are allowed. Hence "my_own_NAME" is valid, but "name with blanks"
141 or "name/with/slashes" are not.
142
143
144 <a name="gmap_cursor"></a><H3>GMap cursor movement bug</H3>
145
146 <P>A bug in the GMap cursor code led to the cursor initially not moving
147 when the arrow short cut keys were used.
148 This turned out to be because the code reads a default value for cursor movement
149 from the database and if this was very small, it led to the code calculating
150 that the cursor had not moved. On using the mouse to move the cursor,
151 the cursor movement value got clamped to a minimum value, this now happens
152 when using the arrow short cut keys.
153
154
155 <a name="dotter_bug"></a><H3>Dotter and invalid sequence query bug</H3>
156
157 <P>An invalid query sequence before using Dotter caused the
158 dna sequences to be displayed overlapped, fixed now.
159
160
161
162 <!-- ******************************************************************** -->
163 <P><hr width="62%" align=left>
164 <a name="Developers_Corner"></a><H2>Developers Corner</H2>
165
166
167 <a name="array_bug"></a><H3>Old array bug</H3>
168
169 <P>Simon gets the prize for finding the oldest bug this month:
170 ArrayInsert() caused a memory overwrite when the array is
171 initially empty.
172
173
174 <a name="main_utils"></a><H3>Main routine utilities</H3>
175
176 <P>If you write any bits of code that are common to all acedb main routines then
177 put them in w3/apputils.c.
178
179
180 <a name="smapconvert"></a><H3>Smapconvert routine uses new smap call to check orientation</H3>
181
182 <P>SMapConvert now uses the new sMapIsReverse() routine to unambiguously find the
183 orientation of single base pair long features. Previously this could not be done
184 as SMap did not carry orientation information separately from coordinate information
185 and since we do not use inter-base coordinates the strand of a single base pair long
186 feature cannot be disambiguated.
187
188
189 <a name="smapconvert_allele"></a><H3>Smapconvert and the new use of the Allele subtag in the Sequence class</H3>
190
191 <P>As wormbase moves over to using SMap to map more and more of their
192 features there are some changes to the subtags of the Sequence class.
193 For instance, the Allele subtag format has changed from:
194
195 <P><pre><code> Allele ?Allele XREF Sequence UNIQUE Int UNIQUE Int UNIQUE Text
196 </code></pre>
197
198 <P>to:
199
200 <P><pre><code>SMap S_Child Allele ?Allele XREF Sequence UNIQUE Int UNIQUE Int #SMap_info
201 </code></pre>
202
203 <P>This change of format is likely to happen for other tags as well as we move away from
204 all sequence like features being part of the Sequence class and instead have them smap'd
205 from the Sequence class.
206
207 <P>This means that the code must detect this new format but still
208 support the old, the best way to do this is by examining the model for the Sequence
209 class in the current database. The SMapConvert code now examines the model so
210 that it can support the old and new models.
211
212 <P>To do this some new calls were put into the bs package (see <code>bs.h</code> and
213 <code>isOldAlleleModel()</code> function in smapconvert.c for an example)
214 to allow stepping
215 through the model without poking into the models BS structs as has been done
216 on other parts of the code (e.g. treedisp.c or nicedump.c).
217
218 <P>We have reached the stage where the strategy is to have constant subparts
219 (e.g. the SMap tags, the Homol tags) which are then embedded into different
220 classes, they can all be processed with the same code for virtual sequence building because
221 the model for the subpart tags remains constant. It makes sense therefore to have
222 code that can check that these subparts conform to the required format. The
223 <code>isOldAlleleModel()</code> function was a test to see how this worked, the next
224 stage is to write a more general function that given a string representing the
225 expected subtag model will validate it against the model for a given subtag branch
226 in a particular database.
227
228
229
230 <a name="web_aquila"></a><H3>Web/Aquila improvements</H3>
231
232 <P>Rob has been putting a lot of effort into getting the acedb web site more
233 in line with the general Sanger web site in terms of the scripts/Apache directives
234 and general standards used. This is a real improvement because it means we can
235 get more help, more easily from the Sanger web team for web site work.
236
237 <P>This has included quite a bit of altering of our basic html files
238 for build results etc. so that they will work with Sanger style Apache
239 like includes etc. He has also managed the move from directly editting
240 the "live" web site to using the internal web development site which
241 can then be copied over to the "live" web site when testing is complete.
242
243 <P>He has also put some effort into aquila and finishing off the work
244 started by John Sturdy, we should all be adding new tests to the aquila
245 system.
246
247
248 <!-- ******************************************************************** -->
249 <P><hr width="62%" align=left>
250 <a name="Monthly_Build"><H2>No monthly build now available.</H2>
251
252 <P>Sorry no build this month.
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 18:09:49 GMT 2003
261 <!-- hhmts end -->
262
263 </BODY>
264 </HTML>