forked from broadinstitute/gatk
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Enable SelectVariants to drop specific annotation fields from output …
…vcf. (broadinstitute#5254) Enable SelectVariants to drop specific annotation fields from output vcf. (broadinstitute#5254)
- Loading branch information
1 parent
c56470f
commit 0dfb312
Showing
7 changed files
with
211 additions
and
6 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
33 changes: 33 additions & 0 deletions
33
...tools/walkers/variantutils/SelectVariants/expected/testSelectVariants_DropAnnotations.vcf
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,33 @@ | ||
##fileformat=VCFv4.2 | ||
##FORMAT=<ID=GQ,Number=1,Type=Integer,Description="Genotype Quality"> | ||
##FORMAT=<ID=GT,Number=1,Type=String,Description="Genotype"> | ||
##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=AFrange,Number=2,Type=String,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=AlleleBalance,Number=1,Type=Float,Description="Allele balance"> | ||
##INFO=<ID=DP,Number=1,Type=Integer,Description="Approximate read depth; some reads may have been filtered"> | ||
##INFO=<ID=DoC,Number=1,Type=Integer,Description="Filtered Depth"> | ||
##INFO=<ID=HomopolymerRun,Number=1,Type=Integer,Description="Largest Contiguous Homopolymer Run of Variant Allele In Either Direction"> | ||
##INFO=<ID=MAPQ0,Number=1,Type=Integer,Description="Total Mapping Quality Zero Reads"> | ||
##INFO=<ID=NS,Number=1,Type=Float,Description="Number of samples"> | ||
##INFO=<ID=RMSMAPQ,Number=1,Type=Float,Description="RMS Mapping Quality"> | ||
##INFO=<ID=SB,Number=1,Type=Float,Description="Strand bias"> | ||
##INFO=<ID=SpanningDeletions,Number=1,Type=Integer,Description="No spanning deletions"> | ||
##reference=human_b36_both.fasta | ||
##source=UnifiedGenotyper | ||
#CHROM POS ID REF ALT QUAL FILTER INFO FORMAT NA11894 | ||
1 10020400 . C T 30.66 . AC=1;AF=0.500;AFrange=0.01-0.09,95%;AN=2;AlleleBalance=0.72;DoC=193;HomopolymerRun=0;MAPQ0=0;NS=60;RMSMAPQ=177.45;SB=-0.02;SpanningDeletions=0 GT:GQ 0/1:1 | ||
1 10020408 . C A 57.15 . AC=1;AF=0.500;AFrange=0.01-0.11,95%;AN=2;AlleleBalance=0.73;DoC=179;HomopolymerRun=0;MAPQ0=0;NS=60;RMSMAPQ=174.11;SB=-0.02;SpanningDeletions=0 GT:GQ 1/0:1 | ||
1 10020416 . G A,T 40.12 . AC=1,0;AF=0.500,0.00;AFrange=0.01-0.10,95%;AN=2;AlleleBalance=0.73;DoC=166;HomopolymerRun=0;MAPQ0=0;NS=60;RMSMAPQ=176.69;SB=-0.01;SpanningDeletions=0 GT:GQ 1/0:1 | ||
1 10020436 . A T 64.57 . AC=1;AF=0.500;AFrange=0.01-0.12,95%;AN=2;AlleleBalance=0.73;DoC=168;HomopolymerRun=0;MAPQ0=0;NS=60;RMSMAPQ=170.66;SB=-1.53;SpanningDeletions=0 GT:GQ 0/1:2 | ||
1 10020439 . G A,T 57.80 . AC=1,0;AF=0.500,0.00;AFrange=0.01-0.13,95%;AN=2;AlleleBalance=0.73;DoC=156;HomopolymerRun=1;MAPQ0=0;NS=60;RMSMAPQ=167.02;SB=-0.33;SpanningDeletions=0 GT:GQ 1/0:2 | ||
1 10020447 . C T 68.03 . AC=1;AF=0.500;AFrange=0.01-0.14,95%;AN=2;AlleleBalance=0.72;DoC=140;HomopolymerRun=0;MAPQ0=0;NS=60;RMSMAPQ=166.27;SB=-0.62;SpanningDeletions=0 GT:GQ 0/1:2 | ||
1 10020452 . T C 32.71 . AC=1;AF=0.500;AFrange=0.01-0.12,95%;AN=2;AlleleBalance=0.70;DoC=138;HomopolymerRun=0;MAPQ0=0;NS=60;RMSMAPQ=167.20;SB=-0.03;SpanningDeletions=0 GT:GQ 1/0:1 | ||
1 10020453 . G A,T 48.53 . AC=1,0;AF=0.500,0.00;AFrange=0.01-0.12,95%;AN=2;AlleleBalance=0.70;DoC=133;HomopolymerRun=0;MAPQ0=0;NS=60;RMSMAPQ=168.40;SB=-0.02;SpanningDeletions=0 GT:GQ 1/0:2 | ||
1 10020464 . G T 74.83 . AC=1;AF=0.500;AFrange=0.01-0.13,95%;AN=2;AlleleBalance=0.74;DoC=152;HomopolymerRun=1;MAPQ0=0;NS=60;RMSMAPQ=170.06;SB=-0.04;SpanningDeletions=0 GT:GQ 0/1:3 | ||
1 10020470 . A G,T 91.66 . AC=1,0;AF=0.500,0.00;AFrange=0.01-0.13,95%;AN=2;AlleleBalance=0.70;DoC=182;HomopolymerRun=1;MAPQ0=0;NS=60;RMSMAPQ=174.37;SB=-0.25;SpanningDeletions=0 GT:GQ 0/1:2 | ||
1 10020484 . A C,T 55.89 . AC=1,0;AF=0.500,0.00;AFrange=0.01-0.09,95%;AN=2;AlleleBalance=0.76;DoC=239;HomopolymerRun=0;MAPQ0=0;NS=60;RMSMAPQ=181.59;SB=-0.03;SpanningDeletions=0 GT:GQ 0/1:2 | ||
1 10020485 . G A,T 32.66 . AC=1,0;AF=0.500,0.00;AFrange=0.01-0.08,95%;AN=2;AlleleBalance=0.75;DoC=237;HomopolymerRun=1;MAPQ0=0;NS=60;RMSMAPQ=180.16;SB=-0.02;SpanningDeletions=0 GT:GQ 1/0:1 | ||
1 10020492 . T A,G 44.35 . AC=1,0;AF=0.500,0.00;AFrange=0.01-0.09,95%;AN=2;AlleleBalance=0.68;DoC=284;HomopolymerRun=1;MAPQ0=0;NS=60;RMSMAPQ=184.59;SB=-0.04;SpanningDeletions=0 GT:GQ 1/0:1 | ||
1 10020615 . C T,A 162.10 . AC=0,0;AF=0.00,0.00;AFrange=0.01-0.10,95%;AN=2;AlleleBalance=0.72;DoC=285;HomopolymerRun=0;MAPQ0=0;NS=60;RMSMAPQ=195.54;SB=-67.56;SpanningDeletions=0 GT:GQ 0/0:2 |
26 changes: 26 additions & 0 deletions
26
...antutils/SelectVariants/expected/testSelectVariants_DropAnnotationsSelectFisherStrand.vcf
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,26 @@ | ||
##fileformat=VCFv4.2 | ||
##FORMAT=<ID=GQ,Number=1,Type=Integer,Description="Genotype Quality"> | ||
##FORMAT=<ID=GT,Number=1,Type=String,Description="Genotype"> | ||
##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=AFrange,Number=2,Type=String,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=AlleleBalance,Number=1,Type=Float,Description="Allele balance"> | ||
##INFO=<ID=DP,Number=1,Type=Integer,Description="Approximate read depth; some reads may have been filtered"> | ||
##INFO=<ID=DoC,Number=1,Type=Integer,Description="Filtered Depth"> | ||
##INFO=<ID=HomopolymerRun,Number=1,Type=Integer,Description="Largest Contiguous Homopolymer Run of Variant Allele In Either Direction"> | ||
##INFO=<ID=MAPQ0,Number=1,Type=Integer,Description="Total Mapping Quality Zero Reads"> | ||
##INFO=<ID=NS,Number=1,Type=Float,Description="Number of samples"> | ||
##INFO=<ID=RMSMAPQ,Number=1,Type=Float,Description="RMS Mapping Quality"> | ||
##INFO=<ID=SB,Number=1,Type=Float,Description="Strand bias"> | ||
##INFO=<ID=SpanningDeletions,Number=1,Type=Integer,Description="No spanning deletions"> | ||
##reference=human_b36_both.fasta | ||
##source=UnifiedGenotyper | ||
#CHROM POS ID REF ALT QUAL FILTER INFO FORMAT NA11894 | ||
1 10020408 . C A 57.15 . AC=1;AF=0.500;AFrange=0.01-0.11,95%;AN=2;AlleleBalance=0.73;DoC=179;HomopolymerRun=0;MAPQ0=0;NS=60;RMSMAPQ=174.11;SB=-0.02;SpanningDeletions=0 GT:GQ 1/0:1 | ||
1 10020416 . G A,T 40.12 . AC=1,0;AF=0.500,0.00;AFrange=0.01-0.10,95%;AN=2;AlleleBalance=0.73;DoC=166;HomopolymerRun=0;MAPQ0=0;NS=60;RMSMAPQ=176.69;SB=-0.01;SpanningDeletions=0 GT:GQ 1/0:1 | ||
1 10020453 . G A,T 48.53 . AC=1,0;AF=0.500,0.00;AFrange=0.01-0.12,95%;AN=2;AlleleBalance=0.70;DoC=133;HomopolymerRun=0;MAPQ0=0;NS=60;RMSMAPQ=168.40;SB=-0.02;SpanningDeletions=0 GT:GQ 1/0:2 | ||
1 10020464 . G T 74.83 . AC=1;AF=0.500;AFrange=0.01-0.13,95%;AN=2;AlleleBalance=0.74;DoC=152;HomopolymerRun=1;MAPQ0=0;NS=60;RMSMAPQ=170.06;SB=-0.04;SpanningDeletions=0 GT:GQ 0/1:3 | ||
1 10020470 . A G,T 91.66 . AC=1,0;AF=0.500,0.00;AFrange=0.01-0.13,95%;AN=2;AlleleBalance=0.70;DoC=182;HomopolymerRun=1;MAPQ0=0;NS=60;RMSMAPQ=174.37;SB=-0.25;SpanningDeletions=0 GT:GQ 0/1:2 | ||
1 10020484 . A C,T 55.89 . AC=1,0;AF=0.500,0.00;AFrange=0.01-0.09,95%;AN=2;AlleleBalance=0.76;DoC=239;HomopolymerRun=0;MAPQ0=0;NS=60;RMSMAPQ=181.59;SB=-0.03;SpanningDeletions=0 GT:GQ 0/1:2 | ||
1 10020485 . G A,T 32.66 . AC=1,0;AF=0.500,0.00;AFrange=0.01-0.08,95%;AN=2;AlleleBalance=0.75;DoC=237;HomopolymerRun=1;MAPQ0=0;NS=60;RMSMAPQ=180.16;SB=-0.02;SpanningDeletions=0 GT:GQ 1/0:1 |
25 changes: 25 additions & 0 deletions
25
...lkers/variantutils/SelectVariants/expected/testSelectVariants_DropAnnotationsSelectGQ.vcf
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,25 @@ | ||
##fileformat=VCFv4.2 | ||
##FORMAT=<ID=GQ,Number=1,Type=Integer,Description="Genotype Quality"> | ||
##FORMAT=<ID=GT,Number=1,Type=String,Description="Genotype"> | ||
##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=AFrange,Number=2,Type=String,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=AlleleBalance,Number=1,Type=Float,Description="Allele balance"> | ||
##INFO=<ID=DP,Number=1,Type=Integer,Description="Approximate read depth; some reads may have been filtered"> | ||
##INFO=<ID=DoC,Number=1,Type=Integer,Description="Filtered Depth"> | ||
##INFO=<ID=HomopolymerRun,Number=1,Type=Integer,Description="Largest Contiguous Homopolymer Run of Variant Allele In Either Direction"> | ||
##INFO=<ID=MAPQ0,Number=1,Type=Integer,Description="Total Mapping Quality Zero Reads"> | ||
##INFO=<ID=NS,Number=1,Type=Float,Description="Number of samples"> | ||
##INFO=<ID=RMSMAPQ,Number=1,Type=Float,Description="RMS Mapping Quality"> | ||
##INFO=<ID=SB,Number=1,Type=Float,Description="Strand bias"> | ||
##INFO=<ID=SpanningDeletions,Number=1,Type=Integer,Description="No spanning deletions"> | ||
##reference=human_b36_both.fasta | ||
##source=UnifiedGenotyper | ||
#CHROM POS ID REF ALT QUAL FILTER INFO FORMAT NA11894 | ||
1 10020400 . C T 30.66 . AC=1;AF=0.500;AFrange=0.01-0.09,95%;AN=2;AlleleBalance=0.72;DoC=193;HomopolymerRun=0;MAPQ0=0;NS=60;RMSMAPQ=177.45;SB=-0.02;SpanningDeletions=0 GT:GQ 0/1:1 | ||
1 10020408 . C A 57.15 . AC=1;AF=0.500;AFrange=0.01-0.11,95%;AN=2;AlleleBalance=0.73;DoC=179;HomopolymerRun=0;MAPQ0=0;NS=60;RMSMAPQ=174.11;SB=-0.02;SpanningDeletions=0 GT:GQ 1/0:1 | ||
1 10020416 . G A,T 40.12 . AC=1,0;AF=0.500,0.00;AFrange=0.01-0.10,95%;AN=2;AlleleBalance=0.73;DoC=166;HomopolymerRun=0;MAPQ0=0;NS=60;RMSMAPQ=176.69;SB=-0.01;SpanningDeletions=0 GT:GQ 1/0:1 | ||
1 10020452 . T C 32.71 . AC=1;AF=0.500;AFrange=0.01-0.12,95%;AN=2;AlleleBalance=0.70;DoC=138;HomopolymerRun=0;MAPQ0=0;NS=60;RMSMAPQ=167.20;SB=-0.03;SpanningDeletions=0 GT:GQ 1/0:1 | ||
1 10020485 . G A,T 32.66 . AC=1,0;AF=0.500,0.00;AFrange=0.01-0.08,95%;AN=2;AlleleBalance=0.75;DoC=237;HomopolymerRun=1;MAPQ0=0;NS=60;RMSMAPQ=180.16;SB=-0.02;SpanningDeletions=0 GT:GQ 1/0:1 | ||
1 10020492 . T A,G 44.35 . AC=1,0;AF=0.500,0.00;AFrange=0.01-0.09,95%;AN=2;AlleleBalance=0.68;DoC=284;HomopolymerRun=1;MAPQ0=0;NS=60;RMSMAPQ=184.59;SB=-0.04;SpanningDeletions=0 GT:GQ 1/0:1 |
25 changes: 25 additions & 0 deletions
25
...lkers/variantutils/SelectVariants/expected/testSelectVariants_DropAnnotationsSelectRD.vcf
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,25 @@ | ||
##fileformat=VCFv4.2 | ||
##FORMAT=<ID=GQ,Number=1,Type=Integer,Description="Genotype Quality"> | ||
##FORMAT=<ID=GT,Number=1,Type=String,Description="Genotype"> | ||
##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=AFrange,Number=2,Type=String,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=AlleleBalance,Number=1,Type=Float,Description="Allele balance"> | ||
##INFO=<ID=DP,Number=1,Type=Integer,Description="Approximate read depth; some reads may have been filtered"> | ||
##INFO=<ID=DoC,Number=1,Type=Integer,Description="Filtered Depth"> | ||
##INFO=<ID=HomopolymerRun,Number=1,Type=Integer,Description="Largest Contiguous Homopolymer Run of Variant Allele In Either Direction"> | ||
##INFO=<ID=MAPQ0,Number=1,Type=Integer,Description="Total Mapping Quality Zero Reads"> | ||
##INFO=<ID=NS,Number=1,Type=Float,Description="Number of samples"> | ||
##INFO=<ID=RMSMAPQ,Number=1,Type=Float,Description="RMS Mapping Quality"> | ||
##INFO=<ID=SB,Number=1,Type=Float,Description="Strand bias"> | ||
##INFO=<ID=SpanningDeletions,Number=1,Type=Integer,Description="No spanning deletions"> | ||
##reference=human_b36_both.fasta | ||
##source=UnifiedGenotyper | ||
#CHROM POS ID REF ALT QUAL FILTER INFO FORMAT NA11894 | ||
1 10020408 . C A 57.15 . AC=1;AF=0.500;AFrange=0.01-0.11,95%;AN=2;AlleleBalance=0.73;DoC=179;HomopolymerRun=0;MAPQ0=0;NS=60;RMSMAPQ=174.11;SB=-0.02;SpanningDeletions=0 GT:GQ 1/0:1 | ||
1 10020416 . G A,T 40.12 . AC=1,0;AF=0.500,0.00;AFrange=0.01-0.10,95%;AN=2;AlleleBalance=0.73;DoC=166;HomopolymerRun=0;MAPQ0=0;NS=60;RMSMAPQ=176.69;SB=-0.01;SpanningDeletions=0 GT:GQ 1/0:1 | ||
1 10020436 . A T 64.57 . AC=1;AF=0.500;AFrange=0.01-0.12,95%;AN=2;AlleleBalance=0.73;DoC=168;HomopolymerRun=0;MAPQ0=0;NS=60;RMSMAPQ=170.66;SB=-1.53;SpanningDeletions=0 GT:GQ 0/1:2 | ||
1 10020484 . A C,T 55.89 . AC=1,0;AF=0.500,0.00;AFrange=0.01-0.09,95%;AN=2;AlleleBalance=0.76;DoC=239;HomopolymerRun=0;MAPQ0=0;NS=60;RMSMAPQ=181.59;SB=-0.03;SpanningDeletions=0 GT:GQ 0/1:2 | ||
1 10020485 . G A,T 32.66 . AC=1,0;AF=0.500,0.00;AFrange=0.01-0.08,95%;AN=2;AlleleBalance=0.75;DoC=237;HomopolymerRun=1;MAPQ0=0;NS=60;RMSMAPQ=180.16;SB=-0.02;SpanningDeletions=0 GT:GQ 1/0:1 | ||
1 10020492 . T A,G 44.35 . AC=1,0;AF=0.500,0.00;AFrange=0.01-0.09,95%;AN=2;AlleleBalance=0.68;DoC=284;HomopolymerRun=1;MAPQ0=0;NS=60;RMSMAPQ=184.59;SB=-0.04;SpanningDeletions=0 GT:GQ 1/0:1 |
Oops, something went wrong.