def get_excluded_genes(exc_arg):
    """Load set of transcripts to be excluded."""
    if exc_arg:
        f = open(exc_arg, "r")
        exclude = set(x.rstrip() for x in f)
        f.close()
        return exclude
    else:
        return set()