Hi Everyone!
Is anyone familiar with Bio::Perl? I just started using it and my first little 'Hello world' quality script failed with the following error:
Can't locate object method "new" via package "Bio::DB::Query::GenBank" (perhaps you forgot to load "Bio::DB::Query::GenBank"?) at C:\tryBioPerl.pl line 5.
I checked the GenBank.pm and the code looks ok. And of course, I did not forget to load "Bio::DB::Query::GenBank". I am using Active state Perl 5.6.1 for Win32 and BioPerl 1.2 on Windows 2000 system.
Any ideas on this are appreciated.
Thanks,
Prachi.
##### Code starts here. #####
#! perl -w
use strict;
use Bio::Perl;
my $query_string = 'Gallus gallus[Organism] AND ATP';
my $query = Bio::DB::Query::GenBank->new(-db=>'nucleotide',
-query=>$query_string);
my $count = $query->count;
my @ids = $query->get_Ids;
print "COUNT $count\n";
print " IDS \n @ids";
_________________________________________________________________
STOP MORE SPAM with the new MSN 8 and get 2 months FREE* http://join.msn.com/?page=features/junkmail
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
- RE: problem with bioperl Prachi Shah
- RE: problem with bioperl wiggins