| 1 |
<HTML> |
| 2 |
|
| 3 |
<HEAD> |
| 4 |
<TITLE>ACEDB User Group Newsletter - February 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 - February 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>Some enhancements to existing commands and some completely new features |
| 36 |
such as DAS support and a the prototype of a new FMap like display which will |
| 37 |
form the basis of a client/server version of FMap. |
| 38 |
|
| 39 |
|
| 40 |
|
| 41 |
<!-- ******************************************************************** --> |
| 42 |
<P><hr width="62%" align=left> |
| 43 |
<a name="New_Features"></a><H2>New Features</H2> |
| 44 |
|
| 45 |
<a name="message_window"></a><H3>Message window changes in xace and the stand-alone blixem</H3> |
| 46 |
|
| 47 |
<P>If you are used to using the "Message window" which contains a scrolled list of |
| 48 |
information messages from acedb then you will see that the menu for this window |
| 49 |
contains a new "Close" button. This allows you to "Close" the message window to |
| 50 |
get rid of it from the screen temporarily but it will reappear next time there |
| 51 |
is a message. If you select the "Quit" button then the message window will be |
| 52 |
closed permanently and acedb will switch back to using individual popup windows |
| 53 |
for each message. |
| 54 |
|
| 55 |
<P>This change has been made so that the message window can be used in the same |
| 56 |
way from both xace and the stand-alone blixem program. If you use blixem as a |
| 57 |
separate/stand-alone program, rather than as part of |
| 58 |
xace, then you may have been irritated to find that you could not use the scrolled |
| 59 |
message window, now you can. When the first individual popup window comes up then select |
| 60 |
the "Switch to Scrolled Message Window" button, all future messages will appear in the |
| 61 |
single message window. If you want to swop back to the individual popup window, then |
| 62 |
select "Quit" from the scrolled message window menu. |
| 63 |
|
| 64 |
|
| 65 |
|
| 66 |
<a name="time_stamps"></a><H3>"Time_Stamps" command now prints out current time stamp status</H3> |
| 67 |
|
| 68 |
<P>A small enhancement to the <code>Time_Stamps</code> command |
| 69 |
(available in tace, giface or the server) means |
| 70 |
that you can now use the command without options to check what the current status of |
| 71 |
time stamp setting for the database: |
| 72 |
|
| 73 |
<P><pre><code>acedb> ? time |
| 74 |
// ACEDB command: time |
| 75 |
Time_Stamps {on | off} : Show current setting or toggle time stamps creation |
| 76 |
// 0 Active Objects |
| 77 |
acedb> time_stamps |
| 78 |
// Time-stamps currently ON |
| 79 |
// 0 Active Objects |
| 80 |
acedb> time_stamps off |
| 81 |
// Time-stamps now OFF |
| 82 |
// 0 Active Objects |
| 83 |
acedb> time_stamps |
| 84 |
// Time-stamps currently OFF |
| 85 |
// 0 Active Objects |
| 86 |
acedb> |
| 87 |
</code></pre> |
| 88 |
|
| 89 |
|
| 90 |
<a name="das_dumping"></a><H3>DAS dumping from acedb</H3> |
| 91 |
|
| 92 |
<P>(<I>Note that this is work still under development.</I> |
| 93 |
|
| 94 |
<P>Acedb now supports some of the DAS 1.0 protocol and is able to dump |
| 95 |
both DASDNA and DASGFF format. |
| 96 |
|
| 97 |
<P>New "dasdna" and "dasgff" commands can be found in the "gif" submenu |
| 98 |
in giface or the giface version of the server. You could issue the following |
| 99 |
commands to get dna and gff in DAS format: |
| 100 |
|
| 101 |
<P><pre><code>acedb> gif seqget myclone ; dasdna -file my.das |
| 102 |
|
| 103 |
|
| 104 |
acedb> gif seqget myclone ; dasgff -file my.das |
| 105 |
</code></pre> |
| 106 |
|
| 107 |
<P>More DAS support will be added soon and in particular support will be provided for |
| 108 |
the DAS 2.0 protocol when it comes out. |
| 109 |
|
| 110 |
|
| 111 |
<a name="status_cmd"></a><H3>Status command now reports last database save date</H3> |
| 112 |
|
| 113 |
<P>You can now use the "status" command in any acedb program to |
| 114 |
find out when the database was last saved. The "database" section of the |
| 115 |
status output now gives this date in the "Last Save" field: |
| 116 |
|
| 117 |
<P><pre><code>acedb> status -database |
| 118 |
// ************************************************ |
| 119 |
// AceDB status at 2003-03-06_16:20:59 |
| 120 |
// |
| 121 |
// - Database |
| 122 |
// Title: You complete Wally |
| 123 |
// Name: <undefined> |
| 124 |
// Release: 4_0 |
| 125 |
// Directory: /nfs/team71/acedb/edgrif/acedb/databases/bA404F10 |
| 126 |
// Session: 19 |
| 127 |
// User: edgrif |
| 128 |
// Last Save: 2002-06-12_14:32:07 <<<<<<<< last database save |
| 129 |
// Write Access: No |
| 130 |
// Global Address: 1890 |
| 131 |
// |
| 132 |
// ************************************************ |
| 133 |
|
| 134 |
// 0 Active Objects |
| 135 |
acedb> |
| 136 |
</code></pre> |
| 137 |
|
| 138 |
|
| 139 |
<a name="HP_itanium"></a><H3>AceDB on the HP Itanium</H3> |
| 140 |
|
| 141 |
<P>If you build your own AceDB programs from the source code then |
| 142 |
you can now build on the HP Itanium based machines by setting |
| 143 |
<code>ACEDB_MACHINE</code> to "<code>HP_4_GCC</code>". Please send |
| 144 |
any problems/updates to the make files to |
| 145 |
<A HREF="mailto:[email protected]">[email protected]</A>. |
| 146 |
|
| 147 |
|
| 148 |
|
| 149 |
<!-- ******************************************************************** --> |
| 150 |
<P><hr width="62%" align=left> |
| 151 |
<a name="Bugs_Fixed"></a><H2>Bugs Fixed</H2> |
| 152 |
|
| 153 |
|
| 154 |
<a name="temp_gene"></a><H3>Temp Gene on reverse strand off by 2</H3> |
| 155 |
|
| 156 |
<P>If you use the Gene Finder package from within FMap, there was a horrible |
| 157 |
bug that led to just the first temporary gene made on the reverse strand |
| 158 |
being off by 2 in position. This is now fixed, as a side effect the initial |
| 159 |
double recaculation that acedb was doing the first time an FMap was shown has |
| 160 |
also been fixed. |
| 161 |
|
| 162 |
|
| 163 |
<a name="huge_worm_blocks"></a><H3>Huge block files</H3> |
| 164 |
|
| 165 |
<P>(<I>This article is courtesy of Jean Thierry-Mieg</I> |
| 166 |
<A HREF="mailto:[email protected]">[email protected]</A>) |
| 167 |
|
| 168 |
<P>Jean fixed a very old problem that sometimes meant blocks were created |
| 169 |
that were well over the limit given |
| 170 |
in database.wrm. There is now a hard limit of 1.8 Gb otherwise the database |
| 171 |
can end up with blocks that are too big to be read for |
| 172 |
32-bit machines which have a hard limit at 2Gb for |
| 173 |
any disk file. |
| 174 |
|
| 175 |
|
| 176 |
<a name="smap_dna"></a><H3>Bug in sMapDNA</H3> |
| 177 |
|
| 178 |
<P>Fixed bug in sMapDNA(), the function truncates the dna array at wherever |
| 179 |
it gets up to in inserting the dna found in the database, this is |
| 180 |
incorrect. The function should reset arrayMax for the dna array |
| 181 |
to be the maximum size of the array otherwise this causes all sorts |
| 182 |
of problems not only in FMap but also in the interface presented by the dna |
| 183 |
exporting functions in tace and giface which end up outputting dna arrays |
| 184 |
that are clipped in length. |
| 185 |
|
| 186 |
|
| 187 |
|
| 188 |
<!-- ******************************************************************** --> |
| 189 |
<P><hr width="62%" align=left> |
| 190 |
<a name="Future_Plans"></a><H2>Future Plans</H2> |
| 191 |
|
| 192 |
<a name="zmap"></a><H3>Client/server version of FMap</H3> |
| 193 |
|
| 194 |
<P>Simon Kelley has been working hard on the graphical part of the new proposed |
| 195 |
client/server version of FMap. So far the code can display crude sequences |
| 196 |
and allows multiple windows onto the same sequence and has much improved navigation. |
| 197 |
The column mechanism will remain much the same except that the special code that |
| 198 |
displayed alleles and other features will gradually be migrated to use methods. |
| 199 |
|
| 200 |
<P>Ask <A HREF="mailto:[email protected]">Simon</A> |
| 201 |
if you want an early view of what the new FMap will look like. |
| 202 |
|
| 203 |
|
| 204 |
|
| 205 |
|
| 206 |
|
| 207 |
<!-- ******************************************************************** --> |
| 208 |
<P><hr width="62%" align=left> |
| 209 |
<a name="Developers_Corner"></a><H2>Developers Corner</H2> |
| 210 |
|
| 211 |
<P>If you wish to make comments/suggestions about any of the below, please mail them |
| 212 |
to <A HREF="mailto:[email protected]">[email protected]</A> |
| 213 |
|
| 214 |
|
| 215 |
<a name="use_glib"></a><H3>Glib usage</H3> |
| 216 |
|
| 217 |
<P>Now that we make link in Glib it makes sense to use its many good functions, |
| 218 |
I recently made use of the string functions that provide dynamically growing |
| 219 |
and appendable strings for DAS-GFF dumping code. |
| 220 |
|
| 221 |
<P>Glib also provides very portable functions for getting hold of the program |
| 222 |
name, the strings corresponding to signal values and much else. |
| 223 |
|
| 224 |
<P>It's worth taking a look at what's available on the |
| 225 |
<A HREF="http://developer.gnome.org/doc/API/glib/index.html">Glib pages</A>. |
| 226 |
|
| 227 |
|
| 228 |
<a name="GFF_dumps"></a><H3>Change to GFF dumping code in acedb</H3> |
| 229 |
|
| 230 |
<P>To support both standard GFF and DASGFF output the dumping code in fmapcontrol.c |
| 231 |
has been rearranged. |
| 232 |
The main "<code>SEG -> GFF</code>" code still remains in just one routine, |
| 233 |
but both the standard GFF and the DASGFF |
| 234 |
dumping routines register callbacks with this main routine. The main routine then |
| 235 |
calls the callbacks to output each GFF feature in the style of their respective formats. |
| 236 |
|
| 237 |
<P>The rationale for adding DAS support is to allow us to test the new FMap client |
| 238 |
using DAS format as soon as possible. Lincoln Stein has kindly offered to write |
| 239 |
some bridge code to translate DAS requests into corresponding acedb commands |
| 240 |
allowing acedb to act as a DAS server. |
| 241 |
|
| 242 |
|
| 243 |
|
| 244 |
<!-- ******************************************************************** --> |
| 245 |
<P><hr width="62%" align=left> |
| 246 |
<a name="Monthly_Build"><H2>February monthly build now available.</H2> |
| 247 |
|
| 248 |
<P>You can pick up the monthly builds from: |
| 249 |
<dl> |
| 250 |
<dt><b>Sanger users</b> |
| 251 |
<dd>~acedb/RELEASE.DEVELOPMENT |
| 252 |
<dt><b>External users</b> |
| 253 |
<dd><A href="http://www.acedb.org/Software/Downloads/monthly.shtml"> |
| 254 |
http://www.acedb.org/Software/Downloads/monthly.shtml</A> |
| 255 |
</dl> |
| 256 |
|
| 257 |
<!-- ******************************************************************** --> |
| 258 |
<P><hr width="62%" align=left> |
| 259 |
<a name="User_Group"><H2>Next User Group Meeting - D319, 3.00pm, Thursday, 13th March, 2003</H2> |
| 260 |
|
| 261 |
<!-- ******************************************************************** --> |
| 262 |
<HR> |
| 263 |
<HR> |
| 264 |
|
| 265 |
<ADDRESS><A href="mailto:[email protected]">Ed Griffiths <[email protected]></A></ADDRESS> |
| 266 |
<!-- hhmts start --> |
| 267 |
Last modified: Thu Mar 6 17:39:38 GMT 2003 |
| 268 |
<!-- hhmts end --> |
| 269 |
|
| 270 |
</BODY> |
| 271 |
</HTML> |