An amplicon is a subsequence limited by a matching pair of short oligos, called primers.The forward
primer is a short DNA sequence in the 5' to 3' direction. This can match on both strands of
the dna
sequence. The reverse
primer is also a short DNA sequence in 5' to 3' direction, and
can also match on both strands of dna
.
For a dna
sequence to produce an amplicon there must be an exact match of the forward
on one strand followed by an exact match of the reverse
on the other strand. The amplicon is
the subsequence starting with the forward
and ending with the reverse
primer.
Both primers may contain ambiguity symbols according to the IUPAC standard.
Primers are matched by gregexpr
, which will not register self-overlapping matches.
In case of multiple (non-overlapping) matches, this function will return all possible amplicons resulting
from the primer matching.