The answers are 1a and 2b:
1) (CAT)5, as (CATCAT) can be broken down into two smaller motifs.
2) (AAAGTC)3, as the motifs must be continuous.
Of course, if the thresholds were set to detect mono repeats of such a small size then we would indeed find (AAA)3 and (GTC)3, but I usually don't run thresholds that low as such things are not biologically significant. Generally, if it's over about 10 repeats of the pattern it might be interesting, or about 20 repeats if it's a single character. Sorry for the vagueness on this matter.

In reply to Re^6: Regexps for microsatellites by knirirr
in thread Regexps for microsatellites by knirirr

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.