Skip to content

Instantly share code, notes, and snippets.

@marcora
Created October 8, 2015 07:15
Show Gist options
  • Save marcora/6e8f777b51ee0c1bfcec to your computer and use it in GitHub Desktop.
Save marcora/6e8f777b51ee0c1bfcec to your computer and use it in GitHub Desktop.
Snakefile template
DATASETS = ["D1", "D2", "D3"]
rule all:
input:
expand("{dataset}.sorted.txt", dataset=DATASETS)
rule sort:
input:
"path/to/{dataset}.txt"
output:
"{dataset}.sorted.txt"
shell:
"sort {input} > {output}"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment