[Bioperl-l] method never found in esearch.pm package

Laurent Manchon lmanchon at univ-montp2.fr
Thu Oct 23 07:04:15 UTC 2008


Hi,

your code below posted yesterday returns me this error:
Can't locate object method "set_parameters" via package 
"Bio::DB::EUtilities::esearch" at line 20
i don't know why !

#!/usr/bin/perl

use Bio::DB::EUtilities;

my @ids = qw(MSMEG_2393 TA21330);

my $term = join(' OR ',map {$_."[GENE]"} @ids);

my $eutil = Bio::DB::EUtilities->new(-eutil => 'esearch',
                                      -db => 'nucleotide',
                                      -term => $term);
my @uids = $eutil->get_ids;

$eutil->set_parameters(-eutil => 'esummary',-id => \@uids);
$eutil->print_DocSums;





+---------------------------------------------+
  Laurent Manchon
  Email: lmanchon at univ-montp2.fr
+---------------------------------------------+



More information about the Bioperl-l mailing list