We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 9f7b59f + 86801a9 commit a11c83dCopy full SHA for a11c83d
htsget_server/variants.py
@@ -266,9 +266,10 @@ def parse_vep_annotation(info, csq_header):
266
for j in range(len(info_pieces)):
267
if info_pieces[j] is not None and info_pieces[j] != '':
268
this_info[csq_parts[j]] = info_pieces[j]
269
- if this_info['Allele'] not in result:
270
- result[this_info['Allele']] = []
271
- result[this_info['Allele']].append(this_info)
+ if 'Allele' in this_info:
+ if this_info['Allele'] not in result:
+ result[this_info['Allele']] = []
272
+ result[this_info['Allele']].append(this_info)
273
return result
274
275
0 commit comments