From d2084282df72bafbe2f2ba0a314d065494ef42d3 Mon Sep 17 00:00:00 2001 From: Mehrdad Bakhtiari Date: Tue, 18 Jun 2019 21:13:12 -0700 Subject: [PATCH] fix a bug for VNTR in INS gene. fix #21 --- advntr/vntr_finder.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/advntr/vntr_finder.py b/advntr/vntr_finder.py index 97cca06..16b1978 100644 --- a/advntr/vntr_finder.py +++ b/advntr/vntr_finder.py @@ -674,7 +674,7 @@ def find_repeat_count_from_alignment_file(self, alignment_file, unmapped_filtere else: exact_genotype_log = 'None' logging.info('RU count lower bounds: %s' % exact_genotype_log) - if self.reference_vntr.id not in settings.LONG_VNTRS and average_coverage is None: + if average_coverage is None: return exact_genotype pattern_occurrences = sum(flanking_repeats) + sum(covered_repeats)