Entering edit mode
8.3 years ago
danangcrysnanto
▴
30
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
It could be a proxy issue. check the
http_proxy
andhttps_proxy
settings.