Skip to content

Commit aacd32c

Browse files
Add minimal diploid test file reproduce #146
1 parent b30f2d8 commit aacd32c

File tree

3 files changed

+2
-0
lines changed

3 files changed

+2
-0
lines changed
316 Bytes
Binary file not shown.
116 Bytes
Binary file not shown.

tests/test_bcftools_validation.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ def run_vcztools(args: str, expect_error=False) -> tuple[str, str]:
4545
[
4646
("view --no-version", "sample.vcf.gz"),
4747
("view --no-version", "chr22.vcf.gz"),
48+
("view --no-version", "msprime_diploid.vcf.gz"),
4849
("view --no-version -i 'INFO/DP > 10'", "sample.vcf.gz"),
4950
("view --no-version -i 'FMT/DP >= 5 && FMT/GQ > 10'", "sample.vcf.gz"),
5051
("view --no-version -i 'FMT/DP >= 5 & FMT/GQ>10'", "sample.vcf.gz"),
@@ -72,6 +73,7 @@ def run_vcztools(args: str, expect_error=False) -> tuple[str, str]:
7273
("view --no-version -s NA00001", "sample.vcf.gz"),
7374
("view --no-version -s NA00001,NA00003", "sample.vcf.gz"),
7475
("view --no-version -s HG00096", "1kg_2020_chrM.vcf.gz"),
76+
("view --no-version -s tsk_0,tsk_1", "msprime_diploid.vcf.gz"),
7577
("view --no-version -s '' --force-samples", "sample.vcf.gz"),
7678
("view --no-version -s 'NO_SAMPLE' --force-samples", "sample.vcf.gz"),
7779
("view --no-version -s 'NO_SAMPLE,NA00001' --force-samples", "sample.vcf.gz"),

0 commit comments

Comments
 (0)