IUBio

Using Perl's LWP to access SRS?

Don Gilbert gilbertd at bio.indiana.edu
Tue Jun 23 20:20:00 EST 1998


You may have better success with GET instead of POST, if
you suitably url-encode the somewhat messy url's that can
result:

http://srs.ebi.ac.uk:5000/srs5bin/cgi-bin/wgetz?[libs%3D%7Bembl_SP_emblnew%7D-all:esterase*]+-e

For instance this pulls all the reports from two libraries
for a term using the -all field.  You can also use compound queries,
joining [term]&[term].

Knowing the 'getz' syntax for srs will help.  Knowing
that _SP_ is a hidden SRS key for joining library names
will help.  It is not hard to hack together a simpler interface
that wgetz for automated queries, if you are running your
own SRS server.  IUBio has one such (see the iubio.bio.indiana.edu/Genbank
section).

- don

--
-- d.gilbert--biocomputing--indiana-u--bloomington-in-47405
-- gilbertd at bio.indiana.edu




More information about the Bio-srs mailing list

Send comments to us at biosci-help [At] net.bio.net