Transforms read substitution. JACUSA2 can stratify reads based on base substitutions "-B A2G". This function will transform "A2G" to "A->G".
Examples
subs <- c("*", "A2G", "*")
clean_tag(subs)
#> [1] "*" "A->G" "*"
Transforms read substitution. JACUSA2 can stratify reads based on base substitutions "-B A2G". This function will transform "A2G" to "A->G".
subs <- c("*", "A2G", "*")
clean_tag(subs)
#> [1] "*" "A->G" "*"