Skip to content

Commit e5dbade

Browse files
committed
Migrate to Nextflow 25.10
1 parent 56f284c commit e5dbade

40 files changed

Lines changed: 89 additions & 142 deletions

File tree

main.nf

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -47,15 +47,14 @@ workflow NFCORE_METHYLSEQ {
4747

4848
main:
4949

50-
ch_versions = Channel.empty()
5150

5251
//
5352
// Initialize file channels or values based on params
5453
//
55-
ch_fasta = params.fasta ? Channel.fromPath(params.fasta).map{ it -> [ [id:it.baseName], it ] } : Channel.empty()
56-
ch_or_val_fasta_index = params.fasta_index ? Channel.fromPath(params.fasta_index).map{ it -> [ [id:it.baseName], it ] } : []
57-
ch_or_val_bismark_index = params.bismark_index ? Channel.fromPath(params.bismark_index).map{ it -> [ [id:it.baseName], it ] } : []
58-
ch_or_val_bwameth_index = params.bwameth_index ? Channel.fromPath(params.bwameth_index).map{ it -> [ [id:it.baseName], it ] } : []
54+
ch_fasta = params.fasta ? channel.fromPath(params.fasta).map{ it -> [ [id:it.baseName], it ] } : channel.empty()
55+
ch_or_val_fasta_index = params.fasta_index ? channel.fromPath(params.fasta_index).map{ it -> [ [id:it.baseName], it ] } : []
56+
ch_or_val_bismark_index = params.bismark_index ? channel.fromPath(params.bismark_index).map{ it -> [ [id:it.baseName], it ] } : []
57+
ch_or_val_bwameth_index = params.bwameth_index ? channel.fromPath(params.bwameth_index).map{ it -> [ [id:it.baseName], it ] } : []
5958

6059
//
6160
// SUBWORKFLOW: Prepare any required reference genome indices
@@ -69,25 +68,21 @@ workflow NFCORE_METHYLSEQ {
6968
params.collecthsmetrics,
7069
params.use_mem2
7170
)
72-
ch_versions = ch_versions.mix(FASTA_INDEX_BISMARK_BWAMETH.out.versions)
7371

7472
//
7573
// WORKFLOW: Run pipeline
7674
//
7775

7876
METHYLSEQ (
7977
samplesheet,
80-
ch_versions,
8178
FASTA_INDEX_BISMARK_BWAMETH.out.fasta,
8279
FASTA_INDEX_BISMARK_BWAMETH.out.fasta_index,
8380
FASTA_INDEX_BISMARK_BWAMETH.out.bismark_index,
8481
FASTA_INDEX_BISMARK_BWAMETH.out.bwameth_index,
8582
)
86-
ch_versions = ch_versions.mix(METHYLSEQ.out.versions)
8783

8884
emit:
8985
multiqc_report = METHYLSEQ.out.multiqc_report // channel: [ path(multiqc_report.html ) ]
90-
versions = ch_versions // channel: [ path(versions.yml) ]
9186

9287
}
9388
/*

modules/nf-core/bedtools/intersect/main.nf

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

modules/nf-core/bismark/align/main.nf

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

modules/nf-core/bismark/coverage2cytosine/main.nf

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

modules/nf-core/bismark/deduplicate/main.nf

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

modules/nf-core/bismark/genomepreparation/main.nf

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

modules/nf-core/bismark/methylationextractor/main.nf

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

modules/nf-core/bismark/report/main.nf

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

modules/nf-core/bismark/summary/main.nf

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

modules/nf-core/bwameth/align/main.nf

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)