[Bioperl-l] problem with bioperl on UNIX
Prachi Shah
prachi_shroff at yahoo.com
Thu Feb 6 11:36:10 EST 2003
Hmmm....
Well, it never works for me. Is there a way to view
detailed error/rejection message received from
GenBank? That might give a better idea of what is
actually happening. All the error that I see right now
tells me that for some reason no results were
returned. But, knowing that reason might really help.
thanks,
Prachi.
--- Jason Stajich <jason at cgt.mc.duke.edu> wrote:
> It is possible genbank is/was rejecting queries - I
> am able to execute
> your query on a linux box. I had trouble yesterday
> trying to run your
> code though. It is possible that GenBank was having
> problems when you
> last tried to execute your code.
>
> #!/usr/bin/perl -w
> use strict;
> use Bio::DB::Query::GenBank;
>
> my $query_string = 'Gallus gallus[organism]';
>
> my $query = Bio::DB::Query::GenBank->new(-db =>
> 'protein',
> -query=>$query_string);
> my $count = $query->count;
> print "COUNT is $count\n";
>
> I get:
>
> COUNT is 7742
>
>
> -jason
>
__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com
More information about the Bioperl-l
mailing list