def getExcludedReads(file):
    ex = {}
    f = open(file,'r')
    for line in f:
        line = line.strip()
        ex[line] = True
    f.close()
    return ex
read list of excluded reads into a dictionary
dataset/ETHPy150Open adamewing/bamsurgeon/bamsurgeon/replacereads.py/getExcludedReads