scripts/detect_tandem_repeats_in_sequence.py: detect BUG