[Bioperl-l] problem with bioperl on UNIX
Jason Stajich
jason at cgt.mc.duke.edu
Thu Feb 6 15:04:26 EST 2003
add -verbose => 1
to your initialization.
On Thu, 6 Feb 2003, Prachi Shah wrote:
> 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
> _______________________________________________
> Bioperl-l mailing list
> Bioperl-l at bioperl.org
> http://bioperl.org/mailman/listinfo/bioperl-l
>
--
Jason Stajich
Duke University
jason at cgt.mc.duke.edu
More information about the Bioperl-l
mailing list