Skip to content

Commit

Permalink
Merge pull request #224 from broadinstitute/ct-patch
Browse files Browse the repository at this point in the history
CHROM -> #CHROM in vcf header read
  • Loading branch information
tomkinsc committed Dec 7, 2017
2 parents b293084 + 4f3aba2 commit aaeecdf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cms/util/vcf_reader.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ def sample_header_line(self):
try:
for line in headerIter:
line = str(line.decode("utf-8"))
if line.find("CHROM", 1) > 0:
if line.find("#CHROM", 1) > 0:
break
except StopIteration:
raise ValueError("Header not found in VCF file: {}".format(self.vcf_file_path))
Expand Down

0 comments on commit aaeecdf

Please sign in to comment.