Last active
August 23, 2022 19:57
-
-
Save robsyme/f5c1227ac748006821e17e9e8b763789 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
process A { | |
input: | |
val(i) | |
output: | |
path("output.${i}.txt") | |
"echo hello $i > output.${i}.txt" | |
} | |
process B { | |
storeDir 'store' | |
input: | |
path(infile) | |
output: | |
path("*.out") | |
"cp $infile ${infile.baseName}.out" | |
} | |
process C { | |
debug true | |
input: | |
path(infile) | |
"ls" | |
} | |
workflow { | |
Channel.of(params.input) | A | B | C | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment