[Biopython] Entrez and SeqIO "no records found in handle"

高凤(Feng GAO) fenggao0907 at yahoo.com.cn
Thu Feb 23 16:35:23 EST 2012


Hi all,
We have some python code using gi number to get record from Genbank.
Part of the code is:

handle = Entrez.efetch(db="protein", id=ID, rettype="gb")
record = SeqIO.read(handle,"genbank")

We have had no problem with this code
 until this week when we started getting "ValueError: No records found in handle".
Anyone have an idea how to fix it now? Thanks!
Feng
 
--------------------------------------Ms. Feng Gao
Department of Biological Sciences
Smith College
Northampton, MA 01063
USA
&
Laboratory of Protozoology
Institute of Evolution and Marine Biodiversity
Ocean University of China
266003 Qingdao
China
E-mail: fenggao0907 at yahoo.com.cn
--------------------------------------


More information about the Biopython mailing list