detect_tandem_repeats_in_sequence.py: refine_denovo Handle empty repeat lists denovo