Skip to content
Snippets Groups Projects
Commit 0e7aa0a2 authored by gael's avatar gael
Browse files

bonjour.nf: now 2 processes

parent 0e80d240
No related branches found
No related tags found
No related merge requests found
/* test process */
process write_bonjour {
publishDir "results/tests/", mode: 'copy'
process write_bonjour_cava {
/* publishDir "results/tests/", mode: 'copy' */
output:
file "message.txt" into parole
......@@ -9,5 +9,22 @@ file "message.txt" into parole
script:
"""
echo bonjour > message.txt
echo ca va >> message.txt
"""
}
/* another process */
process last_line {
publishDir "results/tests/", mode: 'copy'
input:
file textfile from parole
output:
file "line.txt" into lastline
script:
"""
tail -1 ${textfile} > line.txt
"""
}
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment