[Bioperl-l] Problem with bpfetch.pl

Jason Stajich jason@cgt.mc.duke.edu
Mon, 25 Nov 2002 09:57:26 -0500 (EST)


It is the same reason when you sometimes do an Entrez query the page comes
back with an error but upon a subsequent refresh it works.  Nature of the
net or the servers we are querying.  bpfetch should be fixed to be more
robust and warn when it doesn't return a sequence (or possibly
requerying) rather than throwing an error.  Patches accepted =)

Jason Stajich
Duke University
jason at cgt.mc.duke.edu

On Mon, 25 Nov 2002, Adam Witney wrote:

>
> Hi,
>
> When running bpfetch.pl like so
>
> perl bpfetch.pl net::genbank:M28983
>
> Sometimes it works ok, but sometimes it returns
>
> Can't call method "seq" on an undefined value at
> /Library/Perl/Bio/SeqIO/fasta.pm line 166
>
> However it appears to be entirely random as to when it does and doesn't
> work?
>
> Anybody know why this is so?
>
> Thanks for any help
>
> Adam
>
>
> --
> This message has been scanned for viruses and
> dangerous content by MailScanner, and is
> believed to be clean.
>
> _______________________________________________
> Bioperl-l mailing list
> Bioperl-l@bioperl.org
> http://bioperl.org/mailman/listinfo/bioperl-l
>