-
Notifications
You must be signed in to change notification settings - Fork 6
209 lines (186 loc) · 8.69 KB
/
pipeline-tests.yml
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
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
name: DeepRVAT Pipeline Tests
run-name: DeepRVAT Pipeline Tests 🧬🧪💻🧑🔬
on: [ push ]
jobs:
# Config Setup
Smoke-GenerateConfig-Training:
uses: ./.github/workflows/run-pipeline.yml
with:
pipeline_file: ./pipelines/run_training.snakefile
environment_file: ./deeprvat_env_no_gpu.yml
prerun_cmd: cp ./example/config/deeprvat_input_training_config.yaml ./example/
Smoke-GenerateConfig-Training-AssociationTesting:
uses: ./.github/workflows/run-pipeline.yml
with:
pipeline_file: ./pipelines/training_association_testing.snakefile
environment_file: ./deeprvat_env_no_gpu.yml
prerun_cmd: cp ./example/config/deeprvat_input_config.yaml ./example/
Smoke-GenerateConfig-PreTrained:
uses: ./.github/workflows/run-pipeline.yml
with:
pipeline_file: ./pipelines/association_testing_pretrained.snakefile
environment_file: ./deeprvat_env_no_gpu.yml
prerun_cmd: cp ./example/config/deeprvat_input_pretrained_models_config.yaml ./example/ && ln -s $GITHUB_WORKSPACE/pretrained_models ./example/
# Training Pipeline
Smoke-RunTraining:
uses: ./.github/workflows/run-pipeline.yml
with:
pipeline_file: ./pipelines/run_training.snakefile
environment_file: ./deeprvat_env_no_gpu.yml
prerun_cmd: cp ./tests/deeprvat/training_association_testing/deeprvat_config.yaml ./example/
Pipeline-Tests-RunTraining:
needs: Smoke-RunTraining
uses: ./.github/workflows/run-pipeline.yml
with:
pipeline_file: ./pipelines/run_training.snakefile
environment_file: ./deeprvat_env_no_gpu.yml
prerun_cmd: cp ./tests/deeprvat/training_association_testing/deeprvat_config.yaml ./example/
dry_run: false
# Association Testing Pretrained Pipeline
Smoke-Association-Testing-Pretrained:
uses: ./.github/workflows/run-pipeline.yml
with:
pipeline_file: ./pipelines/association_testing_pretrained.snakefile
environment_file: ./deeprvat_env_no_gpu.yml
prerun_cmd: cp ./tests/deeprvat/pretrained/deeprvat_config.yaml ./example/
Pipeline-Tests-Training-Association-Testing:
needs: Smoke-Association-Testing-Pretrained
uses: ./.github/workflows/run-pipeline.yml
with:
pipeline_file: ./pipelines/association_testing_pretrained.snakefile
environment_file: ./deeprvat_env_no_gpu.yml
prerun_cmd: cp ./tests/deeprvat/pretrained/deeprvat_config.yaml ./example/
dry_run: false
# Association Testing Pretrained Regenie
Smoke-Association-Testing-Pretrained-Regenie:
uses: ./.github/workflows/run-pipeline.yml
with:
pipeline_file: ./pipelines/association_testing_pretrained_regenie.snakefile
environment_file: ./deeprvat_env_no_gpu.yml
prerun_cmd: cp ./tests/deeprvat/regenie/pretrained/deeprvat_config.yaml ./example/
Pipeline-Tests-Association-Testing-Pretrained-Regenie:
needs: Smoke-Association-Testing-Pretrained-Regenie
uses: ./.github/workflows/run-pipeline.yml
with:
pipeline_file: ./pipelines/association_testing_pretrained_regenie.snakefile
environment_file: ./deeprvat_env_no_gpu.yml
prerun_cmd: cp ./tests/deeprvat/regenie/pretrained/deeprvat_config.yaml ./example/
dry_run: false
# Association Testing Training
Smoke-Association-Testing-Training:
uses: ./.github/workflows/run-pipeline.yml
with:
pipeline_file: ./pipelines/training_association_testing.snakefile
environment_file: ./deeprvat_env_no_gpu.yml
prerun_cmd: cp ./tests/deeprvat/training_association_testing/deeprvat_config.yaml ./example/
Pipeline-Tests-Association-Testing-Training:
needs: Smoke-Association-Testing-Training
uses: ./.github/workflows/run-pipeline.yml
with:
pipeline_file: ./pipelines/training_association_testing.snakefile
environment_file: ./deeprvat_env_no_gpu.yml
prerun_cmd: cp ./tests/deeprvat/training_association_testing/deeprvat_config.yaml ./example/
dry_run: false
# Association Testing Training Regenie
Smoke-Association-Testing-Training-Regenie:
uses: ./.github/workflows/run-pipeline.yml
with:
pipeline_file: ./pipelines/training_association_testing_regenie.snakefile
environment_file: ./deeprvat_env_no_gpu.yml
prerun_cmd: cp ./tests/deeprvat/regenie/training_association_testing/deeprvat_config.yaml ./example/
Pipeline-Tests-Training-Association-Testing-Regenie:
needs: Smoke-Association-Testing-Training-Regenie
uses: ./.github/workflows/run-pipeline.yml
with:
pipeline_file: ./pipelines/training_association_testing_regenie.snakefile
environment_file: ./deeprvat_env_no_gpu.yml
prerun_cmd: cp ./tests/deeprvat/regenie/training_association_testing/deeprvat_config.yaml ./example/
dry_run: false
# Seed Gene Discovery
Smoke-Seed-Gene-Discovery:
uses: ./.github/workflows/run-pipeline.yml
with:
pipeline_file: ./pipelines/seed_gene_discovery.snakefile
environment_file: ./deeprvat_env_no_gpu.yml
prerun_cmd: cp ./tests/seed_gene_discovery/sg_discovery_config.yaml ./example/
Pipeline-Tests-Seed-Gene-Discovery:
needs: Smoke-Seed-Gene-Discovery
uses: ./.github/workflows/run-pipeline.yml
with:
pipeline_file: ./pipelines/seed_gene_discovery.snakefile
environment_file: ./deeprvat_env_no_gpu.yml
prerun_cmd: cp ./tests/seed_gene_discovery/sg_discovery_config.yaml ./example/
dry_run: false
# Preprocessing With QC
Smoke-Preprocessing-With-QC:
uses: ./.github/workflows/run-pipeline.yml
with:
pipeline_file: ./pipelines/preprocess_with_qc.snakefile
environment_file: ./deeprvat_preprocessing_env.yml
pipeline_directory: ./example/preprocess
pipeline_config: ./example/config/deeprvat_preprocess_config.yaml
download_fasta_data: true
fasta_download_path: ./example/preprocess/workdir/reference
Pipeline-Tests-Preprocessing-With-QC:
needs: Smoke-Preprocessing-With-QC
uses: ./.github/workflows/run-pipeline.yml
with:
pipeline_file: ./pipelines/preprocess_with_qc.snakefile
environment_file: ./deeprvat_preprocessing_env.yml
pipeline_directory: ./example/preprocess
pipeline_config: ./example/config/deeprvat_preprocess_config.yaml
dry_run: false
download_fasta_data: true
fasta_download_path: ./example/preprocess/workdir/reference
# Preprocessing-No-QC
Smoke-Preprocessing-No-QC:
uses: ./.github/workflows/run-pipeline.yml
with:
pipeline_file: ./pipelines/preprocess_no_qc.snakefile
environment_file: ./deeprvat_preprocessing_env.yml
pipeline_directory: ./example/preprocess
pipeline_config: ./example/config/deeprvat_preprocess_config.yaml
download_fasta_data: true
fasta_download_path: ./example/preprocess/workdir/reference
Pipeline-Tests-Preprocessing-No-QC:
needs: Smoke-Preprocessing-No-QC
uses: ./.github/workflows/run-pipeline.yml
with:
pipeline_file: ./pipelines/preprocess_no_qc.snakefile
environment_file: ./deeprvat_preprocessing_env.yml
pipeline_directory: ./example/preprocess
pipeline_config: ./example/config/deeprvat_preprocess_config.yaml
dry_run: false
download_fasta_data: true
fasta_download_path: ./example/preprocess/workdir/reference
# Annotation Pipeline
Smoke-Annotation-Pipeline:
uses: ./.github/workflows/run-pipeline.yml
with:
pipeline_file: ./pipelines/annotations.snakefile
environment_file: ./deeprvat_annotations.yml
prerun_cmd: |
mkdir -pv ./example/preprocess/workdir/norm/variants && \
mkdir -pv ./example/preprocess/workdir/preprocessed && \
touch ./example/preprocess/workdir/preprocessed/genotypes.h5 && \
touch ./example/preprocess/workdir/norm/variants/variants.parquet
pipeline_config: ./example/config/deeprvat_annotation_config.yaml
pipeline_directory: ./example/annotations
download_fasta_data: true
fasta_download_path: ./example/annotations/reference
Pipeline-Annotation:
needs: Smoke-Annotation-Pipeline
uses: ./.github/workflows/run-pipeline.yml
with:
pipeline_file: ./pipelines/annotations.snakefile
environment_file: ./deeprvat_annotations.yml
prerun_cmd: |
mkdir ./example/annotations/repo_dir && \
bash deeprvat/annotations/setup_annotation_workflow.sh ./example/annotations/repo_dir faatpipe && \
wget https://ftp.ebi.ac.uk/pub/databases/gencode/Gencode_human/release_44/gencode.v44.annotation.gtf.gz \
-O ./example/annotations/reference/gencode.v44.annotation.gtf.gz
pipeline_directory: ./example/annotations
pipeline_config: ./example/config/deeprvat_annotation_config_minimal.yaml
dry_run: false
download_fasta_data: true
fasta_download_path: ./example/annotations/reference