[Biopython-dev] sff reader

Peter biopython at maubp.freeserve.co.uk
Fri Aug 14 12:00:15 UTC 2009


On Wed, Aug 12, 2009 at 1:54 PM, Peter<biopython at maubp.freeserve.co.uk> wrote:
>
>> Jose's code uses seek/tell which means it has to have a handle
>> to an actual file. He also used binary read mode - I'm not sure if
>> this was essential or not.
>
> Binary mode was not essential - opening an SFF file in default
> mode also seemed to work fine with Jose's code.

Having worked on this more, default mode or binary mode are fine.
However, as you might expect, you can't use Python's universal
read lines mode when parsing SFF files.

Peter



More information about the Biopython-dev mailing list