A step of the mafft_native implementation. Called by mafft_nw.
See the file header for the source the module follows.
Usage
mafft_gap_profiles(group, weights)
Arguments
- group
A vector; its length is taken and its elements indexed.
- weights
A vector; indexed elementwise.
Value
A list with gs, ge.
Examples
mafft_gap_profiles(group = c("MK-LA", "MKVLA"), weights = c(1, 1))
#> $gs
#> [1] 0 1 0 0 0 0
#>
#> $ge
#> [1] 0 0 0 1 0 0
#>