~ubuntu-branches/ubuntu/vivid/bioperl/vivid

« back to all changes in this revision

Viewing changes to Bio/Tools/EUtilities/Query/GlobalQuery.pm

  • Committer: Bazaar Package Importer
  • Author(s): Charles Plessy
  • Date: 2011-06-17 13:51:18 UTC
  • mfrom: (3.1.6 sid)
  • Revision ID: james.westby@ubuntu.com-20110617135118-hncy38e0134j8oi5
Tags: 1.6.901-1
* New upstream release.
* Point debian/watch to search.cpan.org.
* Build using dh and overrides:
  - Use Debhelper 8 (debian/rules, debian/control).
  - Simplified debian/rules.
* Split into libbio-perl-perl, as discussed with the Debian Perl team.
  (debian/control, debian/bioperl.install, debian libbio-perl-perl.install)
* debian/control:
  - Incremented Standards-Version to reflect conformance with Policy 3.9.2.
    No other changes needed.
  - Vcs-Browser URL made redirectable to viewvc.
  - Removed useless ‘svn’ in the Vcs-Svn URL.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# $Id: GlobalQuery.pm 16123 2009-09-17 12:57:27Z cjfields $
2
1
#
3
2
# BioPerl module for Bio::Tools::EUtilities::Query::GlobalQuery
4
3
#
22
21
 
23
22
  #### should not create instance directly; Bio::Tools::EUtilities does this ####
24
23
 
 
24
  my $parser = Bio::Tools::EUtilities->new(-eutil => 'egquery',
 
25
                                           -term  => 'BRCA1');
 
26
 
 
27
  # $gquery is a Bio::Tools::EUtilities::Query::GlobalQuery
 
28
  while (my $gquery = $parser->next_GlobalQuery) {
 
29
     print $gquery->to_string."\n"; # stringify
 
30
     print "DB:".$gquery->get_db."\t".$gquery->get_count;
 
31
  }
 
32
 
25
33
=head1 DESCRIPTION
26
34
 
27
 
This is a simple container class for egquery data.  
 
35
This is a simple container class for egquery data.  Currently this just contains
 
36
various accessors for the data, such as get_database(), get_count(), etc. for
 
37
each item in a global query.
28
38
 
29
39
=head1 FEEDBACK
30
40
 
56
66
help us keep track the bugs and their resolution.
57
67
Bug reports can be submitted via the web.
58
68
 
59
 
  http://bugzilla.open-bio.org/
 
69
  https://redmine.open-bio.org/projects/bioperl/
60
70
 
61
71
=head1 AUTHOR 
62
72