You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This does not appear to be a requirement from the VCF spec, but may be worthwhile to at least follow as a convention.
Looking at the output of a joint genotype file from the Broad institute, the INFO field keys are sorted alphabetically in the header and in the actual values. For example:
the first few ##INFO directives from the header:
##INFO=<ID=AC,Number=A,Type=Integer,Description="Allele count in genotypes, for each ALT allele, in the same order as listed">
##INFO=<ID=AF,Number=A,Type=Float,Description="Allele Frequency, for each ALT allele, in the same order as listed">
##INFO=<ID=AN,Number=1,Type=Integer,Description="Total number of alleles in called genotypes">
##INFO=<ID=BaseQRankSum,Number=1,Type=Float,Description="Z-score from Wilcoxon rank sum test of Alt Vs. Ref base qualities">
##INFO=<ID=ClippingRankSum,Number=1,Type=Float,Description="Z-score From Wilcoxon rank sum test of Alt vs. Ref number of hard clipped bases">
##INFO=<ID=DB,Number=0,Type=Flag,Description="dbSNP Membership">
##INFO=<ID=DP,Number=1,Type=Integer,Description="Approximate read depth; some reads may have been filtered">
...
This does not appear to be a requirement from the VCF spec, but may be worthwhile to at least follow as a convention.
Looking at the output of a joint genotype file from the Broad institute, the INFO field keys are sorted alphabetically in the header and in the actual values. For example:
the first few ##INFO directives from the header:
and an example value:
I ran an export using bq_to_vcf which passed the original header as a representative header file and the same INFO field value looks like:
There are a few small differences in numeric formatting (but otherwise values are the same).
The INFO field ordering appears arbitrary.
The text was updated successfully, but these errors were encountered: