Skip to content

Commit

Permalink
ignore filtered SVs in sveval
Browse files Browse the repository at this point in the history
  • Loading branch information
lh3 committed Apr 7, 2024
1 parent 8170693 commit 0cc3cdc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions misc/paftools.js
Original file line number Diff line number Diff line change
Expand Up @@ -3240,6 +3240,7 @@ function paf_sveval(args)
if (bed != null && bed[t[0]] == null) continue;
if (t[4] == '<INV>' || t[4] == '<INVDUP>') continue; // no inversion
if (/[\[\]]/.test(t[4])) continue; // no break points
if (t[6] != "." && t[6] != "PASS") continue;
var st = parseInt(t[1]) - 1, en = st + t[3].length;
// parse svlen
var b = _paf_get_alen(t), svlen = b[0];
Expand Down

0 comments on commit 0cc3cdc

Please sign in to comment.