Skip to content

Commit 3c6a7ce

Browse files
committed
Add test for flag valued columns in filtering
1 parent 1d19be6 commit 3c6a7ce

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/test_bcftools_validation.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,8 @@ def run_vcztools(args: str, expect_error=False) -> tuple[str, str]:
4949
# Filters based on strings disabled:
5050
# https://github.com/sgkit-dev/vcztools/issues/189
5151
# ("view --no-version -i 'ID == \"rs6054257\"'", "sample.vcf.gz"),
52+
("view --no-version -i 'DB=0'", "sample.vcf.gz"),
53+
("view --no-version -i 'DB=1'", "sample.vcf.gz"),
5254
("view --no-version -i 'INFO/DP > 10'", "sample.vcf.gz"),
5355
("view --no-version -i 'FMT/DP >= 5'", "sample.vcf.gz"),
5456
("view --no-version -i 'FMT/DP >= 5 && FMT/GQ > 10'", "sample.vcf.gz"),

0 commit comments

Comments
 (0)