Skip to content

Commit

Permalink
updated annotation script
Browse files Browse the repository at this point in the history
  • Loading branch information
mezewudo committed Dec 21, 2017
1 parent 24884ae commit 5b62d87
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions bin/parse_annotation.py
Original file line number Diff line number Diff line change
Expand Up @@ -204,10 +204,10 @@
if gene_name == 'erm_37_':
gene_name = 'erm(37)'
annotation_details = ','.join(subannot[1:])
if 'ins' in nucleotide_change or 'ins' in amino_acid_change:
variant = 'Insertion'
elif 'del' in nucleotide_change or 'del' in amino_acid_change:
variant = 'Deletion'
if 'del' in nucleotide_change or 'del' in amino_acid_change:
variant = 'Deletion'
elif 'ins' in nucleotide_change or 'ins' in amino_acid_change:
variant = 'Insertion'
elif 'dup' in nucleotide_change or 'dup' in amino_acid_change:
variant = 'Insertion'
else:
Expand Down

0 comments on commit 5b62d87

Please # to comment.