-
Notifications
You must be signed in to change notification settings - Fork 1k
Update whamg: topic versions, stub block, sanitizeOutput #11450
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Changes from 1 commit
5994a77
c489f4f
a539828
b559aa1
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -30,13 +30,34 @@ nextflow_process { | |
| then { | ||
| assertAll( | ||
| { assert process.success }, | ||
| { assert snapshot( | ||
| path(process.out.vcf[0][1]).vcf.summary, | ||
| file(process.out.tbi[0][1]).name, | ||
|
Comment on lines
-34
to
-35
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. vcf and tbi files are typically unstable due to differences between conda/docker/singularity. |
||
| process.out.graph, | ||
| process.out.versions | ||
| ).match() | ||
| } | ||
| { assert snapshot(sanitizeOutput(process.out)).match() } | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Still need to swap back to use nft-vcf for the vcf file, and the tbi is unstable |
||
| ) | ||
| } | ||
| } | ||
|
|
||
| test("test-whamg-bam - stub") { | ||
|
|
||
| options "-stub" | ||
|
|
||
| when { | ||
| process { | ||
| """ | ||
| input[0] = [ | ||
| [ id:'test' ], // 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/genome/genome.fasta', checkIfExists: true) | ||
| input[2] = file(params.modules_testdata_base_path + 'genomics/homo_sapiens/genome/genome.fasta.fai', checkIfExists: true) | ||
|
|
||
| """ | ||
| } | ||
| } | ||
|
|
||
| then { | ||
| assertAll( | ||
| { assert process.success }, | ||
| { assert snapshot(sanitizeOutput(process.out)).match() } | ||
| ) | ||
| } | ||
| } | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,19 +1,76 @@ | ||
| { | ||
| "test-whamg-bam": { | ||
| "content": [ | ||
| "VcfFile [chromosomes=[], sampleCount=1, variantCount=0, phased=true, phasedAutodetect=true]", | ||
| "test.vcf.gz.tbi", | ||
| [ | ||
|
|
||
| ], | ||
| [ | ||
| "versions.yml:md5,243bed402cdc21ab2fc42a7400399ea9" | ||
| ] | ||
| { | ||
| "graph": [ | ||
|
|
||
| ], | ||
| "tbi": [ | ||
| [ | ||
| { | ||
| "id": "test" | ||
| }, | ||
| "test.vcf.gz.tbi:md5,4cb176febbc8c26d717a6c6e67b9c905" | ||
| ] | ||
| ], | ||
| "vcf": [ | ||
| [ | ||
| { | ||
| "id": "test" | ||
| }, | ||
| "test.vcf.gz:md5,e45326a91ef59ea91ad3fe85f353748c" | ||
| ] | ||
| ], | ||
| "versions_whamg": [ | ||
| [ | ||
| "WHAMG", | ||
| "whamg", | ||
| "1.7.0" | ||
| ] | ||
| ] | ||
| } | ||
| ], | ||
| "timestamp": "2026-04-30T17:44:50.968503", | ||
| "meta": { | ||
| "nf-test": "0.8.4", | ||
| "nextflow": "24.04.4" | ||
| }, | ||
| "timestamp": "2024-08-27T11:43:16.953021" | ||
| "nf-test": "0.9.5", | ||
| "nextflow": "26.04.0" | ||
| } | ||
| }, | ||
| "test-whamg-bam - stub": { | ||
| "content": [ | ||
| { | ||
| "graph": [ | ||
|
|
||
| ], | ||
| "tbi": [ | ||
| [ | ||
| { | ||
| "id": "test" | ||
| }, | ||
| "test.vcf.gz.tbi:md5,d41d8cd98f00b204e9800998ecf8427e" | ||
| ] | ||
| ], | ||
| "vcf": [ | ||
| [ | ||
| { | ||
| "id": "test" | ||
| }, | ||
| "test.vcf.gz:md5,68b329da9893e34099c7d8ad5cb9c940" | ||
| ] | ||
| ], | ||
| "versions_whamg": [ | ||
| [ | ||
| "WHAMG", | ||
| "whamg", | ||
| "1.7.0" | ||
| ] | ||
| ] | ||
| } | ||
| ], | ||
| "timestamp": "2026-04-30T17:44:56.533951", | ||
| "meta": { | ||
| "nf-test": "0.9.5", | ||
| "nextflow": "26.04.0" | ||
| } | ||
| } | ||
| } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you make this one sed command please.