-
Notifications
You must be signed in to change notification settings - Fork 708
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Initial attempt at nf-test for rsem_merge_counts
- Loading branch information
Showing
3 changed files
with
73 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
nextflow_process { | ||
|
||
name "Test Process RSEM_MERGE_COUNTS" | ||
script "../main.nf" | ||
process "RSEM_MERGE_COUNTS" | ||
tag "modules'" | ||
tag "modules_local" | ||
tag "rsem_merge_counts" | ||
|
||
test("Should run without failures") { | ||
|
||
when { | ||
process { | ||
""" | ||
input[0] = file("${moduleTestDir}/data/genes/*") | ||
input[1] = file("${moduleTestDir}/data/isoforms/*") | ||
""" | ||
} | ||
} | ||
|
||
then { | ||
assert process.success | ||
assert snapshot(process.out).match() | ||
} | ||
|
||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
{ | ||
"Should run without failures": { | ||
"content": [ | ||
{ | ||
"0": [ | ||
"rsem.merged.gene_counts.tsv:md5,7d1da94077dc2f90cfb2c793ca5b7446" | ||
], | ||
"1": [ | ||
"rsem.merged.gene_tpm.tsv:md5,39bad606eb012456bba1d995fe0feb5f" | ||
], | ||
"2": [ | ||
"rsem.merged.transcript_counts.tsv:md5,e40bba0aafc5904361513b3513c217ad" | ||
], | ||
"3": [ | ||
"rsem.merged.transcript_tpm.tsv:md5,abbaac45f9938716c58d604299ea284e" | ||
], | ||
"4": [ | ||
"versions.yml:md5,48ca3e12c91829af8019462b3f6aa29c" | ||
], | ||
"counts_gene": [ | ||
"rsem.merged.gene_counts.tsv:md5,7d1da94077dc2f90cfb2c793ca5b7446" | ||
], | ||
"counts_transcript": [ | ||
"rsem.merged.transcript_counts.tsv:md5,e40bba0aafc5904361513b3513c217ad" | ||
], | ||
"tpm_gene": [ | ||
"rsem.merged.gene_tpm.tsv:md5,39bad606eb012456bba1d995fe0feb5f" | ||
], | ||
"tpm_transcript": [ | ||
"rsem.merged.transcript_tpm.tsv:md5,abbaac45f9938716c58d604299ea284e" | ||
], | ||
"versions": [ | ||
"versions.yml:md5,48ca3e12c91829af8019462b3f6aa29c" | ||
] | ||
} | ||
], | ||
"meta": { | ||
"nf-test": "0.8.4", | ||
"nextflow": "23.10.1" | ||
}, | ||
"timestamp": "2024-03-09T17:13:37.377348" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
RSEM_MERGE_COUNTS: | ||
- "modules/local/rsem_merge_counts/**" |