def read_excluded(exc_arg):
    """Read the list of excluded genes."""
    if exc_arg is None:
        return set()
    f = open(exc_arg, "r")
    ret = set(x.rstrip() for x in f)
    f.close()
    return ret