[Bioperl-l] ID Mapper now in Bio::DB::SwissProt
    Chris Fields 
    cjfields at illinois.edu
       
    Sat Feb 20 01:56:54 UTC 2010
    
    
  
Just added an id_mapper function to Bio::DB::SwissProt.  This uses the remote UniProt ID Mapper:
http://www.uniprot.org/help/mapping
Following is the documentation:
 Title   : id_tracker
 Usage   : my $map = $self->id_mapper( -from => '',
                                       -to   => '',
                                       -ids  => \@ids);
 Function: Retrieve new ID using old ID. 
 Returns : hash reference of successfully mapped IDs
 Args    : -from : database mapping from
           -to   : database mapped to
           -ids  : a single ID or array ref of IDs to map
 Note    : For a list of valid database IDs, see:
           http://www.uniprot.org/faq/28#id_mapping_examples
Some simple tests are in t/RemoteDB/SwissProt.t.
enjoy!
chris
    
    
More information about the Bioperl-l
mailing list