[Bioperl-l] Problems getting sequence with Bio::DB::GenBank

gert thijs gert.thijs@esat.kuleuven.ac.be
Wed, 16 Aug 2000 13:19:17 +0200


Hi,

I have used Bio::DB::GenBank to download sequences for quite some time now,
but recently those scripts cannot do their job anymore.
I have been using the following code a lot and it worked fine:
   $accn = 'ab013396';
   $gb = new Bio::DB::GenBank;
   $seq = $gb->get_Seq_by_acc($accn);

This throws the following exception:
-------------------- EXCEPTION --------------------
MSG: Unable to get seq for id ab013396, is it really a genbank id?

CONTEXT: Error in uNKNOWN CONTEXT
SCRIPT: ./my_getseq.pl
STACK: 
Bio::DB::GenBank::get_Seq_by_id(121)
Bio::DB::GenBank::get_Seq_by_acc(142)
main::./my_getseq.pl(26)
---------------------------------------------------

Can anybody help me out here?

Gert Thijs


-- 
==========================================================
+ Gert Thijs              gert.thijs@esat.kuleuven.ac.be +
+                                                        +
+ Dept. Elektrotechniek ESAT-SISTA                       +
+ Kardinaal Mercierlaan, 94                              +
+ B-3001 HEVERLEE  Belgium                               +
+ Tel :  +32-16-32 18 84 ---- Fax : +32-16-32 19 70      +
==========================================================