-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathSnakefile
More file actions
48 lines (43 loc) · 1.16 KB
/
Snakefile
File metadata and controls
48 lines (43 loc) · 1.16 KB
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
48
rule all:
input:
"processed/processed_prizes_05.txt",
"processed/processed_prizes_060.txt",
"processed/phosphosite-irefindex13.0-uniprot.txt"
rule fetch:
output:
"raw/prizes_05.tsv",
"raw/prizes_060.tsv",
"raw/ko03250.xml"
shell:
"uv run scripts/fetch.py"
rule data_prep:
input:
"raw/prizes_05.tsv",
"raw/prizes_060.tsv"
output:
"Pickles/NodeIDs.pkl"
shell:
"uv run scripts/prepare.py"
rule name_mapping:
input:
"Pickles/NodeIDs.pkl"
output:
"Pickles/UniprotIDs.pkl"
shell:
"uv run scripts/name_mapping.py"
rule spras_formatting:
input:
"Pickles/NodeIDs.pkl",
"Pickles/UniprotIDs.pkl"
output:
"processed/processed_prizes_05.txt",
"processed/processed_prizes_060.txt"
shell:
"uv run scripts/spras_formatting.py"
rule copy_network:
input:
"raw/phosphosite-irefindex13.0-uniprot.txt"
output:
"processed/phosphosite-irefindex13.0-uniprot.txt"
shell:
"cp raw/phosphosite-irefindex13.0-uniprot.txt processed/phosphosite-irefindex13.0-uniprot.txt"