Skip to content

Commit

Permalink
Add a test for trgt uninformative MCs
Browse files Browse the repository at this point in the history
  • Loading branch information
dnil committed Jul 2, 2024
1 parent be4533c commit ec80336
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tests/cli/test_cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
5 changes: 5 additions & 0 deletions tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -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")

Binary file added tests/fixtures/HG002_Revio.sort.vcf.gz
Binary file not shown.
Binary file added tests/fixtures/HG002_Revio.sort.vcf.gz.tbi
Binary file not shown.

0 comments on commit ec80336

Please sign in to comment.