Created
November 2, 2022 02:48
-
-
Save wwood/73d053fa03948f0b72a40e0998039b25 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
samples = [1,2,3,4,5] | |
rule all: | |
input: | |
"test.out" | |
rule a: | |
output: | |
"a/{sample}.out" | |
group: "mygroup" | |
shell: | |
"touch {output}" | |
rule b: | |
input: | |
"a/{sample}.out" | |
output: | |
"b/{sample}.out" | |
group: "mygroup" | |
shell: | |
"touch {output}" | |
rule c: | |
input: | |
expand("b/{sample}.out", sample=samples) | |
output: | |
"test.out" | |
shell: | |
"touch {output}" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment