[Biopython] qBlast Error and Entrez module
Rodrigo faccioli
rodrigo_faccioli at uol.com.br
Mon Aug 10 14:31:44 UTC 2009
Hello,
I've tried to execute a blast from NCBI. In this way, I'm using the NCBI
module from Biopython. I read the Biopython Tutorial its Chapter 7. So, my
code is below.
result_handle = NCBIWWW.qblast("blastn", "nr",
"TTCCPSIVARSNFNVCRLPGTPEAICATYTGCIIIPGATCPGDYAN")
blast_results = result_handle.read()
save_file = open( "1CRN_Blast.xml", "w")
save_file.write(blast_results)
save_file.close()
However, when I execute this code, I receive the error message: raise
ValueError("No RID and no RTOE found in the 'please wait' page."
I don't know what I'm doing wrong. So, if somebody can help me, I thank.
I have on more doubt about Entrez module. What is the difference between
Entrez and NCBI ? With Entrez module can I execute a protein aligment? If
yes, could somebody inform a example for me.
Sorry my English mistakes.
Thanks,
--
Rodrigo Antonio Faccioli
Ph.D Student in Electrical Engineering
University of Sao Paulo - USP
Engineering School of Sao Carlos - EESC
Department of Electrical Engineering - SEL
Intelligent System in Structure Bioinformatics
http://laips.sel.eesc.usp.br
Phone: 55 (16) 3373-9366 Ext 229
Curriculum Lattes - http://lattes.cnpq.br/1025157978990218
More information about the Biopython
mailing list