Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
16 lines (12 sloc) 282 Bytes
results = "file_{sample}.txt"
all_results = expand(results, sample = [1, 2, 3])
rule all:
input:
all_results
rule sims:
input:
output:
"file_{sample_name}.txt"
run:
with open(output[0], 'w') as f:
f.write(f"the sample name is {wildcards.sample_name}")
You can’t perform that action at this time.