From ec8033638825b39d6fefafb7edd395e3ca0988da Mon Sep 17 00:00:00 2001 From: Daniel Nilsson Date: Tue, 2 Jul 2024 09:23:07 +0200 Subject: [PATCH] Add a test for trgt uninformative MCs --- tests/cli/test_cli.py | 5 +++++ tests/conftest.py | 5 +++++ tests/fixtures/HG002_Revio.sort.vcf.gz | Bin 0 -> 1131 bytes tests/fixtures/HG002_Revio.sort.vcf.gz.tbi | Bin 0 -> 513 bytes 4 files changed, 10 insertions(+) create mode 100644 tests/fixtures/HG002_Revio.sort.vcf.gz create mode 100644 tests/fixtures/HG002_Revio.sort.vcf.gz.tbi diff --git a/tests/cli/test_cli.py b/tests/cli/test_cli.py index bf58d4e..a043b1e 100644 --- a/tests/cli/test_cli.py +++ b/tests/cli/test_cli.py @@ -19,3 +19,8 @@ def test_stranger_cli_zipped(vcf_zipped_path): runner = CliRunner() result = runner.invoke(cli, [vcf_zipped_path]) assert result.exit_code == 0 + +def test_stranger_trgt_dot_mc(vcf_trgt_path_dot_mc): + runner = CliRunner() + result = runner.invoke(cli, ["--trgt", vcf_trgt_path_dot_mc]) + assert result.exit_code == 0 diff --git a/tests/conftest.py b/tests/conftest.py index 79c5889..f62de16 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -15,6 +15,11 @@ def vcf_zipped_path(): return "tests/fixtures/643594.clinical.str.vcf.gz" +@pytest.fixture() +def vcf_trgt_path_dot_mc(): + return "tests/fixtures/HG002_Revio.sort.vcf.gz" + @pytest.fixture() def repeats_file_handle(): return open(repeats_path, "r") + diff --git a/tests/fixtures/HG002_Revio.sort.vcf.gz b/tests/fixtures/HG002_Revio.sort.vcf.gz new file mode 100644 index 0000000000000000000000000000000000000000..75308d94c7429d6b885139674f278be9e22e7fe2 GIT binary patch literal 1131 zcmV-x1eE(9iwFb&00000{{{d;LjnL!1hrLdbD~HP{>=UgYV#$jG8Ds`K#r@LLnU5` z=78NYpHf6er4E6DF?IR(*E9H@?5xS{>4-4h{q)m4P50H+BFo95tk)^^zWak0L(#rm zT@8k#q#t>|4SU`Lj^j>`G_yLZXjT^9SDfcESW!|pa+Nj>nScEqY=+~(gj*!hu-6%H z*3YE&P$zk+DIypZ`℞V)(!Km&UB}OOiMLX+j&O^?RDPDG=WSP z$P9tZ6v!-rtSgY&0+}O_Ayp(4Wd?~-gG9MOqU0b^c919qNR$I4N`fXzf+j2vQ4$^n zvM@Oj(t1h1!|-D7f~s^C_116VciF+sy#*IB`cp+X_c2W zT`tL7c}~~t2YPhXYFcn#ZfLckw^dCR*+0j&U#|T7Xc9^flUN$|q^LiT@F2;2NbAa)npyJoYJ@sr@fbiKA&-9URZG549c~YW)-ZtgdO8I_mP54gdFb%DFv% z?!qjW;f!x@*?KuUim+Yq?5OXI>RhtXvr9zD(IxueITJInZ;XQ8 zZ%diOZni%#Qkk1wz*{D^ui(Dwo-h&a^9S}EuBj=m3Ho6kpPluWoaWm%gtv|Fq}-2Dx|rO6TLw$$nJ^ zlGXPk&nb9LQh}kA%Qe}KAnu>&&%8D;QMfcRhG|*ZJ42Y zCPP`gb9xKwE&t?*s4cm-w;`kR-kXrQM6%DfgB9+dSG&9J+wWYa-7)>j?8h-3BhA1J Ij&l$J0Hb~D<^TWy literal 0 HcmV?d00001