Skip to content

Commit 5a84a32

Browse files
authored
Merge pull request #80 from UMCUGenetics/release/v0.7.3
Release/v0.7.3
2 parents 4cd4aa4 + 354666b commit 5a84a32

File tree

84 files changed

+224
-197
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

84 files changed

+224
-197
lines changed

BCFtools/1.10.2/View.nf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,10 @@ process View_bcf_vcf {
77
shell = ['/bin/bash', '-euo', 'pipefail']
88

99
input:
10-
tuple sample_id, file(bcf_file)
10+
tuple(val(sample_id), file(bcf_file))
1111

1212
output:
13-
tuple sample_id, file("${bcf_file.baseName}.vcf")
13+
tuple(val(sample_id), file("${bcf_file.baseName}.vcf"))
1414

1515
script:
1616
"""

BWA-Mapping/bwa-0.7.17_samtools-1.9/Mapping.nf

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@ process BWAMapping {
44
label 'BWA_0_7_17_Mem'
55
container = 'library://library.sylabs.io/sawibo/default/bioinf-tools:bwa-0.7.17_samtools-1.9'
66
shell = ['/bin/bash', '-euo', 'pipefail']
7-
7+
88
input:
9-
tuple (sample_id, rg_id, path(fastq))
9+
tuple(val(sample_id), val(rg_id), path(fastq))
1010

1111
output:
12-
tuple (sample_id, rg_id, path("${rg_id}_sorted.bam"), path("${rg_id}_sorted.bai"), emit: mapped_bams)
12+
tuple(val(sample_id), val(rg_id), path("${rg_id}_sorted.bam"), path("${rg_id}_sorted.bai"), emit: mapped_bams)
1313

1414
script:
1515
def barcode = rg_id.split('_')[1]

BWA/0.7.17/BWASW.nf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@ process BWASW {
66
shell = ['/bin/bash', '-euo', 'pipefail']
77

88
input:
9-
tuple(sample_id, rg_id, path(fastq))
9+
tuple(val(sample_id), val(rg_id), path(fastq))
1010

1111
output:
12-
tuple(sample_id, rg_id, path("${fastq[0].simpleName}.sam"), emit: sam_file)
12+
tuple(val(sample_id), val(rg_id), path("${fastq[0].simpleName}.sam"), emit: sam_file)
1313

1414
script:
1515
"""

BWA/0.7.17/MEM.nf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@ process MEM {
66
shell = ['/bin/bash', '-euo', 'pipefail']
77

88
input:
9-
tuple(sample_id, rg_id, path(fastq))
9+
tuple(val(sample_id), val(rg_id), path(fastq))
1010

1111
output:
12-
tuple(sample_id, rg_id, path("${fastq[0].simpleName}.sam"), emit: sam_file)
12+
tuple(val(sample_id), val(rg_id), path("${fastq[0].simpleName}.sam"), emit: sam_file)
1313

1414
script:
1515
def barcode = rg_id.split('_')[1]

BamUtil/1.0.14/ClipOverlap.nf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@ process ClipOverlap {
66
shell = ['/bin/bash', '-euo', 'pipefail']
77

88
input:
9-
tuple sample_id, rg_id, file(bam_file), file(bai_file)
9+
tuple(val(sample_id), val(rg_id), file(bam_file), file(bai_file))
1010

1111
output:
12-
tuple sample_id, rg_id, file("${bam_file.baseName}.clipped.bam")
12+
tuple(val(sample_id), val(rg_id), file("${bam_file.baseName}.clipped.bam"))
1313

1414
script:
1515
"""

ControlFREEC/11.5/AssessSignificance.nf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@ process AssessSignificance {
66
shell = ['/bin/bash', '-euo', 'pipefail']
77

88
input:
9-
tuple(sample_id, path(ratio_file), path(cnv_file))
9+
tuple(val(sample_id), path(ratio_file), path(cnv_file))
1010

1111
output:
12-
tuple(sample_id, path("${cnv_file.name}.p.value.txt"), emit: cnv_pvalue)
12+
tuple(val(sample_id), path("${cnv_file.name}.p.value.txt"), emit: cnv_pvalue)
1313

1414
script:
1515
"""

ControlFREEC/11.5/Freec.nf

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,12 @@ process Freec {
66
shell = ['/bin/bash', '-euo', 'pipefail']
77

88
input:
9-
tuple(sample_id, path(bam_file), path(bai_file))
9+
tuple(val(sample_id), path(bam_file), path(bai_file))
1010

1111
output:
12-
tuple(sample_id, path("${bam_file.name}_ratio.txt"), path("${bam_file.name}_CNVs"), emit: cnv)
13-
tuple(sample_id, path("${bam_file.name}_sample.cpn"), path("${bam_file.name}_ratio.BedGraph"), path("${bam_file.name}_info.txt"), emit: other)
12+
tuple(val(sample_id), path("${bam_file.name}_ratio.txt"), path("${bam_file.name}_CNVs"), emit: cnv)
13+
tuple(val(sample_id), path("${bam_file.name}_sample.cpn"), path("${bam_file.name}_ratio.BedGraph"),
14+
path("${bam_file.name}_info.txt"), emit: other)
1415

1516
script:
1617
def config = "${sample_id}.config"

ControlFREEC/11.5/MakeGraph.nf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@ process MakeGraph {
66
shell = ['/bin/bash', '-euo', 'pipefail']
77

88
input:
9-
tuple(sample_id, path(ratio_file), path(cnv_file))
9+
tuple(val(sample_id), path(ratio_file), path(cnv_file))
1010

1111
output:
12-
tuple(sample_id, path("${ratio_file.name}.png"), path("${ratio_file.name}.log2.png"), emit: ratio_png)
12+
tuple(val(sample_id), path("${ratio_file.name}.png"), path("${ratio_file.name}.log2.png"), emit: ratio_png)
1313

1414
script:
1515
"""

ControlFREEC/11.5/MakeKaryotype.nf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@ process MakeKaryotype {
66
shell = ['/bin/bash', '-euo', 'pipefail']
77

88
input:
9-
tuple(sample_id, path(ratio_file), path(cnv_file))
9+
tuple(val(sample_id), path(ratio_file), path(cnv_file))
1010

1111
output:
12-
tuple(sample_id, path("*_karyotype.pdf"), emit: karyotype_pdf)
12+
tuple(val(sample_id), path("*_karyotype.pdf"), emit: karyotype_pdf)
1313

1414
script:
1515
"""

FastQC/0.11.5/FastQC.nf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ process FastQC {
66
shell = ['/bin/bash', '-euo', 'pipefail']
77

88
input:
9-
tuple (sample_id, rg_id, path(fastq) )
9+
tuple(val(sample_id), val(rg_id), path(fastq))
1010

1111
output:
1212
path("*_fastqc.{zip,html}", emit: fastqc_reports)

0 commit comments

Comments
 (0)