[Bioperl-l] Pulling down data from NCBI

Chris Fields cjfields at illinois.edu
Mon Feb 1 20:38:10 UTC 2010


that would be 'efetch', not 'efecth'.  

chris

On Feb 1, 2010, at 2:36 PM, Abhishek Pratap wrote:

> Hi All
> 
> I looking to batch download some 34K nucleotide sequences,
> corresponding to a NCBI accession number. I tired the following and
> getting an error. Has it got anything to do with recent update to code
> that Chris was discussing.
> 
> 
> 
> my $factory = Bio::DB::EUtilities->new  (
> 					-eutil	=> 'efecth',
> 					-db 	=>	'nucleotide',
> 					-retype	=>	'fasta',
> 					-id		=> $id
> 				);
> 
> 
> ----------- EXCEPTION: Bio::Root::Exception -------------
> MSG: efecth not supported
> STACK: Error::throw
> STACK: Bio::Root::Root::throw
> /usr/lib/perl5/vendor_perl/5.8.8/Bio/Root/Root.pm:357
> STACK: Bio::Tools::EUtilities::EUtilParameters::eutil
> /usr/lib/perl5/vendor_perl/5.8.8/Bio/Tools/EUtilities/EUtilParameters.pm:452
> STACK: Bio::Root::RootI::_set_from_args
> /usr/lib/perl5/vendor_perl/5.8.8/Bio/Root/RootI.pm:546
> STACK: Bio::Tools::EUtilities::EUtilParameters::new
> /usr/lib/perl5/vendor_perl/5.8.8/Bio/Tools/EUtilities/EUtilParameters.pm:193
> STACK: Bio::DB::EUtilities::new
> /usr/lib/perl5/vendor_perl/5.8.8/Bio/DB/EUtilities.pm:74
> STACK: ./getDatafromNCBI.pl:9
> 
> 
> -Abhi
> _______________________________________________
> Bioperl-l mailing list
> Bioperl-l at lists.open-bio.org
> http://lists.open-bio.org/mailman/listinfo/bioperl-l





More information about the Bioperl-l mailing list