[Biopython] SeqIO.parse exception on Google App Engine

Reece Hart reece at berkeley.edu
Fri Apr 9 02:34:48 UTC 2010


Hi Brad. Thanks for the quick reply.

On 04/08/2010 06:19 PM, Brad Chapman wrote:
> A quick fix is to
> modify this to "\n", or just do:
>
> os.linesep = "\n"
>
> at the top of the Scanner.py file.
>    
It turns out that this fix also works within the module that does the 
parse. To wit:
from Bio import SeqIO
os.linesep = '\n'
rec = SeqIO.parse(...)

> I did a bit of work on this using Biopython in Google App Engine
> last year; code is on GitHub here:
> http://github.com/chapmanb/biosqlweb
> that might be helpful as a starting place for other ideas.
>    
Yes, thank you for this. This is precisely where I started only a few 
days ago...

Cheers,
Reece



More information about the Biopython mailing list