-
Notifications
You must be signed in to change notification settings - Fork 3
/
Snakefile
33 lines (28 loc) · 989 Bytes
/
Snakefile
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
configfile: "config/config.yaml"
report: "report/workflow.rst"
include: "rules/common.smk"
rule all:
input: all_output # see common.smk
rule setup:
input: setup_output # see common.smk
output: "../resources/setup.txt"
log: "../resources/setup.log"
conda: "envs/default.yaml"
shell: "touch {output}"
rule clean:
log: expand("{dir}/clean.log", dir=config['analysis_directory'])
conda: "envs/proteogenomics.yaml"
shell:
"rm -rf ../resources/ ptmlist.txt PSI-MOD.obo.xml &&"
"cd ../TransferUniProtModifications && dotnet clean && cd .. 2> {log}"
rule prose:
output: "{dir}/prose.txt"
log: "{dir}/prose.log"
conda: "envs/default.yaml"
shell: "/cluster/projects/nn9036k/.conda/envs/spritzbase/bin/python3 scripts/prose.py {output} 2> {log}"
include: "rules/downloads.smk"
include: "rules/align.smk"
include: "rules/variants.smk"
include: "rules/isoforms.smk"
include: "rules/proteogenomics.smk"
include: "rules/quant.smk"