Skip to content

Commit

Permalink
chore[call]: include ref snv bases in snv dict too
Browse files Browse the repository at this point in the history
  • Loading branch information
davidlougheed committed Apr 18, 2023
1 parent cf09e80 commit 0121ef0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion strkit/call/caller/snvs.py
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ def get_read_snvs_dbsnp(
continue
if ref is not None and len(ref) == 1 and alts and all(len(a) == 1 for a in alts):
read_base = _find_base_at_pos(query_sequence, pairs, pos)
if read_base in alts:
if read_base == ref or read_base in alts:
snvs[pos] = read_base

return snvs
Expand Down

0 comments on commit 0121ef0

Please sign in to comment.