Bio::D...o::soap(3pm)
π Bio::DB::Biblio::soap β bestie edition π
okay so this is Bio::DB::Biblio::soap, a Perl module, part of the whole Bio::D...o::soap(3pm) situation. It's giving "SOAP-based access to a bibliographic query service" and honestly? it's a whole mood. Let's get into it β¨
πΈ VERSION πΈ
version 1.70 β yes bestie, that's the one, no cap.
π¦ SYNOPSIS π¦
okay so real talk: do NOT use this object directly, bestie. It's giving "please access me through Bio::Biblio instead," fr fr. Like, it's not the main character, it's the supporting cast.
use Bio::Biblio;
my $biblio = Bio::Biblio->new (-access => 'soap');
π DESCRIPTION π
This object is literally where the real implementation of a Bibliographic Query Service lives, as defined in Bio::DB::BiblioI β and the way it does that is by using a SOAP protocol to access a WebService (that's a remote server, bestie) that represents a bibliographic repository. iykyk π
The main documentation details are to be found in Bio::DB::BiblioI. go read that too, she's iconic.
π ATTRIBUTES π
π Defaults
Usage : print $Bio::DB::Biblio::soap::DEFAULT_SERVICE;
print $Bio::DB::Biblio::soap::DEFAULT_NAMESPACE;
π₯ INTERNAL METHODS π₯
β¨ _initialize
Usage : my $obj = Bio::Biblio->new(-access => 'soap' ...);
(_initialize is internally called from this constructor)
Returns : nothing interesting
Args : This module recognises and uses following arguments:
okay so here's the tea on the args, one by one π
-namespace => 'urn'β the namespace used by the WebService that's being accessed. It's a string that guarantees its world-wide uniqueness β so yeah, it often looks like a URL β but bestie, that does not mean such a pseudo-URL actually exists. it's just a vibe, not a location.
## TODO: This namespace is no longer valid (check for deprecation ## or update)
Default is 'http://industry.ebi.ac.uk/openBQS'. π«Ά
-destroy_on_exit => '0'β the default value is'1', which means that allBio::Biblioobjects, when being finalised, will send a request to the remote WebService to forget the query collections they represent.
If you change it to '0', make sure you know the query collection identification β otherwise you will not be able to re-established connection with it. You can get that by calling method get_collection_id. β οΈ like, don't just rawdog this one.
-collection_id => '...'β it defines what query collection this object will work with. Use this argument when you know a collection ID of an existing query collection and you wish to re-established connection with it.
By default, the collection IDs are set automatically by the query methods β they return Bio::Biblio objects already having a collection ID.
A missing or undefined collection ID means that the object represents the whole bibliographic repository (which again means that some methods, like get_all, will be probably refused). she said "no thanks" π
-soap => a SOAP::Lite objectβ usually allBio::Biblioobjects share an instance of the underlyingSOAP::Litemodule. But you are free to have more β perhaps with different characteristics. sharing is caring but also optional π
See the code for attributes of the default SOAP::Lite object.
-httpproxy => 'http://server:port'β in addition to the'location'parameter, you may need to specify also a location/URL of a HTTP proxy server (if your site requires one).
Additionally, the main module Bio::Biblio recognises also:
-access => '...'-location => '...'
It populates the calling object with the given arguments, and then β for some attributes and only if they are not yet populated β it assigns some default values. lowkey generous of it πΈ
This is an actual new() method (except for the real object creation and its blessing, which is done in the parent class Bio::Root::Root in method _create_object). β¨
Note that this method is called always as an object method (never as a class method) β and that the object who calls this method may already be partly initiated (fromBio::Biblio::newmethod); so if you need to do some tricks with the 'class invocation' you need to changeBio::Biblio::newmethod, not this one. periodt.
π BUGS AND LIMITATIONS π
- Methods returning a boolean value (
has_next,existsandcontains) can be used only withSOAP::Liteversion0.52and newer (probably due to a bug in the olderSOAP::Lite). - It does not use WSDL. π
- More testing and debugging needed to ensure that returned citations are properly transferred even if they contain foreign characters.
π FEEDBACK π
π§ Mailing lists
User feedback is an integral part of the evolution of this and other Bioperl modules. Send your comments and suggestions preferably to the Bioperl mailing list. Your participation is much appreciated. we love a supportive community π«Ά
bioperl-l@bioperl.org - General discussion
http://bioperl.org/wiki/Mailing_lists - About the mailing lists
π Support
Please direct usage questions or support issues to the mailing list: bioperl-l@bioperl.org
rather than to the module maintainer directly. Many experienced and reponsive experts will be able look at the problem and quickly address it. Please include a thorough description of the problem with code and data examples if at all possible. like, give them the receipts, bestie π§Ύ
π Reporting bugs
Report bugs to the Bioperl bug tracking system to help us keep track of the bugs and their resolution. Bug reports can be submitted via the web:
https://redmine.open-bio.org/projects/bioperl/
π LEGAL π
β Authors
Martin Senger <martin.senger@gmail.com>
π Copyright and License
This software is Copyright (c) by 2002 European Bioinformatics Institute and released under the license of the same terms as the perl 5 programming language system itself.
and that's the whole page, bestie!! π
this was Bio::D...o::soap(3pm), running on perl v5.36.0, dated 2023-02-14 β mwah, slay, go forth and query bibliographies responsibly β¨ππ¦
π¦ where this page comes from
- debian trixie: libbio-biblio-perl 1.70-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu noble: libbio-biblio-perl 1.70-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu resolute: libbio-biblio-perl 1.70-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu stonking: libbio-biblio-perl 1.70-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms