-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Handle case where VCF filter is not defined in the header
- Loading branch information
1 parent
34d640a
commit 8f04f0b
Showing
3 changed files
with
30 additions
and
3 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
##fileformat=VCFv4.2 | ||
##FILTER=<ID=PASS,Description="All filters passed"> | ||
##fileDate=20201009 | ||
##source=. | ||
##reference=./simple.fasta | ||
##contig=<ID=CHR1,length=60> | ||
##contig=<ID=CHR2,length=60> | ||
##contig=<ID=CHR3,length=60> | ||
##INFO=<ID=NS,Number=1,Type=Integer,Description="Number of samples with data"> | ||
##INFO=<ID=AC,Number=A,Type=Integer,Description="Total number of alternate alleles in called genotypes"> | ||
##FORMAT=<ID=GT,Number=1,Type=String,Description="Genotype"> | ||
#CHROM POS ID REF ALT QUAL FILTER INFO FORMAT SAMPLE1 SAMPLE2 SAMPLE3 | ||
CHR1 2 . A T 60 PASS NS=3;AC=3 GT 0/0 0/0 0/0 | ||
CHR1 7 . A C 60 FAIL NS=3;AC=4 GT 0/0 0/1 0/1 |
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