Running Entrez Direct-like commands on local or on custom mirror
1
0
Entering edit mode
8.9 years ago
p6patel • 0

For those familiar with entrez direct commands, I'm wondering how I can use commands like efetch, esearch, elink to get the necessary information from local databases. For example, here is a piece of code that I would like to do locally:

system("esearch -db protein -query $inputGI | elink -target nuccore | efetch | xtract);

the databases are downloaded locally, and I am aware of the SearchIO on Bioperl but I am very unsure how I can use that to extract the information I need.

ncbi bioperl perl • 2.3k views
ADD COMMENT
0
Entering edit mode

you would have to set up a local mirror of all NCBI resources, then go through the documentation of the direct utils to see if there is an option to specify a custom mirror.

ADD REPLY
1
Entering edit mode
8.9 years ago

Download entrez direct, find & open the file edirect.pl

change:

$base = "http://eutils.ncbi.nlm.nih.gov/entrez/eutils/";

to a custom URL

ADD COMMENT

Login before adding your answer.

Traffic: 1528 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6