Skip to content

Instantly share code, notes, and snippets.

View mac389's full-sized avatar

Michael Chary mac389

View GitHub Profile
'''
@date Jan 17, 2010
@author: mjbommar (c) 2010
Free to use for non-commerical purposes. Attribution appreciated :)
'''
import igraph
import Image, ImageDraw
import os, os.path
@mac389
mac389 / pubmed_search.py
Created November 8, 2015 21:45 — forked from langner/pubmed_search.py
A class that searches Pubmed for a list of PMIDs via the BioPython Entrez module and returns the results in a simpler dictionary format.
"""Tools for searching Pubmed for a list of PMIDs.
The goal here is to search for many PMIDs at once, since searching
sequentially can take a long time. Using the the BioPython Entrez module
is super convenient to this end.
The results results are returned in a simple dictionary format.
"""