Skip to content

Commit

Permalink
Update vcf.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Robert Butler authored Oct 13, 2018
1 parent ebf48bf commit cd0b8ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion clinotator/vcf.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ def parse_header(file_object, outprefix):
info_list = []
for index, line in enumerate(
next(file_object) for x in range(g.max_vcf_header_size)):
m = re.match('##(\w+)=', line)
m = re.match('##([\w-]+)=', line)

if m and m.group(1) == 'INFO':
header.append(line)
Expand Down

0 comments on commit cd0b8ab

Please sign in to comment.