Commit 1cc71434 authored by Radovan Bast's avatar Radovan Bast
Browse files

we provide the final Snakefile

since building a Snakefile is not anymore an exercise
the exercise is rather to experiment and discuss the Makefile
parent 2b405a62
......@@ -33,13 +33,11 @@ rule count_words:
'''
# create a plot for each book
# shows example usage of the resources keyword
rule make_plot:
input:
plotcount='source/plotcount.py',
book='processed_data/{file}.dat'
output: 'results/{file}.png'
resources: gpu=1
shell: 'python {input.plotcount} {input.book} {output}'
# generate summary table
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment