-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #99 from alanmmobbs93/update/create-test-nacho_nor…
…malize Update: create test nacho normalize
- Loading branch information
Showing
9 changed files
with
105 additions
and
14 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
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,9 @@ | ||
channels: | ||
- conda-forge | ||
dependencies: | ||
- conda-forge::r-dplyr=1.1.4 | ||
- conda-forge::r-fs=1.6.4 | ||
- conda-forge::r-ggplot2=3.4.4 | ||
- conda-forge::r-nacho=2.0.6 | ||
- conda-forge::r-readr=2.1.5 | ||
- conda-forge::r-tidyr=1.3.0 |
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
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,33 @@ | ||
nextflow_process { | ||
|
||
name "Test Process NACHO_NORMALIZE" | ||
script "../main.nf" | ||
process "NACHO_NORMALIZE" | ||
tag "modules" | ||
|
||
test("Should run without failures") { | ||
|
||
when { | ||
process { | ||
""" | ||
// RCC Files: Collect from sample sheet | ||
input[0] = Channel.fromPath(params.pipelines_testdata_base_path + 'nanostring/samplesheets/samplesheet_test.csv', checkIfExists: true) | ||
.splitCsv(header: true) | ||
.map { row -> row.RCC_FILE } // Select first column: path to file | ||
.collect() | ||
// Sample sheet | ||
input[1] = file(params.pipelines_testdata_base_path + 'nanostring/samplesheets/samplesheet_test.csv', checkIfExists: true) | ||
""" | ||
} | ||
} | ||
|
||
then { | ||
assertAll( | ||
{ 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,31 @@ | ||
{ | ||
"Should run without failures": { | ||
"content": [ | ||
{ | ||
"0": [ | ||
"normalized_counts.tsv:md5,a0124c7a24bd04296f441d9ade82a05f" | ||
], | ||
"1": [ | ||
"normalized_counts_wo_HKnorm.tsv:md5,5a2ce112c24e1b0d0f4cf3392111ef9e" | ||
], | ||
"2": [ | ||
"versions.yml:md5,0b8556f7dd763f21894470ecc737ca3b" | ||
], | ||
"normalized_counts": [ | ||
"normalized_counts.tsv:md5,a0124c7a24bd04296f441d9ade82a05f" | ||
], | ||
"normalized_counts_wo_HK": [ | ||
"normalized_counts_wo_HKnorm.tsv:md5,5a2ce112c24e1b0d0f4cf3392111ef9e" | ||
], | ||
"versions": [ | ||
"versions.yml:md5,0b8556f7dd763f21894470ecc737ca3b" | ||
] | ||
} | ||
], | ||
"meta": { | ||
"nf-test": "0.9.0", | ||
"nextflow": "24.10.1" | ||
}, | ||
"timestamp": "2024-11-19T19:00:09.938938106" | ||
} | ||
} |
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
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
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
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