def convert_overlap(raw):
    """
    Convert the short overlap strings from infernal into more readable names.
    """

    if raw == "*" or raw == "unique":
        return u"unique"
    if raw == "^" or raw == "best":
        return u"best"
    if raw == "=" or raw == "secondary":
        return u"secondary"
    raise Exception("Unknown overlap symbol %s" % raw)