AnsweredAssumed Answered

Help! Stuck with patternsearch

Question asked by MarkusWinter on May 2, 2011
Latest reply on May 3, 2011 by philmodjunk

Title

Help! Stuck with patternsearch

Post

Hi all,

I try to calculate something for which I need to count the number of doublets (like AA, AC, TT etc) in a string 

For example ACGATTGC gives AC CG GA AT TT TG and GC

My problem arises when there is more than two repeats: TTT should be two occurences of TT but patternsearch will only see one.

TTTT should be three occurences, but patternsearch only sees two.

etc

Is there a variation of patternsearch which can do this?

Thanks

Markus

Outcomes