| WWW-Search-PharmGKB documentation | view source | Contained in the WWW-Search-PharmGKB distribution. |
WWW::Search::PharmGKB - Search and retrieve information from the PharmGKB database
Version 2.00
use WWW::Search::PharmGKB;
use Data::Dumper;
my $foo = WWW::Search::PharmGKB->new();
my $search_result = $foo->gene_search('CYP2D6');
print Dumper $search_result;
$foo = WWW::Search::PharmGKB->new();
or
$foo = new WWW::Search::PharmGKB;
Self
$foo->gene_search(<gene_name>);
A referenced hash. The keys are 'drugs', 'name', 'symbol', 'pathways',
'drugs', 'diseases', 'phenotypes', 'alternate_names', 'alternate_symbols'
all the keys contain referenced arrays as values. In the pathway value,
the array has key => value pairs 'pathway' => 'pharmGKB URL' as elements.
All other keys have referenced array of PharmGKB IDs.
$foo->disease_search(<disease_name>);
A referenced hash of pharmGKB IDs. Each ID contains 'drugs', 'names', 'pathways', 'drugs',
'genes', 'phenotypes'.
all the keys contain referenced arrays as values. in the pathway value,
the array has key => value pairs 'pathway' => 'pharmGKB URL' as elements.
All other keys have referenced array of PharmGKB IDs.
=cut
$foo->drug_search(<drug_name>);
A referenced hash of pharmGKB IDs. Each ID contains 'diseases', 'generic_names', 'trade_names',
'pathways', 'genes', 'phenotypes', 'category', 'classification'
all the keys contain referenced arrays as values. in the pathway value,
the array has key => value pairs 'pathway' => 'pharmGKB URL' as elements.
All other keys have referenced array of PharmGKB IDs.
=cut
$foo->publication_search(<something>);
A referenced hash of pharmGKB IDs. Each ID contains 'authors', 'page',
'volume', 'month', 'grant_id', 'cross_reference', 'title', 'abstract', 'year',
'journal'.
Arun Venkataraman, <arvktr at gmail.com>
Please report any bugs or feature requests to bug-www-search-pharmgkb at rt.cpan.org, or through
the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=WWW-Search-PharmGKB. I will be notified, and then you'll
automatically be notified of progress on your bug as I make changes.
You can find documentation for this module with the perldoc command.
perldoc WWW::Search::PharmGKB
You can also look for information at:
http://rt.cpan.org/NoAuth/Bugs.html?Dist=WWW-Search-PharmGKB
You can contact the author for any issues or suggestions you come accross using this module.
This module is based on the perl client written by Andrew MacBride (andrew@helix.stanford.edu) for PharmGKB's web services.
Copyright 2010 Arun Venkataraman arvktr@gmail.com, all rights reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
| WWW-Search-PharmGKB documentation | view source | Contained in the WWW-Search-PharmGKB distribution. |