def get_cigar_data(uri, ucTableName):
    """
    Gets the CIGAR data of a part (see https://genome.sph.umich.edu/wiki/SAM)
    Args:
        uri: URI of the part
        ucTableName: UClust table

    Returns: CIGAR data if found, or N/A

    """
    with open(ucTableName, 'r') as read:
        uc_reader = read.read()
        lines = uc_reader.splitlines()

        for line in lines:
            line = line.split()
            if line[9] == uri:
                return line[7]

        return 'N/A'