-
Notifications
You must be signed in to change notification settings - Fork 245
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Properly handle info fields with embedded spaces by VCF version.
- Loading branch information
Showing
5 changed files
with
184 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,62 @@ | ||
##fileformat=VCFv4.2 | ||
##ALT=<ID=DEL,Description="Deletion",ExtraAltField="extra alt"> | ||
##ALT=<ID=DUP,Description="Duplication"> | ||
##ALT=<ID=INS,Description="Insertion"> | ||
##ALT=<ID=INV,Description="Inversion"> | ||
##ALT=<ID=INVDUP,Description="InvertedDUP with unknown boundaries"> | ||
##ALT=<ID=TRA,Description="Translocation"> | ||
##FILTER=<ID=GATK_STANDARD,Description="Standard GATK filter",ExtraFilterField="extra filter field"> | ||
##FILTER=<ID=HARD_TO_VALIDATE,Description="Hard to validate"> | ||
##FORMAT=<ID=AD,Number=R,Type=Integer,Description="Allelic depths for the ref and alt alleles in the order listed",ExtraFormatField="extra format"> | ||
##FORMAT=<ID=DP,Number=1,Type=Integer,Description="Read Depth (only filtered reads used for calling)"> | ||
##FORMAT=<ID=GQ,Number=1,Type=Integer,Description="Genotype Quality"> | ||
##FORMAT=<ID=GT,Number=1,Type=String,Description="Genotype"> | ||
##FORMAT=<ID=PL,Number=G,Type=Integer,Description="Normalized, Phred-scaled likelihoods for genotypes as defined in the VCF specification"> | ||
##INFO=<ID=AB,Number=1,Type=Float,Description="Allele Balance for hets (ref/(ref+alt))",ExtraInfoField="extra info"> | ||
##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="Phred-scaled p-value From Wilcoxon Rank Sum Test of Alt Vs. Ref base qualities"> | ||
##INFO=<ID=BaseQRankSumZ,Number=1,Type=Float,Description="Z-score From Wilcoxon Rank Sum Test of Alt Vs. Ref base qualities"> | ||
##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"> | ||
##INFO=<ID=DP,Number=1,Type=Integer,Description="Total Depth"> | ||
##INFO=<ID=DS,Number=0,Type=Flag,Description="Were any of the samples downsampled?"> | ||
##INFO=<ID=Dels,Number=1,Type=Float,Description="Fraction of Reads Containing Spanning Deletions"> | ||
##INFO=<ID=HRun,Number=1,Type=Integer,Description="Largest Contiguous Homopolymer Run of Variant Allele In Either Direction"> | ||
##INFO=<ID=HaplotypeScore,Number=1,Type=Float,Description="Consistency of the site with at most two segregating haplotypes"> | ||
##INFO=<ID=MQ,Number=1,Type=Float,Description="RMS Mapping Quality"> | ||
##INFO=<ID=MQ0,Number=1,Type=Integer,Description="Total Mapping Quality Zero Reads"> | ||
##INFO=<ID=MQRankSum,Number=1,Type=Float,Description="Phred-scaled p-value From Wilcoxon Rank Sum Test of Alt Vs. Ref read mapping qualities"> | ||
##INFO=<ID=MQRankSumZ,Number=1,Type=Float,Description="Z-score From Wilcoxon Rank Sum Test of Alt Vs. Ref read mapping qualities"> | ||
##INFO=<ID=QD,Number=1,Type=Float,Description="Variant Confidence/Quality by Depth"> | ||
##INFO=<ID=ReadPosRankSum,Number=1,Type=Float,Description="Phred-scaled p-value From Wilcoxon Rank Sum Test of Alt Vs. Ref read position bias"> | ||
##INFO=<ID=ReadPosRankSumZ,Number=1,Type=Float,Description="Z-score From Wilcoxon Rank Sum Test of Alt Vs. Ref read position bias"> | ||
##INFO=<ID=SB,Number=1,Type=Float,Description="Strand Bias"> | ||
##INFO=<ID=set,Number=1,Type=String,Description="Source VCF for the merged record in CombineVariants"> | ||
##contig=<ID=1,length=249250621,assembly=b37,extraContigField="extra contig field"> | ||
##contig=<ID=10,length=135534747,assembly=b37> | ||
##contig=<ID=11,length=135006516,assembly=b37> | ||
##contig=<ID=12,length=133851895,assembly=b37> | ||
##contig=<ID=13,length=115169878,assembly=b37> | ||
##contig=<ID=14,length=107349540,assembly=b37> | ||
##contig=<ID=15,length=102531392,assembly=b37> | ||
##contig=<ID=16,length=90354753,assembly=b37> | ||
##contig=<ID=17,length=81195210,assembly=b37> | ||
##contig=<ID=18,length=78077248,assembly=b37> | ||
##contig=<ID=19,length=59128983,assembly=b37> | ||
##contig=<ID=2,length=243199373,assembly=b37> | ||
##contig=<ID=20,length=63025520,assembly=b37> | ||
##contig=<ID=21,length=48129895,assembly=b37> | ||
##contig=<ID=22,length=51304566,assembly=b37> | ||
##contig=<ID=3,length=198022430,assembly=b37> | ||
##contig=<ID=4,length=191154276,assembly=b37> | ||
##contig=<ID=5,length=180915260,assembly=b37> | ||
##contig=<ID=6,length=171115067,assembly=b37> | ||
##contig=<ID=7,length=159138663,assembly=b37> | ||
##contig=<ID=8,length=146364022,assembly=b37> | ||
##contig=<ID=9,length=141213431,assembly=b37> | ||
##contig=<ID=X,length=155270560,assembly=b37> | ||
##contig=<ID=Y,length=59373566,assembly=b37> | ||
#CHROM POS ID REF ALT QUAL FILTER INFO FORMAT NA19238 NA19239 NA19240 | ||
1 327 . T <*> 666.18 GATK_STANDARD;HARD_TO_VALIDATE AB=0.74;AC=3;AF=0.50;AN=6;DB=0;DP=936;Dels=0.00;HRun=3;MQ=34.66;MQ0=728;QD=0.71;SB=-268.74;set=filteredIn Both GT:DP:GQ 1/0:10:62 1/0:37:99 1/0:53:99 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,62 @@ | ||
##fileformat=VCFv4.3 | ||
##ALT=<ID=DEL,Description="Deletion",ExtraAltField="extra alt"> | ||
##ALT=<ID=DUP,Description="Duplication"> | ||
##ALT=<ID=INS,Description="Insertion"> | ||
##ALT=<ID=INV,Description="Inversion"> | ||
##ALT=<ID=INVDUP,Description="InvertedDUP with unknown boundaries"> | ||
##ALT=<ID=TRA,Description="Translocation"> | ||
##FILTER=<ID=GATK_STANDARD,Description="Standard GATK filter",ExtraFilterField="extra filter field"> | ||
##FILTER=<ID=HARD_TO_VALIDATE,Description="Hard to validate"> | ||
##FORMAT=<ID=AD,Number=R,Type=Integer,Description="Allelic depths for the ref and alt alleles in the order listed",ExtraFormatField="extra format"> | ||
##FORMAT=<ID=DP,Number=1,Type=Integer,Description="Read Depth (only filtered reads used for calling)"> | ||
##FORMAT=<ID=GQ,Number=1,Type=Integer,Description="Genotype Quality"> | ||
##FORMAT=<ID=GT,Number=1,Type=String,Description="Genotype"> | ||
##FORMAT=<ID=PL,Number=G,Type=Integer,Description="Normalized, Phred-scaled likelihoods for genotypes as defined in the VCF specification"> | ||
##INFO=<ID=AB,Number=1,Type=Float,Description="Allele Balance for hets (ref/(ref+alt))",ExtraInfoField="extra info"> | ||
##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="Phred-scaled p-value From Wilcoxon Rank Sum Test of Alt Vs. Ref base qualities"> | ||
##INFO=<ID=BaseQRankSumZ,Number=1,Type=Float,Description="Z-score From Wilcoxon Rank Sum Test of Alt Vs. Ref base qualities"> | ||
##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"> | ||
##INFO=<ID=DP,Number=1,Type=Integer,Description="Total Depth"> | ||
##INFO=<ID=DS,Number=0,Type=Flag,Description="Were any of the samples downsampled?"> | ||
##INFO=<ID=Dels,Number=1,Type=Float,Description="Fraction of Reads Containing Spanning Deletions"> | ||
##INFO=<ID=HRun,Number=1,Type=Integer,Description="Largest Contiguous Homopolymer Run of Variant Allele In Either Direction"> | ||
##INFO=<ID=HaplotypeScore,Number=1,Type=Float,Description="Consistency of the site with at most two segregating haplotypes"> | ||
##INFO=<ID=MQ,Number=1,Type=Float,Description="RMS Mapping Quality"> | ||
##INFO=<ID=MQ0,Number=1,Type=Integer,Description="Total Mapping Quality Zero Reads"> | ||
##INFO=<ID=MQRankSum,Number=1,Type=Float,Description="Phred-scaled p-value From Wilcoxon Rank Sum Test of Alt Vs. Ref read mapping qualities"> | ||
##INFO=<ID=MQRankSumZ,Number=1,Type=Float,Description="Z-score From Wilcoxon Rank Sum Test of Alt Vs. Ref read mapping qualities"> | ||
##INFO=<ID=QD,Number=1,Type=Float,Description="Variant Confidence/Quality by Depth"> | ||
##INFO=<ID=ReadPosRankSum,Number=1,Type=Float,Description="Phred-scaled p-value From Wilcoxon Rank Sum Test of Alt Vs. Ref read position bias"> | ||
##INFO=<ID=ReadPosRankSumZ,Number=1,Type=Float,Description="Z-score From Wilcoxon Rank Sum Test of Alt Vs. Ref read position bias"> | ||
##INFO=<ID=SB,Number=1,Type=Float,Description="Strand Bias"> | ||
##INFO=<ID=set,Number=1,Type=String,Description="Source VCF for the merged record in CombineVariants"> | ||
##contig=<ID=1,length=249250621,assembly=b37,extraContigField="extra contig field"> | ||
##contig=<ID=10,length=135534747,assembly=b37> | ||
##contig=<ID=11,length=135006516,assembly=b37> | ||
##contig=<ID=12,length=133851895,assembly=b37> | ||
##contig=<ID=13,length=115169878,assembly=b37> | ||
##contig=<ID=14,length=107349540,assembly=b37> | ||
##contig=<ID=15,length=102531392,assembly=b37> | ||
##contig=<ID=16,length=90354753,assembly=b37> | ||
##contig=<ID=17,length=81195210,assembly=b37> | ||
##contig=<ID=18,length=78077248,assembly=b37> | ||
##contig=<ID=19,length=59128983,assembly=b37> | ||
##contig=<ID=2,length=243199373,assembly=b37> | ||
##contig=<ID=20,length=63025520,assembly=b37> | ||
##contig=<ID=21,length=48129895,assembly=b37> | ||
##contig=<ID=22,length=51304566,assembly=b37> | ||
##contig=<ID=3,length=198022430,assembly=b37> | ||
##contig=<ID=4,length=191154276,assembly=b37> | ||
##contig=<ID=5,length=180915260,assembly=b37> | ||
##contig=<ID=6,length=171115067,assembly=b37> | ||
##contig=<ID=7,length=159138663,assembly=b37> | ||
##contig=<ID=8,length=146364022,assembly=b37> | ||
##contig=<ID=9,length=141213431,assembly=b37> | ||
##contig=<ID=X,length=155270560,assembly=b37> | ||
##contig=<ID=Y,length=59373566,assembly=b37> | ||
#CHROM POS ID REF ALT QUAL FILTER INFO FORMAT NA19238 NA19239 NA19240 | ||
1 327 . T <*> 666.18 GATK_STANDARD;HARD_TO_VALIDATE AB=0.74;AC=3;AF=0.50;AN=6;DB=0;DP=936;Dels=0.00;HRun=3;MQ=34.66;MQ0=728;QD=0.71;SB=-268.74;set=filteredIn Both GT:DP:GQ 1/0:10:62 1/0:37:99 1/0:53:99 |