22 lines
250 B
Plaintext
22 lines
250 B
Plaintext
|
|
params.outdir = 'results'
|
|
|
|
process my_process {
|
|
publishDir params.outdir
|
|
|
|
input:
|
|
val(param)
|
|
|
|
output:
|
|
file("HELLO.tsv")
|
|
|
|
script:
|
|
"""
|
|
echo "Hello, world" > HELLO.tsv
|
|
"""
|
|
}
|
|
|
|
workflow {
|
|
Channel.of(1) | my_process
|
|
}
|