[Biopython] processing XML files in Biopython
Sheila the angel
from.d.putto at gmail.com
Mon Jun 6 13:29:24 UTC 2011
Hi All,
I am new to BioPython. I have simple question 'How can I process XML files
in Biopython?'
For example I have NCBI Reference Sequence ID 'NP_997807.1'
I want to download the 'xml' file and want to extract certain information
(e.g. GeneID, amino acid length etc.).
To download the file I did
from Bio import Entrez
handle = Entrez.efetch(db="protein", id= "NP_997807.1", retmode="xml")
record = Entrez.read(handle)
handle.close()
Now I have no clue how to extract certain information (like GeneID) :(
plz help
--
Cheers
Sheila d. Angela
More information about the Biopython
mailing list