Entering edit mode
11.8 years ago
heath
▴
20
Dear All, I am using entrez protein data base for searching a list 40 000 of protein ids, I set stop time (0.3) to keep ncbi server happy my program runs OK at first, but after running 1hrs or so..it shows
File "snpinfo_new.py", line 31, in <module>
fg=Entrez.efetch(db='protein', id=uid, rettype='fasta').read()
File "/opt/python-2.7/lib/python2.7/site-packages/Bio/Entrez/__init__.py", line 113, in efetch
return _open(cgi, variables)
File "/opt/python-2.7/lib/python2.7/site-packages/Bio/Entrez/__init__.py", line 360, in _open
raise exception
urllib2.HTTPError: HTTP Error 500: Internal Server Error
..how I fix this?
Thanks a lot!
see retrieving FASTA sequences from ncbi using biopython
Thanks a lot :-) !!