[Bioperl-l] Bio::DB::GenPept

Neil Saunders neil.saunders at unsw.edu.au
Fri Jan 31 17:33:35 EST 2003


I'm having a bit of trouble using Bio::DB::GenPept, specifically the
get_Stream_by_id method.

Something like:  get_Stream_by_id([27904502,23813659])

works fine.  However, I have an array of uids that I would like to use.
The documentation says:

Args    : $ref : a reference to an array of unique identifiers for
                 the desired sequence entries

Does this mean literally a Perl reference, e.g. $ref=\@my_array?

I have tried various arguments (arrays, references, constructing
strings) but am not having much joy.  Would greatly appreciate a code
snippet showing how to use an array of uids.

thanks,
Neil Saunders
-- 
 School of Biotechnology and Biomolecular Sciences,
 The University of New South Wales,
 Sydney 2052,
 Australia

http://psychro.bioinformatics.unsw.edu.au/neil/index.php


More information about the Bioperl-l mailing list