Bio::DB::GDB - Database object interface to GDB HTTP query
use Bio::DB::GDB;
$gdb = new Bio::DB::GDB;
$info = $gdb->get_info(-type => 'marker',-id => 'D1S243'); # Marker name
print "genbank id is ", $info->{'gdbid'},"\nprimers are (fwd, rev) ", join(",", @{$info->{'primers'}}),"\nproduct length is ", $info->{'length'}, "\n";
This class allows connections to the Genome Database (GDB) and queries to retrieve any database objects. See http://www.gdb.org/ or any mirror for details.
Mailing Lists User feedback is an integral part of the evolution of this and other Bioperl modules. Send your comments and suggestions preferably to one of the Bioperl mailing lists. Your participation is much appreciated.
[email protected] - General discussionhttp://bioperl.org/wiki/Mailing_lists - About the mailing lists
Reporting Bugs Report bugs to the Bioperl bug tracking system to help us keep track the bugs and their resolution. Bug reports can be submitted via the web:
http://bugzilla.open-bio.org/
Email [email protected] The rest of the documentation details each of the object methods. Internal methods are usually preceded with a _
ua
Title : uaUsage : my $ua = $self->ua or$self->ua($ua)Function: Get/Set a LWP::UserAgent for useReturns : reference to LWP::UserAgent ObjectArgs : $ua - must be a LWP::UserAgent
get_params
Title : get_paramsUsage : my %params = $self->get_params($mode)Function: Returns key,value pairs to be passed to queryfor mode ('marker', 'gene')Returns : a key,value pair hashArgs : 'marker' or 'gene' mode for retrieval
get_info
Title : get_infoUsage : my $info = $self->get_info(-type => 'marker',-id => 'D1S234');Function: Returns key,value pairs specificReturns : a key,value pair hashArgs : -type => 'marker' or 'gene' mode for retrieval-id => unique id to query for
get_request
Title : get_requestUsage : my $url = $self->get_requestFunction: HTTP::RequestReturns :Args : %qualifiers = a hash of qualifiers (ids, format, etc)