【发布时间】:2012-11-19 02:06:21
【问题描述】:
快速提问——第一次使用 biopython,我只是想根据教程快速完成一些事情。
我似乎无法让 Entrez.efetch() 返回给定文章的网格术语,唯一的方法似乎是我正在做的事情,即:
handle = Entrez.efetch(db="pubmed", id=pmids, rettype="medline", retmode="xml")
records = Entrez.read(handle)
其中 pmids 是 已发布 ID 的列表
这将返回以下内容:http://pastie.org/5459700
我尝试根据http://www.ncbi.nlm.nih.gov/books/NBK25499/ 调整 rettype 和 retmode 参数,但没有成功。我遗漏了什么明显的东西?
【问题讨论】:
-
到底是什么问题?你的输出是一个 python dict...