This is a test version of Biostars. For the public version, visit https://www.biostars.org.
Calculating K2P Distance in R using BLAST+ output

I've been trying to calculate the Kimura parameter distance between a query sequences and all BLAST hits to them from a genome in R. As outfmt 6 doesn't allow for the output of transitions and transversions I guessing I'll need to parse the XML output, extract the alignments and then count the transitions and transversions in the alignment. Does anyone know of an existing package/script which will do this?

r alignment

0 answers

No answers yet.

Log in to answer this question.