I have a collection of k (k>2) sequences. I need an algorithm that detects repeats (i.e. the appearance of the same string twice) in every sequence, where that repeated string is the same in all sequences. Also, I am wondering if there are any shortcomings if we try to put limitations in spaces between two string's appearances in every sequence. Only suffix-tree solutions.
Any tip will be much appreciated.
EDIT:
Example:
S1 = AATTAATTCGCG
S2 = GGAATTAATTCC
S3 = GAAATTAATTGA
Result= AATT