[Biopython-dev] SeqRecord to file format as string

Peter biopython at maubp.freeserve.co.uk
Fri Jun 20 10:42:57 EDT 2008


On Wed, Jun 18, 2008 at 4:16 PM, Jared Flatow <jflatow at northwestern.edu> wrote:
> However, py3k and 2.6 will make available the functionality described in PEP
> 3101:
>
> http://www.python.org/dev/peps/pep-3101/
>
> I think it would be best to define some semantics that are compatible with
> this PEP.

That is interesting - the PEP has been accepted, but I guess we should
wait and see exactly what python 2.6 and 3.0 end up using before
trying to integrate this into the SeqRecord.

> In short, I think creating methods to return formatted versions of objects
> (SeqRecords) is a good idea, but most especially if it is done in a way
> consistent with the language's vision.

That does sound wise - but I'm a little hazy on how exactly PEP-3101
will work in practice for generic complex objects.

Peter


More information about the Biopython-dev mailing list