<div>Dear All,<br></div><div><br></div><div>It's nice to hear that Biopython is still evolving, and Biopython 2.0 sounds really cool.<br></div><div><br></div><div>Would it be possible to get involved in this effort? I was looking around for a while to get more involved in Biopython, and ver 2.0 seems like a good opportunity to contribute and learn new things. Of course as I've only contributed so far very small bug fix I am not intending to be a part of decision-making group etc., just coding and implementing ideas.<br></div><div><br></div><div class="protonmail_signature_block "><div class="protonmail_signature_block-user "><div>Best regards,<br></div><div>Mateusz<br></div></div><div><br></div><div class="protonmail_signature_block-proton ">Sent with <a href="https://protonmail.com">ProtonMail</a> Secure Email.<br></div></div><div><br></div><blockquote class="protonmail_quote" type="cite"><div>-------- Original Message --------<br></div><div>Subject: Re: [Biopython-dev] Ideas for Biopython 2.0<br></div><div>Local Time: June 20, 2017 9:58 AM<br></div><div>UTC Time: June 20, 2017 7:58 AM<br></div><div>From: w.arindrarto@gmail.com<br></div><div>To: Peter Cock <p.j.a.cock@googlemail.com>, Tiago Antão <tiagoantao@gmail.com><br></div><div>Biopython-Dev Mailing List <biopython-dev@biopython.org><br></div><div><br></div><div dir="ltr"><div>Dear Patrick, Peter, Tiago, and everyone,<br></div><div><br></div><div>Good to see this discussion being brought up again :) (and thank you Patrick for writing a thorough proposal).<br></div><div><br></div><div>On the big picture, I wholeheartedly agree that Bioptyhon 2.0 should adopt modern Python best practices, even if it requires a close to full rewrite. The Python scientific computing environment has progressed far beyond the time when Biopython was first written. Many scientific Python libraries are now mature and widely used that at least the thought of interop with them should be considered. This can be done, for example, making our data structures compatible with them (e.g. using numpy arrays) or by making our plotting functions (in Bio.Graphics, for example) compatible with them (e.g. using matplotlib or bokeh).<br></div><div><br></div><div>I don't have any strong preference for the new namespace (biopy.* or biopython.* is fine). But depending on how we structure the new modules, we may or may not need to share the namespace with the current Bio package, right? If we opt to do modularization ala biogems, only the core module is probably suitable for inclusion in the current Bio package. The rest would have their own repositories.<br></div><div><br></div><div>I did play around with a distributed package setup (<a href="https://github.com/bow/poc_biopy" rel="noreferrer nofollow noopener">https://github.com/bow/poc_biopy</a>). There are two alternatives that I considered there. The first one, `poc_hook` uses an import hook so any non-core `biopy_*` package can be imported as `biopy.ext.*`. The second, `poc_pkgutil` one simply requires any non-core `biopy_*` package put their code inside `biopy.ext`. This was from about 3 years ago, however, so there may be better ways of doing this now.<br></div><div><br></div><div>But as Peter said, this is probably the one on which a consensus is hardest to build. In addition to that, we would need work to port existing packages to the new structure.<br></div><div><br></div><div>Now seems like a good time to attempt to do this, though :).<br></div><div><br></div><div>Cheers,<br></div><div>Bow<br></div></div><div><br></div><div class="gmail_quote"><div dir="ltr">On Mon, Jun 19, 2017 at 10:43 PM Peter Cock <<a href="mailto:p.j.a.cock@googlemail.com" rel="noreferrer nofollow noopener">p.j.a.cock@googlemail.com</a>> wrote:<br></div><blockquote style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex" class="gmail_quote"><div>Yep - that's what I meant :)<br></div><div> <br></div><div> i.e. "biopython" (or "biopy" or ...") as a folder name meaning we'd<br></div><div> have for example "biopython/sequences/__init__.py`` which can<br></div><div> be import as "from biopython import sequences" etc.<br></div><div> <br></div><div> The NumPy/SciPy like usage pattern for importing had crossed my<br></div><div> mind too - although if we try to minimise the top level automatic<br></div><div> imports I think that is less useful?<br></div><div> <br></div><div> (By that I mean that for example people doing clustering would not<br></div><div> want the overhead of lots of sequence code being imported by default)<br></div><div> <br></div><div> Peter<br></div><div> <br></div><div> On Mon, Jun 19, 2017 at 3:47 PM, Tiago Antão <<a href="mailto:tiagoantao@gmail.com" rel="noreferrer nofollow noopener">tiagoantao@gmail.com</a>> wrote:<br></div><div> > Or even<br></div><div> > biopython.*<br></div><div> > and have a recommendation of<br></div><div> > import biopython as bp<br></div><div> > Tiago<br></div><div> ><br></div><div> > On 19 June 2017 at 08:45, Peter Cock <<a href="mailto:p.j.a.cock@googlemail.com" rel="noreferrer nofollow noopener">p.j.a.cock@googlemail.com</a>> wrote:<br></div><div> >><br></div><div> >> I am generally in agreement with your comments Tiago.<br></div><div> >><br></div><div> >> Note as per my reply to Patrick, we can't use "bio" (lower case)<br></div><div> >> as this would be the same directory on disk as "Bio" (title case) on<br></div><div> >> Windows and most Macs which use a case-insensitive file system.<br></div><div> >> Thus suggestions like "biopy" and "biopython" instead.<br></div><div> >><br></div><div> >> Peter<br></div><div> >><br></div><div> <br></div><div> _______________________________________________<br></div><div> Biopython-dev mailing list<br></div><div> <a href="mailto:Biopython-dev@mailman.open-bio.org" rel="noreferrer nofollow noopener">Biopython-dev@mailman.open-bio.org</a><br></div><div> <a rel="noreferrer nofollow noopener" href="http://mailman.open-bio.org/mailman/listinfo/biopython-dev">http://mailman.open-bio.org/mailman/listinfo/biopython-dev</a><br></div></blockquote></div></blockquote><div><br></div>