From 9d88af8c71b570be3a40efa6c53e989c66215e6e Mon Sep 17 00:00:00 2001 From: Adam English Date: Mon, 26 Aug 2024 12:46:26 -0400 Subject: [PATCH] correct monomorphic reference check --- truvari/matching.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/truvari/matching.py b/truvari/matching.py index 60b8595..fd114b4 100644 --- a/truvari/matching.py +++ b/truvari/matching.py @@ -155,7 +155,7 @@ def filter_call(self, entry, base=False): Returns True if the call should be filtered Base has different filtering requirements, so let the method know """ - if self.params.check_monref and entry.alts and entry.alts[0] in (None, '*'): # ignore monomorphic reference + if self.params.check_monref and (not entry.alts or entry.alts[0] in (None, '*')): # ignore monomorphic reference return True if self.params.check_multi and len(entry.alts) > 1: