add nextflow d30e48d
This commit is contained in:
35
nextflow/tests-v1/subworkflow-take.nf
Normal file
35
nextflow/tests-v1/subworkflow-take.nf
Normal file
@@ -0,0 +1,35 @@
|
||||
|
||||
process foo {
|
||||
input: val x
|
||||
output: val x
|
||||
/echo true/
|
||||
}
|
||||
|
||||
process bar {
|
||||
input: val x
|
||||
output: val x
|
||||
/echo true/
|
||||
}
|
||||
|
||||
workflow flow1 {
|
||||
take: data
|
||||
main:
|
||||
foo(data)
|
||||
bar(foo.out)
|
||||
emit:
|
||||
bar.out
|
||||
}
|
||||
|
||||
workflow flow2 {
|
||||
take: data
|
||||
main:
|
||||
foo(data)
|
||||
bar(foo.out)
|
||||
emit:
|
||||
bar.out
|
||||
}
|
||||
|
||||
workflow {
|
||||
flow1('foo')
|
||||
flow2(flow1.out)
|
||||
}
|
||||
Reference in New Issue
Block a user