Perform forced alignment with increased gap open penalty
Usage
force_align(
read,
reference,
force_overhang = FALSE,
match_score = 2L,
mismatch_penalty = 2L
)
Arguments
- read
A character string of the read.
- reference
A character string of the reference.
- force_overhang
Logical. If
TRUE
, ensures only one end of the alignment overhangs. Default isFALSE
.- match_score
An integer for scoring matches, ranging from 0 to 255. Default is 2.
- mismatch_penalty
An integer for mismatch penalties, ranging from 0 to 255. Default is 2.