| 1 |
<HTML> |
| 2 |
|
| 3 |
|
| 4 |
<HEAD> |
| 5 |
<TITLE>ACEDB User Group Newsletter - April 2004</TITLE> |
| 6 |
|
| 7 |
<!-- you won't pick up the style sheet if you view this template file, it works OK |
| 8 |
for the newsletters which are in the directory above. --> |
| 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 |
<!-- Don't change this name unless you change mkindex.pl. --> |
| 23 |
<a name="Top"></a> |
| 24 |
|
| 25 |
<H1>ACEDB User Group Newsletter - April 2004</H1> |
| 26 |
|
| 27 |
|
| 28 |
<!-- ******************************************************************** --> |
| 29 |
<P>If you want to have this newsletter mailed to you <B>or</B> you want to |
| 30 |
make comments/suggestions about the format/content then |
| 31 |
send an email to <A HREF="mailto:[email protected]">[email protected]</A>. |
| 32 |
|
| 33 |
|
| 34 |
<!-- ******************************************************************** --> |
| 35 |
<P><hr width="62%" align=left> |
| 36 |
|
| 37 |
<P>This month sees the latest AceDB builds now available on the Mac, a change to |
| 38 |
AceDB version number format, improvements to the Tag Chooser, improvements to |
| 39 |
DNA exporting and improvements/bug fixes for the AceC interface. |
| 40 |
|
| 41 |
|
| 42 |
|
| 43 |
<!-- ******************************************************************** --> |
| 44 |
<P><hr width="62%" align=left> |
| 45 |
<a name="New_Features"></a><H2>New Features</H2> |
| 46 |
|
| 47 |
<a name="acedb_mac"></a><H3>Latest AceDB builds on MAC OSX</H3> |
| 48 |
|
| 49 |
<P>(<I>This work is courtesy of Rob Clack</I> |
| 50 |
<A HREF="mailto:[email protected]">[email protected]</A>) |
| 51 |
|
| 52 |
<P>After a great deal of effort fiddling with compiler options, the OSX environment |
| 53 |
and FINK, the latest AceDB builds are available on the Mac. Go to the |
| 54 |
<A HREF="http://www.acedb.org/Software/Downloads/">downloads page</A> to get |
| 55 |
hold of the new binaries. |
| 56 |
|
| 57 |
|
| 58 |
<a name="acedb_version"></a><H3>AceDB Version Numbering</H3> |
| 59 |
|
| 60 |
<P>Conventionally Acedb versions have been given as: |
| 61 |
|
| 62 |
<pre> <version>_<release><update> e.g. "4_9t" |
| 63 |
</pre> |
| 64 |
|
| 65 |
<P>We have finally run out of update letters for 4_9 so we have switched to the |
| 66 |
now recognised convention of: |
| 67 |
|
| 68 |
<pre> <version>.<release>.<update> e.g. "4.9.27" |
| 69 |
</pre> |
| 70 |
|
| 71 |
<P>You should take note of this if you have code that in any way parses the AceDB |
| 72 |
version number and uses it. |
| 73 |
|
| 74 |
|
| 75 |
|
| 76 |
<a name="tag_chooser"></a><H3>Improvement in Tag Chooser</H3> |
| 77 |
|
| 78 |
<P>(<I>This article is courtesy of Jean Thierry-Mieg</I> |
| 79 |
<A HREF="mailto:[email protected]">[email protected]</A>) |
| 80 |
|
| 81 |
<P>The tag chooser is used in 2 situations, when you update an |
| 82 |
object or when you contruct a Table-Maker query. |
| 83 |
|
| 84 |
<P>In both cases, a window pops up with light blue boxes |
| 85 |
showing the complete acedb model for the releavant class. |
| 86 |
The only thing you have to do, is to select the relevant |
| 87 |
box and double click it with the left mouse button. |
| 88 |
In object update mode, this will add the tag to your object, |
| 89 |
in Table-Maker, this will select it for display in the |
| 90 |
column you are constructing. |
| 91 |
|
| 92 |
<P>Unfortunately, it is sometimes frustratingly hard to locate |
| 93 |
the relevant tag, because some of the acedb models are very |
| 94 |
large, even though, in your database, you may well only use a small |
| 95 |
number of them. |
| 96 |
|
| 97 |
<P>However, a few months ago, I introduced in the Tree display |
| 98 |
a new toggle, available from the right mouse, which shows |
| 99 |
for each tag present in your object, how many times it |
| 100 |
is present in the complete database. This is particularily |
| 101 |
useful when you display the Model, since it then shows how many |
| 102 |
times each tag present in the database is used, and hence |
| 103 |
how many tags are never used ! |
| 104 |
|
| 105 |
<P>Well, this month, we decided to use the Tag-Count facility |
| 106 |
to improve the interface of the tag-Chooser. From now on, |
| 107 |
when you update and object (CTRL-U) or when you choose |
| 108 |
a Tag in the Table-Maker graphic interface, the tag chooser |
| 109 |
will skip the Tags which are never used in your database. |
| 110 |
Moreover, in Table-Maker, when you are searching |
| 111 |
Right-of a previous column (Button From/Right of), the |
| 112 |
tag chooser will now only propose the relevant section |
| 113 |
of the schema, i.e. the branch right of tag selected |
| 114 |
in the parent column. |
| 115 |
|
| 116 |
<P>In both cases, you may still access all possible tags by using |
| 117 |
the new button 'Show all tags/Limit to known tags' |
| 118 |
proposed in the tag-chooser window. This is handy when |
| 119 |
you wish to add for the first time a new tag in |
| 120 |
object-update mode or when you construct a Table |
| 121 |
definition to be used in the future when the data |
| 122 |
will actually be present. |
| 123 |
|
| 124 |
<P>The same facility could be added in query by example or |
| 125 |
in query builder if there were some demand. |
| 126 |
|
| 127 |
<P>Please send feedback if you like or dislike this new option to |
| 128 |
<A HREF="mailto:[email protected]">[email protected]</A>. |
| 129 |
|
| 130 |
|
| 131 |
|
| 132 |
<a name="Exporting_a_stretch_of_DNA"></a><H3>Exporting a stretch of DNA</H3> |
| 133 |
|
| 134 |
<P>(<I>This article is courtesy of Jean Thierry-Mieg</I> |
| 135 |
<A HREF="mailto:[email protected]">[email protected]</A>) |
| 136 |
|
| 137 |
<P>Let us recall that, given an active set of objects having DNA, either |
| 138 |
directly or indirectly, the command |
| 139 |
|
| 140 |
<pre> acedb> dna |
| 141 |
</pre> |
| 142 |
|
| 143 |
<p>dumps the corresponding DNA in fasta format. For example, if you have a mixed |
| 144 |
keyset containing for example mRNA sequences, genes, cosmids, chromosomes |
| 145 |
assembled from BACs or so, the above command dumps in a single fasta file all |
| 146 |
the corresponding sequences. This command may be used for example to |
| 147 |
reconstruct the sequence of a complete chromosome which has been entered in |
| 148 |
acedb as just a scaffold of cosmids, provided the sequence of most of the |
| 149 |
cosmids are known in the database. Unsequenced cosmids will then be |
| 150 |
represented as --- . If there are overlapping cosmids and they disagree in |
| 151 |
some places, the program will report an error. But using the option |
| 152 |
|
| 153 |
<pre> acedb> dna -mismatch |
| 154 |
</pre> |
| 155 |
|
| 156 |
<p>will lead to dumping the whole chromosome with clear indication of the |
| 157 |
mismatches (e.g T OR C will be represented by the corresponding letter Y, A OR |
| 158 |
T by W , following the standard sixteen letter code) |
| 159 |
|
| 160 |
<p>Three other options allow to restrict the export to specific parts of the |
| 161 |
transcript(s): you can choose to export the spliced transcript (this is the |
| 162 |
default option) using the command |
| 163 |
|
| 164 |
<pre> acedb> dna -spliced |
| 165 |
</pre> |
| 166 |
|
| 167 |
the premessenger (unspliced transcribed region) using |
| 168 |
|
| 169 |
<pre> acedb> dna -unspliced |
| 170 |
</pre> |
| 171 |
|
| 172 |
<p>or the protein coding part of the transcript using |
| 173 |
|
| 174 |
<pre> acedb> dna -cds . |
| 175 |
</pre> |
| 176 |
|
| 177 |
<p>Finally, the option |
| 178 |
|
| 179 |
<pre> acedb> dna -f filename |
| 180 |
</pre> |
| 181 |
|
| 182 |
<p>redirects the output to the named file. |
| 183 |
|
| 184 |
<P> -------- |
| 185 |
|
| 186 |
<P> We have encountered |
| 187 |
the need to export only selected fragments of sequences, for example the 100 |
| 188 |
last basepairs of a collection of transcripts, say to analyse polyadenylation |
| 189 |
signals. To support this option, we added to the dna command a new pair of |
| 190 |
parameters -x1 and -x2 that specify the beginning and end of the fragments to |
| 191 |
export. |
| 192 |
|
| 193 |
<pre> acedb> dna -x1 u1 -x2 u2 |
| 194 |
</pre> |
| 195 |
|
| 196 |
<p>The values u1 and u2 are either base numbers and they will be automatically |
| 197 |
limited to be within the DNA fragment (value from 1 to DNA length), |
| 198 |
or the word 'begin' or the word 'end' . If you choose to specify -x1 or -x2, |
| 199 |
you must specify both. |
| 200 |
Also, the strand of the fragments exported are determined by the values of u1 |
| 201 |
and u2. If u1 < u2, the exported sequence is direct; if u1 > u2, |
| 202 |
the sequence is reverse complemented before the dump. |
| 203 |
|
| 204 |
<pre>examples: |
| 205 |
|
| 206 |
acedb> find sequence dna1 |
| 207 |
// 1 Active Objects |
| 208 |
acedb> dna // the complete sequence in fasta format |
| 209 |
>dna1 |
| 210 |
tcagtcagtcagtcagtcag |
| 211 |
acedb> dna -x1 end -x2 begin // same, but reverse complemented |
| 212 |
>dna1 |
| 213 |
ctgactgactgactgactga |
| 214 |
acedb> dna -x1 12 -x2 end // the end of the sequence |
| 215 |
>dna1 |
| 216 |
gtcagtcag |
| 217 |
acedb> dna -x1 5 -x2 1 // the first 5 bp, reverse complemented |
| 218 |
>dna1 |
| 219 |
actga |
| 220 |
</pre> |
| 221 |
|
| 222 |
|
| 223 |
<p>This option is also available from the AceC interface, using the new command: |
| 224 |
|
| 225 |
<pre>ac_zone_dna (sequence, u1, u2, memory_handle) |
| 226 |
</pre> |
| 227 |
|
| 228 |
|
| 229 |
|
| 230 |
<!-- ******************************************************************** --> |
| 231 |
<P><hr width="62%" align=left> |
| 232 |
<a name="Bugs_Fixed"></a><H2>Bugs Fixed</H2> |
| 233 |
|
| 234 |
<a name="AceC_enhancement"></a><H3>AceC enhancement</H3> |
| 235 |
|
| 236 |
<P>The AceC, C language programmers interface to acedb, has |
| 237 |
been upgraded. There are minor modifications to a few function calls and a few bugs have been |
| 238 |
found and fixed. |
| 239 |
|
| 240 |
<P>For details, please read wac/ac.h wac/README or contact Jean Thierry-Mieg |
| 241 |
<A HREF="mailto:[email protected]">[email protected]</A>. |
| 242 |
|
| 243 |
|
| 244 |
<!-- ******************************************************************** --> |
| 245 |
<P><hr width="62%" align=left> |
| 246 |
<a name="Developers_Corner"></a><H2>Developers Corner</H2> |
| 247 |
|
| 248 |
|
| 249 |
<a name="proposals_dir"></a><H3>The CVS directory for AceDB proposals</H3> |
| 250 |
|
| 251 |
<P>Just a brief reminder that if you have written up a proposal for AceDB then |
| 252 |
a good place to put it is in: |
| 253 |
|
| 254 |
<pre> winfo/Proposals/ e.g. |
| 255 |
</pre> |
| 256 |
|
| 257 |
<P>try to put the file into one of the existing subdirectories: |
| 258 |
|
| 259 |
<pre> winfo/Proposals/session/rotating_logs |
| 260 |
</pre> |
| 261 |
|
| 262 |
|
| 263 |
<a name="cvs_tool"></a><H3>A good tool for parsing changes in the CVS repository</H3> |
| 264 |
|
| 265 |
<P>In constructing this newsletter I scan all the changes made in the last month, |
| 266 |
recently I have been using a free tool found on the web called "cvs2cl". This is |
| 267 |
a perl script which turns the output from CVS into something more readable. You can see |
| 268 |
how I make use of this tool by looking in the script I run it from: |
| 269 |
|
| 270 |
<pre> winfo/Newsletters/cvschanges |
| 271 |
</pre> |
| 272 |
|
| 273 |
|
| 274 |
|
| 275 |
<!-- ******************************************************************** --> |
| 276 |
<P><hr width="62%" align=left> |
| 277 |
<a name="Monthly_Build"><H2>April monthly build now available.</H2> |
| 278 |
|
| 279 |
<P>You can pick up the monthly builds from: |
| 280 |
<dl> |
| 281 |
<dt><b>Sanger users</b> |
| 282 |
<dd>~acedb/RELEASE.DEVELOPMENT |
| 283 |
<dt><b>External users</b> |
| 284 |
<dd><A href="http://www.acedb.org/Software/Downloads/monthly.shtml"> |
| 285 |
http://www.acedb.org/Software/Downloads/monthly.shtml</A> |
| 286 |
</dl> |
| 287 |
|
| 288 |
<!-- ******************************************************************** --> |
| 289 |
<HR> |
| 290 |
<HR> |
| 291 |
|
| 292 |
<ADDRESS><A href="mailto:[email protected]">Ed Griffiths <[email protected]></A></ADDRESS> |
| 293 |
<!-- hhmts start --> |
| 294 |
Last modified: Thu Jul 1 14:56:49 BST 2004 |
| 295 |
<!-- hhmts end --> |
| 296 |
|
| 297 |
</BODY> |
| 298 |
</HTML> |