Cluster DNA/RNA based on k-mer algorithm