🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: bionet.software.acedb
Article #58

Acedb bug....

#58
From: Ed Griffiths
Date: Sat, 14 Oct 2006 11:46
48 lines
3301 bytes
All,

Following a report by a user at Sanger I have found a serious bug has been 
introduced into the way acedb parses in data, the bug has been in the code for 
several years so its surprising it has not come to light before.

The problem can be summarised as follows, if you parse in the following file:


//------start--------
CDS : "R09E10.1"

Sequence : "Eds_sequence"
CDS_child "R09E10.1" 11111 22222

Sequence : "R09E10"
-D CDS_child "R09E10.1" 11111 22222
CDS_child "R09E10.1" 33333 44444
//------------end-----

You end up with "R09E10" looking like this:

Sequence R09E10
   SMap    S_Child     CDS_child   R09E10.1

i.e. you have lost the new coordinates from your change.

There is a work around in that if you do the deletion and addition in two stages 
then all will be fine:

Sequence : "R09E10"
-D CDS_child "R09E10.1" 11111 22222

Sequence : "R09E10"
CDS_child "R09E10.1" 33333 44444


I am urgently looking to find when this problem was introduced and to fix it.

Ed
-- 
  ------------------------------------------------------------------------
| Ed Griffiths, Acedb development, Informatics Group,                    |
|  The Morgan Building, Sanger Institute, Wellcome Trust Genome Campus   |
|  Hinxton, Cambridge CB10 1HH                                           |
|                                                                        |
| email: edgrif@sanger.ac.uk  Tel: +44-1223-496844  Fax: +44-1223-494919 |
  ------------------------------------------------------------------------
Technical Details
Message-ID: <mailman.50.1160830785.23274.acedb@net.bio.net>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!newsfeed.stanford.edu!headwall.stanford.edu!newshub.sdsu.edu!elk.ncren.net!news.purdue.edu!quokka.wn.com.au!textfeed1.on.meganewsservers.com!meganewsservers.com!feeder2.on.meganewsservers.com!nx01.iad01.newshosting.com!newshosting.com!novia!news-out.octanews.net!mauve.octanews.net!sanger.ac.uk!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: f6d40,9b297c3365db2617,start
X-Google-Attributes: gidf6d40,public
X-Google-Language: ENGLISH,ASCII-7-bit
Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!newsfeed.stanford.edu!headwall.stanford.edu!newshub.sdsu.edu!elk.ncren.net!news.purdue.edu!quokka.wn.com.au!textfeed1.on.meganewsservers.com!meganewsservers.com!feeder2.on.meganewsservers.com!nx01.iad01.newshosting.com!newshosting.com!novia!news-out.octanews.net!mauve.octanews.net!sanger.ac.uk!not-for-mail
From: Ed Griffiths <edgrif@sanger.ac.uk>
Newsgroups: bionet.software.acedb
Subject: Acedb bug....
Date: Sat, 14 Oct 2006 12:46:32 +0100
Organization: Sanger Institute
Lines: 49
Approved: BIOSCI Approval Key <biosci-approval-key@net.bio.net>
Message-ID: <mailman.50.1160830785.23274.acedb@net.bio.net>
NNTP-Posting-Host: kalo.bio.indiana.edu
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
X-Trace: mailhub227.itcs.purdue.edu 1160830821 12713 129.79.224.26 (14 Oct 2006 13:00:21 GMT)
X-Complaints-To: news@purdue.edu
NNTP-Posting-Date: Sat, 14 Oct 2006 13:00:21 +0000 (UTC)
To: bionet-software-acedb@moderators.isc.org
X-Envelope-From: news@connect.com.au
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US;
 rv:1.7.8) Gecko/20060628 Debian/1.7.8-1sarge7.1
X-Accept-Language: en
X-Mailman-Approved-At: Sat, 14 Oct 2006 07:59:44 -0500
X-BeenThere: acedb@net.bio.net
X-Mailman-Version: 2.1.4
Precedence: list
X-Auth: PGPMoose V1.1 PGP bionet.software.acedb
 iQCVAwUBRTDfQqCIqsWvyF5FAQG+/wP/WoxgQLntUUyxm5+/IF/hw+k6b90nWVXX
 500u55FzxS/fCu61lGjvPusz1O9jamYky8hY320fp7yFmzIXMK98Ne2krN7e6Vy0
 WoYCqeV/LGFFCry5cFEKnFdT9cvYBhR3FVmkayEh4RScwxGNtHuJhKYLc5+cvVKW
 fWdsCQsxO/U= =oavi