-
Notifications
You must be signed in to change notification settings - Fork 2
/
dvc.yaml
112 lines (112 loc) · 4.76 KB
/
dvc.yaml
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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
stages:
select_samples:
cmd: papermill -f parameters/select_samples.yaml --progress-bar --report-mode
notebooks/select_samples.ipynb data/output/notebooks/select_samples.ipynb
deps:
- parameters/select_samples.yaml
- data/input/genes/by_animal_class
- data/input/species.tsv
- data/input/samples.tsv
- data/input/total_mtDNA_base_composition.csv
- notebooks/select_samples.ipynb
outs:
- data/interim/selected/gestation_days
- data/interim/selected/lifespan
- data/interim/selected/mass_kg
- data/interim/selected/metabolic_rate
- data/interim/selected/mtGC
- data/interim/selected/temperature
- data/output/counts/species_sample_count.tsv
- data/output/counts/tissue_sample_count.tsv
- data/output/counts/species_tissue_sample_count.tsv
- data/output/notebooks/select_samples.ipynb
stage_one:
cmd: papermill -f parameters/stage_one_shap_selection.yaml --progress-bar --report-mode
notebooks/stage_one_shap_selection.ipynb data/output/notebooks/stage_one_shap_selection.ipynb
deps:
- parameters/stage_one_shap_selection.yaml
- data/interim/optimization/gestation_days.sqlite
- data/interim/optimization/lifespan.sqlite
- data/interim/optimization/mass_kg.sqlite
- data/interim/optimization/metabolic_rate.sqlite
- data/interim/optimization/mtGC.sqlite
- data/interim/optimization/temperature.sqlite
outs:
#- data/output/notebooks/stage_one_shap_selection.ipynb
- data/output/plots/stage_1/
- data/interim/stage_1/results_concatenated.tsv
- data/interim/stage_1/partitions
- data/interim/stage_2/input
- data/output/stage_1/gestation_days_selected.tsv
- data/output/stage_1/mass_kg_selected.tsv
- data/output/stage_1/mtGC_selected.tsv
- data/output/stage_1/lifespan_selected.tsv
- data/output/stage_1/metabolic_rate_selected.tsv
- data/output/stage_1/temperature_selected.tsv
stage_two:
cmd: papermill -f parameters/stage_two_shap_selection.yaml --progress-bar --report-mode
notebooks/stage_two_shap_selection.ipynb data/output/notebooks/stage_two_shap_selection.ipynb
deps:
- data/interim/stage_1/results_concatenated.tsv
- data/interim/optimization/lifespan_2.sqlite
- data/interim/stage_2/input
outs:
- data/interim/stage_2/partitions
- data/output/stage_2/lifespan_with_traits.tsv
- data/output/stage_2/lifespan.tsv
#- data/output/stage_2/shap_results.tsv
- data/output/plots/stage_2/decision_lifespan.svg
- data/output/plots/stage_2/heatmap_lifespan_unclustered.svg
- data/output/plots/stage_2/summary_lifespan.svg
- data/output/plots/life_history_no_genes
- data/output/plots/interactions/
# - data/output/notebooks/stage_two_shap_selection.ipynb
stage_three:
cmd: papermill -f parameters/stage_three_shap_selection.yaml --progress-bar --report-mode
notebooks/stage_three_shap_selection.ipynb data/output/notebooks/stage_three_shap_selection.ipynb
deps:
- data/interim/optimization/lifespan_3.sqlite
outs:
- data/output/plots/stage_3/interactions/
- data/output/plots/stage_3/life_history/
- data/output/plots/stage_3/stage_3_interactions.png
- data/output/plots/stage_3/stage_3_decision.svg
- data/output/plots/stage_3/stage_3_summary.svg
- data/output/plots/stage_3/stage_3_heatmap_unclustered.svg
# - data/output/notebooks/stage_three_shap_selection.ipynb
tune:
cmd: python tune.py
params:
- parameters/tune.yaml:
- trait
- metrics
- trials
- folds
- hold_outs
- repeats
- not_validated_species
- threads
- debug_local
deps:
- data/interim/selected/gestation_days
- data/interim/selected/lifespan
- data/interim/selected/mass_kg
- data/interim/selected/metabolic_rate
- data/interim/selected/mtGC
- data/interim/selected/temperature
results:
cmd: papermill -f parameters/results_intersections.yaml --progress-bar --report-mode
notebooks/results_intersections.ipynb data/output/notebooks/results_intersections.ipynb
deps:
- parameters/results_intersections.yaml
- data/output/external/causality
- data/output/external/linear
- data/output/external/causality/causal_selection.tsv
- data/output/external/causality/signature_scores_ensembl_codes.csv
- notebooks/results_intersections.ipynb
outs:
- data/output/notebooks/results_intersections.ipynb
- data/output/results/shap_with_causal_linear.tsv
- data/output/stage_2/shap_results.tsv
- data/output/results/shap_with_linear.tsv
- data/output/results/genage_intersection.tsv