Skip to content

Instantly share code, notes, and snippets.

@kieranrcampbell
Created May 12, 2017 08:55
Show Gist options
  • Save kieranrcampbell/7eb3fcdd824169c6f062ca2f524ccf2c to your computer and use it in GitHub Desktop.
Save kieranrcampbell/7eb3fcdd824169c6f062ca2f524ccf2c to your computer and use it in GitHub Desktop.
Snakemake to build Rmarkdown files
rule exploratory_analysis:
input:
"data/tec_sceset_qc.rds", "analysis/02_exploratory_analysis.html"
output:
"data/tec_sceset_clusters.rds",
"analysis/02_exploratory_analysis.Rmd",
"data/deseq2_results.csv"
shell:
"Rscript -e \"rmarkdown::render('analysis/02_exploratory_analysis.Rmd')\""
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment