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

Peter biopython at maubp.freeserve.co.uk
Fri Apr 17 22:12:14 UTC 2009


On 4/17/09, Brad Chapman <chapmanb at 50mail.com> wrote:
> Peter and Michiel;
>
>  [start/end attributes on SeqFeatures]
>
> > 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 ;)
>
> These attributes are on the FeatureLocation object.

Sorry - yeah, you're right.  I wasn't paying enough attention.

>  The whole location hierarchy is a bit complicated to represent all
>  of the GenBank fuzziness, but it looks like:
>
>  SeqFeature -- has_a --> FeatureLocation -- has_two --> Positions (start, end)
>

And that's the nice case without sub-features and joins ;)

Peter



More information about the Biopython-dev mailing list