def checkPresenceOfFiles(filenames):

    missing = []
    for filename in filenames:
        if not os.path.exists(filename):
            missing.append(filename)
    return missing
check for the presence/absence of files
dataset/ETHPy150Open CGATOxford/cgat/CGAT/IOTools.py/checkPresenceOfFiles