Bio::DB::SoapEUtilities::GQueryAdaptor(3pm) | User Contributed Perl Documentation | Bio::DB::SoapEUtilities::GQueryAdaptor(3pm) |
Bio::DB::SoapEUtilities::GQueryAdaptor - Handle for Entrez SOAP GlobalQuery items
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; }
This adaptor provides an iterator ("next_query()") and other convenience functions for parsing NCBI Entrez EUtility "egquery" SOAP results.
Bio::DB::SoapEUtilities
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.
bioperl-l@bioperl.org - General discussion http://bioperl.org/wiki/Mailing_lists - About the mailing lists
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.
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/
Email maj -at- fortinbras -dot- us
The rest of the documentation details each of the object methods. Internal methods are usually preceded with a _
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 :
Title : next_query Usage : Function: return the next global query from the attached Result Returns : Args :
Title : found_in_dbs Usage : Function: Return list of db names containing hits for the query term Returns : array of scalar strings Args : none
Title : query_by_db Usage : Function: get gquery object by db name Returns : Args : db name (scalar string)
2021-01-06 | perl v5.32.0 |