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

Hilmar Lapp hlapp@gmx.net
Fri, 24 Nov 2000 20:32:53 -0800

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 Lapp                                email: hlapp@gmx.net
GNF, San Diego, Ca. 92122                  phone: +1 858 812 1757