Add when: block (#1261)

This commit is contained in:
Mahesh Binzer-Panchal 2022-02-04 09:53:32 +01:00 committed by GitHub
parent e687c7025a
commit e20e57f90b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
386 changed files with 1158 additions and 0 deletions

View file

@ -15,6 +15,9 @@ process ABACAS {
tuple val(meta), path('*.abacas*'), emit: results tuple val(meta), path('*.abacas*'), emit: results
path "versions.yml" , emit: versions path "versions.yml" , emit: versions
when:
task.ext.when == null || task.ext.when
script: script:
def args = task.ext.args ?: '' def args = task.ext.args ?: ''
def prefix = task.ext.prefix ?: "${meta.id}" def prefix = task.ext.prefix ?: "${meta.id}"

View file

@ -15,6 +15,9 @@ process ADAPTERREMOVAL {
tuple val(meta), path('*.log') , emit: log tuple val(meta), path('*.log') , emit: log
path "versions.yml" , emit: versions path "versions.yml" , emit: versions
when:
task.ext.when == null || task.ext.when
script: script:
def args = task.ext.args ?: '' def args = task.ext.args ?: ''
def prefix = task.ext.prefix ?: "${meta.id}" def prefix = task.ext.prefix ?: "${meta.id}"

View file

@ -15,6 +15,9 @@ process AGRVATE {
path "${fasta.baseName}-results" , emit: results_dir path "${fasta.baseName}-results" , emit: results_dir
path "versions.yml" , emit: versions path "versions.yml" , emit: versions
when:
task.ext.when == null || task.ext.when
script: script:
def args = task.ext.args ?: '' def args = task.ext.args ?: ''
def prefix = task.ext.prefix ?: "${meta.id}" def prefix = task.ext.prefix ?: "${meta.id}"

View file

@ -16,6 +16,9 @@ process ALLELECOUNTER {
tuple val(meta), path("*.alleleCount"), emit: allelecount tuple val(meta), path("*.alleleCount"), emit: allelecount
path "versions.yml" , emit: versions path "versions.yml" , emit: versions
when:
task.ext.when == null || task.ext.when
script: script:
def args = task.ext.args ?: '' def args = task.ext.args ?: ''
def prefix = task.ext.prefix ?: "${meta.id}" def prefix = task.ext.prefix ?: "${meta.id}"

View file

@ -18,6 +18,9 @@ process AMPS {
path "results/pdf_candidate_profiles/" , emit: candidate_pdfs path "results/pdf_candidate_profiles/" , emit: candidate_pdfs
path "versions.yml" , emit: versions path "versions.yml" , emit: versions
when:
task.ext.when == null || task.ext.when
script: script:
def args = task.ext.args ?: '' def args = task.ext.args ?: ''
""" """

View file

@ -17,6 +17,9 @@ process ARRIBA {
tuple val(meta), path("*.fusions.discarded.tsv"), emit: fusions_fail tuple val(meta), path("*.fusions.discarded.tsv"), emit: fusions_fail
path "versions.yml" , emit: versions path "versions.yml" , emit: versions
when:
task.ext.when == null || task.ext.when
script: script:
def args = task.ext.args ?: '' def args = task.ext.args ?: ''
def prefix = task.ext.prefix ?: "${meta.id}" def prefix = task.ext.prefix ?: "${meta.id}"

View file

@ -14,6 +14,9 @@ process ARTIC_GUPPYPLEX {
tuple val(meta), path("*.fastq.gz"), emit: fastq tuple val(meta), path("*.fastq.gz"), emit: fastq
path "versions.yml" , emit: versions path "versions.yml" , emit: versions
when:
task.ext.when == null || task.ext.when
script: script:
def args = task.ext.args ?: '' def args = task.ext.args ?: ''
def prefix = task.ext.prefix ?: "${meta.id}" def prefix = task.ext.prefix ?: "${meta.id}"

View file

@ -31,6 +31,9 @@ process ARTIC_MINION {
tuple val(meta), path("*.json"), optional:true , emit: json tuple val(meta), path("*.json"), optional:true , emit: json
path "versions.yml" , emit: versions path "versions.yml" , emit: versions
when:
task.ext.when == null || task.ext.when
script: script:
def args = task.ext.args ?: '' def args = task.ext.args ?: ''
prefix = task.ext.prefix ?: "${meta.id}" prefix = task.ext.prefix ?: "${meta.id}"

View file

@ -14,6 +14,9 @@ process ASSEMBLYSCAN {
tuple val(meta), path("*.json"), emit: json tuple val(meta), path("*.json"), emit: json
path "versions.yml" , emit: versions path "versions.yml" , emit: versions
when:
task.ext.when == null || task.ext.when
script: script:
def args = task.ext.args ?: '' def args = task.ext.args ?: ''
def prefix = task.ext.prefix ?: "${meta.id}" def prefix = task.ext.prefix ?: "${meta.id}"

View file

@ -19,6 +19,9 @@ process ATAQV_ATAQV {
tuple val(meta), path("*.problems") , emit: problems, optional: true tuple val(meta), path("*.problems") , emit: problems, optional: true
path "versions.yml" , emit: versions path "versions.yml" , emit: versions
when:
task.ext.when == null || task.ext.when
script: script:
def args = task.ext.args ?: '' def args = task.ext.args ?: ''
def prefix = task.ext.prefix ?: "${meta.id}" def prefix = task.ext.prefix ?: "${meta.id}"

View file

@ -25,6 +25,9 @@ process BAKTA {
tuple val(meta), path("${prefix}.tsv") , emit: tsv tuple val(meta), path("${prefix}.tsv") , emit: tsv
path "versions.yml" , emit: versions path "versions.yml" , emit: versions
when:
task.ext.when == null || task.ext.when
script: script:
def args = task.ext.args ?: '' def args = task.ext.args ?: ''
prefix = task.ext.prefix ?: "${meta.id}" prefix = task.ext.prefix ?: "${meta.id}"

View file

@ -14,6 +14,9 @@ process BAMALIGNCLEANER {
tuple val(meta), path("*.bam"), emit: bam tuple val(meta), path("*.bam"), emit: bam
path "versions.yml" , emit: versions path "versions.yml" , emit: versions
when:
task.ext.when == null || task.ext.when
script: script:
def args = task.ext.args ?: '' def args = task.ext.args ?: ''
def prefix = task.ext.prefix ?: "${meta.id}" def prefix = task.ext.prefix ?: "${meta.id}"

View file

@ -15,6 +15,9 @@ process BAMCMP {
tuple val(meta), path("*contamination.bam"), emit: contamination_bam tuple val(meta), path("*contamination.bam"), emit: contamination_bam
path "versions.yml" , emit: versions path "versions.yml" , emit: versions
when:
task.ext.when == null || task.ext.when
script: script:
def args = task.ext.args ?: '' def args = task.ext.args ?: ''
def prefix = task.ext.prefix ?: "${meta.id}" def prefix = task.ext.prefix ?: "${meta.id}"

View file

@ -14,6 +14,9 @@ process BAMTOOLS_CONVERT {
tuple val(meta), path("*.{bed,fasta,fastq,json,pileup,sam,yaml}"), emit: data tuple val(meta), path("*.{bed,fasta,fastq,json,pileup,sam,yaml}"), emit: data
path "versions.yml" , emit: versions path "versions.yml" , emit: versions
when:
task.ext.when == null || task.ext.when
script: script:
def args = task.ext.args ?: '' def args = task.ext.args ?: ''
def prefix = task.ext.prefix ?: "${meta.id}" def prefix = task.ext.prefix ?: "${meta.id}"

View file

@ -14,6 +14,9 @@ process BAMTOOLS_SPLIT {
tuple val(meta), path("*.bam"), emit: bam tuple val(meta), path("*.bam"), emit: bam
path "versions.yml" , emit: versions path "versions.yml" , emit: versions
when:
task.ext.when == null || task.ext.when
script: script:
def args = task.ext.args ?: '' def args = task.ext.args ?: ''
def prefix = task.ext.prefix ?: "${meta.id}" def prefix = task.ext.prefix ?: "${meta.id}"

View file

@ -14,6 +14,9 @@ process BAMUTIL_TRIMBAM {
tuple val(meta), path("*.bam"), emit: bam tuple val(meta), path("*.bam"), emit: bam
path "versions.yml" , emit: versions path "versions.yml" , emit: versions
when:
task.ext.when == null || task.ext.when
script: script:
def args = task.ext.args ?: '' def args = task.ext.args ?: ''
def prefix = task.ext.prefix ?: "${meta.id}" def prefix = task.ext.prefix ?: "${meta.id}"

View file

@ -15,6 +15,9 @@ process BANDAGE_IMAGE {
tuple val(meta), path('*.svg'), emit: svg tuple val(meta), path('*.svg'), emit: svg
path "versions.yml" , emit: versions path "versions.yml" , emit: versions
when:
task.ext.when == null || task.ext.when
script: script:
def args = task.ext.args ?: '' def args = task.ext.args ?: ''
def prefix = task.ext.prefix ?: "${meta.id}" def prefix = task.ext.prefix ?: "${meta.id}"

View file

@ -16,6 +16,9 @@ process BBMAP_ALIGN {
tuple val(meta), path("*.log"), emit: log tuple val(meta), path("*.log"), emit: log
path "versions.yml" , emit: versions path "versions.yml" , emit: versions
when:
task.ext.when == null || task.ext.when
script: script:
def args = task.ext.args ?: '' def args = task.ext.args ?: ''
def prefix = task.ext.prefix ?: "${meta.id}" def prefix = task.ext.prefix ?: "${meta.id}"

View file

@ -16,6 +16,9 @@ process BBMAP_BBDUK {
tuple val(meta), path('*.log') , emit: log tuple val(meta), path('*.log') , emit: log
path "versions.yml" , emit: versions path "versions.yml" , emit: versions
when:
task.ext.when == null || task.ext.when
script: script:
def args = task.ext.args ?: '' def args = task.ext.args ?: ''
def prefix = task.ext.prefix ?: "${meta.id}" def prefix = task.ext.prefix ?: "${meta.id}"

View file

@ -20,6 +20,9 @@ process BBMAP_BBSPLIT {
tuple val(meta), path('*txt') , optional:true, emit: stats tuple val(meta), path('*txt') , optional:true, emit: stats
path "versions.yml" , emit: versions path "versions.yml" , emit: versions
when:
task.ext.when == null || task.ext.when
script: script:
def args = task.ext.args ?: '' def args = task.ext.args ?: ''
def prefix = task.ext.prefix ?: "${meta.id}" def prefix = task.ext.prefix ?: "${meta.id}"

View file

@ -14,6 +14,9 @@ process BBMAP_INDEX {
path 'ref' , emit: index path 'ref' , emit: index
path "versions.yml" , emit: versions path "versions.yml" , emit: versions
when:
task.ext.when == null || task.ext.when
script: script:
def args = task.ext.args ?: '' def args = task.ext.args ?: ''
""" """

View file

@ -14,6 +14,9 @@ process BCFTOOLS_CONCAT {
tuple val(meta), path("*.gz"), emit: vcf tuple val(meta), path("*.gz"), emit: vcf
path "versions.yml" , emit: versions path "versions.yml" , emit: versions
when:
task.ext.when == null || task.ext.when
script: script:
def args = task.ext.args ?: '' def args = task.ext.args ?: ''
prefix = task.ext.prefix ?: "${meta.id}" prefix = task.ext.prefix ?: "${meta.id}"

View file

@ -14,6 +14,9 @@ process BCFTOOLS_CONSENSUS {
tuple val(meta), path('*.fa'), emit: fasta tuple val(meta), path('*.fa'), emit: fasta
path "versions.yml" , emit: versions path "versions.yml" , emit: versions
when:
task.ext.when == null || task.ext.when
script: script:
def args = task.ext.args ?: '' def args = task.ext.args ?: ''
def prefix = task.ext.prefix ?: "${meta.id}" def prefix = task.ext.prefix ?: "${meta.id}"

View file

@ -14,6 +14,9 @@ process BCFTOOLS_FILTER {
tuple val(meta), path("*.gz"), emit: vcf tuple val(meta), path("*.gz"), emit: vcf
path "versions.yml" , emit: versions path "versions.yml" , emit: versions
when:
task.ext.when == null || task.ext.when
script: script:
def args = task.ext.args ?: '' def args = task.ext.args ?: ''
def prefix = task.ext.prefix ?: "${meta.id}" def prefix = task.ext.prefix ?: "${meta.id}"

View file

@ -15,6 +15,9 @@ process BCFTOOLS_INDEX {
tuple val(meta), path("*.tbi"), optional:true, emit: tbi tuple val(meta), path("*.tbi"), optional:true, emit: tbi
path "versions.yml" , emit: versions path "versions.yml" , emit: versions
when:
task.ext.when == null || task.ext.when
script: script:
def args = task.ext.args ?: '' def args = task.ext.args ?: ''
def prefix = task.ext.prefix ?: "${meta.id}" def prefix = task.ext.prefix ?: "${meta.id}"

View file

@ -14,6 +14,9 @@ process BCFTOOLS_ISEC {
tuple val(meta), path("${prefix}"), emit: results tuple val(meta), path("${prefix}"), emit: results
path "versions.yml" , emit: versions path "versions.yml" , emit: versions
when:
task.ext.when == null || task.ext.when
script: script:
def args = task.ext.args ?: '' def args = task.ext.args ?: ''
prefix = task.ext.prefix ?: "${meta.id}" prefix = task.ext.prefix ?: "${meta.id}"

View file

@ -14,6 +14,9 @@ process BCFTOOLS_MERGE {
tuple val(meta), path("*.gz"), emit: vcf tuple val(meta), path("*.gz"), emit: vcf
path "versions.yml" , emit: versions path "versions.yml" , emit: versions
when:
task.ext.when == null || task.ext.when
script: script:
def args = task.ext.args ?: '' def args = task.ext.args ?: ''
prefix = task.ext.prefix ?: "${meta.id}" prefix = task.ext.prefix ?: "${meta.id}"

View file

@ -19,6 +19,9 @@ process BCFTOOLS_MPILEUP {
tuple val(meta), path("*.mpileup") , emit: mpileup, optional: true tuple val(meta), path("*.mpileup") , emit: mpileup, optional: true
path "versions.yml" , emit: versions path "versions.yml" , emit: versions
when:
task.ext.when == null || task.ext.when
script: script:
def args = task.ext.args ?: '' def args = task.ext.args ?: ''
def args2 = task.ext.args2 ?: '' def args2 = task.ext.args2 ?: ''

View file

@ -15,6 +15,9 @@ process BCFTOOLS_NORM {
tuple val(meta), path("*.gz") , emit: vcf tuple val(meta), path("*.gz") , emit: vcf
path "versions.yml" , emit: versions path "versions.yml" , emit: versions
when:
task.ext.when == null || task.ext.when
script: script:
def args = task.ext.args ?: '' def args = task.ext.args ?: ''
def prefix = task.ext.prefix ?: "${meta.id}" def prefix = task.ext.prefix ?: "${meta.id}"

View file

@ -17,6 +17,9 @@ process BCFTOOLS_QUERY {
tuple val(meta), path("*.txt"), emit: txt tuple val(meta), path("*.txt"), emit: txt
path "versions.yml" , emit: versions path "versions.yml" , emit: versions
when:
task.ext.when == null || task.ext.when
script: script:
def args = task.ext.args ?: '' def args = task.ext.args ?: ''
def prefix = task.ext.prefix ?: "${meta.id}" def prefix = task.ext.prefix ?: "${meta.id}"

View file

@ -16,6 +16,9 @@ process BCFTOOLS_REHEADER {
tuple val(meta), path("*.vcf.gz"), emit: vcf tuple val(meta), path("*.vcf.gz"), emit: vcf
path "versions.yml" , emit: versions path "versions.yml" , emit: versions
when:
task.ext.when == null || task.ext.when
script: script:
def args = task.ext.args ?: '' def args = task.ext.args ?: ''
def prefix = task.ext.prefix ?: "${meta.id}" def prefix = task.ext.prefix ?: "${meta.id}"

View file

@ -14,6 +14,9 @@ process BCFTOOLS_SORT {
tuple val(meta), path("*.gz"), emit: vcf tuple val(meta), path("*.gz"), emit: vcf
path "versions.yml" , emit: versions path "versions.yml" , emit: versions
when:
task.ext.when == null || task.ext.when
script: script:
def args = task.ext.args ?: '' def args = task.ext.args ?: ''
def prefix = task.ext.prefix ?: "${meta.id}" def prefix = task.ext.prefix ?: "${meta.id}"

View file

@ -14,6 +14,9 @@ process BCFTOOLS_STATS {
tuple val(meta), path("*stats.txt"), emit: stats tuple val(meta), path("*stats.txt"), emit: stats
path "versions.yml" , emit: versions path "versions.yml" , emit: versions
when:
task.ext.when == null || task.ext.when
script: script:
def args = task.ext.args ?: '' def args = task.ext.args ?: ''
def prefix = task.ext.prefix ?: "${meta.id}" def prefix = task.ext.prefix ?: "${meta.id}"

View file

@ -17,6 +17,9 @@ process BCFTOOLS_VIEW {
tuple val(meta), path("*.gz") , emit: vcf tuple val(meta), path("*.gz") , emit: vcf
path "versions.yml" , emit: versions path "versions.yml" , emit: versions
when:
task.ext.when == null || task.ext.when
script: script:
def args = task.ext.args ?: '' def args = task.ext.args ?: ''
def prefix = task.ext.prefix ?: "${meta.id}" def prefix = task.ext.prefix ?: "${meta.id}"

View file

@ -14,6 +14,9 @@ process BEDTOOLS_BAMTOBED {
tuple val(meta), path("*.bed"), emit: bed tuple val(meta), path("*.bed"), emit: bed
path "versions.yml" , emit: versions path "versions.yml" , emit: versions
when:
task.ext.when == null || task.ext.when
script: script:
def args = task.ext.args ?: '' def args = task.ext.args ?: ''
def prefix = task.ext.prefix ?: "${meta.id}" def prefix = task.ext.prefix ?: "${meta.id}"

View file

@ -15,6 +15,9 @@ process BEDTOOLS_COMPLEMENT {
tuple val(meta), path('*.bed'), emit: bed tuple val(meta), path('*.bed'), emit: bed
path "versions.yml" , emit: versions path "versions.yml" , emit: versions
when:
task.ext.when == null || task.ext.when
script: script:
def args = task.ext.args ?: '' def args = task.ext.args ?: ''
def prefix = task.ext.prefix ?: "${meta.id}" def prefix = task.ext.prefix ?: "${meta.id}"

View file

@ -16,6 +16,9 @@ process BEDTOOLS_GENOMECOV {
tuple val(meta), path("*.${extension}"), emit: genomecov tuple val(meta), path("*.${extension}"), emit: genomecov
path "versions.yml" , emit: versions path "versions.yml" , emit: versions
when:
task.ext.when == null || task.ext.when
script: script:
def args = task.ext.args ?: '' def args = task.ext.args ?: ''
def args_list = args.tokenize() def args_list = args.tokenize()

View file

@ -15,6 +15,9 @@ process BEDTOOLS_GETFASTA {
path "*.fa" , emit: fasta path "*.fa" , emit: fasta
path "versions.yml" , emit: versions path "versions.yml" , emit: versions
when:
task.ext.when == null || task.ext.when
script: script:
def args = task.ext.args ?: '' def args = task.ext.args ?: ''
def prefix = task.ext.prefix ?: "${bed.baseName}" def prefix = task.ext.prefix ?: "${bed.baseName}"

View file

@ -15,6 +15,9 @@ process BEDTOOLS_INTERSECT {
tuple val(meta), path("*.${extension}"), emit: intersect tuple val(meta), path("*.${extension}"), emit: intersect
path "versions.yml" , emit: versions path "versions.yml" , emit: versions
when:
task.ext.when == null || task.ext.when
script: script:
def args = task.ext.args ?: '' def args = task.ext.args ?: ''
def prefix = task.ext.prefix ?: "${meta.id}" def prefix = task.ext.prefix ?: "${meta.id}"

View file

@ -15,6 +15,9 @@ process BEDTOOLS_MAKEWINDOWS {
tuple val(meta), path("*.tab"), emit: tab tuple val(meta), path("*.tab"), emit: tab
path "versions.yml" , emit: versions path "versions.yml" , emit: versions
when:
task.ext.when == null || task.ext.when
script: script:
def args = task.ext.args ?: '' def args = task.ext.args ?: ''
def prefix = task.ext.prefix ?: "${meta.id}" def prefix = task.ext.prefix ?: "${meta.id}"

View file

@ -15,6 +15,9 @@ process BEDTOOLS_MASKFASTA {
tuple val(meta), path("*.fa"), emit: fasta tuple val(meta), path("*.fa"), emit: fasta
path "versions.yml" , emit: versions path "versions.yml" , emit: versions
when:
task.ext.when == null || task.ext.when
script: script:
def args = task.ext.args ?: '' def args = task.ext.args ?: ''
def prefix = task.ext.prefix ?: "${meta.id}" def prefix = task.ext.prefix ?: "${meta.id}"

View file

@ -14,6 +14,9 @@ process BEDTOOLS_MERGE {
tuple val(meta), path('*.bed'), emit: bed tuple val(meta), path('*.bed'), emit: bed
path "versions.yml" , emit: versions path "versions.yml" , emit: versions
when:
task.ext.when == null || task.ext.when
script: script:
def args = task.ext.args ?: '' def args = task.ext.args ?: ''
def prefix = task.ext.prefix ?: "${meta.id}" def prefix = task.ext.prefix ?: "${meta.id}"

View file

@ -15,6 +15,9 @@ process BEDTOOLS_SLOP {
tuple val(meta), path("*.bed"), emit: bed tuple val(meta), path("*.bed"), emit: bed
path "versions.yml" , emit: versions path "versions.yml" , emit: versions
when:
task.ext.when == null || task.ext.when
script: script:
def args = task.ext.args ?: '' def args = task.ext.args ?: ''
def prefix = task.ext.prefix ?: "${meta.id}" def prefix = task.ext.prefix ?: "${meta.id}"

View file

@ -15,6 +15,9 @@ process BEDTOOLS_SORT {
tuple val(meta), path("*.${extension}"), emit: sorted tuple val(meta), path("*.${extension}"), emit: sorted
path "versions.yml" , emit: versions path "versions.yml" , emit: versions
when:
task.ext.when == null || task.ext.when
script: script:
def args = task.ext.args ?: '' def args = task.ext.args ?: ''
def prefix = task.ext.prefix ?: "${meta.id}" def prefix = task.ext.prefix ?: "${meta.id}"

View file

@ -14,6 +14,9 @@ process BEDTOOLS_SUBTRACT {
tuple val(meta), path("*.bed"), emit: bed tuple val(meta), path("*.bed"), emit: bed
path "versions.yml" , emit: versions path "versions.yml" , emit: versions
when:
task.ext.when == null || task.ext.when
script: script:
def args = task.ext.args ?: '' def args = task.ext.args ?: ''
def prefix = task.ext.prefix ?: "${meta.id}" def prefix = task.ext.prefix ?: "${meta.id}"

View file

@ -17,6 +17,9 @@ process BISMARK_ALIGN {
tuple val(meta), path("*fq.gz") , optional:true, emit: unmapped tuple val(meta), path("*fq.gz") , optional:true, emit: unmapped
path "versions.yml" , emit: versions path "versions.yml" , emit: versions
when:
task.ext.when == null || task.ext.when
script: script:
def args = task.ext.args ?: '' def args = task.ext.args ?: ''
def prefix = task.ext.prefix ?: "${meta.id}" def prefix = task.ext.prefix ?: "${meta.id}"

View file

@ -15,6 +15,9 @@ process BISMARK_DEDUPLICATE {
tuple val(meta), path("*.deduplication_report.txt"), emit: report tuple val(meta), path("*.deduplication_report.txt"), emit: report
path "versions.yml" , emit: versions path "versions.yml" , emit: versions
when:
task.ext.when == null || task.ext.when
script: script:
def args = task.ext.args ?: '' def args = task.ext.args ?: ''
def prefix = task.ext.prefix ?: "${meta.id}" def prefix = task.ext.prefix ?: "${meta.id}"

View file

@ -14,6 +14,9 @@ process BISMARK_GENOMEPREPARATION {
path "BismarkIndex" , emit: index path "BismarkIndex" , emit: index
path "versions.yml" , emit: versions path "versions.yml" , emit: versions
when:
task.ext.when == null || task.ext.when
script: script:
def args = task.ext.args ?: '' def args = task.ext.args ?: ''
""" """

View file

@ -19,6 +19,9 @@ process BISMARK_METHYLATIONEXTRACTOR {
tuple val(meta), path("*.M-bias.txt") , emit: mbias tuple val(meta), path("*.M-bias.txt") , emit: mbias
path "versions.yml" , emit: versions path "versions.yml" , emit: versions
when:
task.ext.when == null || task.ext.when
script: script:
def args = task.ext.args ?: '' def args = task.ext.args ?: ''
def seqtype = meta.single_end ? '-s' : '-p' def seqtype = meta.single_end ? '-s' : '-p'

View file

@ -14,6 +14,9 @@ process BISMARK_REPORT {
tuple val(meta), path("*report.{html,txt}"), emit: report tuple val(meta), path("*report.{html,txt}"), emit: report
path "versions.yml" , emit: versions path "versions.yml" , emit: versions
when:
task.ext.when == null || task.ext.when
script: script:
def args = task.ext.args ?: '' def args = task.ext.args ?: ''
""" """

View file

@ -17,6 +17,9 @@ process BISMARK_SUMMARY {
path "*report.{html,txt}", emit: summary path "*report.{html,txt}", emit: summary
path "versions.yml" , emit: versions path "versions.yml" , emit: versions
when:
task.ext.when == null || task.ext.when
script: script:
def args = task.ext.args ?: '' def args = task.ext.args ?: ''
""" """

View file

@ -15,6 +15,9 @@ process BLAST_BLASTN {
tuple val(meta), path('*.blastn.txt'), emit: txt tuple val(meta), path('*.blastn.txt'), emit: txt
path "versions.yml" , emit: versions path "versions.yml" , emit: versions
when:
task.ext.when == null || task.ext.when
script: script:
def args = task.ext.args ?: '' def args = task.ext.args ?: ''
def prefix = task.ext.prefix ?: "${meta.id}" def prefix = task.ext.prefix ?: "${meta.id}"

View file

@ -14,6 +14,9 @@ process BLAST_MAKEBLASTDB {
path 'blast_db' , emit: db path 'blast_db' , emit: db
path "versions.yml" , emit: versions path "versions.yml" , emit: versions
when:
task.ext.when == null || task.ext.when
script: script:
def args = task.ext.args ?: '' def args = task.ext.args ?: ''
""" """

View file

@ -17,6 +17,9 @@ process BOWTIE_ALIGN {
path "versions.yml" , emit: versions path "versions.yml" , emit: versions
tuple val(meta), path('*fastq.gz'), optional:true, emit: fastq tuple val(meta), path('*fastq.gz'), optional:true, emit: fastq
when:
task.ext.when == null || task.ext.when
script: script:
def args = task.ext.args ?: '' def args = task.ext.args ?: ''
def args2 = task.ext.args2 ?: '' def args2 = task.ext.args2 ?: ''

View file

@ -14,6 +14,9 @@ process BOWTIE_BUILD {
path 'bowtie' , emit: index path 'bowtie' , emit: index
path "versions.yml" , emit: versions path "versions.yml" , emit: versions
when:
task.ext.when == null || task.ext.when
script: script:
def args = task.ext.args ?: '' def args = task.ext.args ?: ''
""" """

View file

@ -18,6 +18,9 @@ process BOWTIE2_ALIGN {
tuple val(meta), path('*fastq.gz'), emit: fastq, optional:true tuple val(meta), path('*fastq.gz'), emit: fastq, optional:true
path "versions.yml" , emit: versions path "versions.yml" , emit: versions
when:
task.ext.when == null || task.ext.when
script: script:
def args = task.ext.args ?: '' def args = task.ext.args ?: ''
def args2 = task.ext.args2 ?: '' def args2 = task.ext.args2 ?: ''

View file

@ -14,6 +14,9 @@ process BOWTIE2_BUILD {
path 'bowtie2' , emit: index path 'bowtie2' , emit: index
path "versions.yml" , emit: versions path "versions.yml" , emit: versions
when:
task.ext.when == null || task.ext.when
script: script:
def args = task.ext.args ?: '' def args = task.ext.args ?: ''
""" """

View file

@ -15,6 +15,9 @@ process BWA_ALN {
tuple val(meta), path("*.sai"), emit: sai tuple val(meta), path("*.sai"), emit: sai
path "versions.yml" , emit: versions path "versions.yml" , emit: versions
when:
task.ext.when == null || task.ext.when
script: script:
def args = task.ext.args ?: '' def args = task.ext.args ?: ''
def prefix = task.ext.prefix ?: "${meta.id}" def prefix = task.ext.prefix ?: "${meta.id}"

View file

@ -14,6 +14,9 @@ process BWA_INDEX {
path "bwa" , emit: index path "bwa" , emit: index
path "versions.yml", emit: versions path "versions.yml", emit: versions
when:
task.ext.when == null || task.ext.when
script: script:
def args = task.ext.args ?: '' def args = task.ext.args ?: ''
""" """

View file

@ -16,6 +16,9 @@ process BWA_MEM {
tuple val(meta), path("*.bam"), emit: bam tuple val(meta), path("*.bam"), emit: bam
path "versions.yml" , emit: versions path "versions.yml" , emit: versions
when:
task.ext.when == null || task.ext.when
script: script:
def args = task.ext.args ?: '' def args = task.ext.args ?: ''
def args2 = task.ext.args2 ?: '' def args2 = task.ext.args2 ?: ''

View file

@ -15,6 +15,9 @@ process BWA_SAMPE {
tuple val(meta), path("*.bam"), emit: bam tuple val(meta), path("*.bam"), emit: bam
path "versions.yml" , emit: versions path "versions.yml" , emit: versions
when:
task.ext.when == null || task.ext.when
script: script:
def args = task.ext.args ?: '' def args = task.ext.args ?: ''
def prefix = task.ext.prefix ?: "${meta.id}" def prefix = task.ext.prefix ?: "${meta.id}"

View file

@ -15,6 +15,9 @@ process BWA_SAMSE {
tuple val(meta), path("*.bam"), emit: bam tuple val(meta), path("*.bam"), emit: bam
path "versions.yml" , emit: versions path "versions.yml" , emit: versions
when:
task.ext.when == null || task.ext.when
script: script:
def args = task.ext.args ?: '' def args = task.ext.args ?: ''
def prefix = task.ext.prefix ?: "${meta.id}" def prefix = task.ext.prefix ?: "${meta.id}"

View file

@ -14,6 +14,9 @@ process BWAMEM2_INDEX {
path "bwamem2" , emit: index path "bwamem2" , emit: index
path "versions.yml" , emit: versions path "versions.yml" , emit: versions
when:
task.ext.when == null || task.ext.when
script: script:
def args = task.ext.args ?: '' def args = task.ext.args ?: ''
""" """

View file

@ -16,6 +16,9 @@ process BWAMEM2_MEM {
tuple val(meta), path("*.bam"), emit: bam tuple val(meta), path("*.bam"), emit: bam
path "versions.yml" , emit: versions path "versions.yml" , emit: versions
when:
task.ext.when == null || task.ext.when
script: script:
def args = task.ext.args ?: '' def args = task.ext.args ?: ''
def args2 = task.ext.args2 ?: '' def args2 = task.ext.args2 ?: ''

View file

@ -15,6 +15,9 @@ process BWAMETH_ALIGN {
tuple val(meta), path("*.bam"), emit: bam tuple val(meta), path("*.bam"), emit: bam
path "versions.yml" , emit: versions path "versions.yml" , emit: versions
when:
task.ext.when == null || task.ext.when
script: script:
def args = task.ext.args ?: '' def args = task.ext.args ?: ''
def args2 = task.ext.args2 ?: '' def args2 = task.ext.args2 ?: ''

View file

@ -14,6 +14,9 @@ process BWAMETH_INDEX {
path "bwameth" , emit: index path "bwameth" , emit: index
path "versions.yml" , emit: versions path "versions.yml" , emit: versions
when:
task.ext.when == null || task.ext.when
script: script:
def args = task.ext.args ?: '' def args = task.ext.args ?: ''
""" """

View file

@ -14,6 +14,9 @@ process CAT_CAT {
path "${file_out}*" , emit: file_out path "${file_out}*" , emit: file_out
path "versions.yml" , emit: versions path "versions.yml" , emit: versions
when:
task.ext.when == null || task.ext.when
script: script:
def args = task.ext.args ?: '' def args = task.ext.args ?: ''
def args2 = task.ext.args2 ?: '' def args2 = task.ext.args2 ?: ''

View file

@ -14,6 +14,9 @@ process CAT_FASTQ {
tuple val(meta), path("*.merged.fastq.gz"), emit: reads tuple val(meta), path("*.merged.fastq.gz"), emit: reads
path "versions.yml" , emit: versions path "versions.yml" , emit: versions
when:
task.ext.when == null || task.ext.when
script: script:
def args = task.ext.args ?: '' def args = task.ext.args ?: ''
def prefix = task.ext.prefix ?: "${meta.id}" def prefix = task.ext.prefix ?: "${meta.id}"

View file

@ -15,6 +15,9 @@ process CELLRANGER_COUNT {
path("sample-${meta.gem}/outs/*"), emit: outs path("sample-${meta.gem}/outs/*"), emit: outs
path "versions.yml" , emit: versions path "versions.yml" , emit: versions
when:
task.ext.when == null || task.ext.when
script: script:
def args = task.ext.args ?: '' def args = task.ext.args ?: ''
def sample_arg = meta.samples.unique().join(",") def sample_arg = meta.samples.unique().join(",")

View file

@ -15,6 +15,9 @@ process CELLRANGER_MKFASTQ {
path "versions.yml", emit: versions path "versions.yml", emit: versions
path "${bcl.getSimpleName()}/outs/fastq_path/*.fastq.gz" , emit: fastq path "${bcl.getSimpleName()}/outs/fastq_path/*.fastq.gz" , emit: fastq
when:
task.ext.when == null || task.ext.when
script: script:
def args = task.ext.args ?: '' def args = task.ext.args ?: ''
""" """

View file

@ -14,6 +14,9 @@ process CELLRANGER_MKGTF {
path "*.filtered.gtf", emit: gtf path "*.filtered.gtf", emit: gtf
path "versions.yml" , emit: versions path "versions.yml" , emit: versions
when:
task.ext.when == null || task.ext.when
script: script:
def args = task.ext.args ?: '' def args = task.ext.args ?: ''
""" """

View file

@ -16,6 +16,9 @@ process CELLRANGER_MKREF {
path "${reference_name}", emit: reference path "${reference_name}", emit: reference
path "versions.yml" , emit: versions path "versions.yml" , emit: versions
when:
task.ext.when == null || task.ext.when
script: script:
def args = task.ext.args ?: '' def args = task.ext.args ?: ''
""" """

View file

@ -16,6 +16,9 @@ process CHECKM_LINEAGEWF {
tuple val(meta), path("${prefix}.tsv"), emit: checkm_tsv tuple val(meta), path("${prefix}.tsv"), emit: checkm_tsv
path "versions.yml" , emit: versions path "versions.yml" , emit: versions
when:
task.ext.when == null || task.ext.when
script: script:
def args = task.ext.args ?: '' def args = task.ext.args ?: ''
prefix = task.ext.prefix ?: "${meta.id}" prefix = task.ext.prefix ?: "${meta.id}"

View file

@ -23,6 +23,9 @@ process CHROMAP_CHROMAP {
tuple val(meta), path("*.pairs.gz") , optional:true, emit: pairs tuple val(meta), path("*.pairs.gz") , optional:true, emit: pairs
path "versions.yml" , emit: versions path "versions.yml" , emit: versions
when:
task.ext.when == null || task.ext.when
script: script:
def args = task.ext.args ?: '' def args = task.ext.args ?: ''
def args2 = task.ext.args2 ?: '' def args2 = task.ext.args2 ?: ''

View file

@ -15,6 +15,9 @@ process CHROMAP_INDEX {
path "*.index" , emit: index path "*.index" , emit: index
path "versions.yml", emit: versions path "versions.yml", emit: versions
when:
task.ext.when == null || task.ext.when
script: script:
def args = task.ext.args ?: '' def args = task.ext.args ?: ''
def prefix = fasta.baseName def prefix = fasta.baseName

View file

@ -19,6 +19,9 @@ process CLONALFRAMEML {
tuple val(meta), path("*.position_cross_reference.txt"), emit: pos_ref tuple val(meta), path("*.position_cross_reference.txt"), emit: pos_ref
path "versions.yml" , emit: versions path "versions.yml" , emit: versions
when:
task.ext.when == null || task.ext.when
script: script:
def args = task.ext.args ?: '' def args = task.ext.args ?: ''
def prefix = task.ext.prefix ?: "${meta.id}" def prefix = task.ext.prefix ?: "${meta.id}"

View file

@ -16,6 +16,9 @@ process CMSEQ_POLYMUT {
tuple val(meta), path("*.txt"), emit: polymut tuple val(meta), path("*.txt"), emit: polymut
path "versions.yml" , emit: versions path "versions.yml" , emit: versions
when:
task.ext.when == null || task.ext.when
script: script:
def args = task.ext.args ?: '' def args = task.ext.args ?: ''
def prefix = task.ext.prefix ?: "${meta.id}" def prefix = task.ext.prefix ?: "${meta.id}"

View file

@ -20,6 +20,9 @@ process CNVKIT_BATCH {
tuple val(meta), path("*.cns"), emit: cns, optional: true tuple val(meta), path("*.cns"), emit: cns, optional: true
path "versions.yml" , emit: versions path "versions.yml" , emit: versions
when:
task.ext.when == null || task.ext.when
script: script:
def args = task.ext.args ?: '' def args = task.ext.args ?: ''
def normal_args = normal ? "--normal $normal" : "" def normal_args = normal ? "--normal $normal" : ""

View file

@ -16,6 +16,9 @@ process COOLER_CLOAD {
tuple val(meta), val(cool_bin), path("*.cool"), emit: cool tuple val(meta), val(cool_bin), path("*.cool"), emit: cool
path "versions.yml" , emit: versions path "versions.yml" , emit: versions
when:
task.ext.when == null || task.ext.when
script: script:
def args = task.ext.args ?: '' def args = task.ext.args ?: ''
def prefix = task.ext.prefix ?: "${meta.id}" def prefix = task.ext.prefix ?: "${meta.id}"

View file

@ -16,6 +16,9 @@ process COOLER_DIGEST {
path "*.bed" , emit: bed path "*.bed" , emit: bed
path "versions.yml" , emit: versions path "versions.yml" , emit: versions
when:
task.ext.when == null || task.ext.when
script: script:
def args = task.ext.args ?: '' def args = task.ext.args ?: ''
""" """

View file

@ -15,6 +15,9 @@ process COOLER_DUMP {
tuple val(meta), path("*.bedpe"), emit: bedpe tuple val(meta), path("*.bedpe"), emit: bedpe
path "versions.yml" , emit: versions path "versions.yml" , emit: versions
when:
task.ext.when == null || task.ext.when
script: script:
def args = task.ext.args ?: '' def args = task.ext.args ?: ''
def prefix = task.ext.prefix ?: "${meta.id}" def prefix = task.ext.prefix ?: "${meta.id}"

View file

@ -14,6 +14,9 @@ process COOLER_MERGE {
tuple val(meta), path("*.cool"), emit: cool tuple val(meta), path("*.cool"), emit: cool
path "versions.yml" , emit: versions path "versions.yml" , emit: versions
when:
task.ext.when == null || task.ext.when
script: script:
def args = task.ext.args ?: '' def args = task.ext.args ?: ''
def prefix = task.ext.prefix ?: "${meta.id}" def prefix = task.ext.prefix ?: "${meta.id}"

View file

@ -14,6 +14,9 @@ process COOLER_ZOOMIFY {
tuple val(meta), path("*.mcool"), emit: mcool tuple val(meta), path("*.mcool"), emit: mcool
path "versions.yml" , emit: versions path "versions.yml" , emit: versions
when:
task.ext.when == null || task.ext.when
script: script:
def args = task.ext.args ?: '' def args = task.ext.args ?: ''
def prefix = task.ext.prefix ?: "${meta.id}" def prefix = task.ext.prefix ?: "${meta.id}"

View file

@ -16,6 +16,9 @@ process CSVTK_CONCAT {
tuple val(meta), path("${prefix}.${out_extension}"), emit: csv tuple val(meta), path("${prefix}.${out_extension}"), emit: csv
path "versions.yml" , emit: versions path "versions.yml" , emit: versions
when:
task.ext.when == null || task.ext.when
script: script:
def args = task.ext.args ?: '' def args = task.ext.args ?: ''
prefix = task.ext.prefix ?: "${meta.id}" prefix = task.ext.prefix ?: "${meta.id}"

View file

@ -16,6 +16,9 @@ process CSVTK_SPLIT {
tuple val(meta), path("*.${out_extension}"), emit: split_csv tuple val(meta), path("*.${out_extension}"), emit: split_csv
path "versions.yml" , emit: versions path "versions.yml" , emit: versions
when:
task.ext.when == null || task.ext.when
script: script:
def args = task.ext.args ?: '' def args = task.ext.args ?: ''
def prefix = task.ext.prefix ?: "${meta.id}" def prefix = task.ext.prefix ?: "${meta.id}"

View file

@ -15,6 +15,9 @@ process CUSTOM_DUMPSOFTWAREVERSIONS {
path "software_versions_mqc.yml", emit: mqc_yml path "software_versions_mqc.yml", emit: mqc_yml
path "versions.yml" , emit: versions path "versions.yml" , emit: versions
when:
task.ext.when == null || task.ext.when
script: script:
def args = task.ext.args ?: '' def args = task.ext.args ?: ''
template 'dumpsoftwareversions.py' template 'dumpsoftwareversions.py'

View file

@ -15,6 +15,9 @@ process CUSTOM_GETCHROMSIZES {
path '*.fai' , emit: fai path '*.fai' , emit: fai
path "versions.yml", emit: versions path "versions.yml", emit: versions
when:
task.ext.when == null || task.ext.when
script: script:
def args = task.ext.args ?: '' def args = task.ext.args ?: ''
""" """

View file

@ -15,6 +15,9 @@ process CUTADAPT {
tuple val(meta), path('*.log') , emit: log tuple val(meta), path('*.log') , emit: log
path "versions.yml" , emit: versions path "versions.yml" , emit: versions
when:
task.ext.when == null || task.ext.when
script: script:
def args = task.ext.args ?: '' def args = task.ext.args ?: ''
def prefix = task.ext.prefix ?: "${meta.id}" def prefix = task.ext.prefix ?: "${meta.id}"

View file

@ -17,6 +17,9 @@ process DAMAGEPROFILER {
tuple val(meta), path("${prefix}"), emit: results tuple val(meta), path("${prefix}"), emit: results
path "versions.yml" , emit: versions path "versions.yml" , emit: versions
when:
task.ext.when == null || task.ext.when
script: script:
def args = task.ext.args ?: '' def args = task.ext.args ?: ''
prefix = task.ext.prefix ?: "${meta.id}" prefix = task.ext.prefix ?: "${meta.id}"

View file

@ -26,6 +26,9 @@ process DASTOOL_DASTOOL {
tuple val(meta), path("*.seqlength") , optional: true, emit: seqlength tuple val(meta), path("*.seqlength") , optional: true, emit: seqlength
path "versions.yml" , emit: versions path "versions.yml" , emit: versions
when:
task.ext.when == null || task.ext.when
script: script:
def args = task.ext.args ?: '' def args = task.ext.args ?: ''
def prefix = task.ext.prefix ?: "${meta.id}" def prefix = task.ext.prefix ?: "${meta.id}"

View file

@ -15,6 +15,9 @@ process DASTOOL_SCAFFOLDS2BIN {
tuple val(meta), path("*.tsv"), emit: scaffolds2bin tuple val(meta), path("*.tsv"), emit: scaffolds2bin
path "versions.yml" , emit: versions path "versions.yml" , emit: versions
when:
task.ext.when == null || task.ext.when
script: script:
def args = task.ext.args ?: '' def args = task.ext.args ?: ''
def prefix = task.ext.prefix ?: "${meta.id}" def prefix = task.ext.prefix ?: "${meta.id}"

View file

@ -17,6 +17,9 @@ process DEDUP {
tuple val(meta), path("*log") , emit: log tuple val(meta), path("*log") , emit: log
path "versions.yml" , emit: versions path "versions.yml" , emit: versions
when:
task.ext.when == null || task.ext.when
script: script:
def args = task.ext.args ?: '' def args = task.ext.args ?: ''
prefix = task.ext.prefix ?: "${meta.id}" prefix = task.ext.prefix ?: "${meta.id}"

View file

@ -14,6 +14,9 @@ process DEEPARG_DOWNLOADDATA {
path "db/" , emit: db path "db/" , emit: db
path "versions.yml" , emit: versions path "versions.yml" , emit: versions
when:
task.ext.when == null || task.ext.when
script: script:
def args = task.ext.args ?: '' def args = task.ext.args ?: ''
""" """

View file

@ -20,6 +20,9 @@ process DEEPARG_PREDICT {
tuple val(meta), path("*.mapping.potential.ARG"), emit: potential_arg tuple val(meta), path("*.mapping.potential.ARG"), emit: potential_arg
path "versions.yml" , emit: versions path "versions.yml" , emit: versions
when:
task.ext.when == null || task.ext.when
script: script:
def args = task.ext.args ?: '' def args = task.ext.args ?: ''
def prefix = task.ext.prefix ?: "${meta.id}" def prefix = task.ext.prefix ?: "${meta.id}"

View file

@ -16,6 +16,9 @@ process DEEPTOOLS_COMPUTEMATRIX {
tuple val(meta), path("*.mat.tab"), emit: table tuple val(meta), path("*.mat.tab"), emit: table
path "versions.yml" , emit: versions path "versions.yml" , emit: versions
when:
task.ext.when == null || task.ext.when
script: script:
def args = task.ext.args ?: '' def args = task.ext.args ?: ''
def prefix = task.ext.prefix ?: "${meta.id}" def prefix = task.ext.prefix ?: "${meta.id}"

View file

@ -16,6 +16,9 @@ process DEEPTOOLS_PLOTFINGERPRINT {
tuple val(meta), path("*.qcmetrics.txt"), emit: metrics tuple val(meta), path("*.qcmetrics.txt"), emit: metrics
path "versions.yml" , emit: versions path "versions.yml" , emit: versions
when:
task.ext.when == null || task.ext.when
script: script:
def args = task.ext.args ?: '' def args = task.ext.args ?: ''
def prefix = task.ext.prefix ?: "${meta.id}" def prefix = task.ext.prefix ?: "${meta.id}"

View file

@ -15,6 +15,9 @@ process DEEPTOOLS_PLOTHEATMAP {
tuple val(meta), path("*.tab"), emit: table tuple val(meta), path("*.tab"), emit: table
path "versions.yml" , emit: versions path "versions.yml" , emit: versions
when:
task.ext.when == null || task.ext.when
script: script:
def args = task.ext.args ?: '' def args = task.ext.args ?: ''
def prefix = task.ext.prefix ?: "${meta.id}" def prefix = task.ext.prefix ?: "${meta.id}"

View file

@ -15,6 +15,9 @@ process DEEPTOOLS_PLOTPROFILE {
tuple val(meta), path("*.tab"), emit: table tuple val(meta), path("*.tab"), emit: table
path "versions.yml" , emit: versions path "versions.yml" , emit: versions
when:
task.ext.when == null || task.ext.when
script: script:
def args = task.ext.args ?: '' def args = task.ext.args ?: ''
def prefix = task.ext.prefix ?: "${meta.id}" def prefix = task.ext.prefix ?: "${meta.id}"

View file

@ -21,6 +21,9 @@ process DEEPVARIANT {
tuple val(meta), path("*g.vcf.gz"), emit: gvcf tuple val(meta), path("*g.vcf.gz"), emit: gvcf
path "versions.yml" , emit: versions path "versions.yml" , emit: versions
when:
task.ext.when == null || task.ext.when
script: script:
def args = task.ext.args ?: '' def args = task.ext.args ?: ''
def prefix = task.ext.prefix ?: "${meta.id}" def prefix = task.ext.prefix ?: "${meta.id}"

View file

@ -17,6 +17,9 @@ process DELLY_CALL {
tuple val(meta), path("*.csi"), emit: csi tuple val(meta), path("*.csi"), emit: csi
path "versions.yml" , emit: versions path "versions.yml" , emit: versions
when:
task.ext.when == null || task.ext.when
script: script:
def args = task.ext.args ?: '' def args = task.ext.args ?: ''
def prefix = task.ext.prefix ?: "${meta.id}" def prefix = task.ext.prefix ?: "${meta.id}"

Some files were not shown because too many files have changed in this diff Show more