def extractKeywords(arglist):
    d = {}
    for arg in arglist:
        chunks = arg.split('=')
        if len(chunks)==2:
            key, value = chunks
            d[key] = value
    return d
extracts a dictionary of keywords
dataset/ETHPy150Open CGATOxford/cgat/obsolete/preppy.py/extractKeywords