[Biopython] Question about efetch output format
    jorma kala 
    jjkk73 at gmail.com
       
    Thu Sep  3 16:06:19 UTC 2009
    
    
  
Hi,
I'm trying to retrieve a record from protein database (I found the record id
by running Entrez.esearch)
    handle = Entrez.efetch(db="protein", id='483329',mode='xml')
    print handle.read()
Although I specify xml mode, the result comes in a quite confusing format
using braces  (I've pasted a snippet at the end of the email)
Do you know what I should do to get it in xml?
Many thanks
+++++++ Output
Seq-entry ::= set {
level 1 ,
class nuc-prot ,
descr {
title "Aspergillus flavus aflatoxin (aflR) gene, and translated products" ,
source {
org {
taxname "Aspergillus flavus" ,
db {
{
db "taxon" ,
tag
id 5059 } } ,
orgname {
name
binomial {
    
    
More information about the Biopython
mailing list