[BioPython] Blastp XML mailfunction

Joost van Dieten jdieten at gmail.com
Tue Jun 24 06:58:23 EDT 2008


 MY CODE:
       result_handle = NCBIWWW.qblast('blastp', 'swissprot', sequence,
entrez_query='man[ORGN]')
       blast_results = result_handle.read()
       print result_handle-
       result_handler = cStringIO.StringIO(blast_results)
       print result_handler
       blast_records = NCBIXML.parse(result_handler)
       blast_record = blast_records.next()

This code doesn't seem to work anymore. I got an error that my blast_record
is empty, but it worked fine 3 weeks ago. Something changed to the NCBIXML
code??? Any ideas??

Greetz,

Joost Dieten


More information about the BioPython mailing list