Bio::D...daptor(3pm)
π NAME π
Bio::DB::SoapEUtilities::GQueryAdaptor β the handle bestie for Entrez SOAP GlobalQuery items π
Like, it's the little adaptor that holds your egquery results and lets you walk through them one by one. Iconic behavior honestly.
β¨ SYNOPSIS β¨
my $fac = Bio::DB::SoapEUtilities->new();
# run a query, returning a GQueryAdaptor
my $queries = $fac->egquery( -term => 'BRCA and human' )->run(-auto_adapt=>1);
# all databases with hits
my @dbs = $queries->found_in_dbs;
# queries by database
my $prot_count = $queries->query_by_db('prot')->count;
# iterate over gquery
while ( my $q = $queries->next_query ) {
my $db = $q->db;
my $count = $q->count;
my $status = $q->status;
}
πΈ DESCRIPTION πΈ
Okay so this adaptor is literally your iterator (next_query()) plus a bunch of other convenience functions for parsing NCBI Entrez EUtility egquery SOAP results. It's giving "I got you, bestie" energy π«Ά
π¦ SEE ALSO π¦
- Bio::DB::SoapEUtilities
π FEEDBACK π
π¬ Mailing Lists
User feedback is, like, an integral part of the evolution of this and other Bioperl modules β no cap. Send your comments and suggestions preferably to the Bioperl mailing list. Your participation is much appreciated fr fr π
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. (Yes, give them the whole story, the code, the data β they'll eat it up π )
π 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:
http://redmine.open-bio.org/projects/bioperl/
π AUTHOR - Mark A. Jensen π
Email maj -at- fortinbras -dot- us
β APPENDIX β
The rest of the documentation details each of the object methods. Internal methods are usually preceded with a _ β iykyk π
π new
Title : new
Usage : my $obj = new Bio::DB::SoapEUtilities::GQueryAdaptor();
Function: Builds a new Bio::DB::SoapEUtilities::GQueryAdaptor object
Returns : an instance of Bio::DB::SoapEUtilities::GQueryAdaptor
Args :
π next_query()
Title : next_query
Usage :
Function: return the next global query from the attached Result
Returns :
Args :
π found_in_dbs()
Title : found_in_dbs
Usage :
Function: Return list of db names containing hits for
the query term
Returns : array of scalar strings
Args : none
π query_by_db()
Title : query_by_db
Usage :
Function: get gquery object by db name
Returns :
Args : db name (scalar string)
And that's the whole vibe, bestie! This page is from perl v5.36.0, dated 2023-01-22, and it's the Bio::D...daptor(3pm) page (yes the title got cutely truncated, we don't talk about it π). Go parse those queries and slay π
β¨π
π¦ where this page comes from
- debian bookworm: libbio-perl-run-perl 1.7.3-9 Β· Perl
- ubuntu noble: libbio-perl-run-perl 1.7.3-9 Β· Perl
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms