[Bioperl-l] LWP in Bio::DB::GenBank.pm

Aaron J Mackey ajm6q@virginia.edu
Sat, 25 Nov 2000 14:29:40 -0500 (EST)


LWP::Request is capable of returning a filehandle/stream ... read the
documentation.

-Aaron

On Fri, 24 Nov 2000, Hilmar Lapp wrote:

> Due to the migration of DB::GenBank.pm to using LWP for making the
> queries, the result is retrieved as one string. This can be a bad idea,
> especially if the user requested batch retrieval of a number of
> sequences, and each of them is large (there is even not a chance to
> process these one after the other, with disposing of each sequence once
> it is processed). That is, there is also no chance for a
> large-seq-specialized class to hook in, and any processing will only
> start after everything has been downloaded (and slurped into memory).
>
> We need to decide whether we want to particularly discourage asking for
> a number of sequences simultaneously, or whether there is a possibility
> to return a true stream.
>
> 	Hilmar
>

-- 
 o ~   ~   ~   ~   ~   ~  o
/ Aaron J Mackey           \
\  Dr. Pearson Laboratory  /
 \ University of Virginia  \
 /  (804) 924-2821          \
 \  amackey@virginia.edu    /
  o ~   ~   ~   ~   ~   ~  o