Number and positions of a DNA pattern in a DNA sequence
y = btd_DNAword(x1, x2)
String of single-letter codes specifying a DNA sequence
DNA pattern (string)
Number and positions of given DNA word (2x1 column of strings)
y = btd_DNAword(x1, x2)
counts the number of DNA pattern x2,
and locates its position in the given DNA sequence x1.
--> y = btd_DNAword("ACTCTAGCTACT","ACT") y = !No of DNA words : 2 ! !Positions of DNA words : 1 1 !