| 1 |
<HTML> |
| 2 |
|
| 3 |
<HEAD> |
| 4 |
<TITLE>ACEDB User Group Newsletter - September 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 - September 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>Some small changes to AceConn, a new init flag, some query improvements, |
| 36 |
some smap stuff...some bugs.... |
| 37 |
|
| 38 |
|
| 39 |
<!-- ******************************************************************** --> |
| 40 |
<P><hr width="62%" align=left> |
| 41 |
<a name="General_News"></a><H2>General News</H2> |
| 42 |
|
| 43 |
<P>The long and winding road, at last we make a reasonable release of acedb |
| 44 |
including a complete replacement of the sequence building code in FMap with |
| 45 |
the new SMap code. |
| 46 |
|
| 47 |
|
| 48 |
<!-- ******************************************************************** --> |
| 49 |
<P><hr width="62%" align=left> |
| 50 |
<a name="New_Features"></a><H2>New Features</H2> |
| 51 |
|
| 52 |
<a name="Aceconn_change"></a><H3>AceConn Interface Change</H3> |
| 53 |
|
| 54 |
<P>There has been a small change to the AceConn interface, this is |
| 55 |
the C library that provides a set of basic routines for interfacing to |
| 56 |
the acedb socket server. |
| 57 |
|
| 58 |
<P>Initialisation and connection have now been separated which gives the |
| 59 |
application more control over when to connect to the database and also |
| 60 |
more error feedback when the crucial intial connection fails. The |
| 61 |
initialise/connect and disconnect/destroy calls are now: |
| 62 |
|
| 63 |
<pre><code>status = AceConnCreate(&connection, host, port, userid, passwd, timeout) ; |
| 64 |
|
| 65 |
status = AceConnConnect(connection) ; |
| 66 |
|
| 67 |
.... make requests to server .... |
| 68 |
|
| 69 |
status = AceConnDisconnect(connection) ; |
| 70 |
|
| 71 |
AceConnDestroy(AceConnection connection) ; |
| 72 |
</code></pre> |
| 73 |
|
| 74 |
|
| 75 |
|
| 76 |
<a name="Force_init"></a><H3>Forced initialisation of tace/giface</H3> |
| 77 |
|
| 78 |
<P>When any acedb program starts up, it checks for the presence of the database/ACEDB.wrm file, |
| 79 |
it then prompts the user as to whether to reinitialise the database. This can make running |
| 80 |
tace and giface from a script a bit tedious because you have to remember to handle this |
| 81 |
possibility. You can now specify the <code><b>"-init"</b></code> command line option which |
| 82 |
means that if database/ACEDB.wrm file is not found, then the program will continue without |
| 83 |
prompting and reinitialise. |
| 84 |
|
| 85 |
|
| 86 |
<a name="dna_cmd"></a><H3>New "dna" command options</H3> |
| 87 |
|
| 88 |
<P>The tace/giface "dna" command now has options for unspliced/spliced/cds dna dumping. |
| 89 |
The new command synopsis is: |
| 90 |
|
| 91 |
<pre><code>Dna [-mismatch] [-unspliced | -spliced | -cds] [[-f] out_filename] : |
| 92 |
Fasta dump of related dna sequences. |
| 93 |
-mismatch allow mismatches in construction of dna |
| 94 |
-unspliced | -spliced | -cds |
| 95 |
for intron/exon objects dna can be dumped for exons + introns, |
| 96 |
the spliced exons or just the CDS within the spliced exons. |
| 97 |
[-f] out_filename output file for dna. |
| 98 |
</code></pre> |
| 99 |
|
| 100 |
|
| 101 |
<a name="query_number"></a><H3>Query/TableMaker number interpretation</H3> |
| 102 |
|
| 103 |
<P>The query/tablemaker handling of arithmetic/algebra has been improved so that |
| 104 |
it can do interpretations of sums like: <code><b>"- -3 == 3"</b></code> |
| 105 |
and <code><b>"3 + 5 (7+2)"</b></code>. The handling |
| 106 |
of negative numbers is useful in table maker when you say <code><b>"%5"</b></code> |
| 107 |
and <code><b>"%5"</b></code> is negative. |
| 108 |
|
| 109 |
|
| 110 |
|
| 111 |
<!-- ******************************************************************** --> |
| 112 |
<P><hr width="62%" align=left> |
| 113 |
<a name="Articles"></a><H2>Articles</H2> |
| 114 |
|
| 115 |
|
| 116 |
<a name="Smap_model"></a><H3>SMap Model clarification</H3> |
| 117 |
|
| 118 |
<P>A small but important clarification has been added to the SMap model for |
| 119 |
gluing together sequences and features, it is fundamental to the SMap that |
| 120 |
each child has one and only one parent. Objects that are to be SMap'd must |
| 121 |
form strict trees, i.e. each object has a single parent (except for the |
| 122 |
top object which has no parent). Objects may, of course, have multiple |
| 123 |
children. |
| 124 |
|
| 125 |
<P>The part of the SMap model that must be put in the child object to point to its |
| 126 |
parent should be: |
| 127 |
|
| 128 |
<pre><code> SMap S_Parent UNIQUE <parent_tag> UNIQUE <parent_key> |
| 129 |
<parent_tag> UNIQUE <parent_key> |
| 130 |
</code></pre> |
| 131 |
|
| 132 |
<P>As an example the current wspec/models.wrm Sequence class includes: |
| 133 |
|
| 134 |
<pre><code>?Sequence |
| 135 |
|
| 136 |
SMap S_Parent Canonical_parent UNIQUE ?Sequence XREF Genomic_non_canonical |
| 137 |
Genomic_parent UNIQUE ?Sequence XREF Nongenomic |
| 138 |
AGP_parent UNIQUE ?Sequence XREF AGP_fragment |
| 139 |
|
| 140 |
</code></pre> |
| 141 |
|
| 142 |
<P>This means that any <b>one</b> of <b>Canonical_parent</b>, <b>Genomic_parent</b> |
| 143 |
or <b>AGP_parent</b> could be the parent of this object. |
| 144 |
|
| 145 |
|
| 146 |
|
| 147 |
<a name="dotter_blixem"></a><H3>Dotter and Blixem binaries</H3> |
| 148 |
|
| 149 |
<P>The <A HREF="http://www.acedb.org/Software/Downloads/">downloads page</A> |
| 150 |
on the acedb web site now includes a separate downloads package for the belvu, dotter, |
| 151 |
and blixem binaries. These are available for Unix, Mac OSX and MS Windows. |
| 152 |
|
| 153 |
|
| 154 |
|
| 155 |
|
| 156 |
<!-- ******************************************************************** --> |
| 157 |
<P><hr width="62%" align=left> |
| 158 |
<a name="Bugs_Fixed"></a><H2>Bugs Fixed</H2> |
| 159 |
|
| 160 |
|
| 161 |
<a name="Fasta_dump"></a><H3>Dumping dna for genes on reverse strand</H3> |
| 162 |
|
| 163 |
<P>An old bug, if you used the seqdna command from giface to dump the dna for |
| 164 |
a gene on the reverse strand it dumped the dna for the forward strand instead ! |
| 165 |
This goes right back to acedb 4_7 and is now fixed. |
| 166 |
|
| 167 |
|
| 168 |
<a name="signal_handler"></a><H3>Bug in signal handler</H3> |
| 169 |
|
| 170 |
<P>The signal handler was setting the messOut context to NULL instead of the messExit |
| 171 |
context. Then when it called messExit, this caused the program to reenter GTK from the |
| 172 |
signal handler, this is almost always a disaster as it messes up the state of GTK. This |
| 173 |
is fixed now. |
| 174 |
|
| 175 |
|
| 176 |
<a name="max_reply"></a><H3>max_reply in acedb server</H3> |
| 177 |
|
| 178 |
<P>The documentation for "max reply bytes" in the server was muddled: |
| 179 |
the client can set this to any value between 0 and the server maximum (100KB), |
| 180 |
the server will except the special value zero, meaning "no maximum", |
| 181 |
i.e. send whole of reply at once. |
| 182 |
|
| 183 |
|
| 184 |
<!-- ******************************************************************** --> |
| 185 |
<P><hr width="62%" align=left> |
| 186 |
<a name="Developers_Corner"></a><H2>Developers Corner</H2> |
| 187 |
|
| 188 |
<a name="nested_dirs"></a><H3>Subdirectories in whelp/ and wdoc/</H3> |
| 189 |
|
| 190 |
<P>Since Simon improved the help browser for acedb it handles subdirectories within |
| 191 |
whelp/ and in general it would be good if we could all consider putting documents |
| 192 |
that go into whelp/ or wdoc/ into their subdirectories, particularly if you include |
| 193 |
seperate picture files that should go with the documents. |
| 194 |
This has been done for whelp/AQL and also for wdoc/SMap and wdoc/Socket_server |
| 195 |
documentation already. If you aren't sure how to add subdirectories in a CVS |
| 196 |
directory then mail me |
| 197 |
<A HREF="mailto:[email protected]">[email protected]</A> |
| 198 |
and I'll send you the incantations. |
| 199 |
|
| 200 |
|
| 201 |
|
| 202 |
<a name="cvs_changes"></a><H3>Some new CVS stuff</H3> |
| 203 |
|
| 204 |
<P>When we all used the <code><b>"acXXXX"</b></code> scripts to access our files there |
| 205 |
was a system that warned you if someone else was already editting a file that you wanted |
| 206 |
to get out, if you carried on and got the file out then it also warned the person(s) |
| 207 |
already editting the file that you had got the file out. Note that this was just a warning, |
| 208 |
it in no way prevented you from editting the file, a courtesy email really. Rob has added |
| 209 |
code to get CVS to perform this function now rather than the |
| 210 |
<code><b>"acXXXX"</b></code> scripts. |
| 211 |
|
| 212 |
<P>The aquila scripts have now been placed in cvs. |
| 213 |
|
| 214 |
|
| 215 |
<a name="alpha_5"></a><H3>Alpha OSF v5 make</H3> |
| 216 |
|
| 217 |
<P>We now have a "_DEF" file for OSF v5 called ALPHA_5, Simon has pointed out |
| 218 |
that this breaks the convention that the first number refers to the acedb release. |
| 219 |
This is partly my fault, I was unaware of this convention and also it has been |
| 220 |
broken for other operating systems. If anyone feels really strongly about this I will |
| 221 |
change it to ALPHA_4_5. I have put in the compiler flags to get "level 3" warnings out |
| 222 |
which seems about right as a balance between over zealous and useful messages. |
| 223 |
|
| 224 |
|
| 225 |
<P>I also attempted to fix yet more #define nonsense on Alpha, |
| 226 |
they cannot make up their minds whether to |
| 227 |
define socklen_t or not...sigh.... first they don't, then they do, then |
| 228 |
they only sometimes do.... |
| 229 |
|
| 230 |
|
| 231 |
<!-- ******************************************************************** --> |
| 232 |
<P><hr width="62%" align=left> |
| 233 |
<H2>May monthly build not available.</H2> |
| 234 |
|
| 235 |
<P>Apologies, once again there was no build this month due to the major |
| 236 |
SMap development work. |
| 237 |
|
| 238 |
|
| 239 |
<!-- ******************************************************************** --> |
| 240 |
<HR> |
| 241 |
<HR> |
| 242 |
|
| 243 |
<ADDRESS><A href="mailto:[email protected]">Ed Griffiths <[email protected]></A></ADDRESS> |
| 244 |
<!-- hhmts start --> |
| 245 |
Last modified: Fri Dec 20 09:46:07 GMT 2002 |
| 246 |
<!-- hhmts end --> |
| 247 |
|
| 248 |
</BODY> |
| 249 |
</HTML> |