Bio-Das-ProServer
view release on metacpan or search on metacpan
lib/Bio/Das/ProServer/SourceAdaptor/Transport/martservice.pm view on Meta::CPAN
Get/set the MartService dataset name.
=head2 attributes
Get/set the list of attributes to be retrieved from the MartService. This may be specified as
an arrayref or a comma-delimited list.
=head2 ua
Return a cached LWP::UserAgent object or instantiate a new one.
=head2 build_query_xml
Takes a hashref of name/value pairs and returns an XML query string to be POSTed to the MartService.
=head2 query
Passed a list of name/value pairs, performs a query against the MartService and returns an arrayref
of returned results. Each result is a hashref with keys named after this object's B<attributes>.
=head1 DIAGNOSTICS
=head1 CONFIGURATION AND ENVIRONMENT
The following values may be specified in the main configuration file:
=over 4
=item martservice
The URL for the BioMart MartService.
=item dataset
The name of the MartService dataset.
=item attributes
A comma-separated list of attributes to be retrieved from the BioMart MartService.
=item timeout
How long (in seconds) to wait for a response from the BioMart MartService.
=back
=head1 DEPENDENCIES
=over 4
=item List::MoreUtils
=item LWP::UserAgent
=item XML::Writer
=back
=head1 INCOMPATIBILITIES
=head1 BUGS AND LIMITATIONS
=head1 AUTHOR
Ray Miller <rm7@sanger.ac.uk>
=head1 LICENSE AND COPYRIGHT
Copyright (c) 2009 Wellcome Trust Sanger Institute
This library is free software; you can redistribute it and/or modify
it under the same terms as Perl itself. See DISCLAIMER.txt for
disclaimers of warranty.
=cut
( run in 0.877 second using v1.01-cache-2.11-cpan-39bf76dae61 )