Skip to content

Commit

Permalink
fix a bug for VNTR in INS gene. fix #21
Browse files Browse the repository at this point in the history
  • Loading branch information
mehrdadbakhtiari committed Jun 19, 2019
1 parent 798e211 commit d208428
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion advntr/vntr_finder.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit d208428

Please sign in to comment.