Files
pplus-library/modules/align/linear-gap/routine.json
T
alexm 568474d52f
Test (in pplus-core) / in-core (push) Failing after 28m44s
Initial commit
2026-11-12 22:23:48 -05:00

45 lines
1.0 KiB
JSON

{
"name": "LinearGapPenalty",
"summary": "The score of a gap of Length positions when every position of a gap scores Gap.",
"tags": [
"alignment",
"gap model"
],
"sources": [
{
"title": "Durbin, Eddy, Krogh and Mitchison, Biological Sequence Analysis (Cambridge, 1998), chapter 2, Pairwise alignment",
"url": "https://doi.org/10.1017/CBO9780511790492.003"
}
],
"cases": [
{
"call": "LinearGapPenalty(3, -2)"
},
{
"call": "LinearGapPenalty(0, -2)"
},
{
"call": "LinearGapPenalty(10, -1)"
}
],
"references": [
{
"lang": "python",
"level": "plain",
"file": "ref/python/plain.py",
"note": "The same product."
},
{
"lang": "mojo",
"level": "plain",
"file": "ref/mojo/plain.mojo",
"note": "The same product in Mojo."
}
],
"proof": {
"lang": "dafny",
"file": "proof/linear_gap.dfy",
"note": "The product equals the score built position by position: each of the Length positions adds Gap."
}
}