From f40e9f5f8532e06195654a3eb9e3f90a0ccba959 Mon Sep 17 00:00:00 2001 From: atrigila <18577080+atrigila@users.noreply.github.com> Date: Tue, 7 Jan 2025 13:37:13 +0000 Subject: [PATCH] test: add required params --- .../fusionreport_workflow/tests/main.nf.test | 14 ++++-- .../tests/main.nf.test.snap | 46 +++++++++++++++++++ 2 files changed, 55 insertions(+), 5 deletions(-) create mode 100644 subworkflows/local/fusionreport_workflow/tests/main.nf.test.snap diff --git a/subworkflows/local/fusionreport_workflow/tests/main.nf.test b/subworkflows/local/fusionreport_workflow/tests/main.nf.test index 2b7da3d3..61aaf023 100644 --- a/subworkflows/local/fusionreport_workflow/tests/main.nf.test +++ b/subworkflows/local/fusionreport_workflow/tests/main.nf.test @@ -26,23 +26,23 @@ nextflow_workflow { // Input channels input[0] = Channel.of( [ [ id:'test_sample' ], - file("https://github.com/nf-core/test-datasets/raw/rnafusion/testdata/human/reads_1.fq.gz") ] + file("https://github.com/nf-core/test-datasets/raw/rnafusion/testdata/human/reads_1.fq.gz") ] ) input[1] = FUSIONREPORT_DOWNLOAD.out.fusionreport_ref input[2] = Channel.of( - [[ id:'test_sample' ], + [[ id:'test_sample' ], file("https://github.com/Clinical-Genomics/fusion-report/raw/master/tests/test_data/arriba.tsv") ] ) input[3] = Channel.of( - [[ id:'test_sample' ], + [[ id:'test_sample' ], file("https://github.com/Clinical-Genomics/fusion-report/raw/master/tests/test_data/starfusion.tsv") ] ) input[4] = Channel.of( - [[ id:'test_sample' ], + [[ id:'test_sample' ], file("https://github.com/Clinical-Genomics/fusion-report/raw/master/tests/test_data/fusioncatcher.txt") ] ) @@ -51,6 +51,10 @@ nextflow_workflow { params { fusioninspector_only = false tools_cutoff = 1 + arriba = true + starfusion = true + fusioncatcher = true + no_cosmic = true outdir = "$outputDir" } } @@ -69,5 +73,5 @@ nextflow_workflow { } } - + } diff --git a/subworkflows/local/fusionreport_workflow/tests/main.nf.test.snap b/subworkflows/local/fusionreport_workflow/tests/main.nf.test.snap new file mode 100644 index 00000000..2c384e5a --- /dev/null +++ b/subworkflows/local/fusionreport_workflow/tests/main.nf.test.snap @@ -0,0 +1,46 @@ +{ + "FUSIONREPORT_WORKFLOW - Full Test": { + "content": [ + [ + [ + { + "id": "test_sample" + }, + "test_sample.fusionreport.tsv:md5,3593b7021f26cc5427fdc96f0d1c72f0" + ] + ], + [ + [ + { + "id": "test_sample" + }, + "test_sample.fusionreport_filtered.tsv:md5,3593b7021f26cc5427fdc96f0d1c72f0" + ] + ], + [ + [ + { + "id": "test_sample" + }, + "test_sample_fusionreport_index.html:md5,3513bcaa58446399c0957db69402d3bd" + ] + ], + [ + [ + { + "id": "test_sample" + }, + "test_sample.fusions.csv:md5,49f378c2112d7e0b3b17d9095c79e6bd" + ] + ], + [ + "versions.yml:md5,90749dbf8e3e7b259c935eabb8c6ce1e" + ] + ], + "meta": { + "nf-test": "0.9.2", + "nextflow": "24.10.3" + }, + "timestamp": "2025-01-07T13:31:41.215356596" + } +} \ No newline at end of file