GapPenalty
is an option for SequenceAlignment and related functions that gives the additional cost associated with each gap corresponding to a run of insertions or deletions.
Details

- GapPenalty->p specifies that the similarity of sequences should have an amount p subtracted for every run of insertions or deletions needed to align the sequences.
Examples
Wolfram Research (2008), GapPenalty, Wolfram Language function, https://reference.wolfram.com/language/ref/GapPenalty.html.
Text
Wolfram Research (2008), GapPenalty, Wolfram Language function, https://reference.wolfram.com/language/ref/GapPenalty.html.
CMS
Wolfram Language. 2008. "GapPenalty." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/GapPenalty.html.
APA
Wolfram Language. (2008). GapPenalty. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/GapPenalty.html