[Bioperl-l] ID Mapper now in Bio::DB::SwissProt

Chris Fields cjfields at illinois.edu
Fri Feb 19 20:56:54 EST 2010

Just added an id_mapper function to Bio::DB::SwissProt.  This uses the remote UniProt ID Mapper:


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:

Some simple tests are in t/RemoteDB/SwissProt.t.



More information about the Bioperl-l mailing list