I haven't been able to find this in the questions or an R package, hopefully straightforward.
Take two hypothetical genetic sequences:
Sequence A: ATG CGC AAC GTG GAG CAT
Sequence B: ATG GGC TAC GTG GAT CAA
I want to have R code to generate the percentage difference in single nucleotides between the two sequences (e.g. 15%).
Any thoughts? Thanks in advance.