Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add source=clair3 and Clair3 version to VCF header metadata #141

Closed
peterk87 opened this issue Oct 16, 2022 · 2 comments
Closed

Add source=clair3 and Clair3 version to VCF header metadata #141

peterk87 opened this issue Oct 16, 2022 · 2 comments
Assignees
Labels
enhancement New feature or request

Comments

@peterk87
Copy link

Hello,

Would it be possible to add ##source=clair3 and Clair3 version to the VCF output metadata header for Clair3?

##fileformat=VCFv4.2
##source=clair3
##clair3_version=0.1-r12
##FILTER=<ID=PASS,Description="All filters passed">
##FILTER=<ID=LowQual,Description="Low quality variant">

It would be nice to have some more provenance information in the VCF files by default. Right now I'm just adding source=clair3 with awk.

Thanks!

@zhengzhenxian
Copy link
Collaborator

zhengzhenxian commented Oct 18, 2022

@peterk87 Sure, scheduled for the next release r13.

In case useful for other readers, the following command can be used to add the header.
(printf "##source=clair3\n##clair3_version=0.1-r12\n"; zcat merge_output.vcf.gz;) | gzip -c > merge_output_update_header.gz.

@aquaskyline aquaskyline added the enhancement New feature or request label Oct 25, 2022
@aquaskyline
Copy link
Member

added in v1.0.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants