def read_paralogs(paralogs_file):
    """Read list of paralogs."""
    if paralogs_file is None:
        # then nothing to return
        return set()
    f = open(paralogs_file, "r")
    paralogs = set(x.rstrip() for x in f.readlines())
    f.close()
    return paralogs