Bio::T...lQuery(3pm)

πŸ“¦
version 1.77 Β· 4 versions
, in debian trixie, ubuntu resolute, ubuntu stonking

✨ NAME ✨

Bio::Tools::EUtilities::Query::GlobalQuery β€” bestie, it's a container class for egquery data πŸ’–

(and yeah, this page lives in the User Contributed Perl Documentation corner of your man pages, so you're in the right place 🫢)


🌸 VERSION 🌸

version 1.77 β€” she's serving vintage, and she's iconic for it πŸ‘‘


πŸ’… SYNOPSIS πŸ’…

okay so real talk: do not make an instance of this yourself. Bio::Tools::EUtilities handles that for you, like the main character it is. You just vibe and read the data.
#### should not create instance directly; Bio::Tools::EUtilities does this ####

my $parser = Bio::Tools::EUtilities->new(-eutil => 'egquery',
                                         -term  => 'BRCA1');

# $gquery is a Bio::Tools::EUtilities::Query::GlobalQuery
while (my $gquery = $parser->next_GlobalQuery) {
   print $gquery->to_string."\n"; # stringify
   print "DB:".$gquery->get_db."\t".$gquery->get_count;
}

no cap, that's the whole flow πŸ¦‹


πŸŽ€ DESCRIPTION πŸŽ€

This is a simple little container class for egquery data. Lowkey all it does right now is hold a bunch of accessors so you can grab the data out β€” things like get_database(), get_count(), etc., one per item in a global query. That's it. That's the job. And she does it flawlessly ✨

🌈 get_term

  • Title : get_term
  • Usage : $st = $qd->get_term;
  • Function : retrieve the term for the global search
  • Returns : string
  • Args : none

🌈 get_database

  • Title : get_database
  • Usage : $ct = $qd->get_database;
  • Function : retrieve the database
  • Returns : string
  • Args : none

🌈 get_count

  • Title : get_count
  • Usage : $ct = $qd->get_count;
  • Function : retrieve the count for the database
  • Returns : string
  • Args : none

🌈 get_status

  • Title : get_status
  • Usage : $st = $qd->get_status;
  • Function : retrieve the query status for database in db()
  • Returns : string
  • Args : none

🌈 get_menu_name

  • Title : get_menu_name
  • Usage : $ct = $qd->get_menu_name;
  • Function : retrieve the full name for the database in db()
  • Returns : string
  • Args : None

🌈 to_string

  • Title : to_string
  • Usage : $foo->to_string()
  • Function : converts current object to string
  • Returns : none
  • Args : (optional) simple data for text formatting
  • Note : Used generally for debugging and for the print_GlobalQuery method

πŸ’Œ FEEDBACK πŸ’Œ

πŸ“¬ Mailing lists

User feedback is an integral part of the evolution of this and other Bioperl modules β€” like, genuinely, it's not just a vibe, it's how the thing grows 🌱. Send your comments and suggestions preferably to the Bioperl mailing list. Your participation is much appreciated 🫢

bioperl-l@bioperl.org               - General discussion
https://bioperl.org/Support.html    - 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.

(they really do read it, bestie, don't be shy πŸ’œ)

πŸ› 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://github.com/bioperl/bio-eutilities/issues

πŸ‘‘ AUTHOR πŸ‘‘

Chris Fields <cjfields@bioperl.org>


This software is copyright (c) 2006-2013 by Chris Fields.

This software is available under the same terms as the perl 5 programming language system itself.


and that's a wrap, bestie πŸŽ€πŸ’– this page shipped as part of perl v5.40.0, dated 2025-01-27, and it's the Bio::T...lQuery(3pm) page you were looking for β€” go forth and slay your egquery data βœ¨πŸ¦‹πŸ’…

πŸ“¦ where this page comes from