Skip to content

Commit

Permalink
test: add required params
Browse files Browse the repository at this point in the history
  • Loading branch information
atrigila committed Jan 7, 2025
1 parent 1516bca commit f40e9f5
Show file tree
Hide file tree
Showing 2 changed files with 55 additions and 5 deletions.
14 changes: 9 additions & 5 deletions subworkflows/local/fusionreport_workflow/tests/main.nf.test
Original file line number Diff line number Diff line change
Expand Up @@ -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") ]
)
Expand All @@ -51,6 +51,10 @@ nextflow_workflow {
params {
fusioninspector_only = false
tools_cutoff = 1
arriba = true
starfusion = true
fusioncatcher = true
no_cosmic = true
outdir = "$outputDir"
}
}
Expand All @@ -69,5 +73,5 @@ nextflow_workflow {
}
}


}
46 changes: 46 additions & 0 deletions subworkflows/local/fusionreport_workflow/tests/main.nf.test.snap
Original file line number Diff line number Diff line change
@@ -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"
}
}

0 comments on commit f40e9f5

Please sign in to comment.