forked from Arcadia-Science/ProteinCartography
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
47 lines (40 loc) · 874 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
.PHONY: lint
lint:
ruff --exit-zero check .
snakefmt --check .
.PHONY: format
format:
ruff --fix .
ruff format .
snakefmt .
.PHONY: pre-commit
pre-commit:
pre-commit run --all-files
.PHONY: test
test:
pytest -vv -s .
.PHONY: test-without-mocks
test-without-mocks:
pytest -vv -s --no-mocks
.PHONY: run-demo-workflow
run-demo-workflow:
snakemake \
--snakefile Snakefile \
--configfile demo/search-mode/config_actin.yml \
--use-conda \
--cores all \
$(ARGS)
.PHONY: generate-search-mode-rulegraph
generate-search-mode-rulegraph:
snakemake \
--configfile demo/search-mode/config_actin.yml \
--rulegraph \
| dot -Tpng \
> rulegraph-search-mode.png
.PHONY: generate-cluster-mode-rulegraph
generate-cluster-mode-rulegraph:
snakemake \
--configfile demo/cluster-mode/config.yml \
--rulegraph \
| dot -Tpng \
> rulegraph-cluster-mode.png