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

Peter biopython at maubp.freeserve.co.uk
Mon Apr 20 14:37:02 UTC 2009


On Mon, Apr 20, 2009 at 2:29 PM, Brad Chapman <chapmanb at 50mail.com> wrote:
> Michiel;
> Thanks for trying this out and your thoughts.
>
>> > # It would be better to pass a handle to get_all_features
>> > # instead of a file name. The file may be gzipped or bzipped,
>> > # or the user may want to read it from the internet.
>
> Yes, this is the way it was originally designed. I changed to files to
> be consistent with a distributed Disco implementation, which needs to be
> fed a file instead of a handle. Your suggestion is a good one. Let me
> give some thought to separating the interfaces, as handles would be more
> consistent with the rest of Biopython.

I'd second that - definitely go with handles rather than filenames.

Peter



More information about the Biopython-dev mailing list