Collections:
List NCBI Databases with Bio.Entrez.einfo()
How to List NCBI Databases with Bio.Entrez.einfo() function?
✍: FYIcenter.com
Bio.Entrez.einfo() function allows you to list NCBI Databases
and their related information.
It uses the Entrez Web services provided by www.ncbi.nlm.nih.gov.
1. Get a list of NCBI databases.
fyicenter$ python
>>> from Bio import Entrez
>>> Entrez.email = "A.N.Other@example.com"
>>> handle = Entrez.einfo()
>>> result = Entrez.read(handle)
>>> handle.close()
>>> print(result)
{'DbList': ['pubmed', 'protein', 'nuccore', 'ipg', 'nucleotide',
'structure', 'genome', 'annotinfo', 'assembly', 'bioproject',
'biosample', 'blastdbinfo', 'books', 'cdd', 'clinvar', 'gap',
'gapplus', 'grasp', 'dbvar', 'gene', 'gds', 'geoprofiles',
'homologene', 'medgen', 'mesh', 'nlmcatalog', 'omim', 'orgtrack',
'pmc', 'popset', 'proteinclusters', 'pcassay', 'protfam', 'pccompound',
'pcsubstance', 'seqannot', 'snp', 'sra', 'taxonomy', 'biocollections',
'gtr']}
2. Get more information on the "pubmed" database.
>>> handle = Entrez.einfo(db="pubmed") >>> result = Entrez.read(handle) >>> handle.close() >>> result["DbInfo"]["Description"] 'PubMed bibliographic record' >>> result["DbInfo"]["Count"] '35230792' >>> result["DbInfo"]["LastUpdate"] '2023/01/31 23:59' >>> result.keys() dict_keys(['DbInfo']) >>> result['DbInfo'].keys() >>> result['DbInfo'].keys() dict_keys(['DbName', 'MenuName', 'Description', 'DbBuild', 'Count', 'LastUpdate', 'FieldList', 'LinkList'])
⇒ Search NCBI Databases with Bio.Entrez.esearch()
⇐ Play with the ls_orchid.fasta File
2023-07-08, 1276🔥, 0💬
Popular Posts:
Molecule Summary: ID: FYI-1000997 SMILES: C(C[Si](Cl)(Cl)Cl)C(C(C( C(C(C(C(C(C(C(F)(F)F)(F) F)(F)F)(F)...
Molecule Summary: ID: FYI-1000942 SMILES: O=C4N=C(NC23CC1CC(CC(C1) C2)C3)SC45CCC5Received at FYIcent...
Molecule Summary: ID: FYI-1003622 Names: InChIKey: BSAYHBZFNXDOIJ-UHFFFAOYS A-NSMILES: Cc7cc(OCCCc5c...
Molecule Summary: ID: FYI-1002997 Names: InChIKey: GTVNZMYAOQJZEU-LLVKDONJS A-NSMILES: O=C(c2cc(c1cc...
Molecule Summary: ID: FYI-1001105 SMILES: C=CCN1CCC23C4C(=O)CCC2(C 1CC5=C3C(=C(C=C5)OC6C(C( C(C(O6)C(=...