diff --git a/lusSTR/tests/test_suite.py b/lusSTR/tests/test_suite.py index e23bf485..a29a3943 100644 --- a/lusSTR/tests/test_suite.py +++ b/lusSTR/tests/test_suite.py @@ -287,3 +287,13 @@ def test_snakemake(command, output, format_out, convert_out, all_out, tmp_path): assert os.path.exists(obs_convert_output) is convert_out assert os.path.exists(obs_all_output) is all_out assert filecmp.cmp(exp_output, obs_output) is True + + +def test_marker_plots(tmp_path): + inputfile = data_file("UAS_bulk_input/Positive Control Sample Details Report 2315.xlsx") + exp_output = str(tmp_path / "MarkerPlots/lusstr_output_Positive_Control_marker_plots.pdf") + arglist = ["config", "-w", str(tmp_path), "--input", inputfile] + lusSTR.cli.main(lusSTR.cli.get_parser().parse_args(arglist)) + snakemake_arglist = ["strs", "convert", "-w", str(tmp_path)] + lusSTR.cli.main(lusSTR.cli.get_parser().parse_args(snakemake_arglist)) + assert os.path.exists(exp_output) is True