def Checkmissingligands(Lig_list,Lig_aux):
    """It checks the ligand PDB files that are missing

    PARAMETERS
    ----------
    Lig_list : List with the ligand PDB filenames
    Lig_aux : List with the ligand names

    RETURNS
    -------
    Missing_lig : List ot the name of the missing ligand PDB files

    """


    Missing_lig = []

    for ligand in Lig_aux:
        if ligand not in Lig_list:
            Missing_lig.append(ligand)

    return Missing_lig