DefineMotifs
DefineMotifs[str, rules]⟹out
apply the replacement rules in rules to all motifs in str. Any motifs not replaced by rules will be replaced with the letter N.
DefineMotifs[expr, rules]⟹out
apply the replacement rules in rules to every strand in the expression expr.

