Skip to content

Commit

Permalink
#46: Cannot assume empty untemplated sequence when the event type is …
Browse files Browse the repository at this point in the history
…an insertion
  • Loading branch information
creisle committed Feb 8, 2018
1 parent e40fdbf commit 1b34611
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 1b34611

Please sign in to comment.