my $s1 = "1,0,CTGCCACCGCTGT"; my $s2 = "1,5,ACCGCTGTGTTTCGGCCGGCGA"; #The format show this: sequence_index,string_pos,$string #So the two strings above are in the same sequence 1.