[Biopython] Entrez.read(handle) AND handle.read() on the same handle?

richard k belew rik at cogsci.ucsd.edu
Tue Feb 1 23:02:27 UTC 2011


there must be a simple way to do this, but i've
not figured it out:

i want to sniff at aspects of a record (using the
dictionary returned by Entrez.read(handle)) and then
cache the XML version (returned by handle.read()),
only if it meets certain criteria.  and without
doing two separate efetch's!

has anyone else bumped into this pattern?

	rik




More information about the Biopython mailing list