I am using Metacoder to perform in silico PCR and have a good set of primers that amplify my gene of interest, but it requires me to allow 2 mismatches. I am now looking to identify the specific bases that are different in the primer binding sites so I understand any potential issues here and can identify needed base degeneracy. Is there a way to pull out the primer binding site sequences from the references using Metacoder?
seqs <- ape::read.FASTA(fasta_path)
cat(names(seqs)[1])
data <- extract_taxonomy(seqs, regex = "^(.*)\ (.*)",
key = c(id = "obs_info", "class"),
class_sep = ";")
data
pcr <- primersearch(data,
forward = c("F" = FORWARDSEQ),
reverse = c("R" = "REVERSESEQ),
mismatch = 20)
Tax <- taxon_data(pcr)