Skip to content

Commit

Permalink
add vcfanno version to header (#140)
Browse files Browse the repository at this point in the history
  • Loading branch information
brentp committed Oct 26, 2021
1 parent c4c0ae9 commit 0314e53
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion vcfanno.go
Expand Up @@ -69,7 +69,7 @@ see: https://github.com/brentp/vcfanno
`, os.Args[0])
flag.PrintDefaults()
os.Exit(2)
os.Exit(2)
}
queryFile := inFiles[1]
if !(xopen.Exists(queryFile) || queryFile == "") {
Expand Down Expand Up @@ -212,6 +212,7 @@ see: https://github.com/brentp/vcfanno
maxChunk := envGet("IRELATE_MAX_CHUNK", 8000)

// make a new writer from the string header.
query.Header.Extras = append(query.Header.Extras, fmt.Sprintf("##vcfanno=%s", VERSION))
out, err = vcfgo.NewWriter(out, query.Header)

stream := irelate.PIRelate(maxChunk, maxGap, qstream, *ends, fn, queryables...)
Expand Down

0 comments on commit 0314e53

Please sign in to comment.