[Biopython-dev] Notification: incoming/117

biopython-bugs at bioperl.org biopython-bugs at bioperl.org
Fri Jan 17 20:17:54 EST 2003


JitterBug notification

new message incoming/117

Message summary for PR#117
	From: Jeffrey Chang <jchang at smi.stanford.edu>
	Subject: Re: [BioPython] Re: [Biopython-dev] Notification: incoming/109
	Date: Fri, 17 Jan 2003 17:17:43 -0800
	0 replies 	0 followups

====> ORIGINAL MESSAGE FOLLOWS <====

>From jchang at springfield.stanford.edu Fri Jan 17 20:17:54 2003
Received: from springfield.stanford.edu (springfield.Stanford.EDU [128.12.147.41])
	by pw600a.bioperl.org (8.12.6/8.12.6) with ESMTP id h0I1HqSQ010164
	for <biopython-bugs at bioperl.org>; Fri, 17 Jan 2003 20:17:53 -0500
Received: (from jchang at localhost)
	by springfield.stanford.edu (8.11.6/8.11.6) id h0I1Hh426816;
	Fri, 17 Jan 2003 17:17:43 -0800 (PST)
	(envelope-from jchang)
Date: Fri, 17 Jan 2003 17:17:43 -0800
From: Jeffrey Chang <jchang at smi.stanford.edu>
To: Andreas Kuntzagk <andreas.kuntzagk at mdc-berlin.de>
Cc: biopython-bugs at bioperl.org,
       BioPython Mailing List <biopython at biopython.org>
Subject: Re: [BioPython] Re: [Biopython-dev] Notification: incoming/109
Message-ID: <20030118011743.GK25827 at springfield.stanford.edu>
Mail-Followup-To: Andreas Kuntzagk <andreas.kuntzagk at mdc-berlin.de>,
	biopython-bugs at bioperl.org,
	BioPython Mailing List <biopython at biopython.org>
References: <200212121344.gBCDiYSQ009955 at pw600a.bioperl.org> <1042558708.28387.16.camel at sulawesi>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <1042558708.28387.16.camel at sulawesi>
User-Agent: Mutt/1.4i
X-Spam-Status: No
X-Scanned-By: MIMEDefang 2.26 (www . roaringpenguin . com / mimedefang)

Hi Andreas,
> Answering myself again. Here is a better patch (against the
> biopython-1.10). Using cStringIO only when the handle doesn't have a
> seek, I read to the first "LOCUS" and then 'unread' the last line.
> This gives also more flexibility for the structure of the header.
> 
> Is there anybody else there working with full GenBank-Releases and can
> confirm this patch? 

Peter Bienstman has been working on validating the parser against all
of GenBank.  He has submitted a patch that will correctly read the
blank lines in the header file by using an UndoHandle to suck up all
the lines before the first LOCUS.  It is available in the most recent
CVS.

Jeff








More information about the Biopython-dev mailing list