[BioPython] Problem with Entrez?

Peter biopython at maubp.freeserve.co.uk
Wed Aug 27 09:12:17 UTC 2008


On Sun, Aug 24, 2008 at 11:18 PM, Sebastian Bassi <sbassi at gmail.com> wrote:
> Looks like ASN1 format, but according to the tutorial efetch should
> return its output in XML format:
> "By default you get the output in XML format, which you can parse
> using the Bio.Entrez.read() function "

Its a documentation bug (my mistaken assumption), as the NCBI do not
default to XML. The efetch doc string was fixed in CVS but I'll do the
tutorial now...  thanks for the report.

> As a workaround I specify the format with  rettype='gb'

As you realized, efetch listens to the rettype and retmode arguments.

Peter



More information about the Biopython mailing list