Finding the region of pseudo-periodic tandem repeats in biological sequences