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

Sendu Bala bix at sendu.me.uk
Thu Oct 5 14:14:40 UTC 2006


Chris Fields wrote:
>
>>>   ------------- EXCEPTION: Bio::Root::Exception -------------
>>>   MSG: swissprot stream with no ID. Not swissprot in my book
[snip]
> I think the error here results from Bio::SeqIO::swiss trying to parse an 
> empty byte stream.  Sendu, do you think that Bio::SeqIO::swiss (and 
> other SeqIO parsers) should throw a more specific message for getting an 
> empty byte stream?  Or is it more trouble than it's worth?

Trouble wise, I've no idea without looking into it. Generally speaking 
though I can say that the error message is pretty useless and I'm always 
in favour of better error messages.



More information about the Bioperl-l mailing list