-
Notifications
You must be signed in to change notification settings - Fork 736
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Meryl count and meryl histogram migration to nf-test (#5401)
* migrate to nf-test and update version * Add stub Co-authored-by: rodtheo <[email protected]> * Fix linting Co-authored-by: rodtheo <[email protected]> * Update test * Add kvalue as mandatory input * Add snapshot * Lint * Update GenomeScope2 module to reflect new mandatory parameter * migrate meryl/histogram to nf-test * Add mandatory kvalue to input * Lint Co-authored-by: rodtheo <[email protected]> * Add stub Co-authored-by: rodtheo <[email protected]> * Update test for meryl/histogram * Update meryl version * Remove meryl/histogram config and add input value to genomescope2 * Fix module path --------- Co-authored-by: rodtheo <[email protected]>
- Loading branch information
1 parent
9bc4822
commit c95215b
Showing
21 changed files
with
586 additions
and
101 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
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 |
---|---|---|
|
@@ -4,4 +4,4 @@ channels: | |
- bioconda | ||
- defaults | ||
dependencies: | ||
- bioconda::meryl=1.3 | ||
- bioconda::meryl=1.4.1 |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
nextflow_process { | ||
|
||
name "Test Process MERYL_COUNT" | ||
script "../main.nf" | ||
process "MERYL_COUNT" | ||
|
||
tag "modules" | ||
tag "modules_nfcore" | ||
tag "meryl" | ||
tag "meryl/count" | ||
|
||
test("bacteroides_fragilis - fastq") { | ||
|
||
when { | ||
process { | ||
""" | ||
input[0] = Channel.value([ | ||
[ id: 'test', single_end: true ], // meta map | ||
file( params.modules_testdata_base_path + "/genomics/prokaryotes/bacteroides_fragilis/illumina/fastq/test1_1.fastq.gz", checkIfExists: true ) | ||
]) | ||
input[1] = Channel.value(21) | ||
""" | ||
} | ||
} | ||
|
||
then { | ||
assertAll( | ||
{ assert process.success }, | ||
{ assert snapshot(process.out).match() } | ||
) | ||
} | ||
|
||
} | ||
|
||
test("bacteroides_fragilis - fastq - stub") { | ||
|
||
options "-stub" | ||
|
||
when { | ||
process { | ||
""" | ||
input[0] = Channel.value([ | ||
[ id: 'test', single_end: true ], // meta map | ||
file( params.modules_testdata_base_path + "/genomics/prokaryotes/bacteroides_fragilis/illumina/fastq/test1_1.fastq.gz", checkIfExists: true ) | ||
]) | ||
input[1] = Channel.value(21) | ||
""" | ||
} | ||
} | ||
|
||
then { | ||
assertAll( | ||
{ assert process.success }, | ||
{ assert snapshot(process.out).match() } | ||
) | ||
} | ||
|
||
} | ||
|
||
} |
Oops, something went wrong.