def splitPFAMVersion(PFAM_designation):
    """
    remove the version of the PFAM (PFXXXX.YY) remove YY

    :param PFAM_designation: PFAM name

    :type PFAM_designation: str 

    :return: pfam name
    :rtype str

    """
    pfam_name_version = PFAM_designation.split('.')
    assert len(pfam_name_version) == 2
    return pfam_name_version[0]