Error in Retrieving Sequence from NCBI from Biopython
0
0
Entering edit mode
8.3 years ago

Does anyone here ever experiencing error when retrieving sequence from NCBI from Biopython? I use this script, but got error

from Bio import Entrez
from Bio import SeqIO
Entrez.email = "danangcrysnanto@gmail.com"
handle = Entrez.efetch(db='nucleotide',id=["FJ817486, JX069768, JX469983"],retype='fasta')

records=list(SeqIO.read(handle,'fasta'))

print records

I got this error:

urllib2.URLError: <urlopen error [Errno 11004] getaddrinfo failed>

What I should do to fix that?

Thanks

sequence • 1.9k views
ADD COMMENT
0
Entering edit mode

It could be a proxy issue. check the http_proxy and https_proxy settings.

ADD REPLY

Login before adding your answer.

Traffic: 1321 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