| 1 |
<HTML> |
| 2 |
|
| 3 |
<!-- --> |
| 4 |
<!-- Stuff you should alter is highlighted with "***" --> |
| 5 |
<!-- --> |
| 6 |
<!-- The newsletters are parsed by a script to automatically produce the --> |
| 7 |
<!-- index file for the directory. If you change the format of this template --> |
| 8 |
<!-- you had better change the script as well. --> |
| 9 |
<!-- --> |
| 10 |
|
| 11 |
|
| 12 |
<HEAD> |
| 13 |
<TITLE>ACEDB User Group Newsletter - January 2002</TITLE> |
| 14 |
|
| 15 |
<!-- you won't pick up the style sheet if you view this template file, it works OK |
| 16 |
for the newsletters which are in the directory above. --> |
| 17 |
|
| 18 |
<LINK rel=stylesheet type="text/css" |
| 19 |
href="../newsletter.css" |
| 20 |
title="Style sheet for Acedb newsletters"> |
| 21 |
|
| 22 |
</HEAD> |
| 23 |
|
| 24 |
|
| 25 |
<BODY> |
| 26 |
|
| 27 |
<HR> |
| 28 |
<HR> |
| 29 |
|
| 30 |
<!-- Don't change this name unless you change mkindex.pl. --> |
| 31 |
<a name="Top"></a> |
| 32 |
|
| 33 |
<H1>ACEDB User Group Newsletter - January 2002</H1> |
| 34 |
|
| 35 |
|
| 36 |
<!-- ******************************************************************** --> |
| 37 |
<P>If you want to have this newsletter mailed to you <B>or</B> you want to |
| 38 |
make comments/suggestions about the format/content then |
| 39 |
send an email to <A HREF="mailto:[email protected]">[email protected]</A>. |
| 40 |
|
| 41 |
|
| 42 |
<!-- ******************************************************************** --> |
| 43 |
<P><hr width="62%" align=left> |
| 44 |
<a name="General_News"></a><H2>General News</H2> |
| 45 |
|
| 46 |
<P>A short newsletter but a busy month, we are currently working hard on |
| 47 |
SMap, a replacement for the conversion routines in the FMap code that |
| 48 |
build virtual sequences and their features. Next months newsletter will |
| 49 |
contain a full article on SMap. |
| 50 |
|
| 51 |
|
| 52 |
<!-- ******************************************************************** --> |
| 53 |
<P><hr width="62%" align=left> |
| 54 |
<a name="New_Features"></a><H2>New Features</H2> |
| 55 |
|
| 56 |
<a name="smap_cometh"></a><H3>Smap is coming</H3> |
| 57 |
|
| 58 |
<P>After a long, long time we are very close to completely replacing the existing |
| 59 |
fmap routines that construct virtual sequences with some new routines that use |
| 60 |
a new set of tags to mark up sequences. the new tags form part of the SMap system |
| 61 |
which will completely replace the Structure tags of the current Sequence class: |
| 62 |
|
| 63 |
<pre><code> Structure From Source UNIQUE ?Sequence |
| 64 |
Source_Exons Int UNIQUE Int // start at 1 |
| 65 |
Subsequence ?Sequence XREF Source UNIQUE Int UNIQUE Int |
| 66 |
</code></pre> |
| 67 |
|
| 68 |
<P>The new SMap system will provide a much more powerful and flexible system |
| 69 |
for building up sequence/feature relationships. There will be a full article |
| 70 |
on this in the February newsletter and the code will be generally available |
| 71 |
in the February release. |
| 72 |
|
| 73 |
|
| 74 |
<!-- ******************************************************************** --> |
| 75 |
<P><hr width="62%" align=left> |
| 76 |
<a name="Articles"></a><H2>Articles</H2> |
| 77 |
|
| 78 |
|
| 79 |
<a name="no_display_block"></a><H3>Irritating dialogs</H3> |
| 80 |
|
| 81 |
<P>Recently a user reported that every time they clicked on an "object" field |
| 82 |
in the "update" tree window an annoying dialog popped up telling them to <b>"Select |
| 83 |
an object by double-clicking as though you were going to display it."</b>, they then |
| 84 |
had to click on the <b>"Remove"</b> button in this window to get rid of it. |
| 85 |
|
| 86 |
<P>By default acedb shows these popup windows whenever the user has selected an |
| 87 |
option that requires an answer before they can proceed, it's a warning really to |
| 88 |
say "you must answer this before you can carry on.". You can disable this via |
| 89 |
your user preferences, you need to turn on the <b>"NO_MESSAGE_WHEN_DISPLAY_BLOCK"</b> |
| 90 |
preference. You can get to the preferences menu from the "Admin" menu on the |
| 91 |
main window. When turned on this preference tells acedb not to bother showing |
| 92 |
these warning popup messages. |
| 93 |
|
| 94 |
|
| 95 |
<a name="homol_pfetch"></a><H3>Using pfetch to get EMBL entries for homologies in fmap</H3> |
| 96 |
|
| 97 |
<P>When you right click on a homolgy in fmap you get a menu that includes |
| 98 |
options to show alignments and also to efetch the EMBL entry for the homolgy. There |
| 99 |
is now an extra option which allows you to use pfetch instead of efetch |
| 100 |
to get the EMBL entry. pfetch will become the preferred option for retrieving |
| 101 |
these entries at the Sanger Centre in the future. |
| 102 |
|
| 103 |
|
| 104 |
<a name="reopen_log"></a><H3>A new "-reopen" option for acedb log files</H3> |
| 105 |
|
| 106 |
<P>There are a number of Unix utilities (e.g. "rotatelogs") that provide general log file handling |
| 107 |
services. These usually rely on the programs that create and use the logs to have |
| 108 |
an option to close and then reopen the log file. This allows the utility to rename the |
| 109 |
open logfile, |
| 110 |
tell the program to close and reopen the file, with the result that the program will now |
| 111 |
be writing to a new log file and the utility is free to operate on the old log file. |
| 112 |
|
| 113 |
<p>A new "-reopen" option has been added to the "newlog" and "Serverlog" |
| 114 |
commands which simply closes and reopens |
| 115 |
the log files. This allows acedb logs to then be handled by the Unix log utilities. |
| 116 |
|
| 117 |
|
| 118 |
<a name="database_perms"></a><H3>Reinitialising the Database</H3> |
| 119 |
|
| 120 |
<P>Previously the following tests have been applied to say whether you could |
| 121 |
reinitialise an acedb database: |
| 122 |
|
| 123 |
<ol> |
| 124 |
<li>Your real and effective unix userids must be the same, this will only affect you |
| 125 |
if your versions of the acedb programs have a setuid or setgid bit set. |
| 126 |
<li>The <code><b>wspec/passwd.wrm</b></code> file must exist and be readable. |
| 127 |
<li>You must own the <code><b>wspec/passwd.wrm</b></code> file. |
| 128 |
<li>Your userid must be listed in <code><b>wspec/passwd.wrm</b></code>. |
| 129 |
</ol> |
| 130 |
|
| 131 |
<P>This creates a problem if there are a group of you working on a database and you |
| 132 |
would like to be able to reinitialise the database without having to <code><b>"su"</b></code> |
| 133 |
to the userid of the owner of <code><b>wspec/passwd.wrm</b></code>. |
| 134 |
|
| 135 |
<P>To get round this a new <code><b>"GROUP_ADMIN"</b></code> option has been added to |
| 136 |
the <code><b>wspec/database.wrm</b></code> file. When this option is uncommented in |
| 137 |
this file then any user who is in the unix group for the <code><b>wspec/database.wrm</b></code> |
| 138 |
will also be able to reinitialise the database. |
| 139 |
|
| 140 |
<P>In other words step 3 above will now be: |
| 141 |
|
| 142 |
<ul> |
| 143 |
<li>You must own the <code><b>wspec/passwd.wrm</b></code> file |
| 144 |
or if the GROUP_ADMIN option was set in <code><b>wspec/database.wrm</b></code> |
| 145 |
you must be in the unix group for the password file. |
| 146 |
</ul> |
| 147 |
|
| 148 |
<P>Note that the permissions for the database/ subdirectory of your database |
| 149 |
must be set to "rws" for the group if this is to work. That is, the group must |
| 150 |
have read, write and execute permissions for the subdirectory and in addition |
| 151 |
the sticky bit for group permissions on the directory must also be set. This |
| 152 |
will ensure that all files <i><b>created</b></i> in the subdirectory will have the same |
| 153 |
group as the subdirectory itself. |
| 154 |
|
| 155 |
<P>For example, assuming that "joe" |
| 156 |
owns the database and "bloggs" is the group then an "ls -l" of the database |
| 157 |
should show the following permissions for the database/ subdirectory: |
| 158 |
|
| 159 |
<pre><code> drwxrwsr-x 6 joe bloggs 8192 Feb 13 12:51 database |
| 160 |
</code></pre> |
| 161 |
|
| 162 |
|
| 163 |
<!-- ******************************************************************** --> |
| 164 |
<P><hr width="62%" align=left> |
| 165 |
<a name="Developers_Corner"></a><H2>Developers Corner</H2> |
| 166 |
|
| 167 |
<P>If you wish to make comments/suggestions about any of the below, please mail them |
| 168 |
to <A HREF="mailto:[email protected]">[email protected]</A> |
| 169 |
|
| 170 |
|
| 171 |
<a name="another_banal_filsubs"></a><H3>Another banal file pathname function</H3> |
| 172 |
|
| 173 |
<P>Another banal pathname function has been added to filsubs, this one returns the base filename |
| 174 |
part of a given path: |
| 175 |
|
| 176 |
<pre><code> Given "/some/load/of/directories/filename.something.ext" |
| 177 |
returns "filename.something" |
| 178 |
</code></pre> |
| 179 |
|
| 180 |
<P>i.e. it lops off the directory and the _last_ extension. |
| 181 |
|
| 182 |
|
| 183 |
|
| 184 |
<!-- ******************************************************************** --> |
| 185 |
<P><hr width="62%" align=left> |
| 186 |
<H2>No January monthly build</H2> |
| 187 |
|
| 188 |
<P>Due to problems with our build system and some large scale and unfinished |
| 189 |
changes to introduce Smap (see February issue) we were not able to produce |
| 190 |
a January monthly build. Sorry ! |
| 191 |
|
| 192 |
|
| 193 |
<!-- ******************************************************************** --> |
| 194 |
<P><hr width="62%" align=left> |
| 195 |
<H2>Next User Group Meeting - D319, 2.30pm, Thursday, 14th February 2002</H2> |
| 196 |
|
| 197 |
<!-- ******************************************************************** --> |
| 198 |
<HR> |
| 199 |
<HR> |
| 200 |
|
| 201 |
<ADDRESS><A href="mailto:[email protected]">Ed Griffiths <[email protected]></A></ADDRESS> |
| 202 |
<!-- hhmts start --> |
| 203 |
Last modified: Wed Feb 13 16:14:53 GMT 2002 |
| 204 |
<!-- hhmts end --> |
| 205 |
|
| 206 |
</BODY> |
| 207 |
</HTML> |