Skip to content

Instantly share code, notes, and snippets.

View themrcesi's full-sized avatar

César García Cabeza themrcesi

View GitHub Profile
@mcfrank
mcfrank / pubmed.py
Created October 7, 2015 22:08
Example of using the Entrez API to get pubmed citations
## this little script shows off the use of the pubmed API through bioconductor
## requires installing Biopython (using pip)
## also requires installing the DTD files for each of the Entrez API calls,
## but the instructions for this are given when you run the script
## useful list of Entrez databases that can be queried through API
# pmc_pubmed PubMed citations for these articles
# pmc_refs_pubmed PubMed article citing PMC article
# pmc_pmc_cites PMC articles that given PMC article cites
# pmc_pmc_citedby PMC article citing given PMC article