[Bioperl-l] Bio::DB::Query::GenBank failures

Glauber Wagner glauberwagner at yahoo.com.br
Thu Jul 5 19:56:43 UTC 2007


Dear All,

I have a problem if Bio::DB::Query::GenBank module. I
am trying to count the number of protein sequences and
the module did not return the expected number by count
object.

use Bio::DB::GenBank;
use Bio::DB::Query::GenBank;

$query_string = "Trypanosoma cruzi[Organism]";

  my $query =
Bio::DB::Query::GenBank->new(-db=>'protein',
                                           
-query=>$query_string);
   my $count = $query->count;
   my @ids   = $query->ids;

print "$count\n";

Thanks.
Glauber



       
____________________________________________________________________________________
Novo Yahoo! Cadê? - Experimente uma nova busca.
http://yahoo.com.br/oqueeuganhocomisso 



More information about the Bioperl-l mailing list