Skip to content

Commit

Permalink
Use a topic channel for tool versions
Browse files Browse the repository at this point in the history
Signed-off-by: Ben Sherman <bentshermann@gmail.com>
  • Loading branch information
bentsherman committed Nov 14, 2023
1 parent f189c95 commit 18f6b75
Show file tree
Hide file tree
Showing 73 changed files with 59 additions and 222 deletions.
1 change: 1 addition & 0 deletions main.nf
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
*/

nextflow.enable.dsl = 2
nextflow.preview.topic = true

/*
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Expand Down
2 changes: 1 addition & 1 deletion modules/local/bedtools_genomecov/main.nf
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ process BEDTOOLS_GENOMECOV {
output:
tuple val(meta), path("*.forward.bedGraph"), emit: bedgraph_forward
tuple val(meta), path("*.reverse.bedGraph"), emit: bedgraph_reverse
path "versions.yml" , emit: versions
path "versions.yml" , topic: versions

when:
task.ext.when == null || task.ext.when
Expand Down
2 changes: 1 addition & 1 deletion modules/local/cat_additional_fasta/main.nf
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ process CAT_ADDITIONAL_FASTA {
output:
path "${name}.fasta", emit: fasta
path "${name}.gtf" , emit: gtf
path "versions.yml" , emit: versions
path "versions.yml" , topic: versions

when:
task.ext.when == null || task.ext.when
Expand Down
2 changes: 1 addition & 1 deletion modules/local/deseq2_qc/main.nf
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ process DESEQ2_QC {
path "*sample.dists_mqc.tsv", optional:true, emit: dists_multiqc
path "*.log" , optional:true, emit: log
path "size_factors" , optional:true, emit: size_factors
path "versions.yml" , emit: versions
path "versions.yml" , topic: versions

when:
task.ext.when == null || task.ext.when
Expand Down
2 changes: 1 addition & 1 deletion modules/local/dupradar/main.nf
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ process DUPRADAR {
tuple val(meta), path("*.pdf") , emit: pdf
tuple val(meta), path("*.txt") , emit: txt
tuple val(meta), path("*_mqc.txt"), emit: multiqc
path "versions.yml" , emit: versions
path "versions.yml" , topic: versions

when:
task.ext.when == null || task.ext.when
Expand Down
2 changes: 1 addition & 1 deletion modules/local/gtf2bed/main.nf
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ process GTF2BED {

output:
path '*.bed' , emit: bed
path "versions.yml", emit: versions
path "versions.yml", topic: versions

when:
task.ext.when == null || task.ext.when
Expand Down
2 changes: 1 addition & 1 deletion modules/local/gtf_gene_filter/main.nf
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ process GTF_GENE_FILTER {

output:
path "*.gtf" , emit: gtf
path "versions.yml", emit: versions
path "versions.yml", topic: versions

when:
task.ext.when == null || task.ext.when
Expand Down
2 changes: 1 addition & 1 deletion modules/local/multiqc_custom_biotype/main.nf
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ process MULTIQC_CUSTOM_BIOTYPE {

output:
tuple val(meta), path("*.tsv"), emit: tsv
path "versions.yml" , emit: versions
path "versions.yml" , topic: versions

when:
task.ext.when == null || task.ext.when
Expand Down
2 changes: 1 addition & 1 deletion modules/local/preprocess_transcripts_fasta_gencode/main.nf
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ process PREPROCESS_TRANSCRIPTS_FASTA_GENCODE {

output:
path "*.fa" , emit: fasta
path "versions.yml", emit: versions
path "versions.yml", topic: versions

when:
task.ext.when == null || task.ext.when
Expand Down
2 changes: 1 addition & 1 deletion modules/local/rsem_merge_counts/main.nf
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ process RSEM_MERGE_COUNTS {
path "rsem.merged.gene_tpm.tsv" , emit: tpm_gene
path "rsem.merged.transcript_counts.tsv", emit: counts_transcript
path "rsem.merged.transcript_tpm.tsv" , emit: tpm_transcript
path "versions.yml" , emit: versions
path "versions.yml" , topic: versions

when:
task.ext.when == null || task.ext.when
Expand Down
2 changes: 1 addition & 1 deletion modules/local/salmon_summarizedexperiment/main.nf
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ process SALMON_SUMMARIZEDEXPERIMENT {

output:
path "*.rds" , emit: rds
path "versions.yml", emit: versions
path "versions.yml", topic: versions

when:
task.ext.when == null || task.ext.when
Expand Down
2 changes: 1 addition & 1 deletion modules/local/salmon_tx2gene/main.nf
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ process SALMON_TX2GENE {

output:
path "*.tsv" , emit: tsv
path "versions.yml", emit: versions
path "versions.yml", topic: versions

when:
task.ext.when == null || task.ext.when
Expand Down
2 changes: 1 addition & 1 deletion modules/local/salmon_tximport/main.nf
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ process SALMON_TXIMPORT {
path "*gene_counts_scaled.tsv" , emit: counts_gene_scaled
path "*transcript_tpm.tsv" , emit: tpm_transcript
path "*transcript_counts.tsv" , emit: counts_transcript
path "versions.yml" , emit: versions
path "versions.yml" , topic: versions

when:
task.ext.when == null || task.ext.when
Expand Down
2 changes: 1 addition & 1 deletion modules/local/star_align_igenomes/main.nf
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ process STAR_ALIGN_IGENOMES {
tuple val(meta), path('*Log.final.out') , emit: log_final
tuple val(meta), path('*Log.out') , emit: log_out
tuple val(meta), path('*Log.progress.out'), emit: log_progress
path "versions.yml" , emit: versions
path "versions.yml" , topic: versions

tuple val(meta), path('*sortedByCoord.out.bam') , optional:true, emit: bam_sorted
tuple val(meta), path('*toTranscriptome.out.bam'), optional:true, emit: bam_transcript
Expand Down
2 changes: 1 addition & 1 deletion modules/local/star_genomegenerate_igenomes/main.nf
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ process STAR_GENOMEGENERATE_IGENOMES {

output:
path "star" , emit: index
path "versions.yml", emit: versions
path "versions.yml", topic: versions

when:
task.ext.when == null || task.ext.when
Expand Down
2 changes: 1 addition & 1 deletion modules/local/umitools_prepareforrsem/main.nf
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ process UMITOOLS_PREPAREFORRSEM {
output:
tuple val(meta), path('*.bam'), emit: bam
tuple val(meta), path('*.log'), emit: log
path "versions.yml" , emit: versions
path "versions.yml" , topic: versions

when:
task.ext.when == null || task.ext.when
Expand Down
2 changes: 1 addition & 1 deletion modules/nf-core/bbmap/bbsplit/main.nf

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion modules/nf-core/cat/fastq/main.nf

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion modules/nf-core/custom/getchromsizes/main.nf

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion modules/nf-core/fastp/main.nf

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion modules/nf-core/fastqc/main.nf

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion modules/nf-core/fq/subsample/main.nf

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion modules/nf-core/gffread/main.nf

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion modules/nf-core/gunzip/main.nf

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion modules/nf-core/hisat2/align/main.nf

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion modules/nf-core/hisat2/build/main.nf

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion modules/nf-core/hisat2/extractsplicesites/main.nf

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion modules/nf-core/picard/markduplicates/main.nf

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion modules/nf-core/preseq/lcextrap/main.nf

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion modules/nf-core/qualimap/rnaseq/main.nf

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion modules/nf-core/rsem/calculateexpression/main.nf

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion modules/nf-core/rsem/preparereference/main.nf

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion modules/nf-core/rseqc/bamstat/main.nf

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion modules/nf-core/rseqc/inferexperiment/main.nf

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion modules/nf-core/rseqc/innerdistance/main.nf

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion modules/nf-core/rseqc/junctionannotation/main.nf

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion modules/nf-core/rseqc/junctionsaturation/main.nf

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion modules/nf-core/rseqc/readdistribution/main.nf

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion modules/nf-core/rseqc/readduplication/main.nf

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion modules/nf-core/rseqc/tin/main.nf

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion modules/nf-core/salmon/index/main.nf

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion modules/nf-core/salmon/quant/main.nf

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion modules/nf-core/samtools/flagstat/main.nf

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion modules/nf-core/samtools/idxstats/main.nf

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 18f6b75

Please sign in to comment.