Template talk:Replicate ATGC

This template, which calls {{replicate ATGC/ing}}, which calls itself recursively, replicates a sting of letters, and whenever it sees an "A", it produces a "T", a "G" a "C", and vice versa. See {{replicate ATGC/switch}}.

Compare

=={{subst:replicate ATGC|n=20|a|t|g|c|A|T|G|C|A|U|G|C|a|u|g|c|C|G|T|a}}== GIVES

{{subst:replicate ATGC|n=20|A|T|G|C|A|T|G|C|A|T|G|C|A|T|G|C|C|G|T|A}}{{subst:replicate ATGC|n=20|T|A|C|G|T|A|C|G|T|A|C|G|T|A|C|G|G|C|A|T}}{{subst:replicate ATGC|n=20|T|A|C|G|T|A|C|G|T|A|C|G|T|A|C|G|G|C|A|T}}{{subst:replicate ATGC|n=20|a|t|g|c|A|T|G|C|A|U|G|C|a|u|g|c|C|G|T|a}}

{{subst:replicate ATGC|n=20|A|A|A|A|A|AA|A|A|A|A|A||A|A|A|c|c|c|cc|c|c|c|c|c|c|c|c|}}

edit

GIVES

{{subst:replicate ATGC|n=20|T|T|T|T|T|AA|T|T|T|T|T|T|T|T|T|G|G|G|cc|G}}{{subst:replicate ATGC|n=20|A|A|A|A|A|AA|A|A|A|A|A||A|A|A|c|c|c|cc|c}}

Return to "Replicate ATGC" page.