-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathMakefile
More file actions
22 lines (17 loc) · 696 Bytes
/
Makefile
File metadata and controls
22 lines (17 loc) · 696 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
## -------------------------------------------------------------------------
## Makefile to help run PSQAN
## -------------------------------------------------------------------------
SHELL=/bin/bash
CONDA_BASE=$$(conda info --base)
CONDA_ACTIVATE=source ${CONDA_BASE}/etc/profile.d/conda.sh ; conda activate ; conda activate
help: ## Show this help message
@sed -ne '/@sed/!s/## //p' $(MAKEFILE_LIST)
run_psqan: ## run PSQAN
@($(CONDA_ACTIVATE) ./psqan_venv;\
snakemake -j 10 all)
run_report: ## generate snakemake reort
@($(CONDA_ACTIVATE) ./psqan_venv;\
snakemake --report report.html)
unit_tests: ## run all unit tests
@($(CONDA_ACTIVATE) ./psqan_venv;\
Rscript tests/testthat.R)