def analyze_cigar_indel(tuples, min_length):
    """Parses CIGAR tuples (op, len) and returns Indels with a length > minLength"""
    pos_ref = 0
    pos_read = 0
    indels = []
    for operation, length in tuples:
        if operation == 0:
            pos_ref += length
            pos_read += length
        elif operation == 1:
            if length >= min_length:
                indels.append((pos_ref, pos_read, length, 'INS'))
            pos_read += length
        elif operation == 2:
            if length >= min_length:
                indels.append((pos_ref, pos_read, length, 'DEL'))
            pos_ref += length
        elif operation == 4:
            pos_read += length
        elif operation == 7 or operation == 8:
            pos_ref += length
            pos_read += length
    return indels
