-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Enable printing FILTER field for vcf-to-txt (#242)
Users can opt in to print the FILTER field using the `--with-filter` flag Co-authored-by: Johannes Köster <[email protected]>
- Loading branch information
1 parent
495a843
commit 13bef65
Showing
6 changed files
with
67 additions
and
2 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,6 @@ | ||
VARIANT VARIANT VARIANT VARIANT VARIANT VARIANT VARIANT VARIANT VARIANT S1 S1 S2 S2 S3 S3 | ||
CHROM POS REF ALT QUAL FILTER T X SOMATIC GT S GT S GT S | ||
1 100 A T 2 true 1/1 a ./1 bbbbbbb . ccccccccc | ||
1 200 A T PASS 2 true 1/1 a ./1 bbbbbbb . ccccccccc | ||
1 300 A T IL 2 true 1/1 a ./1 bbbbbbb . ccccccccc | ||
1 400 A T FA;IL 2 true 1/1 a ./1 bbbbbbb . ccccccccc |
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.3 | ||
##FILTER=<ID=PASS,Description="All filters passed"> | ||
##FILTER=<ID=FA,Description="oh"> | ||
##FILTER=<ID=IL,Description="no"> | ||
##contig=<ID=1> | ||
##FORMAT=<ID=S,Number=1,Type=String,Description="Text"> | ||
##FORMAT=<ID=GT,Number=1,Type=String,Description="Genotype"> | ||
##INFO=<ID=T,Number=A,Type=Integer,Description="Text"> | ||
##INFO=<ID=SOMATIC,Number=0,Type=Flag,Description="Somatic variant"> | ||
#CHROM POS ID REF ALT QUAL FILTER INFO FORMAT S1 S2 S3 | ||
1 100 a A T . . T=2;SOMATIC S:GT a:1/1 bbbbbbb:./1 ccccccccc:. | ||
1 200 a A T . PASS T=2;SOMATIC S:GT a:1/1 bbbbbbb:./1 ccccccccc:. | ||
1 300 a A T . IL T=2;SOMATIC S:GT a:1/1 bbbbbbb:./1 ccccccccc:. | ||
1 400 a A T . FA;IL T=2;SOMATIC S:GT a:1/1 bbbbbbb:./1 ccccccccc:. |