-
Notifications
You must be signed in to change notification settings - Fork 735
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
gatk4_asereadcounter add updated meta and nf-tests (#5164)
* feat updated meta * feat add nf-tests * Update modules/nf-core/gatk4/asereadcounter/meta.yml Co-authored-by: Matthias Hörtenhuber <[email protected]> * Update modules/nf-core/gatk4/asereadcounter/meta.yml Co-authored-by: Matthias Hörtenhuber <[email protected]> * applyed reviewers suggestions * modified pytest_modules.yml --------- Co-authored-by: [email protected] <[email protected]> Co-authored-by: Matthias Hörtenhuber <[email protected]>
- Loading branch information
1 parent
653218e
commit 89cf292
Showing
8 changed files
with
124 additions
and
52 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,54 @@ | ||
nextflow_process { | ||
|
||
name "Test Process GATK4_ASEREADCOUNTER" | ||
tag "modules_nfcore" | ||
tag "modules" | ||
tag "gatk4" | ||
tag "gatk4/asereadcounter" | ||
script "modules/nf-core/gatk4/asereadcounter/main.nf" | ||
process "GATK4_ASEREADCOUNTER" | ||
|
||
test("Should run without failures") { | ||
|
||
when { | ||
process { | ||
""" | ||
input[0] = [ | ||
[ id:'test' ], // meta map | ||
file(params.modules_testdata_base_path +'genomics/sarscov2/illumina/bam/test.paired_end.sorted.bam', checkIfExists: true), | ||
file(params.modules_testdata_base_path +'genomics/sarscov2/illumina/bam/test.paired_end.sorted.bam.bai', checkIfExists: true) | ||
] | ||
input[1] = [ | ||
[ id:'test' ], // meta map | ||
file(params.modules_testdata_base_path +'genomics/sarscov2/illumina/vcf/test.vcf.gz', checkIfExists: true), | ||
file(params.modules_testdata_base_path +'genomics/sarscov2/illumina/vcf/test.vcf.gz.tbi', checkIfExists: true) | ||
] | ||
input[2] = [ | ||
[ id:'reference' ], // meta map | ||
file(params.modules_testdata_base_path +'genomics/sarscov2/genome/genome.fasta', checkIfExists: true) | ||
] | ||
input[3] = [ | ||
[ id:'reference' ], // meta map | ||
file(params.modules_testdata_base_path +'genomics/sarscov2/genome/genome.fasta.fai', checkIfExists: true) | ||
] | ||
input[4] = [ | ||
[ id:'reference' ], // meta map | ||
file(params.modules_testdata_base_path +'genomics/sarscov2/genome/genome.dict', checkIfExists: true) | ||
] | ||
input[5] = [ | ||
file(params.modules_testdata_base_path +'genomics/sarscov2/genome/picard/targets.interval_list', 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
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.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.