sub_seq = seq[start:end]
for item in recListProcessing(sub_seq, threshold, min_len):
    yield item[0], item[1], item[2] + start
start = end + 1
Returning longest consecutive sequence of ranging integers