| 1 |
<HTML> |
| 2 |
|
| 3 |
<HEAD> |
| 4 |
<TITLE>ACEDB User Group Newsletter - May 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 - May 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 includes controlling the acedb server with signals, some |
| 36 |
changes to the way homologies are displayed in fmap, Acedb and the Mac, |
| 37 |
and some important bug fixes. |
| 38 |
|
| 39 |
|
| 40 |
<!-- ******************************************************************** --> |
| 41 |
<P><hr width="62%" align=left> |
| 42 |
<a name="General_News"></a><H2>General News</H2> |
| 43 |
|
| 44 |
<P>Sad to say we are still labouring on the SMap code which will bring a |
| 45 |
lot more power and flexibility to FMap. |
| 46 |
|
| 47 |
|
| 48 |
<!-- ******************************************************************** --> |
| 49 |
<P><hr width="62%" align=left> |
| 50 |
<a name="New_Features"></a><H2>New Features</H2> |
| 51 |
|
| 52 |
|
| 53 |
<a name="server_sigterm"></a><H3>Killing the AceDB server with SIGTERM</H3> |
| 54 |
|
| 55 |
<P>Server programs, especially those run in the background will normally accept |
| 56 |
certain signals as "commands" to get them to take certain actions, the <i>de facto</i> |
| 57 |
standard for unix includes: |
| 58 |
|
| 59 |
<ul> |
| 60 |
<li><b><code>SIGHUP</code>:</b> reread server configuration file(s). |
| 61 |
<li><b><code>SIGTERM</code>:</b> terminate gracefully. |
| 62 |
</ul> |
| 63 |
|
| 64 |
<P>The AceDB server will now respond to <code>SIGTERM</code> and shut down correctly. This is done by |
| 65 |
by setting a global flag from a |
| 66 |
server callback routine called by the acedb signal handler function. |
| 67 |
The server then checks for the global flag in the main processing loop of the socket |
| 68 |
layer, and then initiates the save and exit of the database. |
| 69 |
This seems a bit contorted but avoids any issues of trying to use issue calls that are |
| 70 |
not signal safe from a signal handler or of trying to exit perhaps |
| 71 |
half way through an interrupted partial acedb save. |
| 72 |
|
| 73 |
<P>Support for <code>SIGHUP</code> will be added if required. |
| 74 |
|
| 75 |
|
| 76 |
<a name="fmap_changes"></a><H3>Some FMap changes</H3> |
| 77 |
|
| 78 |
<P>A number of small changes have been made to FMap: |
| 79 |
|
| 80 |
<P><b>Support for "Show_in_reverse_orientation" tag:</b> The worm database version of |
| 81 |
the <code>?Sequence</code> class contains a <code>Show_in_reverse_orientation</code> tag |
| 82 |
which is used to indicate that the 3' sequence of an EST paired read that has been |
| 83 |
sequenced in reverse. The FMap code now looks for this tag and will reverse the strand |
| 84 |
that the sequence is shown on so that it appears downstream from its 5' pair. To take |
| 85 |
advantage of the tag you need to add this tag to the <code>?Sequence</code> class, you can |
| 86 |
put the tag anywhere in the class but in the worm version it is under the "Properties" |
| 87 |
tag: |
| 88 |
|
| 89 |
<pre><code>Properties Pseudogene Text |
| 90 |
Genomic_canonical Gene_count UNIQUE Int |
| 91 |
|
| 92 |
etc. |
| 93 |
|
| 94 |
Show_in_reverse_orientation // Draw 3' reads in reverse orientation |
| 95 |
|
| 96 |
etc. |
| 97 |
</code></pre> |
| 98 |
|
| 99 |
<P><b>Improved display of homologies with a common clone parent:</b> |
| 100 |
Clicking on a homology box in fmap will now hilight all all the homologies in that |
| 101 |
column that have a common clone parent. In addition if you select to have the |
| 102 |
column displayed in "cluster" mode, homologies with a common parent get sorted |
| 103 |
into the same vertical alignment within the column, making them easier to see. |
| 104 |
|
| 105 |
|
| 106 |
<!-- ******************************************************************** --> |
| 107 |
<P><hr width="62%" align=left> |
| 108 |
<a name="Articles"></a><H2>Articles</H2> |
| 109 |
|
| 110 |
|
| 111 |
<a name="darwin"></a><H3>Acedb, MAC OSX and "Darwin"</H3> |
| 112 |
|
| 113 |
<P>(<I>This article is courtesy of Simon Kelley</I> |
| 114 |
<A HREF="mailto:[email protected]">[email protected]</A>) |
| 115 |
|
| 116 |
<P>Acedb is now available to run on Apple Macintoshes running Mac OS X. We |
| 117 |
are using the Fink packaging system to distribute Acedb for Macs. This |
| 118 |
is available from <A HREF="http://fink.sourceforge.net/">http://fink.sourceforge.net/</A> |
| 119 |
|
| 120 |
<P>Acedb depends on a few other bits of software which don't come with OS X |
| 121 |
but are available from the Fink system. The main one of these is the X |
| 122 |
windows system. |
| 123 |
|
| 124 |
<P>To get Acedb on a Mac, first install fink by following the instructions |
| 125 |
at <A HREF="http://fink.sourceforge.net/download/index.php">http://fink.sourceforge.net/download/index.php</A> |
| 126 |
|
| 127 |
<P>Download the package for acedb from |
| 128 |
<A HREF="http://www.acedb.org/Software/Downloads">http://www.acedb.org/Software/Downloads</A> |
| 129 |
|
| 130 |
<P>Install the extra software required by running the following command in |
| 131 |
a Terminal Window: |
| 132 |
|
| 133 |
<pre><code>fink install xfree86-base xfree86-rootless gtk+ readline |
| 134 |
</code></pre> |
| 135 |
|
| 136 |
<P>and finally install acedb by runnning this command: |
| 137 |
|
| 138 |
<pre><code>dpkg -i <path_to_acedb_package> |
| 139 |
</code></pre> |
| 140 |
|
| 141 |
|
| 142 |
|
| 143 |
|
| 144 |
<!-- ******************************************************************** --> |
| 145 |
<P><hr width="62%" align=left> |
| 146 |
<a name="Bugs_Fixed"></a><H2>Bugs Fixed</H2> |
| 147 |
|
| 148 |
<a name="blixem"></a><H3>Blixem and efetch/pfetch</H3> |
| 149 |
|
| 150 |
<P>Blixem now supports the use of efetch or pfetch to get its sequence |
| 151 |
entries from reference databases (e.g. EMBL). There was a bug which |
| 152 |
meant that even if the user wanted blixem to use pfetch, it would still |
| 153 |
try to use efetch for some purposes. Now blixem will use either efetch or |
| 154 |
pfetch, but not a mixture of both. |
| 155 |
|
| 156 |
<P>In addition, if pfetch is used, blixem will make use of the |
| 157 |
new "--client" pfetch option which gives logging information about |
| 158 |
the user/client to the pfetch server. |
| 159 |
|
| 160 |
|
| 161 |
<a name="freeread"></a><H3>Ancient freeread() bug</H3> |
| 162 |
|
| 163 |
<P>An ancient bug in freeread() caused escaped pseudo newlines of the form |
| 164 |
'\' followed by 'n' to be incorrectly translated to just 'n' rather than |
| 165 |
being read unaltered as '\n'. freeread() is brain dead in that it does not use |
| 166 |
the "special" stuff used by other freeNNN routines, which is the original |
| 167 |
cause of the bug, this will not be fixed as |
| 168 |
the freeNNN routines are legacy code having been replaced by the aceIn/Out package. |
| 169 |
|
| 170 |
|
| 171 |
<a name="acediff"></a><H3>Ancient acediff bug</H3> |
| 172 |
|
| 173 |
<P>Two bugs fixed: |
| 174 |
|
| 175 |
<P>cmpFileParts() was altered at some time to do error checking for EOF (which was |
| 176 |
a good idea) but in doing the check |
| 177 |
read <b>twice</b> as many chars as it should have because it was doing a |
| 178 |
separate getc() to test EOF from the getc() to just get the next char from the file. |
| 179 |
This caused the program to do anything from |
| 180 |
fall off the end of the file to erroneously report differences. |
| 181 |
|
| 182 |
<P>oneLine() did not count lines in the file it was processing correctly, this |
| 183 |
is because a) the freeread() routine it called was incorrectly translating |
| 184 |
pseudo-newlines into just 'n' (now fixed) and b) it didn't increment the |
| 185 |
line count when it encountered one of these (which in acefiles signals a |
| 186 |
multiline text entry). |
| 187 |
|
| 188 |
|
| 189 |
<a name="aql"></a><H3>AQL obscure bug</H3> |
| 190 |
|
| 191 |
<P>AQL sometimes failed in obscure ways, this was because the code in aqlCreate() |
| 192 |
was missing the NULL terminator required for varargs so queries were not always |
| 193 |
interpreted correctly. |
| 194 |
|
| 195 |
|
| 196 |
<!-- ******************************************************************** --> |
| 197 |
<P><hr width="62%" align=left> |
| 198 |
<H2>May monthly build not available.</H2> |
| 199 |
|
| 200 |
<P>Apologies, once again there was no build this month due to the major |
| 201 |
SMap development work. |
| 202 |
|
| 203 |
<!-- ******************************************************************** --> |
| 204 |
<HR> |
| 205 |
<HR> |
| 206 |
|
| 207 |
<ADDRESS><A href="mailto:[email protected]">Ed Griffiths <[email protected]></A></ADDRESS> |
| 208 |
<!-- hhmts start --> |
| 209 |
Last modified: Wed Dec 18 16:12:57 GMT 2002 |
| 210 |
<!-- hhmts end --> |
| 211 |
|
| 212 |
</BODY> |
| 213 |
</HTML> |