forked from nf-core/modules
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into nf-test_phispy
* master: Fix test for FASTQ_FASTQC_UMITOOLS_FASTP which included an absolute path in the snapshot. (nf-core#5278) added new module lofraq/viterbi; solves new module: lofreq/viterbi nf-core#5158 (nf-core#5197) Update glimpse/phase output channel to phased_variants nf-core#5172 (nf-core#5174) Add module: GTFSORT (nf-core#5237) add nf-test to bedtools/sort - nf-core#3936 (nf-core#5221) addedd optional output channel for lib files (nf-core#5257)
- Loading branch information
Showing
43 changed files
with
2,416 additions
and
1,844 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,58 @@ | ||
nextflow_process { | ||
|
||
name "Test Process BEDTOOLS_SORT" | ||
script "../main.nf" | ||
config "./nextflow.config" | ||
process "BEDTOOLS_SORT" | ||
|
||
tag "modules" | ||
tag "modules_nfcore" | ||
tag "bedtools" | ||
tag "bedtools/sort" | ||
|
||
test("test_bedtools_sort") { | ||
|
||
when { | ||
process { | ||
""" | ||
input[0] = [ [ id:'test'], | ||
file(params.modules_testdata_base_path + 'genomics/sarscov2/genome/bed/test.bed', checkIfExists: true) | ||
] | ||
input[1] = [] | ||
""" | ||
} | ||
} | ||
|
||
then { | ||
assertAll( | ||
{ assert process.success }, | ||
{ assert snapshot(process.out).match() } | ||
) | ||
} | ||
|
||
} | ||
|
||
|
||
test("test_bedtools_sort_with_genome") { | ||
|
||
when { | ||
process { | ||
""" | ||
input[0] = [ [ id:'test'], | ||
file(params.modules_testdata_base_path + 'genomics/sarscov2/genome/bed/test.bed', checkIfExists: true) | ||
] | ||
input[1] = file(params.modules_testdata_base_path + 'genomics/sarscov2/genome/genome.fasta.fai', checkIfExists: true) | ||
""" | ||
} | ||
} | ||
|
||
then { | ||
assertAll( | ||
{ assert process.success }, | ||
{ assert snapshot(process.out).match() } | ||
) | ||
} | ||
|
||
} | ||
|
||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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,8 @@ | ||
process { | ||
|
||
withName: BEDTOOLS_SORT { | ||
ext.prefix = { "${meta.id}_out" } | ||
ext.suffix = "testtext" | ||
} | ||
|
||
} |
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 @@ | ||
bedtools/sort: | ||
- "modules/nf-core/bedtools/sort/**" |
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
26 changes: 15 additions & 11 deletions
26
modules/nf-core/glimpse/concordance/tests/main.nf.test.snap
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
Oops, something went wrong.