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

Peter Cock p.j.a.cock at googlemail.com
Tue Apr 21 08:17:41 EDT 2009


On Tue, Apr 21, 2009 at 12:52 PM, Peter Cock <p.j.a.cock at googlemail.com> wrote:
>> Accessing the start and end coordinates in SeqFeatures is unnecessarily
>> cumbersome right now, but can be fixed fairly simply. We should be able
>> to get this in now that 1.50 is rolled out.
>> ...
>> To be clear, start and end in SeqFeature would be integers and not
>> handle any fuzzy stuff. All of the representation is still there for
>> those actually dealing with fuzziness, but the top level attributes
>> would expose the coordinates nicely for the remaining 99% of cases.
>
> Right - and with the above correction that SeqFeature.start and end
> would be proxies for SeqFeature.location.nofuzzy_start and
> SeqFeature.location.nofuzzy_end, you would get plain integers, and
> this should cover most use cases.  At least for non-Eukaryotes ;)

Patch for this proposal on Bug 2818,
http://bugzilla.open-bio.org/show_bug.cgi?id=2818

Peter



More information about the Biopython-dev mailing list