| 1 |
<HTML> |
| 2 |
|
| 3 |
<HEAD> |
| 4 |
<TITLE>ACEDB User Group Newsletter - October 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 - October 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 |
|
| 36 |
<P>This month sees some improvements to the "gif smap" commands, to column |
| 37 |
overlap control in FMap and to EMBL dumping. There are some performance |
| 38 |
improvements to the socket server and some improvements to SMap, a bug fix |
| 39 |
and for developers some improvements to the ACEIO package. |
| 40 |
|
| 41 |
|
| 42 |
<!-- ******************************************************************** --> |
| 43 |
<P><hr width="62%" align=left> |
| 44 |
<a name="New_Features"></a><H2>New Features</H2> |
| 45 |
|
| 46 |
|
| 47 |
<a name="gif_smap"></a><H3>Improvements to "gif smap" command</H3> |
| 48 |
|
| 49 |
<P>The "<code>smap</code>" command available from the the "<code>gif</code>" submenu allows you to map the |
| 50 |
coordinates from one sequence into the coordinate frame of another related sequence. |
| 51 |
The format of the command is: |
| 52 |
|
| 53 |
<pre><code>smap -coords x1 x2 -from class:object -to class:object |
| 54 |
</code></pre> |
| 55 |
|
| 56 |
<P>If you do not specify the <code><b>-to</b></code> argument it now defaults |
| 57 |
to the root of the smap tree containing the -from sequence. |
| 58 |
|
| 59 |
<P>If you do not specify the <code><b>-coords</b></code> argument it now defaults |
| 60 |
to the start and stop coordinates of the -from sequence. |
| 61 |
|
| 62 |
|
| 63 |
<a name="col_overlap"></a><H3>Improvements to column overlap mode in xace</H3> |
| 64 |
|
| 65 |
<P>The different columns in the fmap correspond to the different Method objects |
| 66 |
in the database, on the forward strand they are given the name of the Method |
| 67 |
object, on the reverse strand the name is prepended with a "-". Some of the |
| 68 |
Method object data is shared for both columns, some is column specific. Up until |
| 69 |
now the overlap mode was shared which meant that if you selected "bump" it would |
| 70 |
be applied to both forward and reverse strands which could be very irritating as |
| 71 |
the whole display would be shifted by a large amount to the right. Now overlap |
| 72 |
mode can be set independently for the forward and reverse strands. The mode is |
| 73 |
specific to the strand so that if you select "overlap" for the reverse strand, |
| 74 |
then it will remain as overlap when you for instance reverse complement the display. |
| 75 |
|
| 76 |
|
| 77 |
<a name="embl_dump_logic"></a><H3>Changes to the EMBL dumping code within AceDB</H3> |
| 78 |
|
| 79 |
<P>(<I>This article is courtesy of Dan Lawson</I> |
| 80 |
<A HREF="mailto:[email protected]">[email protected]</A>) |
| 81 |
|
| 82 |
|
| 83 |
<P>AceDB has the ability to dump a genome sequence in |
| 84 |
EMBL format. One facet of this code is the addition |
| 85 |
of /note qualifies for matching EST/mRNA transcript |
| 86 |
evidence to a CDS feature. AceDB 4.7 checked whether |
| 87 |
each of the cross-reference EST objects had a |
| 88 |
Database line with an EMBL accession and would output |
| 89 |
one of the following: |
| 90 |
|
| 91 |
<P><pre> if the EST has an EMBL accession stored. |
| 92 |
|
| 93 |
/note="cDNA EST EMBL:D72339 comes from this gene" |
| 94 |
|
| 95 |
else the object name is returned. |
| 96 |
|
| 97 |
/note="cDNA EST yk97e6.3 comes from this gene" |
| 98 |
</pre> |
| 99 |
|
| 100 |
<P>AceDB 4.9 no longer performs this check and will always |
| 101 |
return a note line which use the AceDB object name. |
| 102 |
|
| 103 |
<P><pre>e.g. /note="cDNA EST yk97e6.3 comes from this gene" |
| 104 |
</pre> |
| 105 |
|
| 106 |
<P>This ensures that a curator has control over the |
| 107 |
transcript name in the EMBL file such that consistency |
| 108 |
is maintained within the AceDB namespace rather than |
| 109 |
the EMBL namespace. |
| 110 |
|
| 111 |
|
| 112 |
|
| 113 |
<!-- ******************************************************************** --> |
| 114 |
<P><hr width="62%" align=left> |
| 115 |
<a name="Articles"></a><H2>Articles</H2> |
| 116 |
|
| 117 |
|
| 118 |
|
| 119 |
<a name="socket_server"></a><H3>Socket server performance improvements</H3> |
| 120 |
|
| 121 |
<P>A while ago a request was received to add time stamps to each log file |
| 122 |
message written by the server which seems reasonable. Unfortunately this |
| 123 |
turned out to be a very bad idea performance-wise since the operation |
| 124 |
of finding the current time is always very expensive. This simple change |
| 125 |
had a major impact on server performance, especially where a client issued |
| 126 |
a whole series of AceDB commands, each one requiring a time stamp ! |
| 127 |
|
| 128 |
<P>Having a timestamp for every log message is now optional, the default |
| 129 |
is to have them only for session start/end messages. In the future an option |
| 130 |
will be added to allow the server administrator to specify a timestamp |
| 131 |
per every NN messages. |
| 132 |
|
| 133 |
<P>Socket server performance is now significantly better than the RPC based |
| 134 |
AceDB 4_7 server. |
| 135 |
|
| 136 |
|
| 137 |
|
| 138 |
<a name="smap_design"></a><H3>A Change to smap design</H3> |
| 139 |
|
| 140 |
<P>There was a design problem with sMap: it could not encode strand infomation for |
| 141 |
single-base mappings. |
| 142 |
|
| 143 |
<P>In addition there was an implementation problem where a mapping with a |
| 144 |
single-base DNA block as a result of the uncertain strand mapping would sometimes be |
| 145 |
complemented incorrectly. |
| 146 |
|
| 147 |
<P>The following changes have been made to SMap: |
| 148 |
|
| 149 |
<ul> |
| 150 |
<li>Allow a single-base mapping on the reverse strand to be represented |
| 151 |
in the database like this: |
| 152 |
|
| 153 |
<P>S_Child tag2 100 100 Align 100 1 -1 |
| 154 |
<P> |
| 155 |
|
| 156 |
<li>Track strands though the sMap data structures. |
| 157 |
|
| 158 |
<li>Provide a new call: sMapIsReverse(info, x1, x2) |
| 159 |
|
| 160 |
<P>This takes the same arguments as sMapMap and disambiguates the case |
| 161 |
were the output from sMapMap has <code><b>y1==y2</b></code>. In the cases where the result |
| 162 |
of calling sMapMap is <code><b>y1!=y2</b></code> this function just returns TRUE when |
| 163 |
<code><b>y1>y2</b></code> and FALSE otherwise. |
| 164 |
<P> |
| 165 |
</ul> |
| 166 |
|
| 167 |
<P>These changes fix the one-base mapping and DNA complementing problems. |
| 168 |
|
| 169 |
|
| 170 |
|
| 171 |
<!-- ******************************************************************** --> |
| 172 |
<P><hr width="62%" align=left> |
| 173 |
<a name="Bugs_Fixed"></a><H2>Bugs Fixed</H2> |
| 174 |
|
| 175 |
<a name="xremote_bug"></a><H3>Fix xremote problems with driving FMap</H3> |
| 176 |
|
| 177 |
<P>Fixed bug in code to support xremote calls to fmap routines, the |
| 178 |
current fmap graph in the display system was not reset correctly |
| 179 |
after destroying an fmap which is to be replaced by a new one. |
| 180 |
|
| 181 |
|
| 182 |
|
| 183 |
<!-- ******************************************************************** --> |
| 184 |
<P><hr width="62%" align=left> |
| 185 |
<a name="Developers_Corner"></a><H2>Developers Corner</H2> |
| 186 |
|
| 187 |
<P>If you wish to make comments/suggestions about any of the below, please mail them |
| 188 |
to <A HREF="mailto:[email protected]">[email protected]</A> |
| 189 |
|
| 190 |
|
| 191 |
|
| 192 |
<a name="acein_out"></a><H3>Improvements to AceIn/AceOut package</H3> |
| 193 |
|
| 194 |
<P>The AceIn/Out packages could be expensive to use in the case where |
| 195 |
the caller wanted to replace the text in an existing AceIn/Out object, |
| 196 |
to do this required destroying the existing object and recreating a new |
| 197 |
one with the new text. This was expensive for instance in the server |
| 198 |
where new commands are constantly read in and new replies sent out. |
| 199 |
|
| 200 |
<P>Two new calls have been added which allow replacement of existing text |
| 201 |
with new text in an existing AceIn or AceOut |
| 202 |
object. The calls are: |
| 203 |
|
| 204 |
<pre><code>void aceInSetNewText(ACEIN fi, char *text, char *params) ; |
| 205 |
|
| 206 |
void aceOutSetNewStack(ACEOUT fo, Stack s) ; |
| 207 |
</code></pre> |
| 208 |
|
| 209 |
|
| 210 |
|
| 211 |
|
| 212 |
<!-- ******************************************************************** --> |
| 213 |
<P><hr width="62%" align=left> |
| 214 |
<a name="Monthly_Build"><H2>Monthly build not available.</H2> |
| 215 |
|
| 216 |
<P>No monthly build, sorry. |
| 217 |
|
| 218 |
<!-- ******************************************************************** --> |
| 219 |
<P><hr width="62%" align=left> |
| 220 |
<a name="User_Group"><H2>Next User Group Meeting - D319, 2.30pm, Thursday, 17th October 2002</H2> |
| 221 |
|
| 222 |
<!-- ******************************************************************** --> |
| 223 |
<HR> |
| 224 |
<HR> |
| 225 |
|
| 226 |
<ADDRESS><A href="mailto:[email protected]">Ed Griffiths <[email protected]></A></ADDRESS> |
| 227 |
<!-- hhmts start --> |
| 228 |
Last modified: Fri Feb 28 10:33:36 GMT 2003 |
| 229 |
<!-- hhmts end --> |
| 230 |
|
| 231 |
</BODY> |
| 232 |
</HTML> |