Description Usage Arguments Examples
Align multiple sequences to reference
1 2 3 | bstr_align_multi(sub, pat, type = "global", gapO = 10, gapE = 4)
dstr_align_multi(sub, pat, rc, type = "global", gapO = 10, gapE = 4)
|
sub |
a subject sequence |
pat |
pattern sequence |
type |
type of alignment. One of "global", "local", "overlap", "global-local", and "local-global". |
gapO |
gap opening penalty |
gapE |
gap extension penalty |
rc |
logical value. if TRUE, the seq2 is aligned after reverse complemented. default is FALSE. |
1 2 3 4 5 6 7 8 9 | ref <- c(reference = "abcdefghijk")
patterns <- c(one = "abc", two = "d", three = "efgjk")
bstr_align_multi(ref, patterns)
ref <- c(ref = "AAACCCTTTGGG")
patterns <- c(A = "AAA", C = "CCC", T = "TTT", G = "GGG")
dstr_align_multi(ref, patterns)
dstr_align_multi(ref, patterns, 1:2)
dstr_align_multi(ref, patterns, c("T", "G"))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.