Commit 0d45aa98 authored by Ludovic Legrand's avatar Ludovic Legrand
Browse files

ajout des variables groovy

parent 169fecc5
......@@ -13,17 +13,20 @@ process gunzip {
path('*.fastq', emit: outfile)
script:
// ici du groovy
// ici du groovy
println("groovy: " + id)
toto = "titi"
"""
# ici ce qui me plait, par défaut du bash
#!/usr/bin/env bash
gzip -kcd ${reads[0]} > ${id}.R1.fastq
touch myfile
echo $i{toto}
"""
}
workflow {
gunzip(chanFastq)
//gunzip.out[0].view()
gunzip.out.outfile.view()
}
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