Files
ma/nextflow/docs/snippets/process-out-singleton.nf
2026-04-29 23:01:54 +02:00

30 lines
330 B
Plaintext

process echo {
input:
val greeting
output:
val greeting
exec:
true
}
process greet {
input:
val greeting
val name
output:
val "$greeting, $name!"
exec:
true
}
workflow {
names = channel.of( 'World', 'Mundo', 'Welt' )
greeting = echo('Hello')
result = greet(greeting, names)
result.view()
}