Skip to content

Commit

Permalink
Add back -w window size setting
Browse files Browse the repository at this point in the history
  • Loading branch information
philiptzou committed Mar 10, 2024
1 parent f2890cf commit eb27e54
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion data/alignment-config_hiv1.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
"8797",
"9417"
],
"minimap2Opts": "-k 10 --score-N 0 --secondary no"
"minimap2Opts": "-k 10 -w 5 --score-N 0 --secondary no"
},
{
"fragmentName": "HIV1gag",
Expand Down
5 changes: 3 additions & 2 deletions data/alignment-config_hiv1.yml
Original file line number Diff line number Diff line change
Expand Up @@ -101,10 +101,11 @@ fragmentConfig:
codon-alignment, '--min-gap-distance=15', '8797', '9417' # nef
]
# 1. use smaller k-mer (default: 15) for increasing alignment sensitivity
# 2. no penalty for N base is recommended in several MiniMap2 issues:
# 2. use smaller window size (default: 10) for increasing alignment sensitivity
# 3. no penalty for N base is recommended in several MiniMap2 issues:
# https://github.com/lh3/minimap2/issues/354 and
# https://github.com/lh3/minimap2/issues/720
minimap2Opts: "-k 10 --score-N 0 --secondary no"
minimap2Opts: "-k 10 -w 5 --score-N 0 --secondary no"
- fragmentName: HIV1gag
fromFragment: HXB2_x_ConsensusB
geneName: HIV1gag
Expand Down

0 comments on commit eb27e54

Please sign in to comment.