[Biopython-dev] Bio.GFF and Brad's code

Peter Cock p.j.a.cock at googlemail.com
Fri Apr 17 10:40:42 EDT 2009


On Fri, Apr 17, 2009 at 2:23 PM, Brad Chapman <chapmanb at 50mail.com> wrote:
> Things are a bit more generalized as key/value pairs in qualifiers,
> but the mapping straightforward. My only suggestion would be that we
> add 'start' and 'end' accessors to SeqFeature that map to
> feature.location.nofuzzy_start and feature.location.nofuzzy_end,
> respectively. SeqFeature is more generalized, for GenBank location
> nastiness, but we should make the common simple case simpler.

The SeqFeature already has start and end "attributes", but they are
done with some magic in __getattr__, I was planning to update this
to use a modern python property get.  I can't find an enhancement
bug on this so it may just have been on my mental to do list ;)

See also,
http://lists.open-bio.org/pipermail/biopython/2007-September/003703.html

Peter


More information about the Biopython-dev mailing list