-
Notifications
You must be signed in to change notification settings - Fork 695
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/vsearch_usearchglobal
- Loading branch information
Showing
22 changed files
with
311 additions
and
165 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,35 @@ | ||
|
||
nextflow_process { | ||
|
||
name "Test Process ARRIBA_DOWNLOAD" | ||
script "../main.nf" | ||
process "ARRIBA_DOWNLOAD" | ||
|
||
tag "modules" | ||
tag "modules_nfcore" | ||
tag "arriba" | ||
tag "arriba/download" | ||
|
||
test("test-arriba-download") { | ||
|
||
when { | ||
process { | ||
""" | ||
""" | ||
} | ||
} | ||
|
||
then { | ||
assertAll( | ||
{ assert process.success }, | ||
{ assert snapshot( | ||
process.out.reference[0].collect { file(it).name }.toSorted(), | ||
process.out.versions | ||
).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,35 @@ | ||
{ | ||
"test-arriba-download": { | ||
"content": [ | ||
[ | ||
"CREDITS", | ||
"RefSeq_viral_genomes_v2.4.0.fa.gz", | ||
"blacklist_hg19_hs37d5_GRCh37_v2.4.0.tsv.gz", | ||
"blacklist_hg38_GRCh38_v2.4.0.tsv.gz", | ||
"blacklist_mm10_GRCm38_v2.4.0.tsv.gz", | ||
"blacklist_mm39_GRCm39_v2.4.0.tsv.gz", | ||
"cytobands_hg19_hs37d5_GRCh37_v2.4.0.tsv", | ||
"cytobands_hg38_GRCh38_v2.4.0.tsv", | ||
"cytobands_mm10_GRCm38_v2.4.0.tsv", | ||
"cytobands_mm39_GRCm39_v2.4.0.tsv", | ||
"known_fusions_hg19_hs37d5_GRCh37_v2.4.0.tsv.gz", | ||
"known_fusions_hg38_GRCh38_v2.4.0.tsv.gz", | ||
"known_fusions_mm10_GRCm38_v2.4.0.tsv.gz", | ||
"known_fusions_mm39_GRCm39_v2.4.0.tsv.gz", | ||
"protein_domains_hg19_hs37d5_GRCh37_v2.4.0.gff3", | ||
"protein_domains_hg38_GRCh38_v2.4.0.gff3", | ||
"protein_domains_mm10_GRCm38_v2.4.0.gff3", | ||
"protein_domains_mm39_GRCm39_v2.4.0.gff3", | ||
"versions.yml" | ||
], | ||
[ | ||
"versions.yml:md5,98c69df5eaea5caf0b4af7b8d7af4893" | ||
] | ||
], | ||
"meta": { | ||
"nf-test": "0.8.4", | ||
"nextflow": "24.04.4" | ||
}, | ||
"timestamp": "2024-08-22T17:00:38.086459" | ||
} | ||
} |
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
name: VERIFYBAMID_VERIFYBAMID | ||
name: verifybamid_verifybamid | ||
channels: | ||
- conda-forge | ||
- bioconda | ||
|
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
44 changes: 44 additions & 0 deletions
44
modules/nf-core/verifybamid/verifybamid/tests/main.nf.test
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,44 @@ | ||
|
||
nextflow_process { | ||
|
||
name "Test Process VERIFYBAMID_VERIFYBAMID" | ||
script "../main.nf" | ||
process "VERIFYBAMID_VERIFYBAMID" | ||
config "./nextflow.config" | ||
|
||
tag "modules" | ||
tag "modules_nfcore" | ||
tag "verifybamid" | ||
tag "verifybamid/verifybamid" | ||
|
||
test("test-verifybamid-verifybamid") { | ||
|
||
when { | ||
process { | ||
""" | ||
input[0] = [ [ id:'test', single_end:false ], // meta map | ||
file(params.modules_testdata_base_path + 'genomics/homo_sapiens/illumina/bam/test.paired_end.sorted.bam', checkIfExists: true), | ||
file(params.modules_testdata_base_path + 'genomics/homo_sapiens/illumina/bam/test.paired_end.sorted.bam.bai', checkIfExists: true) | ||
] | ||
input[1] = file(params.modules_testdata_base_path + 'genomics/homo_sapiens/illumina/vcf/genmod.vcf.gz', checkIfExists: true) | ||
""" | ||
} | ||
} | ||
|
||
then { | ||
assertAll( | ||
{ assert process.success }, | ||
{ assert snapshot( | ||
file(process.out.log[0][1]).name, | ||
process.out.depthrg, | ||
process.out.depthsm, | ||
process.out.selfrg, | ||
process.out.selfsm, | ||
process.out.versions, | ||
).match() } | ||
) | ||
} | ||
} | ||
|
||
} |
51 changes: 51 additions & 0 deletions
51
modules/nf-core/verifybamid/verifybamid/tests/main.nf.test.snap
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,51 @@ | ||
{ | ||
"test-verifybamid-verifybamid": { | ||
"content": [ | ||
"test.log", | ||
[ | ||
[ | ||
{ | ||
"id": "test", | ||
"single_end": false | ||
}, | ||
"test.depthRG:md5,2374504c4138c04f3b29210dcb3da96f" | ||
] | ||
], | ||
[ | ||
[ | ||
{ | ||
"id": "test", | ||
"single_end": false | ||
}, | ||
"test.depthSM:md5,4f5367f2be8567b95b57278b2e7372c3" | ||
] | ||
], | ||
[ | ||
[ | ||
{ | ||
"id": "test", | ||
"single_end": false | ||
}, | ||
"test.selfRG:md5,3772283d3eaa88683f562a2157b92d55" | ||
] | ||
], | ||
[ | ||
[ | ||
{ | ||
"id": "test", | ||
"single_end": false | ||
}, | ||
"test.selfSM:md5,5d2808d70f76e2f753b670fc9b2a6d55" | ||
] | ||
], | ||
[ | ||
"versions.yml:md5,36b44d66ecfdbef7191f47a33f688b7f" | ||
] | ||
], | ||
"meta": { | ||
"nf-test": "0.8.4", | ||
"nextflow": "24.04.4" | ||
}, | ||
"timestamp": "2024-08-22T17:54:07.273193" | ||
} | ||
} |
3 changes: 3 additions & 0 deletions
3
modules/nf-core/verifybamid/verifybamid/tests/nextflow.config
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,3 @@ | ||
process { | ||
ext.args = '--ignoreRG' | ||
} |
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 VT_DECOMPOSE" | ||
script "../main.nf" | ||
process "VT_DECOMPOSE" | ||
config "./nextflow.config" | ||
|
||
tag "modules" | ||
tag "modules_nfcore" | ||
tag "vt" | ||
tag "vt/decompose" | ||
|
||
test("test-vt-decompose") { | ||
|
||
when { | ||
process { | ||
""" | ||
input[0] = [ | ||
[ id:'test', single_end:false ], // meta map | ||
file(params.modules_testdata_base_path + 'genomics/sarscov2/illumina/vcf/test.vcf.gz', checkIfExists: true), | ||
[] | ||
] | ||
""" | ||
} | ||
} | ||
|
||
then { | ||
assertAll( | ||
{ assert process.success }, | ||
{ assert snapshot(process.out).match() } | ||
) | ||
} | ||
} | ||
|
||
test("test-vt-decompose-intervals") { | ||
|
||
when { | ||
process { | ||
""" | ||
input[0] = [ | ||
[ id:'test', single_end:false ], // meta map | ||
file(params.modules_testdata_base_path + 'genomics/sarscov2/illumina/vcf/test.vcf', checkIfExists: true), | ||
file(params.modules_testdata_base_path + 'genomics/sarscov2/genome/bed/test.bed', 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,72 @@ | ||
{ | ||
"test-vt-decompose-intervals": { | ||
"content": [ | ||
{ | ||
"0": [ | ||
[ | ||
{ | ||
"id": "test", | ||
"single_end": false | ||
}, | ||
"decompose.vcf.gz:md5,892b6b5c55c69afd3a96cd9bfd8ab743" | ||
] | ||
], | ||
"1": [ | ||
"versions.yml:md5,f10f0ae7e4b74341393c2a9fc87afa87" | ||
], | ||
"vcf": [ | ||
[ | ||
{ | ||
"id": "test", | ||
"single_end": false | ||
}, | ||
"decompose.vcf.gz:md5,892b6b5c55c69afd3a96cd9bfd8ab743" | ||
] | ||
], | ||
"versions": [ | ||
"versions.yml:md5,f10f0ae7e4b74341393c2a9fc87afa87" | ||
] | ||
} | ||
], | ||
"meta": { | ||
"nf-test": "0.8.4", | ||
"nextflow": "24.04.4" | ||
}, | ||
"timestamp": "2024-08-22T17:30:33.250927" | ||
}, | ||
"test-vt-decompose": { | ||
"content": [ | ||
{ | ||
"0": [ | ||
[ | ||
{ | ||
"id": "test", | ||
"single_end": false | ||
}, | ||
"decompose.vcf.gz:md5,892b6b5c55c69afd3a96cd9bfd8ab743" | ||
] | ||
], | ||
"1": [ | ||
"versions.yml:md5,f10f0ae7e4b74341393c2a9fc87afa87" | ||
], | ||
"vcf": [ | ||
[ | ||
{ | ||
"id": "test", | ||
"single_end": false | ||
}, | ||
"decompose.vcf.gz:md5,892b6b5c55c69afd3a96cd9bfd8ab743" | ||
] | ||
], | ||
"versions": [ | ||
"versions.yml:md5,f10f0ae7e4b74341393c2a9fc87afa87" | ||
] | ||
} | ||
], | ||
"meta": { | ||
"nf-test": "0.8.4", | ||
"nextflow": "24.04.4" | ||
}, | ||
"timestamp": "2024-08-22T17:30:27.223776" | ||
} | ||
} |
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,5 @@ | ||
process { | ||
withName: VT_DECOMPOSE { | ||
ext.prefix = "decompose" | ||
} | ||
} |
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 was deleted.
Oops, something went wrong.
Oops, something went wrong.