| 1 |
<HTML> |
| 2 |
|
| 3 |
<HEAD> |
| 4 |
<TITLE>ACEDB User Group Newsletter - August 2001</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 - August 2001</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>A very short newsletter for August, I was tempted to include some silly |
| 35 |
season stuff but while writing this terrible things were happening |
| 36 |
in the States. |
| 37 |
|
| 38 |
<P>Truly grim, sympathies and condolences to all readers in the US. |
| 39 |
|
| 40 |
|
| 41 |
<!-- ******************************************************************** --> |
| 42 |
<a name="General_News"></a><H2>General News</H2> |
| 43 |
|
| 44 |
|
| 45 |
<a name="ftp_warning"></a><H3>WARNING about for ULCC ftp users.</H3> |
| 46 |
|
| 47 |
<P>The Sanger Centre has had to tighten up security in recent months and |
| 48 |
this has prompted some changes to ftp protocols. This change has affected |
| 49 |
a number of users who regularly ftp to Sanger, ULCC users will now be |
| 50 |
affected by these changes. |
| 51 |
The following mail from one of our Systems Support staff says it all: |
| 52 |
|
| 53 |
<pre>> We have just noticed that all the virtual hosts on the remote FTP server |
| 54 |
> at ULCC allow connections from remote hosts without a reverse DNS entry. |
| 55 |
> For security reasons this is not ideal and should be enabled. Currently |
| 56 |
> the following virtual hosts are hosted by our remote FTP server: |
| 57 |
> |
| 58 |
> ftp.sanger.ac.uk |
| 59 |
> ftp.ensembl.org |
| 60 |
> ftp.ebi.ac.uk |
| 61 |
> |
| 62 |
> We propose that we enable reverse DNS entry checks as soon as possible. |
| 63 |
> Therefore, we will change the FTP access configuration file for Sanger and |
| 64 |
> Ensembl (not EBI) at midday tomorrow (Thursday 13th). This will obviously |
| 65 |
> effect a few of our collaborators and possible lead to a few days/weeks |
| 66 |
> worth of email complaints. Sorry, for this we apologies. |
| 67 |
> |
| 68 |
> When a host does not have a valid reverse DNS entry the following error |
| 69 |
> message will be displayed: |
| 70 |
> |
| 71 |
> -- start -- |
| 72 |
> Your host does not have a reverse DNS entry. |
| 73 |
> |
| 74 |
> Connections are not permitted unless there is a valid reverse DNS. |
| 75 |
> |
| 76 |
> Please contact your network administrator to resolve this problem. |
| 77 |
> -- end -- |
| 78 |
</pre> |
| 79 |
|
| 80 |
<P>If you work at ULCC or have queries about the changes to ftp at Sanger please |
| 81 |
could you contact Systems Support direct by sending mail to |
| 82 |
<A HREF="mailto:[email protected]">[email protected]</A>. |
| 83 |
|
| 84 |
|
| 85 |
<!-- ******************************************************************** --> |
| 86 |
<a name="New_Features"></a><H2>New Features</H2> |
| 87 |
|
| 88 |
<a name="tsuser_option"></a><H3>New "-tsuser" command line option for tace.</H3> |
| 89 |
|
| 90 |
<P>A common practice in the Sanger Centre is to update the main databases |
| 91 |
via overnight queues of cron jobs which in essence use <b>tace</b> to |
| 92 |
parse in the database modifications. One problem with this is that all |
| 93 |
the jobs tend to be run using the same userid, so all changes by all jobs |
| 94 |
will be labelled with that same userid. This makes it difficult to establish |
| 95 |
exactly which job caused which changes. |
| 96 |
|
| 97 |
<P>A new command line option to tace allows the changes to be registered |
| 98 |
using an alternative label to that of the current userid. This means |
| 99 |
that each cron job could be given its own label so that changes made |
| 100 |
by that cron job can be identified. |
| 101 |
|
| 102 |
<P>Use tace like this: |
| 103 |
<pre><code>tace -tsuser new_label /your/database</code> |
| 104 |
</pre> |
| 105 |
|
| 106 |
<P>You can also use this option on the command line for xace as well. |
| 107 |
|
| 108 |
|
| 109 |
<a name="efetch_homol"></a><H3>New fmap option to efetch homols.</H3> |
| 110 |
|
| 111 |
<P>The right button menu that appears when you click on a dna or peptide homology |
| 112 |
now includes an option to efetch the sequence for that homology. |
| 113 |
|
| 114 |
|
| 115 |
|
| 116 |
<!-- ******************************************************************** --> |
| 117 |
<a name="Articles"></a><H2>Articles</H2> |
| 118 |
|
| 119 |
<a name="core_dumps"></a><H3>Xace, "core" dumps and Signal Catching.</H3> |
| 120 |
|
| 121 |
<P>Sometimes (hard to believe I know), acedb crashes because of some fundamental |
| 122 |
error either in the code (or even in the hardware) that is detected by the operating |
| 123 |
system. When this happens the operating system |
| 124 |
does two things: it sends the program a special "signal" that the error has happened, the |
| 125 |
program can ignore this or perhaps do some cleaning up before exitting, if the program |
| 126 |
takes no action then the operating |
| 127 |
system will then try to take a copy of the program in memory from which its possible to see what the |
| 128 |
program was doing when it crashed. The copy is held in the familiar "core" file. |
| 129 |
|
| 130 |
<P>By default acedb intercepts the "signal" from the operating system so it can |
| 131 |
close the database properly before asking the operating system to make a core file. |
| 132 |
The core file produced by this is often useless for debugging however |
| 133 |
as its initial entries are about the section of code to close the database, and |
| 134 |
it can be impossible to get back from there to the original point of failure. |
| 135 |
|
| 136 |
<P>More useful is to turn off this signal catching by acedb so that the operating |
| 137 |
system will produce a core file that contains exactly the point of failure, |
| 138 |
To do this you need to: |
| 139 |
<ol> |
| 140 |
<li>Make sure that you do not have write access to the database, or work |
| 141 |
with a copy of your database ! |
| 142 |
<li>Set your user limit for core dumps to "unlimited" by typing |
| 143 |
"unlimit core" (this is for csh, other shells will have the equivalent |
| 144 |
command). |
| 145 |
<li>Either start xace specifying the "-nosigcatch" commandline option, or |
| 146 |
turn signal catching off from the "Admin.." menu. |
| 147 |
<li>Then reproduce the bug and give the resultant core file to us (note the |
| 148 |
file may be very large so don't send it as mail but simply tell us where |
| 149 |
we can access it !!). |
| 150 |
<li>We will also need the copy of xace that you used. |
| 151 |
</ol> |
| 152 |
|
| 153 |
|
| 154 |
|
| 155 |
<a name="AQL_change"></a><H3>A change to the way AQL searches for locators</H3> |
| 156 |
|
| 157 |
<P>An attempted optimisation in AQL introduced a bug which has now been fixed. |
| 158 |
|
| 159 |
<P>(<I>This article is courtesy of John Sturdy</I> |
| 160 |
<A HREF="mailto:[email protected]">[email protected]</A>) |
| 161 |
|
| 162 |
<P>Consider the following fragment of aql: |
| 163 |
|
| 164 |
<pre><code><b>select paper, author1, institute1, author2, institute2 |
| 165 |
from paper in class Paper, |
| 166 |
author1 in paper->Author, |
| 167 |
institute1 in author1->Institute, |
| 168 |
author2 in paper->Author, |
| 169 |
institute2 in author2->Institute |
| 170 |
where (institute1 = "MRC-LMB") and (institute2 = "CNRS") |
| 171 |
</b></code></pre> |
| 172 |
|
| 173 |
<P>AQL used to use a spurious attempt at optimisation which, in this example, |
| 174 |
resulted in institute1 being substituted for institute2, which resulted in |
| 175 |
no objects matching the query (since institute1 could not be equal to two |
| 176 |
different things simultaneously). This bug is now fixed. |
| 177 |
|
| 178 |
<P>In some cases, this change may cause unwanted large |
| 179 |
cross products. If this is a problem please send bug reports to |
| 180 |
<A HREF="mailto:[email protected]">[email protected]</A>. |
| 181 |
|
| 182 |
|
| 183 |
<!-- ******************************************************************** --> |
| 184 |
<a name="Bugs_Fixed"></a><H2>Bugs Fixed</H2> |
| 185 |
|
| 186 |
<a name="graphUpdate"></a><H3>Bug in graphUpdateEditors()</H3> |
| 187 |
|
| 188 |
<P>This function is hardly ever used, which is good because it |
| 189 |
could not have worked correctly: it handled neither toggle or colour editors, |
| 190 |
but instead called graphTextScrollEntry() on them both producing garbage in whatever window |
| 191 |
they were displayed in. The function now correctly updates the state of the displayed |
| 192 |
editor boxes. |
| 193 |
|
| 194 |
|
| 195 |
<a name="message_window"></a><H3>Multiline messages in Message window.</H3> |
| 196 |
|
| 197 |
<P>The message window did not handle multiline messages correctly. |
| 198 |
Multiline messages are now displayed on a single line with a <TAB> |
| 199 |
added in place of each newline character. This leaves the messages |
| 200 |
as readable and avoids the window becoming full with large multiline |
| 201 |
messages. |
| 202 |
|
| 203 |
|
| 204 |
<a name="sigcatch_menu"></a><H3>Signal Catching menu/window item.</H3> |
| 205 |
|
| 206 |
<P>The "Signal Catching" item (from the "Admin.." button on the main window) |
| 207 |
got out of synch with the actual state of signal catching in xace. This is now |
| 208 |
fixed. |
| 209 |
|
| 210 |
|
| 211 |
|
| 212 |
<a name="WWWdisplay"></a><H3>WWWdisplay() function</H3> |
| 213 |
|
| 214 |
<P>bug fixes to WWWdisplay() and addition to look for Web_location in |
| 215 |
the class Class object if not found in the object itself |
| 216 |
|
| 217 |
|
| 218 |
<a name="peptide_translation"></a><H3>Peptide translation</H3> |
| 219 |
|
| 220 |
<P>Several small bugs were fixed in peptide translation: |
| 221 |
<ul> |
| 222 |
<li>The stop codon was translated for some functions, the stop |
| 223 |
codon is not now included for any translation. |
| 224 |
<li>Translation was proceeding too far for the case where the end |
| 225 |
of the CDS is not included in the current set of exons. Translation |
| 226 |
is now up to and including the last complete codon for a CDS with |
| 227 |
the End_not_found tag set. |
| 228 |
<li>an unnoticeable bug (except in usage of memory): the array to hold |
| 229 |
the translation was almost 3x bigger than it needed to be because |
| 230 |
of missing brackets around the maths to calculate the array size. |
| 231 |
</ul> |
| 232 |
|
| 233 |
|
| 234 |
|
| 235 |
<a name="checkSequenceLength"></a><H3>checkSequenceLength() failed for simple |
| 236 |
DNA only objects.</H3> |
| 237 |
|
| 238 |
<P>Last months xace did not display simple dna objects in an fmap because |
| 239 |
of a trivial error in the checkSequenceLength() function which detects when |
| 240 |
users ask to view very big sequences and gives them the chance to cancel |
| 241 |
the fmap display. |
| 242 |
|
| 243 |
<a name="blixem_toolbar"></a><H3>Blixem Toolbar bug</H3> |
| 244 |
|
| 245 |
<P>Recent changes to Blixem included a removable toolbar, this introduced a |
| 246 |
but whereby the window could not be collapsed when the toolbar was "docked", |
| 247 |
this has now been fixed. |
| 248 |
|
| 249 |
|
| 250 |
<!-- ******************************************************************** --> |
| 251 |
<H2>August monthly build now available.</H2> |
| 252 |
|
| 253 |
<P>You can pick up the monthly builds from: |
| 254 |
<dl> |
| 255 |
<dt><b>Sanger users</b> |
| 256 |
<dd>~acedb/RELEASE.DEVELOPMENT |
| 257 |
<dt><b>External users</b> |
| 258 |
<dd><A href="http://www.acedb.org/Software/Downloads/monthly.shtml"> |
| 259 |
http://www.acedb.org/Software/Downloads/monthly.shtml</A> |
| 260 |
</dl> |
| 261 |
|
| 262 |
<!-- ******************************************************************** --> |
| 263 |
<H2>Next User Group Meeting - G201, 2.30pm, Thursday, 20th September 2001</H2> |
| 264 |
|
| 265 |
<b>!! PLEASE NOTE THAT THIS MEETING IS IN A DIFFERENT ROOM FROM THE NORMAL ONE: G201 !!</b> |
| 266 |
|
| 267 |
<!-- ******************************************************************** --> |
| 268 |
<HR> |
| 269 |
<HR> |
| 270 |
|
| 271 |
<ADDRESS><A href="mailto:[email protected]">Ed Griffiths <[email protected]></A></ADDRESS> |
| 272 |
<!-- hhmts start --> |
| 273 |
Last modified: Wed Sep 19 10:08:35 BST 2001 |
| 274 |
<!-- hhmts end --> |
| 275 |
|
| 276 |
</BODY> |
| 277 |
</HTML> |