From cd0b8ab0d887bfabfb74fc8c9d841b155bb0f6e2 Mon Sep 17 00:00:00 2001 From: Robert Butler Date: Sat, 13 Oct 2018 17:58:46 -0500 Subject: [PATCH] Update vcf.py --- clinotator/vcf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clinotator/vcf.py b/clinotator/vcf.py index eb11910..edb2c85 100644 --- a/clinotator/vcf.py +++ b/clinotator/vcf.py @@ -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)