| 1 |
<HTML> |
| 2 |
|
| 3 |
|
| 4 |
<!-- Stuff you should alter is highlighted with "***" --> |
| 5 |
|
| 6 |
|
| 7 |
<HEAD> |
| 8 |
<TITLE>ACEDB User Group Newsletter - March 2001</TITLE> |
| 9 |
|
| 10 |
<LINK rel=stylesheet type="text/css" |
| 11 |
href="../newsletter.css" |
| 12 |
title="Style sheet for Acedb newsletters"> |
| 13 |
|
| 14 |
</HEAD> |
| 15 |
|
| 16 |
|
| 17 |
<BODY> |
| 18 |
|
| 19 |
<HR> |
| 20 |
<HR> |
| 21 |
|
| 22 |
<a name="Top"></a> |
| 23 |
|
| 24 |
<H1>ACEDB User Group Newsletter - March 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>This month sees the first contributions from acedb users to the newsletters, |
| 35 |
thanks to Keith Bradnam and Dan Lawson. There are a number of important bug fixes |
| 36 |
which in particular affect people who use the giface code to produce gif versions |
| 37 |
of fmap etc. Hewlett Packard have contacted the AceDB developers as they would like |
| 38 |
AceDB to be part of their IA-64 program. |
| 39 |
|
| 40 |
|
| 41 |
|
| 42 |
<!--******************************************************************** --> |
| 43 |
<a name="New"></a><H2>New Features</H2> |
| 44 |
|
| 45 |
<a name="exporting"></a><H3>exporting of cDNA from non-CDS objects</H3> |
| 46 |
|
| 47 |
<P>Previously you could only export the cDNA for a sequence object if that object |
| 48 |
was marked as a CDS. In a rigorous way this makes sense but can be irritating if |
| 49 |
you have an object for which you'd just like to take a quick look at the cDNA. |
| 50 |
This restriction has now been removed so that, provided the object is in some way |
| 51 |
"attached" to some DNA, you can export a cDNA for it. It is of course up to you to interpret what |
| 52 |
that DNA might mean (!). |
| 53 |
|
| 54 |
|
| 55 |
<a name="log"></a><H3>log switching</H3> |
| 56 |
|
| 57 |
<P>AceDB log files can grow very quickly and up until now a new log file was only |
| 58 |
started if the database was reinitialised, or if the existing log file was moved |
| 59 |
aside manually. This is not very convenient, particularly when running an acedb server |
| 60 |
on a database. |
| 61 |
|
| 62 |
<P>Support has been added to start a new log using the following methods: |
| 63 |
|
| 64 |
<dl> |
| 65 |
<dt><b><code>tace/giface</code></b> |
| 66 |
<dd>Use the "Newlog" command to start a new log.wrm, you must have |
| 67 |
write access to the database to be able to do this. |
| 68 |
<dt><b><code>sace/sgiface-server</code></b> |
| 69 |
<dd>Use the "Serverlog" command to start a new log.wrm and a new serverlog.wrm, you must have |
| 70 |
admin permissions to the database to be able to do this. |
| 71 |
<P>You can also send the server a |
| 72 |
<code>SIGHUP</code> signal which has the same effect, but note that if you use this method, |
| 73 |
the new logs will not be started until the <b>next</b> record is written to the relevant |
| 74 |
log. |
| 75 |
</dl> |
| 76 |
|
| 77 |
|
| 78 |
<a name="No"></a><H3>"No_display" tag in ?Method objects for F-map display</H3> |
| 79 |
|
| 80 |
<P><I>This article was kindly supplied by |
| 81 |
<A href="mailto:[email protected]">Dan Lawson |
| 82 |
<[email protected]></A>, he wins a beer for being the second |
| 83 |
voluntary contributor to the newsletter.</I> |
| 84 |
|
| 85 |
<P>The way in which objects are displayed in the F-map display |
| 86 |
is defined by the Method class. The Method object contains |
| 87 |
information such as the colour and column priority for the |
| 88 |
drawing of the F-map. The Method object also contains GFF |
| 89 |
definitions for the labelling of the GFF dumps of an object. |
| 90 |
|
| 91 |
<P>Recently in the worm database we have extended the use of |
| 92 |
the ?Method tag in the Sequence class to be bi-functional. |
| 93 |
The tag continues to point to a Method object for drawing |
| 94 |
the F-map but is also used in the generation of subclasses |
| 95 |
(similar to using a standard type tag in the Properties e.g. |
| 96 |
Genomic_canonical or CDS.) An example of a new Method is |
| 97 |
'Link' which indicates more explicitly which Sequence objects |
| 98 |
are link objects - i.e. those which contain the golden path |
| 99 |
for a group of overlapping genome sequences. |
| 100 |
|
| 101 |
<P>As every Sequence will have a Method the xace code will |
| 102 |
attempt to display the object in the F-map. If the Method |
| 103 |
object does not contain colour/column priority information |
| 104 |
then the default blue box with a low column priority will be |
| 105 |
displayed. Some types of objects should not be displayed in |
| 106 |
the F-map (the Link objects are a good example), and so we |
| 107 |
have introduced a new tag into the Method class. If you set |
| 108 |
this tag then all objects using the Method will not be drawn. |
| 109 |
The tag is called 'No_display' and should be set as part of |
| 110 |
the general Method descriptions. |
| 111 |
|
| 112 |
<P>The above modifications allow features to be dumped to GFF |
| 113 |
files with sensible definitions without cluttering the F-map |
| 114 |
view of a genomic region. If you have any queries regarding |
| 115 |
these changes please contact |
| 116 |
<A href="mailto:[email protected]">Daniel Lawson <[email protected]></A>. |
| 117 |
|
| 118 |
|
| 119 |
|
| 120 |
<!--******************************************************************** --> |
| 121 |
<a name="Articles"> |
| 122 |
<H2>Articles</H2> |
| 123 |
|
| 124 |
<a name="Porting"></a><H3>Porting acedb to latest HP machines, including new IA-64 based machines.</H3> |
| 125 |
|
| 126 |
<P>Hewlett Packard have recently ported AceDB to their latest machines/operating |
| 127 |
system versions and are keen for AceDB to be part of their "Developers Program" |
| 128 |
for their new range of IA-64 based machines. The IA-64 is Intels 64-bit CPU chip |
| 129 |
and is being used by HP for some of their new machines. We should be receiving an HP |
| 130 |
test machine within the next few weeks. |
| 131 |
|
| 132 |
|
| 133 |
<a name="Undocumented"></a><H3>Undocumented/hidden features in Acedb</H3> |
| 134 |
|
| 135 |
<P><I>This article was kindly supplied by |
| 136 |
<A href="mailto:[email protected]">Keith Bradnam |
| 137 |
<[email protected]></A>, he wins a beer for being the first |
| 138 |
voluntary contributor to the newsletter.</I> |
| 139 |
|
| 140 |
<P>Whilst the quest for the legendary 'Golden Manual of Ace' continues, mere |
| 141 |
mortals will have to content themselves with picking up tips and |
| 142 |
second-hand rumours from the unchartered back-waters of the internet. |
| 143 |
|
| 144 |
<P>The sometimes-annoying truth is that many useful Acedb features remain |
| 145 |
undocumented. But maybe we (the Acedb community) can help to change |
| 146 |
that. I'll make a start by revealing a couple of useful Acedb features |
| 147 |
that I (accidentally) discovered after browsing the ACeDB (worm) database |
| 148 |
one day. |
| 149 |
|
| 150 |
<a name="Arrows"></a><H4>1) Adding 'arrows' to sequence displays</H4> |
| 151 |
|
| 152 |
<P>It is not always easy to draw attention to tiny features that are |
| 153 |
present on very large sequences. E.g. a 50 bp BLAST homology object which |
| 154 |
is present on a 200 kb sequence object appears as a narrow black line. |
| 155 |
|
| 156 |
<P>It would also be useful if you could draw attention to a feature by |
| 157 |
displaying it in another way, e.g. as an arrow which points to a |
| 158 |
particular range of bases (or even a single nucleotide). Well, the good |
| 159 |
news is that you can. The trick is to create 'Allele' tags within a |
| 160 |
sequence object. |
| 161 |
|
| 162 |
<P>Such tags allow you to create an arrow-like object which appears in the |
| 163 |
'Alleles' column of the sequence display. Arrows can have a 'direction' |
| 164 |
(up or down) as they are accompanied by a smaller, side arrow. They |
| 165 |
can also have some associated text which appears on the sequence display. |
| 166 |
|
| 167 |
<P>E.g. consider the following ace file: |
| 168 |
<pre><code>Sequence : "EMBL:A47152" |
| 169 |
Allele "Test1" 50 100 "Message1" |
| 170 |
|
| 171 |
Allele "Test2" 400 300 "Message 2" |
| 172 |
Allele "Test3" 1000 1000 "Message 3" |
| 173 |
</code></pre> |
| 174 |
|
| 175 |
<P>This file (when read into an appropriate database) will create three |
| 176 |
arrows that appear on the sequence display for 'EMBL:A47152'. The first |
| 177 |
arrow points to a region of 50 bp (between coordinates 50 and 100) and |
| 178 |
will display the accompanying message. Because the second coordinate is |
| 179 |
larger than the first, the arrow appears with the smaller side arrow |
| 180 |
pointing downwards. |
| 181 |
|
| 182 |
<P>The second object displays an arrow which will point in the the up |
| 183 |
direction (first coordinate larger than the second). The third arrow will |
| 184 |
also point upwards but corresponds to a single nucleotide in the sequence. |
| 185 |
|
| 186 |
<P>If you zoom in on these arrows they will eventually transform into 'open |
| 187 |
rectangles' (a bit like a ']'). The point at which an arrow turns into an |
| 188 |
open rectangle depends on how large a region the Allele tag corresponds |
| 189 |
to. |
| 190 |
|
| 191 |
<P>If all this sounds a bit confusing, look at these examples which were |
| 192 |
created to show the positions of insertion events (note that |
| 193 |
AceBrowser displays the arrows a little bit differently from xace): |
| 194 |
<pre><code><A href="http://ukcrop.net/perl/ace/pic/AGR?name=EMBL%3AAB018109&class=Sequence"> |
| 195 |
http://ukcrop.net/perl/ace/pic/AGR?name=EMBL%3AAB018109&class=Sequence</A> |
| 196 |
|
| 197 |
<A href="http://wormbase.sanger.ac.uk/perl/ace/elegans/misc/epic?name=T21F2&class=Sequence"> |
| 198 |
http://wormbase.sanger.ac.uk/perl/ace/elegans/misc/epic?name=T21F2&class=Sequence</A> |
| 199 |
</code></pre> |
| 200 |
|
| 201 |
|
| 202 |
<a name="more_text"></a><H4>2) Adding more text information to sequence displays</H4> |
| 203 |
|
| 204 |
<P>Apart from the above example, sequence displays don't usually display any |
| 205 |
text. Sometimes it would be useful to display a gene name or gene |
| 206 |
function (where known) next to a coding sequence on a sequence display. |
| 207 |
|
| 208 |
<P>To add text information, simply add a line that reads 'Show_text' to the |
| 209 |
'Coding' Method object, e.g. your Method object should looks something |
| 210 |
like: |
| 211 |
<pre><code>Coding Display Colour BLUE |
| 212 |
Frame_sensitive |
| 213 |
Strand_sensitive Show_up_strand |
| 214 |
Overlap_mode Bumpable |
| 215 |
Width 2 |
| 216 |
Right_priority 2 |
| 217 |
Show_text |
| 218 |
Blastn |
| 219 |
Blixem Blixem_X |
| 220 |
Blixem_N |
| 221 |
</code></pre> |
| 222 |
|
| 223 |
<P>The rules governing what text is displayed seem hard to determine but |
| 224 |
contents of 'Remark', 'Gene_name', 'Gene_function' tags always seem to be |
| 225 |
displayed. In AceBrowser, these don't always work as stable links when |
| 226 |
clicked apon. |
| 227 |
|
| 228 |
<P>Both these examples are heavily used in the Arabidopsis Genome Resource |
| 229 |
(AGR) at <A href="http://ukcrop.net/agr">http://ukcrop.net/agr</A> |
| 230 |
|
| 231 |
|
| 232 |
|
| 233 |
<!--******************************************************************** --> |
| 234 |
<a name="Bugs"></a><H2>Bugs Fixed</H2> |
| 235 |
|
| 236 |
<a name="Problem"></a><H3>Problem with printer list in print window</H3> |
| 237 |
|
| 238 |
<P>Several people reported that when they tried to print something from AceDB, the |
| 239 |
list of printers in the print window contained large numbers of blank/unusable |
| 240 |
buttons which made the print window unusable. This problem was caused by System |
| 241 |
Support inadvertantly changing the format of the system file /etc/printcap |
| 242 |
which contains the list of printers available. The change in format meant that |
| 243 |
acedb no longer correctly parsed the printer names, hence the blank buttons. The |
| 244 |
file has now been returned to its previous (unix standard) format and the print |
| 245 |
window should now work correctly. |
| 246 |
|
| 247 |
|
| 248 |
<a name="cDNA"></a><H3>cDNA objects no longer silently created in the database</H3> |
| 249 |
|
| 250 |
<P>When using fmap, displaying the cDNA for a gene resulted in the silent creation |
| 251 |
of a DNA object for the cDNA. If, after you did this, you did a save, the cDNA object |
| 252 |
would also be saved into the database. Over time this gradually clutters up the database |
| 253 |
with redundant and unwanted objects. fmap has now been changed so that the cDNA objects |
| 254 |
are removed when the fmap displaying the cDNA is destroyed (e.g. by using the "quit" item |
| 255 |
from the main menu). |
| 256 |
|
| 257 |
|
| 258 |
<a name="fmap"></a><H3>fmap window title did not get refreshed correctly from tree window</H3> |
| 259 |
|
| 260 |
<P>If you reused an fmap window to display an object that you clicked on from |
| 261 |
the tree window, in some circumstances the title did not get updated to the name |
| 262 |
of the new object in 4_8. This is now fixed. |
| 263 |
|
| 264 |
|
| 265 |
<a name="Help"></a><H3>Help crashes</H3> |
| 266 |
|
| 267 |
<P>The help code in AceDB crashed for some cases where it could not find the help |
| 268 |
files, this is now fixed. |
| 269 |
|
| 270 |
|
| 271 |
<a name="Setting"></a><H3>Setting size for gif maps crashed acedb sometimes.</H3> |
| 272 |
|
| 273 |
<P>When using the "gif" submenu from giface or sgifaceserver, it is possible |
| 274 |
to set the size of the virtual graph using the "dimensions" option. In cleaning |
| 275 |
up the virtual graph code a bug was introduced which meant that when the dimensions |
| 276 |
option was used the graph produced would be very small which resulted in the code |
| 277 |
looping and consuming memory until it crashed or simply producing a graph of |
| 278 |
zero size. This is now fixed. |
| 279 |
|
| 280 |
|
| 281 |
<a name="GIF"></a><H3>GIF creation caused acedb to swallow memory.</H3> |
| 282 |
|
| 283 |
<P>As part of the clean up of the virtual graph system used to produce gif |
| 284 |
versions of AceDB windows, a bug was introduced which resulted in AceDB gradually |
| 285 |
using up memory because any data associated with the graph was not freed correctly. |
| 286 |
The error was in gifcommand.c, which used the test aceInIsInteractive() to decide |
| 287 |
whether to set isGifDisplay to TRUE. This always fails because command.c (which |
| 288 |
calls gifcommand.c) always copies the terminals input into a text string, this |
| 289 |
is by definition non-interactive ! In addition to this, this test will always |
| 290 |
fail for the server where no input is ever interactive. The fix was to |
| 291 |
initialise isGifDisplay to FALSE, but it's then set to TRUE by |
| 292 |
the main()s for giface and sgifaceserver, this then ensures that sequence and |
| 293 |
display stuff is freed correctly. |
| 294 |
|
| 295 |
|
| 296 |
<!-- ******************************************************************** --> |
| 297 |
<H2>March monthly build now available.</H2> |
| 298 |
|
| 299 |
<P>You can pick up the monthly builds from: |
| 300 |
<dl> |
| 301 |
<dt><b>Sanger users</b> |
| 302 |
<dd>~acedb/RELEASE.DEVELOPMENT |
| 303 |
<dt><b>External users</b> |
| 304 |
<dd><A href="http://www.acedb.org/Software/Downloads/monthly.shtml"> |
| 305 |
http://www.acedb.org/Software/Downloads/monthly.shtml</A> |
| 306 |
</dl> |
| 307 |
|
| 308 |
<!-- ******************************************************************** --> |
| 309 |
<H2>Next User Group Meeting - D319, 2.30pm, Thursday, 19th April 2001</H2> |
| 310 |
|
| 311 |
<p><b>!*! Please note changed venue !*!</b> |
| 312 |
|
| 313 |
<!-- ******************************************************************** --> |
| 314 |
<HR> |
| 315 |
<HR> |
| 316 |
|
| 317 |
<ADDRESS><A href="mailto:[email protected]">Ed Griffiths <[email protected]></A></ADDRESS> |
| 318 |
<!-- hhmts start --> |
| 319 |
Last modified: Mon May 21 14:52:54 BST 2001 |
| 320 |
<!-- hhmts end --> |
| 321 |
|
| 322 |
</BODY> |
| 323 |
</HTML> |