[Biopython] Parsing problem

Iwan Grin iwan.grin at googlemail.com
Wed Dec 9 10:55:21 EST 2009


2009/12/9 Peter <biopython at maubp.freeserve.co.uk>

> On Wed, Dec 9, 2009 at 2:51 PM, Iwan Grin <iwan.grin at googlemail.com>
> wrote:
> > Brad, Thank you very much!
> >
> > as much as this is a hack, it works for what I want to have. I guess for
> > future proofness, either the parsers from Bio.GenBank should be exposed,
> or
> > the coded_by qualifier should be parsed as location by default, although
> I
> > am not sure how well the latter idea fits into the present data
> structure.
>
> Brad's trick still work in Biopython 1.53 at the very least. I think we'll
> try and make the location parser more accessible in future, but
> changing the parsing of "coded_by" qualifiers would risk breaking
> existing user scripts.
>
> Peter
>

I would suggest to add a new "coded_by" feature and leave the qualifier as
it is.
This should minimize the risk of breaking stuff. On the other hand, This
feature would be pretty specific for CDS in Genbank Protein files.

Iwan


More information about the Biopython mailing list