<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Wed, Jun 10, 2015 at 2:18 AM, Peter Cock <span dir="ltr"><<a href="mailto:p.j.a.cock@googlemail.com" target="_blank">p.j.a.cock@googlemail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Tue, Jun 9, 2015 at 8:17 PM, Eric Talevich <<a href="mailto:eric.talevich@gmail.com">eric.talevich@gmail.com</a>> wrote:<br>
> On Thu, Jun 4, 2015 at 3:44 AM, Peter Cock <<a href="mailto:p.j.a.cock@googlemail.com">p.j.a.cock@googlemail.com</a>><br>
> wrote:<br>
>><br>
>> This would be great to have merged - pathological test cases<br>
>> and interconversion too :)<br>
>><br>
>> Did we settle on a plan for parent/child relationships in<br>
>> SeqFeature objects (beyond deprecating sub_features<br>
>> which has been replaced with CompoundLocations)?<br>
>><br>
>> Peter<br>
><br>
><br>
> The last thread I see on this topic is from the end of summer 2012:<br>
> <a href="http://mailman.open-bio.org/pipermail/biopython-dev/2012-July/018979.html" target="_blank">http://mailman.open-bio.org/pipermail/biopython-dev/2012-July/018979.html</a><br>
> (thread)<br>
> <a href="http://mailman.open-bio.org/pipermail/biopython-dev/2012-September/019101.html" target="_blank">http://mailman.open-bio.org/pipermail/biopython-dev/2012-September/019101.html</a><br>
> (terminal)<br>
><br>
> I'm a bit confused because the CompoundLocation class exists in<br>
> Bio/SeqFeature.py, and git blame says it was written in late 2011 -- Peter's<br>
> Time Machine in action? Does the f_loc5 branch modify the existing<br>
> CompoundLocation class, then?<br>
<br>
</span>Old commits rebased to master; perhaps a merge would have<br>
been clearer? As far as I recall, f_loc5 or whatever the final<br>
iteration of this was, is all in the master now.<br></blockquote><div><br></div><div>That's great, I didn't realize this had landed already. Sorry for the confusion.<br><br></div><div>So I suppose the remaining tasks are, in no particular order:<br><br></div><div>- Add/port Brad's GFF-GenBank converters and tests to Biopython. Ensure all the tests pass.<br><br></div><div>- Enable GFF3 support by merging or porting from Brad's branch, bcbb/gff, or gffutils?<br></div><div><br></div><div>- See about merging Lenna's GSoC 2012 work. This was based on the f_loc4, not the landed f_loc5, so this won't be a clean merge. Further discussion needed.<br></div><div><br><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
So I think we're ready to remove the sub_features attribute (and<br>
theĀ associated code in the GenBank parser etc which populates it).<br></blockquote><div><br></div><div>Can we do that before deciding how to represent parent/child relationships?<br><br><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
What to add for parent/child relationships between features is<br>
yet to be decided.<span class=""><br></span></blockquote></div><br></div><div class="gmail_extra">I wonder if we can follow the lead of one of the GFF implementations mentioned above.<br><br></div><div class="gmail_extra">Has this been discussed in a more recent thread that I didn't link here?<br><br></div><div class="gmail_extra">-Eric<br></div></div>