首页 > 其他 > 详细

Entrez--从gene中查找相关信息

时间:2019-10-20 11:46:56      阅读:75      评论:0      收藏:0      [点我收藏+]
from Bio import my_em = user@example.com
db = "gene"
term = cobalamin synthase homo sapiens
h_search = Entrez.esearch(db=db, email=my_em,term=term)
record = Entrez.read(h_search)
res_ids = record["IdList"]
for r_id in res_ids:
    h_summ = Entrez.esummary(db=db, id=r_id, email=my_em)
    summ = Entrez.read(h_summ)
    print(r_id)
    print(summ[DocumentSummarySet][DocumentSummary][0][Description])
    print(summ[DocumentSummarySet][DocumentSummary][0][Summary])
    print(==============================================)
    
          

结果:

1956

epidermal growth factor receptor The protein encoded by this gene is a transmembrane glycoprotein that is a member of the protein kinase superfamily. This protein …encode different protein isoforms have been found for this gene.[provided by RefSeq, Jul 2010]

==============================================

4524

methylenetetrahydrofolate reductase (NAD(P)H) The protein encoded by this gene catalyzes the conversion of 5,10-methylenetetrahydrofolate …in this gene are associated with reductase deficiency.[provided by RefSeq, Oct 2009]

==============================================

4363 ATP-binding cassette, sub-family C (CFTR/MRP), member 1 The protein encoded by this gene is a member of the superfamily of ATP-binding cassette (ABC) transporters…and bile salts. Alternatively spliced variants of this but their full-length nature is unknown. [provided by RefSeq, Apr 2012]

Entrez--从gene中查找相关信息

原文:https://www.cnblogs.com/biubiu2019/p/11706857.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!