Skip to content

Commit

Permalink
Merge pull request #49 from bcgsc/develop
Browse files Browse the repository at this point in the history
v1.6.3: not assuming insertions
  • Loading branch information
creisle authored Feb 8, 2018
2 parents 38fa7f8 + 1b34611 commit 172c8f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mavis/annotate/variant.py
Original file line number Diff line number Diff line change
Expand Up @@ -721,7 +721,7 @@ def annotate_events(
for j, ann in enumerate(ann_list):
ann.data[COLUMNS.annotation_id] = '{}-a{}'.format(ann.validation_id, j + 1)
if ann.untemplated_seq is None:
if len(ann.break1) == 1 and len(ann.break2) == 1:
if len(ann.break1) == 1 and len(ann.break2) == 1 and ann.event_type != SVTYPE.INS:
ann.untemplated_seq = ''
ann.data[COLUMNS.assumed_untemplated] = True
else:
Expand Down

0 comments on commit 172c8f7

Please sign in to comment.