Commit 538a6002 authored by Ludovic Legrand's avatar Ludovic Legrand
Browse files

amelioration du texte de log

parent bc05b720
......@@ -27,5 +27,7 @@ workflow gzipw {
workflow {
gunzipw(chanFastq)
gunzipw.out.outfile.view { "[gunzip sub-workflow output] " + it }
gzipw(gunzipw.out.outfile)
}
......@@ -6,4 +6,5 @@ chanFastq = Channel.fromFilePairs( './rawdata/dev/control/SRR*_{1,2}.fastq.gz',
workflow {
gunzip(chanFastq)
gunzip.out.outfile.view { "[process output] " + it }
}
nextflow.enable.dsl=2
process gunzip {
publishDir('result')
publishDir('result/module/gunzip')
tag("${id}")
input:
......@@ -11,6 +11,7 @@ process gunzip {
path('*.fastq', emit: outfile)
script:
println("[module gunzip] fastqID: $id")
"""
#!/usr/bin/env bash
gzip -kcd ${reads[0]} > ${id}.R1.fastq
......@@ -19,7 +20,7 @@ touch myfile
}
process gzip {
publishDir('result')
publishDir('result/module/gzip')
tag("${id}")
input:
......@@ -29,6 +30,7 @@ process gzip {
path('*.fastq.gz')
script:
println("[module gzip] fastq: $reads")
"""
#!/usr/bin/env bash
gzip -kc ${reads} > ${reads}.gz
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment