[Bioperl-l] Bio::DB::SwissProt Error

Sendu Bala bix at sendu.me.uk
Thu Oct 5 13:21:23 UTC 2006


Marc Weimer wrote:
[snip]
>   my $db_obj = new Bio::DB::SwissProt(-verbose=>1);
> 
>   my $seq_obj = $db_obj->get_Seq_by_acc('P43780');
[snip]
> using Bioperl 1.4-1 I get the error message
[snip]
>   ------------- EXCEPTION: Bio::Root::Exception -------------
>   MSG: swissprot stream with no ID. Not swissprot in my book
[snip]
> Any suggestions?

It works with the latest Bioperl. I'm not sure if 1.5.1 works (the most 
recent official release), but 1.5.2 does 
(http://bioperl.org/wiki/Release_1.5.2), as does a checkout from CVS 
(http://bioperl.org/wiki/Getting_BioPerl#CVS).



More information about the Bioperl-l mailing list