I'm having a issue using Bio.Entrez to search a protein. I'm doing this:
>>> handle=Entrez.esearch(db="protein", term="insulin AND homo")
>>> record=Entrez.read(handle)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib/pymodules/python2.7/Bio/Entrez/__init__.py", line 351, in read
record = handler.read(handle)
File "/usr/lib/pymodules/python2.7/Bio/Entrez/Parser.py", line 169, in read
self.parser.ParseFile(handle)
File "/usr/lib/pymodules/python2.7/Bio/Entrez/Parser.py", line 307, in endElementHandler
raise RuntimeError(value)
RuntimeError: Search Backend failed: Database is not supported: protein
I'm having a issue with einfo() too, check at this:
>>> handler=Entrez.einfo(db="protein")
>>> record=Entrez.read(handler)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib/pymodules/python2.7/Bio/Entrez/__init__.py", line 351, in read
record = handler.read(handle)
File "/usr/lib/pymodules/python2.7/Bio/Entrez/Parser.py", line 169, in read
self.parser.ParseFile(handle)
File "/usr/lib/pymodules/python2.7/Bio/Entrez/Parser.py", line 285, in startElementHandler
raise ValidationError(name)
Bio.Entrez.Parser.ValidationError: Failed to find tag 'Build' in the DTD. To skip all tags that are not represented in the DTD, please call Bio.Entrez.read or Bio.Entrez.parse with validate=False.
Why is protein database not supported? Can somebody help me with this issue?