Files
ma/nextflow/tests/output-globs.nf
2026-04-29 23:01:54 +02:00

35 lines
397 B
Plaintext

def getCmd() {
"""
mkdir -p a/a b/b c/c
touch a/1.txt
touch b/1.txt
touch c/1.txt
touch a/a/2.txt
touch b/b/2.txt
touch c/c/2.txt
"""
}
process foo {
output:
file("a/*/*.txt")
script:
getCmd()
}
process bar {
scratch true
output:
file("a/*/*.txt")
script:
getCmd()
}
workflow {
foo()
foo.out.view { "foo: $it" }
bar()
bar.out.view { "bar: $it" }
}