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

[query] Warn in export_vcf if info field names are invalid in VCF v4.3 #9766

Merged
merged 1 commit into from
Dec 7, 2020

Conversation

nawatts
Copy link
Contributor

@nawatts nawatts commented Dec 1, 2020

gnomAD v3.1 VCFs have many fields containing "-" ("AC-non_neuro-nfe-XX", etc). Someone pointed out that those are invalid in VCF v4.3. Item 8 of section 1.6.1 of the specification says:

INFO keys must match the regular expression ^([A-Za-z ][0-9A-Za-z .]*|1000G)$, please note that “1000G”
is allowed as a special legacy value.

VCFs created by hl.export_vcf are marked as v4.2. However, it may still be useful to warn about these fields as it seems some tools expect the v4.3 pattern (samtools/bcftools#1335).

@nawatts nawatts changed the title Warn in export_vcf if info field names are invalid in VCF v4.3 [query] Warn in export_vcf if info field names are invalid in VCF v4.3 Dec 1, 2020
@danking danking merged commit 9d133c0 into hail-is:main Dec 7, 2020
@nawatts nawatts deleted the export-vcf-invalid-info-fields branch December 7, 2020 16:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants