Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
97 commits
Select commit Hold shift + click to select a range
7577dd6
Initial conversion, needs snapshots generating
SPPearce Apr 1, 2025
7614dd5
Add tnscope
SPPearce Apr 8, 2025
97d0461
Update tnscope and tnhaplotyper2
SPPearce Apr 11, 2025
e1e9cdb
Merge branch 'master' into sention_tnhaplotyper2_nftest
SPPearce Apr 11, 2025
642837d
Remove ultra/index
SPPearce Apr 11, 2025
4a64527
Remove empty config
SPPearce Apr 11, 2025
5a0d45d
Reset pytest_modules
SPPearce Apr 11, 2025
82dc013
Fix meta
SPPearce Apr 11, 2025
6297dbc
Reorder meta
SPPearce Apr 11, 2025
f228f07
Update modules/nf-core/sentieon/tnhaplotyper2/tests/main.nf.test
SPPearce Apr 11, 2025
b1b40de
Add env block
SPPearce Apr 11, 2025
fa54ee1
Update version for updateblastdb (#8181)
SPPearce Apr 1, 2025
eb31c56
Change FastQC memory parameter from float to int (#8180)
Schmytzi Apr 1, 2025
570f605
updated bandage image to latest version (#8185)
saramonzon Apr 1, 2025
abb0435
portcullis/full: accommodate more outputs (#8166)
anoronh4 Apr 1, 2025
ae0bfe6
update freyja module to latest version (#8184)
saramonzon Apr 1, 2025
eaf9107
Update bcftools (#8182)
saramonzon Apr 1, 2025
e3f2aa1
updated artic to latest version (#8186)
saramonzon Apr 2, 2025
68cfded
Add functionality for `--unknown-slide` in `spaceranger/count` (#7233)
fasterius Apr 2, 2025
cf9926f
Add threads parameter for all seqkit modules missing (#8192)
jfy133 Apr 2, 2025
6562c36
Support formula in `abundance_differential_filter` and associated mod…
atrigila Apr 2, 2025
6996a1f
Update shinyngs modules (#8194)
pinin4fjords Apr 2, 2025
f6ffbc0
add module integronfinder (#8131)
nguyent-son Apr 2, 2025
70b934b
add gpu snapshot updater action (#8183)
mashehu Apr 3, 2025
fac4f60
Update dependency python to 3.13 (#8189)
renovate[bot] Apr 3, 2025
971ad8f
Mindagap stub and test updates (#8200)
kbestak Apr 3, 2025
b33a2c6
fixed bug in bandage/image module, wrong versions.yml outputted (#8196)
saramonzon Apr 3, 2025
45fa247
fix formatting in sylphtax/taxprof (#8202)
mashehu Apr 3, 2025
155bfb6
run update snapshot on gpu runners (#8201)
mashehu Apr 3, 2025
daa0593
add nf-test and stub to svtk/standardize (#7768)
kubranarci Apr 3, 2025
f53639d
fix typo in gpu-snapshot updater (#8204)
mashehu Apr 3, 2025
46e91be
update vep to 113.4 and redo conda tests (#8205)
nvnieuwk Apr 3, 2025
3d9b903
Fix one more typo (#8207)
mashehu Apr 3, 2025
47f6ac1
change MUSE_SUMP to high memory module (#8212)
famosab Apr 4, 2025
97afb90
Update tj-actions/changed-files digest to 6cb76d0 (#8217)
renovate[bot] Apr 5, 2025
f0bb5e2
Fix: PoolSNP: Update input tuple; cleanup stub (#8218)
abhilesh Apr 6, 2025
9c34619
Fix to rnaseq preprocessing linting fix (#8221)
pinin4fjords Apr 7, 2025
19e76ff
Update modkit and porechop modules (#8223)
jkh00 Apr 7, 2025
7389faa
Metaspace download (#8145)
Dewey-Wang Apr 7, 2025
86a3415
Update vrhyme modules, including nf-test (#8163)
SPPearce Apr 7, 2025
873ce42
nf-test migration: cellrangerarc/count (#8008)
ignatiusm Apr 8, 2025
fe92e85
Add sylphtax/merge and update taxprof to version 1.2 (#8228)
sofstam Apr 8, 2025
74e2acb
Clair3 (#7838)
robert-a-forsyth Apr 8, 2025
d45c876
update to doubled runner resources (#8233)
mashehu Apr 8, 2025
299a8c9
GTDBTK_CLASSIFYWF database improvement (#8220)
jfy133 Apr 8, 2025
612914f
handle filtered out modules and subworkflow files in the linting step…
mashehu Apr 8, 2025
5656843
fix linting check to run on files, not general changes (#8240)
mashehu Apr 8, 2025
c1ef56f
always commit changes when run gpu-snapshot bot runs succesfully (#8237)
mashehu Apr 8, 2025
43c2da7
Plink2 hwe (#8227)
jodennehy Apr 8, 2025
b354737
migrate nf-test: survivor-filter (#8229)
kubranarci Apr 8, 2025
2296655
ragtag/scaffold and ragtag/patch modules and tests (#8198)
nschan Apr 8, 2025
e0dd36c
Nf-test migration survivor/simsv (#8251)
kubranarci Apr 9, 2025
82625d0
Stecfinder nftest (#8243)
SPPearce Apr 9, 2025
184ef17
Fix mutect tests (#8242)
famosab Apr 9, 2025
af9a2a7
nf-test migration: plink/indeppairwise (#8133)
mantisps Apr 9, 2025
2be0f8b
Uncomment logging. (#8248)
nschan Apr 9, 2025
f3c055c
Swap shigeifinder to nf-test (#8245)
SPPearce Apr 9, 2025
a1c6750
Migrate `cellrangerarc/mkref`to nf-test (#8219)
max-laurent Apr 9, 2025
cbe0a1e
Plink2 filter (#8247)
jodennehy Apr 9, 2025
ae0048f
Use modules_testdata_base_path (#8259)
maxulysse Apr 10, 2025
60479c3
nf-test + stub: svtk/rdtest2vcf (#8258)
kubranarci Apr 10, 2025
980688c
dragmap hashtable - snapshot versions (#8261)
maxulysse Apr 10, 2025
4b2a02a
Add gatk4/modelsegments (#8234)
lbeltrame Apr 10, 2025
33e2892
Update GTDB-TK: Update container version and fix a couple of error so…
prototaxites Apr 10, 2025
dc35312
Add custom adapters list as input argument (#8262)
sofstam Apr 10, 2025
8b0711f
Update GitHub Actions (#8253)
renovate[bot] Apr 10, 2025
ff5ad6c
Migrate `GENOTYPHI_PARSE` to nf-test (#8265)
LouisLeNezet Apr 10, 2025
423fd18
Fix prettier porechop meta (#8266)
sofstam Apr 10, 2025
982c072
Fix errant bash comment in gtdbtk/classifywf (#8267)
prototaxites Apr 10, 2025
d7050b4
Downgrade dragmap to the previous functionning version (#8263)
maxulysse Apr 10, 2025
8d91fee
new module: fusioncatcher build (#8268)
nvnieuwk Apr 11, 2025
c6dbbca
new module: fusioncatcher/fusioncatcher (#8271)
nvnieuwk Apr 11, 2025
ab13109
Deprecate `FCS_FCSGX` (#8269)
LouisLeNezet Apr 11, 2025
d0ef714
Migrate `gem2/gem2bedmappability` to nf-test (#8275)
LouisLeNezet Apr 11, 2025
59c02fd
Migrate `gem2/gemmappability` to nf-test (#8278)
LouisLeNezet Apr 11, 2025
569aaaa
Migrate `genescopefk` to nf-test (#8277)
LouisLeNezet Apr 11, 2025
b6802c9
gatk4spark - better assertion and stub tests (#8274)
maxulysse Apr 11, 2025
46fb895
Links (#8260)
nschan Apr 11, 2025
19fb6b4
Migrate `damageprofiler` to nf-test (#8282)
LouisLeNezet Apr 11, 2025
7015143
Bump genmod to 3.10 (#8281)
fellen31 Apr 11, 2025
360c979
remove plink2 hwe (#8280)
jodennehy Apr 11, 2025
cf5a6f9
Merge remote-tracking branch 'sppearce/sention_tnhaplotyper2_nftest' …
SPPearce Apr 14, 2025
12db8d4
Merge branch 'master' into sention_tnhaplotyper2_nftest
SPPearce Apr 14, 2025
6bf163c
Update snapshots
SPPearce Apr 14, 2025
7171360
Update snapshots
SPPearce Apr 14, 2025
49d11f3
Merge remote-tracking branch 'sppearce/sention_tnhaplotyper2_nftest' …
SPPearce Apr 14, 2025
12f9f34
Update snapshots
SPPearce Apr 15, 2025
240f64c
Update tnscope
SPPearce Apr 15, 2025
7a7c680
Merge remote-tracking branch 'sppearce/sention_tnhaplotyper2_nftest' …
SPPearce Apr 15, 2025
92912bd
Merge branch 'master' into sention_tnhaplotyper2_nftest
SPPearce Apr 15, 2025
369f2c8
Add spaces and remove //meta
SPPearce Apr 16, 2025
b65eb81
Update snapshots
SPPearce Apr 16, 2025
7119567
Merge remote-tracking branch 'sppearce/sention_tnhaplotyper2_nftest' …
SPPearce Apr 16, 2025
4c9d897
Merge branch 'master' into sention_tnhaplotyper2_nftest
SPPearce Apr 16, 2025
2e3c1b9
Update modules/nf-core/sentieon/tnhaplotyper2/main.nf
SPPearce Apr 17, 2025
4d33a26
Merge remote-tracking branch 'origin' into sention_tnhaplotyper2_nftest
SPPearce Apr 18, 2025
e4a14ce
Fix whitespace
SPPearce Apr 18, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 11 additions & 8 deletions modules/nf-core/sentieon/tnhaplotyper2/main.nf
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ process SENTIEON_TNHAPLOTYPER2 {
val(emit_contamination_data)

output:
tuple val(meta), path("*.orientation_data.tsv") , optional:true , emit: orientation_data
tuple val(meta), path("*.contamination_data.tsv"), optional:true , emit: contamination_data
tuple val(meta), path("*.segments") , optional:true , emit: contamination_segments
tuple val(meta), path("*.orientation_data.tsv") , emit: orientation_data , optional:true
tuple val(meta), path("*.contamination_data.tsv"), emit: contamination_data , optional:true
tuple val(meta), path("*.segments") , emit: contamination_segments, optional:true
tuple val(meta), path("*.stats") , emit: stats
tuple val(meta), path("*.vcf.gz") , emit: vcf
tuple val(meta), path("*.vcf.gz.tbi") , emit: index
Expand Down Expand Up @@ -80,13 +80,16 @@ process SENTIEON_TNHAPLOTYPER2 {
"""

stub:
def prefix = task.ext.prefix ?: "${meta.id}"
def prefix = task.ext.prefix ?: "${meta.id}"
def orientation = emit_orientation_data ? "touch ${prefix}.orientation_data.tsv" : ""
def contamination = emit_contamination_data ? "touch ${prefix}.{contamination_data.tsv,segments}" : ""

"""
touch ${prefix}.vcf.gz
echo | gzip > ${prefix}.vcf.gz
touch ${prefix}.vcf.gz.tbi
touch ${prefix}.contamination_data.tsv
touch ${prefix}.orientation_data.tsv
touch ${prefix}.segments
touch ${prefix}.vcf.gz.stats
$orientation
$contamination

cat <<-END_VERSIONS > versions.yml
"${task.process}":
Expand Down
6 changes: 3 additions & 3 deletions modules/nf-core/sentieon/tnhaplotyper2/meta.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,14 @@ input:
type: map
description: |
Groovy Map containing sample information.
e.g. [ id:'test', single_end:false ]
e.g. [ id:'test' ]
- input:
type: file
description: BAM/CRAM file from alignment
description: BAM/CRAM file(s) from alignment
pattern: "*.{bam,cram}"
- input_index:
type: file
description: BAI/CRAI file from alignment
description: BAI/CRAI file(s) from alignment
pattern: "*.{bai,crai}"
- intervals:
type: file
Expand Down
293 changes: 293 additions & 0 deletions modules/nf-core/sentieon/tnhaplotyper2/tests/main.nf.test
Original file line number Diff line number Diff line change
@@ -0,0 +1,293 @@
nextflow_process {

name "Test Process SENTIEON_TNHAPLOTYPER2"
config "./nextflow.config"
script "../main.nf"
process "SENTIEON_TNHAPLOTYPER2"

tag "modules"
tag "modules_nfcore"
tag "picard"
tag "picard/addorreplacereadgroups"
tag "sentieon"
tag "sentieon/tnhaplotyper2"
config './nextflow.config'

setup {
run("PICARD_ADDORREPLACEREADGROUPS", alias: "NORMAL_ADDORREPLACEREADGROUPS") {
script "../../../picard/addorreplacereadgroups/main.nf"
config './nextflow.config'
process {
"""
input[0] = [[id:'test'],
[file(params.modules_testdata_base_path + 'genomics/homo_sapiens/illumina/bam/test.paired_end.recalibrated.sorted.bam', checkIfExists:true)]
]
input[1] = [[],[]]
input[2] = [[],[]]
"""
}
}

run("PICARD_ADDORREPLACEREADGROUPS", alias: "TUMOUR_ADDORREPLACEREADGROUPS") {
script "../../../picard/addorreplacereadgroups/main.nf"
config './nextflow.config'

process {
"""
input[0] = [[id:'test'],
[file(params.modules_testdata_base_path + 'genomics/homo_sapiens/illumina/bam/test2.paired_end.recalibrated.sorted.bam', checkIfExists:true)]
]
input[1] = [[],[]]
input[2] = [[],[]]
"""
}
}
}

test("tumour normal") {

when {
params {
module_args = ''
module_args2 = '--tumor_sample tumour --normal_sample normal'
module_args3 = ''
module_args4 = ''
}
process {
"""
input[0] = NORMAL_ADDORREPLACEREADGROUPS.out.bam
.join( NORMAL_ADDORREPLACEREADGROUPS.out.bai)
.join( TUMOUR_ADDORREPLACEREADGROUPS.out.bam)
.join( TUMOUR_ADDORREPLACEREADGROUPS.out.bai)
.map{
meta,normal_bam,normal_bai,tumour_bam,tumour_bai->
[[id:'test'],[normal_bam,tumour_bam],[normal_bai,tumour_bai],[]]
}
input[1] = [[:],file(params.modules_testdata_base_path + 'genomics/homo_sapiens/genome/chr21/sequence/genome.dict', checkIfExists:true)]
input[2] = [[:],file(params.modules_testdata_base_path + 'genomics/homo_sapiens/genome/chr21/sequence/genome.fasta', checkIfExists:true)]
input[3] = [[:],file(params.modules_testdata_base_path + 'genomics/homo_sapiens/genome/chr21/sequence/genome.fasta.fai', checkIfExists:true)]
input[4] = [[:],[]]
input[5] = [[:],[]]
input[6] = [[:],[]]
input[7] = [[:],[]]
input[8] = false
input[9] = false
"""
}
}
then {
assert process.success
assertAll(
{ assert snapshot(
path(process.out.vcf[0][1]).vcf.summary,
file(process.out.index[0][1]).name,
process.out.stats,
process.out.versions,
path(process.out.versions[0]).yaml
).match() }
)
}
}

test("tumour normal, with dbsnp and PoN") {

when {
params {
module_args = ''
module_args2 = '--tumor_sample tumour --normal_sample normal'
module_args3 = ''
module_args4 = ''
}
process {
"""
input[0] = NORMAL_ADDORREPLACEREADGROUPS.out.bam
.join(NORMAL_ADDORREPLACEREADGROUPS.out.bai)
.join(TUMOUR_ADDORREPLACEREADGROUPS.out.bam)
.join(TUMOUR_ADDORREPLACEREADGROUPS.out.bai)
.map{
meta,normal_bam,normal_bai,tumour_bam,tumour_bai->
[[id:'test'],[normal_bam,tumour_bam],[normal_bai,tumour_bai],[]]
}
input[1] = [[:],file(params.modules_testdata_base_path + 'genomics/homo_sapiens/genome/chr21/sequence/genome.dict', checkIfExists:true)]
input[2] = [[:],file(params.modules_testdata_base_path + 'genomics/homo_sapiens/genome/chr21/sequence/genome.fasta', checkIfExists:true)]
input[3] = [[:],file(params.modules_testdata_base_path + 'genomics/homo_sapiens/genome/chr21/sequence/genome.fasta.fai', checkIfExists:true)]
input[4] = [[:],file(params.modules_testdata_base_path + 'genomics/homo_sapiens/genome/chr21/germlineresources/gnomAD.r2.1.1.vcf.gz', checkIfExists:true)]
input[5] = [[:],file(params.modules_testdata_base_path + 'genomics/homo_sapiens/genome/chr21/germlineresources/gnomAD.r2.1.1.vcf.gz.tbi', checkIfExists:true)]
input[6] = [[:],file(params.modules_testdata_base_path + 'genomics/homo_sapiens/genome/chr21/germlineresources/mills_and_1000G.indels.hg38.vcf.gz', checkIfExists:true)]
input[7] = [[:],file(params.modules_testdata_base_path + 'genomics/homo_sapiens/genome/chr21/germlineresources/mills_and_1000G.indels.hg38.vcf.gz.tbi', checkIfExists:true)]
input[8] = false
input[9] = false
"""
}
}
then {
assert process.success
assertAll(
{ assert snapshot(
path(process.out.vcf[0][1]).vcf.summary,
file(process.out.index[0][1]).name,
process.out.stats,
process.out.versions,
path(process.out.versions[0]).yaml
).match() }
)
}
}

test("tumour normal, with dbsnp and PoN, emit additional files") {

when {
params {
module_args = ''
module_args2 = '--tumor_sample tumour --normal_sample normal'
module_args3 = '--tumor_sample tumour'
module_args4 = '--tumor_sample tumour --normal_sample normal'
}
process {
"""
input[0] = NORMAL_ADDORREPLACEREADGROUPS.out.bam
.join(NORMAL_ADDORREPLACEREADGROUPS.out.bai)
.join(TUMOUR_ADDORREPLACEREADGROUPS.out.bam)
.join(TUMOUR_ADDORREPLACEREADGROUPS.out.bai)
.map{
meta,normal_bam,normal_bai,tumour_bam,tumour_bai->
[[id:'test'],[normal_bam,tumour_bam],[normal_bai,tumour_bai],[]]
}
input[1] = [[:],file(params.modules_testdata_base_path + 'genomics/homo_sapiens/genome/chr21/sequence/genome.dict', checkIfExists:true)]
input[2] = [[:],file(params.modules_testdata_base_path + 'genomics/homo_sapiens/genome/chr21/sequence/genome.fasta', checkIfExists:true)]
input[3] = [[:],file(params.modules_testdata_base_path + 'genomics/homo_sapiens/genome/chr21/sequence/genome.fasta.fai', checkIfExists:true)]
input[4] = [[:],file(params.modules_testdata_base_path + 'genomics/homo_sapiens/genome/chr21/germlineresources/gnomAD.r2.1.1.vcf.gz', checkIfExists:true)]
input[5] = [[:],file(params.modules_testdata_base_path + 'genomics/homo_sapiens/genome/chr21/germlineresources/gnomAD.r2.1.1.vcf.gz.tbi', checkIfExists:true)]
input[6] = [[:],file(params.modules_testdata_base_path + 'genomics/homo_sapiens/genome/chr21/germlineresources/mills_and_1000G.indels.hg38.vcf.gz', checkIfExists:true)]
input[7] = [[:],file(params.modules_testdata_base_path + 'genomics/homo_sapiens/genome/chr21/germlineresources/mills_and_1000G.indels.hg38.vcf.gz.tbi', checkIfExists:true)]
input[8] = true
input[9] = true
"""
}
}
then {
assert process.success
assertAll(
{ assert snapshot(
path(process.out.vcf[0][1]).vcf.summary,
file(process.out.index[0][1]).name,
process.out.stats,
process.out.orientation_data,
process.out.contamination_data,
process.out.contamination_segments,
process.out.versions,
path(process.out.versions[0]).yaml
).match() }
)
}
}

test("tumour only") {

when {
params {
module_args = ''
module_args2 = '--tumor_sample tumour'
module_args3 = '--tumor_sample tumour'
module_args4 = '--tumor_sample tumour'
}
process {
"""
input[0] = TUMOUR_ADDORREPLACEREADGROUPS.out.bam
.join(TUMOUR_ADDORREPLACEREADGROUPS.out.bai)
.map{
meta,tumour_bam,tumour_bai->
[meta,tumour_bam,tumour_bai,[]]
}
input[1] = [[:],file(params.modules_testdata_base_path + 'genomics/homo_sapiens/genome/chr21/sequence/genome.dict', checkIfExists:true)]
input[2] = [[:],file(params.modules_testdata_base_path + 'genomics/homo_sapiens/genome/chr21/sequence/genome.fasta', checkIfExists:true)]
input[3] = [[:],file(params.modules_testdata_base_path + 'genomics/homo_sapiens/genome/chr21/sequence/genome.fasta.fai', checkIfExists:true)]
input[4] = [[:],file(params.modules_testdata_base_path + 'genomics/homo_sapiens/genome/chr21/germlineresources/gnomAD.r2.1.1.vcf.gz', checkIfExists:true)]
input[5] = [[:],file(params.modules_testdata_base_path + 'genomics/homo_sapiens/genome/chr21/germlineresources/gnomAD.r2.1.1.vcf.gz.tbi', checkIfExists:true)]
input[6] = [[:],file(params.modules_testdata_base_path + 'genomics/homo_sapiens/genome/chr21/germlineresources/mills_and_1000G.indels.hg38.vcf.gz', checkIfExists:true)]
input[7] = [[:],file(params.modules_testdata_base_path + 'genomics/homo_sapiens/genome/chr21/germlineresources/mills_and_1000G.indels.hg38.vcf.gz.tbi', checkIfExists:true)]
input[8] = true
input[9] = true
"""
}
}
then {
assert process.success
assertAll(
{ assert snapshot(
path(process.out.vcf[0][1]).vcf.summary,
file(process.out.index[0][1]).name,
process.out.versions,
process.out.stats,
path(process.out.versions[0]).yaml
).match() }
)
}
}


test("tumour normal - stub") {
options '-stub'
when {
params {
module_args = ''
module_args2 = '--tumor_sample tumour --normal_sample normal'
module_args3 = ''
module_args4 = ''
}
process {
"""
input[0] = [[id:'test'],[],[],[]]
input[1] = [[:],[]]
input[2] = [[:],[]]
input[3] = [[:],[]]
input[4] = [[:],[]]
input[5] = [[:],[]]
input[6] = [[:],[]]
input[7] = [[:],[]]
input[8] = false
input[9] = false
"""
}
}
then {
assert process.success
assertAll(
{ assert snapshot(process.out).match() }
)
}
}

test("tumour normal, emit additional files -stub") {
options '-stub'
when {
params {
module_args = ''
module_args2 = '--tumor_sample tumour --normal_sample normal'
module_args3 = ''
module_args4 = ''
}
process {
"""
input[0] = [[id:'test'],[],[],[]]
input[1] = [[:],[]]
input[2] = [[:],[]]
input[3] = [[:],[]]
input[4] = [[:],[]]
input[5] = [[:],[]]
input[6] = [[:],[]]
input[7] = [[:],[]]
input[8] = false
input[9] = false
"""
}
}
then {
assert process.success
assertAll(
{ assert snapshot(process.out).match() }
)
}
}

}
Loading
Loading