Error in Retrieving Sequence from NCBI from Biopython
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
• 2,315 views
•
link
0 answers
No answers yet.
Log in to answer this question.
It could be a proxy issue. check the
http_proxyandhttps_proxysettings.