[Bioperl-l] Bio::DB::GenBank get_Seq_by_acc($acc);

Liisa Koski koski@cenix-bioscience.com
Thu, 18 Apr 2002 17:54:27 +0200


Hi,
I'm trying to get sequences by accession numbers using

Bio::DB::GenBank
my $seq = $db->get_Seq_by_acc($acc);

This works fine for Accession numbers that begin with NP_ but when when
I'm using an accession number like AAH06375 I get the following error:

Can't call method "desc" on an undefined value at ...

Any ideas?

Cheers,
Liisa