[Bioperl-l] Problems using a pers\l script to connect to GenBank

Bill Herbert wgh8089 at earthlink.net
Thu Aug 5 21:56:04 EDT 2004


Hi All,

This may be an elementary problem but it's giving me fits!

I'm trying to connect to GenBank using the following script:

use Bio::Perl;
use Bio::DB::GenBank;
$gb = new Bio::DB::GenBank();
$seq = $gb->get_seq_by_id('MUSIGBa1');

Bioperl and Bundle are installed, and the file GenBank.pm is installed at perl\lib\Bio\DB, but when I execute this script I get the message:
Can't locate object method "get_seq_by_id" via package "Bio::DB::GenBank."

Any suggestions?

Thanks a million for any help.
Bill




More information about the Bioperl-l mailing list