
WWW::Search::HGNC - Access HGNC's database of proteins

use WWW::Search;
my $search = new WWW::Search('HGNC');
my @hgnc_ids = [ 9092, 12043 ];
$search->native_query( \@hgnc_ids );
while( my $prot = $search->next_result ) {
printf "Approved symbol: %s\n", $prot->{approved_symbol};
printf "Approved name: %s\n", $prot->{approved_name};
printf "HGNC ID: %s\n", $prot->{hgnc_id};
# ... etc.
}

This module provides access to the HUGO Gene Nomenclature Committee (HGNC) database of human proteins (http://www.gene.ucl.ac.uk/nomenclature/).
If you are unfamiliar with the WWW::Search interface, see the synopsis for an example of how you might use this module. As its first argument, the native_query method accepts either an HGNC ID or a reference to an array of such IDs. Results returned by the next_result method (named $prot above) are WWW::SearchResult objects containing data about the target protein. Each result contains the following fields.

@values = @{ $prot->{accession_numbers} };
Corresponds to the 'Accession Numbers' field.
@values = @{ $prot->{aliases} };
Corresponds to the 'Aliases' field.
$value = $prot->{approved_name};
Corresponds to the 'Approved Name' field.
$value = $prot->{approved_symbol};
Corresponds to the 'Approved Symbol' field.
$value = $prot->{chromosome};
Corresponds to the 'Chromosome' field.
$value = $prot->{date_approved};
Corresponds to the 'Date Approved' field.
$value = $prot->{date_modified};
Corresponds to the 'Date Modified' field.
$value = $prot->{date_name_changed};
Corresponds to the 'Date Name Changed' field.
@values = @{ $prot->{entrez_gene_ids} };
Corresponds to the 'Entrez Gene ID' field.
$value = $prot->{mapped_entrez_gene_id};
Corresponds to the 'Entrez Gene ID (mapped data)' field.
@values = @{ $prot->{enzyme_ids} };
Corresponds to the 'Enzyme IDs' field.
$value = $prot->{mapped_gdb_id};
$value = $prot->{gdb_id};
Corresponds to the 'GDB ID (mapped data)' field.
@values = @{ $prot->{gene_family_names} };
Corresponds to the 'Gene Family Name' field.
$value = $prot->{hgnc_id};
Corresponds to the 'HGNC ID' field.
$value = $prot->{locus_type};
Corresponds to the 'Locus Type' field.
$value = $prot->{mgd_id};
Corresponds to the 'MGD ID' field.
@values = @{ $prot->{misc_ids} };
Corresponds to the 'Misc IDs' field.
$value = $prot->{mapped_omim_id};
$value = $prot->{omim_id};
Corresponds to the 'OMIM ID (mapped data)' field.
$value = $prot->{previous_names};
Corresponds to the 'Previous Names' field.
@values = @{ $prot->{previous_symbols} };
Corresponds to the 'Previous Symbols' field.
@values = @{ $prot->{pubmed_ids} };
Corresponds to the 'Pubmed IDs' field.
$value = $prot->{mapped_refseq_id};
Corresponds to the 'RefSeq (mapped data)' field.
@values = @{ $prot->{refseq_ids} };
Corresponds to the 'RefSeq IDs' field.
$value = $prot->{status};
Corresponds to the 'Status' field.
$value = $prot->{mapped_uniprot_id};
$value = $prot->{uniprot_id};
Corresponds to the 'UniProt ID (mapped data)' field.

David Iberri, <diberri at cpan.org>

Please report any bugs or feature requests to bug-www-hgnc at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=WWW-Search-HGNC. 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::HGNC
You can also look for information at:

Copyright 2006 David Iberri, all rights reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.