| 1 |
<HTML> |
| 2 |
|
| 3 |
<HEAD> |
| 4 |
<TITLE>ACEDB User Group Newsletter - June 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 - June 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, some new homology drawing tags/code, some bug fixes and some |
| 36 |
general gubbins for developers. |
| 37 |
|
| 38 |
|
| 39 |
<!-- ******************************************************************** --> |
| 40 |
<P><hr width="62%" align=left> |
| 41 |
<a name="General_News"></a><H2>General News</H2> |
| 42 |
|
| 43 |
<P>More smap and more smap and more smap. |
| 44 |
|
| 45 |
|
| 46 |
<!-- ******************************************************************** --> |
| 47 |
<P><hr width="62%" align=left> |
| 48 |
<a name="New_Features"></a><H2>New Features</H2> |
| 49 |
|
| 50 |
|
| 51 |
<a name="blixem"></a><H3>New Blixem Preference</H3> |
| 52 |
|
| 53 |
<P>From the xace "Preferences" dialog you can now specify a path for the script |
| 54 |
that launches the stand alone version of blixem (you need to set the BLIXEM_EXTERNAL |
| 55 |
preference to use the stand alone version). This allows users to select |
| 56 |
which version of blixem they want to run which can be useful for testing new versions. |
| 57 |
|
| 58 |
|
| 59 |
<a name="Homols_ESTs"></a><H3>Display of Homologies and EST read pairs in FMap</H3> |
| 60 |
|
| 61 |
<P>The FMap display now supports drawing of lines between the blocks for |
| 62 |
a single feature, e.g. all the blocks of a single homolgy match. |
| 63 |
This is very useful when there are lots of homologies in a column or when |
| 64 |
a homology is spread out over a long distance as it makes it easy to see which |
| 65 |
blocks belong with each other or whether there are further blocks off screen. |
| 66 |
This is extended for EST read |
| 67 |
pairs so that the blocks for each match are joined by lines and the pair are |
| 68 |
also joined with a dashed line. The line drawing is turned on when the display mode |
| 69 |
for a feature/homology column is set to "cluster" (cluster mode already vertically aligns the blocks |
| 70 |
for each feature). |
| 71 |
|
| 72 |
<P>Line drawing for all features is controlled by: |
| 73 |
|
| 74 |
<P><b><code>Join_blocks</code>:</b>This is a new tag in the <code>Display</code> |
| 75 |
section of the <code>?Method</code> class, if present in the Method object |
| 76 |
for a feature then blocks will be joined by lines when the column display mode is "cluster". |
| 77 |
|
| 78 |
<P>In addition to specifying the <code>Join_blocks</code> tag, |
| 79 |
connecting of EST read pairs by a dashed |
| 80 |
line is controlled by the following tags within the two Sequence |
| 81 |
class objects representing the EST read pair: |
| 82 |
|
| 83 |
<P><b><code>Paired_read ?Sequence XREF Paired_read</code>:</b> each EST Sequence object |
| 84 |
must cross reference the other. |
| 85 |
|
| 86 |
<P><b><code>EST_5</code> or <code>EST_3</code>:</b> one EST Sequence object must have the |
| 87 |
<code>EST_5</code> tag and one the <code>EST_3</code> tag to |
| 88 |
indicate whether they are the 5' or 3' read. |
| 89 |
|
| 90 |
|
| 91 |
<!-- ******************************************************************** --> |
| 92 |
<P><hr width="62%" align=left> |
| 93 |
<a name="Bugs_Fixed"></a><H2>Bugs Fixed</H2> |
| 94 |
|
| 95 |
|
| 96 |
<a name="Model_bug"></a><H3>Small bug in "Model" command</H3> |
| 97 |
|
| 98 |
<P>Fixed a small buglet in "Model" command which meant code read past the end |
| 99 |
of the class definition to be displayed and showed irrelevant comments that |
| 100 |
happened to follow the definition. |
| 101 |
|
| 102 |
|
| 103 |
<a name="databasefile_bug"></a><H3>Write access to database.map</H3> |
| 104 |
|
| 105 |
<P>The code now crashes if it cannot write the database.map file, it |
| 106 |
used to fail silently potentially leaving a corrupted database. |
| 107 |
|
| 108 |
|
| 109 |
<a name="reverse_strand"></a><H3>Show_in_reverse_orientation bug</H3> |
| 110 |
|
| 111 |
<P>Homols that have the Show_in_reverse_orientation tag set get swopped to |
| 112 |
the opposite strand, they must be swopped back to their original strand |
| 113 |
when passed to Blixem. |
| 114 |
|
| 115 |
|
| 116 |
|
| 117 |
<!-- ******************************************************************** --> |
| 118 |
<P><hr width="62%" align=left> |
| 119 |
<a name="Developers_Corner"></a><H2>Developers Corner</H2> |
| 120 |
|
| 121 |
<P>If you wish to make comments/suggestions about any of the below, please mail them |
| 122 |
to <A HREF="mailto:[email protected]">[email protected]</A> |
| 123 |
|
| 124 |
|
| 125 |
<a name="messubs_changes"></a><H3>Some messubs changes</H3> |
| 126 |
|
| 127 |
<P><b>messcrash message format:</b> The format of the message now contains |
| 128 |
information about the program running, userid etc. in a more easily parsed/uniform |
| 129 |
way: |
| 130 |
<pre><code>// FATAL ERROR (ruid: XXX, euid: XXX, nodeid: XXX, program: XXX, version: XXX, file: XXX.c, line: XXXX) |
| 131 |
- Unable to update database/database.map file (system error 13 - Permission denied) |
| 132 |
</code></pre> |
| 133 |
|
| 134 |
<P><b><code>messcrash</code> optional <code>abort()</code> call:</b> You can control whether messcrash calls |
| 135 |
<code>abort()</code> or not using the <code>messAbortOnCrash()</code> routine prior to the messcrash call. This |
| 136 |
call is used in the implementation of the <code>messAssert()</code> macro described below. |
| 137 |
|
| 138 |
|
| 139 |
<P><b>A safer hprintf():</b> <code>hprintf()</code> (and other XXprintf style routines) |
| 140 |
have been a problem in Standard C because there was no way to tell whether you had |
| 141 |
allocated a big enough buffer to hold the string that they produce. Some operating |
| 142 |
systems and the latest version of the C standard library overcome this to some |
| 143 |
extent with XXnprintf versions of the calls which print at most "n" characters. |
| 144 |
Glib already provides these type of calls, e.g. g_vsnprintf(), and hprintf() now |
| 145 |
makes use of this. |
| 146 |
|
| 147 |
|
| 148 |
<P><b>Some messNNN macros():</b> The following macros have been added to |
| 149 |
regular.h which should help with producing concise but error-checking code: |
| 150 |
|
| 151 |
<dl> |
| 152 |
<dt><b>messCheck()</b> |
| 153 |
<dd>allows more succint (one line) checking of whether calls such as printf() |
| 154 |
worked. Can be used in either of these formats: |
| 155 |
<pre><code>messCheck( var = func(arg1, arg2), cond) ; |
| 156 |
messCheck( func(arg1, arg2), cond) ;</code></pre> |
| 157 |
Note that you don't have to assign the function result to a variable and that |
| 158 |
"cond" should be a simple equality test like != 0 or == NULL. |
| 159 |
<dt><b>messAssert()</b> |
| 160 |
<dd>this macro works just like the standard C library assert() but calls messcrash() |
| 161 |
instead of directly calling abort(). |
| 162 |
</dl> |
| 163 |
|
| 164 |
<P>If the checks fail then messcrash is called with a string which shows the condition |
| 165 |
that failed. |
| 166 |
|
| 167 |
|
| 168 |
<a name="graph_changes"></a><H3>Graph package changes</H3> |
| 169 |
|
| 170 |
<P>You can now set the graph line style via the <code>graphLineStyle()</code> call to either |
| 171 |
<code>GRAPH_LINE_SOLID</code> or <code>GRAPH_LINE_DASHED</code>. |
| 172 |
|
| 173 |
<P>There is a new <code>graphBoxSetDim()</code> function which you can use to set the dimensions |
| 174 |
of a box, this enables you to do things like draw a single pixel wide line but |
| 175 |
in a box that is several pixels wide so that the user can more easily click on the |
| 176 |
line (this is used in the homology block line drawing code so that the user |
| 177 |
can click on the lines between homology boxes to select that particular homology match. |
| 178 |
|
| 179 |
|
| 180 |
|
| 181 |
<a name="smap_changes"></a><H3>SMap changes</H3> |
| 182 |
|
| 183 |
<P>The smap code now makes use of the NO_OVERLAP_EXTERNAL status flags to detect |
| 184 |
which end of a feature has been clipped if the feature extends beyond the end of |
| 185 |
the current smap. We can make use of this to draw at least part of very long |
| 186 |
features that extend beyond the ends of the current FMap context for instance. |
| 187 |
|
| 188 |
|
| 189 |
|
| 190 |
<!-- ******************************************************************** --> |
| 191 |
<P><hr width="62%" align=left> |
| 192 |
<H2>June monthly build not available.</H2> |
| 193 |
|
| 194 |
<P>Apologies, once again there was no build this month due to the major |
| 195 |
SMap development work. |
| 196 |
|
| 197 |
|
| 198 |
<!-- ******************************************************************** --> |
| 199 |
<HR> |
| 200 |
<HR> |
| 201 |
|
| 202 |
<ADDRESS><A href="mailto:[email protected]">Ed Griffiths <[email protected]></A></ADDRESS> |
| 203 |
<!-- hhmts start --> |
| 204 |
Last modified: Wed Dec 18 16:33:20 GMT 2002 |
| 205 |
<!-- hhmts end --> |
| 206 |
|
| 207 |
</BODY> |
| 208 |
</HTML> |