1 / 7

Bibliographic Query Service in bioperl

Bibliographic Query Service in bioperl. http://industry.ebi.ac.uk/openBQS Martin Senger senger@abi.ac.uk. Last BOSC. Bibliographic Query Service (BQS) is set of query methods set of retrieval methods set of objects representing citations BQS visibility an interface was adopted

carson
Download Presentation

Bibliographic Query Service in bioperl

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Bibliographic Query Servicein bioperl http://industry.ebi.ac.uk/openBQS Martin Senger senger@abi.ac.uk

  2. Last BOSC... • Bibliographic Query Service (BQS) is • set of query methods • set of retrieval methods • set of objects representing citations • BQS visibility • an interface was adopted • a Java implementation on top of MEDLINE available

  3. What’s new • BQS available as a Web Service • language-independent, programmatic access to MEDLINE (or any other citation repository) • Clients available in Java and Perl, possibly Python, perhaps Ruby • http://industry.ebi.ac.uk/openBQS/Specification_WS.html • contributed to bioperl • http://industry.ebi.ac.uk/openBQS/Client_perl.html

  4. BQS in bioperl • Principles: • bioperl user (programmer) does not see any SOAP details • the same methods are used for more protocols (SOAP and HTTP, at the moment, CORBA possible) • the citation objects and the parsing modules are totally separated from the repository access methods (can be used independently, locally)

  5. bioperl Biblio modules • Modules for querying repositories • Modules for parsing and converting retrieved citations • Storage modules representing individual citations and their parts as pure Perl objects • …and a “tutorial” script biblio.pl showing how to use all BQS methods

  6. Perl citation objects

  7. Let’s finish with few examples... Say that you are going to use SOAP access and where you want to go today my $biblio = Bio::Biblio (-access => 'soap', -location => 'http://industry.ebi.ac.uk/soap/openBQS', -destroy_on_exit => '0'); “One-liner” for getting a citation by its ID perl -MBio::Biblio -e 'print new Bio::Biblio->get_by_id ("94033980")’ “One-liner” for getting all citation IDs contributed by Brazma perl -MBio::Biblio -e 'print join ("\n", @{ new Bio::Biblio->find ("brazma")->get_all_ids })' “One-liner” showing how a query result can be refined by other query perl -MBio::Biblio -e 'print new Bio::Biblio->find ("Java")->find ("perl")->get_count'

More Related