Skip to content

Commit

Permalink
hmer ondel must have mon length
Browse files Browse the repository at this point in the history
  • Loading branch information
dror27 committed Jun 25, 2023
1 parent 4590e4a commit 7852871
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,7 @@ protected void isHmerIndel(final VariantContext vc, final LocalContext localCont
if ( diffIndex < 0 ) {
continue;
}
if ( Math.max(refKey[diffIndex], altKey[diffIndex]) == 0 ) {
if ( Math.min(refKey[diffIndex], altKey[diffIndex]) == 0 ) {
continue;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ public Object[][] getTestData() {
{
// not hmer indel
"TATCT CA TTGACCAA", "C",
"del", "1", "1", "A", "ATCTC", "TTGAC", "0.3", "NA", "non-h-indel"
"del", "1", "0", "", "ATCTC", "TTGAC", "0.3", "NA", "non-h-indel"
},
{
// del hmer indel
Expand Down

0 comments on commit 7852871

Please sign in to comment.