Question: Problems connecting to NCBI using NCBI edirect
gravatar for ttom
8 months ago by
ttom200 wrote:

Hello All,

I am trying to run my program which uses NCBI edirect, somehow not able to connect to NCBI

python tempid.list

    get_taxInfo = "esearch -db taxonomy -query txid%s[Organism:exp] | efetch -format docsum | xtract -pattern DocumentSummary -element TaxId ScientificName Species Subsp" % (taxid)
 output = subprocess.check_output(get_taxInfo, shell=True)
                for res in output.strip().split('\n'):
                        res = res.strip()
                        taxid_pass.write("\t".join(str(i) for i in  [taxid] + res.split('\t')) + "\n")

I get the following error

500 Can't connect to (Connection timed

out) No do_post output returned from ''

However when I do wget ""


Any help would be much appreciated.


esearch edirect ncbi • 357 views
ADD COMMENTlink modified 8 months ago • written 8 months ago by ttom200

Do you have the latest version of eutils installed? If not I suggest you start by upgrading them.

Since you are able to get the wget to work there should no local firewall issues.

ADD REPLYlink written 8 months ago by genomax60k

Occasionally there might be something wrong when using it. Try later and hopefully the problem will be solved.

ADD REPLYlink written 8 months ago by Sishuo Wang140
Please log in to add an answer.


Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 2.3.0
Traffic: 493 users visited in the last hour