Q1.1
Write a function repeats(seq,n). This function receives a sequence and
will print all its subsequences of length n which are present at least twice
in the sequence. So seq(“acgtaaaaacgta”,4) would print
acgt
cgta
aaaa
Just a Personal Work Diary
Q1.1
Write a function repeats(seq,n). This function receives a sequence and
will print all its subsequences of length n which are present at least twice
in the sequence. So seq(“acgtaaaaacgta”,4) would print
acgt
cgta
aaaa