I'm trying to find all repeats (AAAA TTT GGGG CCCC) in a randomly generated sequence with length from 3 to 7bp, and their respective positions using Regex. I have tried the following code
if($seqR =~m/\G([A-Z]{3,7})+?$_/g) { #print "All repeated sequences $_\n"; };
it doesn't work.
In reply to find all repeating sequences by charm
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |