[Bioperl-l] Conflicting CGI.pm with Bio::Tools::GuessSeqFormat ?

Sendu Bala sb at mrc-dunn.cam.ac.uk
Wed Jun 7 16:54:31 UTC 2006


Lincoln Stein wrote:
> I'm afraid this strategy won't work with the filehandle retrieved from CGI.pm, 
> because the CGI upload filehandle is not seekable (for good reasons that I 
> won't inflict on you)! You'll have to write to a temporary file, or else read 
> the whole sequence into memory. Sorry about this.

The OP already had success with my alternative solution.


>> An alternative might be to pass GuessSeqFormat the filename in which
>> case it would make its own filehandle and close it, leaving your own
>> filehandle untouched.



More information about the Bioperl-l mailing list