add nextflow d30e48d
This commit is contained in:
29
nextflow/docs/snippets/process-out-singleton.nf
Normal file
29
nextflow/docs/snippets/process-out-singleton.nf
Normal file
@@ -0,0 +1,29 @@
|
||||
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()
|
||||
}
|
||||
Reference in New Issue
Block a user