-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy path.gitlab-ci.yml
600 lines (558 loc) · 18.8 KB
/
.gitlab-ci.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
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
before_script:
- echo "before script"
- export PATH="$HOME/.local/cmake-3.23.0-rc1-linux-x86_64/bin:$HOME/.cargo/bin:$PATH"
after_script:
- echo "after script"
stages:
- build_d
- build_r
- test_0
- test_1
- test_2
build_debug:
stage: build_d
script:
- echo "Build for debug"
- pwd
- export
- cd src_o; make clean; make debug
- mv debug ../software
- pwd
artifacts:
name: "${CI_JOB_ID}_${CI_JOB_NAME}_${CI_COMMIT_REF_NAME}"
expire_in: 4 yrs
paths:
- software
build_release:
stage: build_r
script:
- echo "Build for release"
- pwd
- cd src_o; make clean; make release
- mv release ../software
- pwd
artifacts:
name: "${CI_JOB_ID}_${CI_JOB_NAME}_${CI_COMMIT_REF_NAME}"
expire_in: 4 yrs
paths:
- software
dependencies:
- build_debug
HCC1187_10X_0_1_noise_20:
stage: test_0
script:
- input_dir=/y/hlab/AccurityTestData/HCC1187/mixed_sample/
- cna_truth_file=/y/hlab/AccurityTestData/HCC1187/hcc1187_truth.tsv
- true_purity=0.1
- output_dir=HCC1187_10X_0_1_noise_20
- echo "Test ${output_dir}";
- pwd; ls
- test/test_tcga.py -f ${input_dir}
--segment_stddev_divider 20 -t purity_${true_purity} -n normal_5X -c 4
-o ${output_dir} -w pyflow
- ./src_o/plotCPandMCP.py -t ${cna_truth_file}
-r /y/hlab/AccurityTestData/hs38d1/genome.dict
-i ${output_dir}/cnv.output.tsv
-o ${output_dir}/plot.cnv.vs.true.purity${true_purity}.png
- test/judge_result.py -i ${output_dir}/infer.out.tsv -u 0.077 -d 2.7
needs: ["build_debug"]
artifacts:
when: always
name: "${CI_JOB_ID}_${CI_JOB_NAME}_${CI_COMMIT_REF_NAME}"
expire_in: 12 mos
paths:
- HCC1187_10X_0_1_noise_20/
dependencies:
- build_debug
HCC1187_10X_0_3_noise_10:
stage: test_1
script:
- echo "Test HCC1187_10X_0.3_noise_10";
- pwd
- test/test_tcga.py -f /y/hlab/AccurityTestData/HCC1187/mixed_sample/ -t purity_0.3 -n normal_5X -c 4 -o HCC1187_10X_0_3_noise_10 -w pyflow
- test/judge_result.py -i HCC1187_10X_0_3_noise_10/infer.out.tsv -u 0.241 -d 2.7
artifacts:
when: always
name: "${CI_JOB_ID}_${CI_JOB_NAME}_${CI_COMMIT_REF_NAME}"
expire_in: 12 mos
paths:
- HCC1187_10X_0_3_noise_10/
dependencies:
- build_debug
HCC1187_10X_0_4_noise_10:
stage: test_1
script:
- echo "Test HCC1187_10X_0.4_noise_10";
- pwd
- test/test_tcga.py -f /y/hlab/AccurityTestData/HCC1187/mixed_sample/ -t purity_0.4 -n normal_5X -c 4 -o HCC1187_10X_0_4_noise_10 -w pyflow
- test/judge_result.py -i HCC1187_10X_0_4_noise_10/infer.out.tsv -u 0.331 -d 2.7
artifacts:
when: always
name: "${CI_JOB_ID}_${CI_JOB_NAME}_${CI_COMMIT_REF_NAME}"
expire_in: 12 mos
paths:
- HCC1187_10X_0_4_noise_10/
dependencies:
- build_debug
HCC1187_10X_0_6_noise_20:
stage: test_1
script:
- echo "Test HCC1187_10X_0.6 noise 20";
- pwd
- test/test_tcga.py -f /y/hlab/AccurityTestData/HCC1187/mixed_sample/ -t purity_0.6 -n normal_5X -c 4 -o HCC1187_10X_0_6_noise_20 -w pyflow
- test/judge_result.py -i HCC1187_10X_0_6_noise_20/infer.out.tsv -u 0.526 -d 2.7
artifacts:
when: always
name: "${CI_JOB_ID}_${CI_JOB_NAME}_${CI_COMMIT_REF_NAME}"
expire_in: 12 mos
paths:
- HCC1187_10X_0_6_noise_20/
dependencies:
- build_debug
HCC1187_10X_0_6:
stage: test_1
script:
- echo "Test HCC1187_10X_0.6";
- pwd
- test/test_tcga.py -f /y/hlab/AccurityTestData/HCC1187/mixed_sample/ -t purity_0.6 -n normal_5X -c 4 -o HCC1187_10X_0_6 -w pyflow
- test/judge_result.py -i HCC1187_10X_0_6/infer.out.tsv -u 0.526 -d 2.7
artifacts:
when: always
name: "${CI_JOB_ID}_${CI_JOB_NAME}_${CI_COMMIT_REF_NAME}"
expire_in: 12 mos
paths:
- HCC1187_10X_0_6/
dependencies:
- build_debug
SNP_HCC1187_10X_0_6:
stage: test_2
script:
- echo "Test H1187_10X purity=0.6 call SNPs, 20 cores";
- pwd
- test/test_tcga.py -f /y/hlab/AccurityTestData/HCC1187/mixed_sample/ -t purity_0.6 -n normal_5X -c 20 --call_snps -o HCC1187_10X_0_6 -w pyflow
- test/judge_result.py -i HCC1187_10X_0_6/infer.out.tsv -u 0.526 -d 2.7
artifacts:
when: always
name: "${CI_JOB_ID}_${CI_JOB_NAME}_${CI_COMMIT_REF_NAME}"
expire_in: 12 mos
paths:
- HCC1187_10X_0_6/
dependencies:
- build_debug
HCC1187_10X_0_9:
stage: test_2
script:
- echo "Test HCC1187_10X_0.9";
- pwd
- test/test_tcga.py -f /y/hlab/AccurityTestData/HCC1187/mixed_sample/ -t purity_0.9 -n normal_5X -c 4 -o HCC1187_10X_0_9 -w pyflow
- test/judge_result.py -i HCC1187_10X_0_9/infer.out.tsv -u 0.87 -d 2.7
artifacts:
when: always
name: "${CI_JOB_ID}_${CI_JOB_NAME}_${CI_COMMIT_REF_NAME}"
expire_in: 12 mos
paths:
- HCC1187_10X_0_9/
dependencies:
- build_debug
#tcga40X_574_580_06_5411_noise_20:
# stage: test_2
# script:
# - echo "Test reduce noise 20 574_580_TCGA-06-5411_Broad_GSC_vs_1_by_method5_realigned0_reduced0";
# - pwd
# - test/test_tcga.py -f /y/Sunset/db/individual_alignment/ -t 574_580_TCGA-06-5411_Broad_GSC_vs_1_by_method5_realigned0_reduced0 -n 578_586_TCGA-06-5411_Broad_GSC_vs_1_by_method5_realigned0_reduced0 -c 4 -o 40X_574_580_06_5411_Broad_noise_20 -w pyflow
# - test/judge_result.py -i 40X_574_580_06_5411_Broad_noise_20/infer.out.tsv -u 0.6 -d 2.5 --max_purity_delta 0.3 --max_ploidy_delta 1.3
# artifacts:
# when: always
# name: "${CI_JOB_ID}_${CI_JOB_NAME}_${CI_COMMIT_REF_NAME}"
# expire_in: 12 mos
# paths:
# - 40X_574_580_06_5411_Broad_noise_20/
# dependencies:
# - build_debug
#
#tcga40X_574_580_06_5411_Broad:
# stage: test_2
# script:
# - echo "Test 574_580_TCGA-06-5411_Broad_GSC_vs_1_by_method5_realigned0_reduced0";
# - pwd
# - test/test_tcga.py -f /y/Sunset/db/individual_alignment/ -t 574_580_TCGA-06-5411_Broad_GSC_vs_1_by_method5_realigned0_reduced0 -n 578_586_TCGA-06-5411_Broad_GSC_vs_1_by_method5_realigned0_reduced0 -c 4 -o 40X_574_580__06_5411_Broad -w pyflow
# - test/judge_result.py -i 40X_574_580__06_5411_Broad/infer.out.tsv -u 0.6 -d 2.5 --max_purity_delta 0.3 --max_ploidy_delta 1.3
# artifacts:
# when: always
# name: "${CI_JOB_ID}_${CI_JOB_NAME}_${CI_COMMIT_REF_NAME}"
# expire_in: 12 mos
# paths:
# - 40X_574_580__06_5411_Broad/
# dependencies:
# - build_debug
tcga35X_586_595_19_2624_noise_20:
stage: test_1
script:
- echo "Test reduce noise 20 on 586_595_TCGA-19-2624_Broad_GSC_vs_1_by_method5_realigned0_reduced0";
- pwd
- test/test_tcga.py -f /y/Sunset/db/individual_alignment/ -t 586_595_TCGA-19-2624_Broad_GSC_vs_1_by_method5_realigned0_reduced0 -n 602_611_TCGA-19-2624_Broad_GSC_vs_1_by_method5_realigned0_reduced0 -c 4 -o 35X_586_595_19_2624_Broad_noise_20 -w pyflow
- test/judge_result.py -i 35X_586_595_19_2624_Broad_noise_20/infer.out.tsv -u 0.94571 -d 1.89 --max_purity_delta 0.1 --max_ploidy_delta 0.3
artifacts:
when: always
name: "${CI_JOB_ID}_${CI_JOB_NAME}_${CI_COMMIT_REF_NAME}"
expire_in: 12 mos
paths:
- 35X_586_595_19_2624_Broad_noise_20/
dependencies:
- build_debug
#tcga35X_586_595_19_2624_Broad:
# stage: test_2
# script:
# - echo "Test 586_595_TCGA-19-2624_Broad_GSC_vs_1_by_method5_realigned0_reduced0";
# - pwd
# - test/test_tcga.py -f /y/Sunset/db/individual_alignment/ -t 586_595_TCGA-19-2624_Broad_GSC_vs_1_by_method5_realigned0_reduced0 -n 602_611_TCGA-19-2624_Broad_GSC_vs_1_by_method5_realigned0_reduced0 -c 4 -o 35X_586_595__19_2624_Broad -w pyflow
# - test/judge_result.py -i 35X_586_595__19_2624_Broad/infer.out.tsv -u 0.85 -d 2.0 --max_purity_delta 0.1 --max_ploidy_delta 0.3
# artifacts:
# when: always
# name: "${CI_JOB_ID}_${CI_JOB_NAME}_${CI_COMMIT_REF_NAME}"
# expire_in: 12 mos
# paths:
# - 35X_586_595__19_2624_Broad/
# dependencies:
# - build_debug
tcga7X_1590_96__AO_AOJJ_HMS:
stage: test_0
script:
- echo "Test 1590_96_TCGA-AO-A0JJ_HMS_CGCC_vs_633_by_method5_realigned0_reduced0";
- pwd
- test/test_tcga.py -r hs38d1 -f /y/Sunset/db/individual_alignment/
-t 1590_96_TCGA-AO-A0JJ_HMS_CGCC_vs_633_by_method5_realigned0_reduced0
-n 1574_80_TCGA-AO-A0JJ_HMS_CGCC_vs_633_by_method5_realigned0_reduced0
-c 4 -o 7X_1590_96__AO_AOJJ_HMS -w pyflow
- test/judge_result.py -i 7X_1590_96__AO_AOJJ_HMS/infer.out.tsv -u 0.50245
-d 1.9693 --max_purity_delta 0.3 --max_ploidy_delta 1
needs: ["build_debug"]
artifacts:
when: always
name: "${CI_JOB_ID}_${CI_JOB_NAME}_${CI_COMMIT_REF_NAME}"
expire_in: 12 mos
paths:
- 7X_1590_96__AO_AOJJ_HMS/
dependencies:
- build_debug
tcga7X_1590_96_AO_AOJJ_noise_20:
stage: test_1
script:
- echo "Test noise reduce 20 on 1590_96_TCGA-AO-A0JJ_HMS_CGCC_vs_633_by_method5_realigned0_reduced0";
- pwd
- test/test_tcga.py -r hs38d1 -f /y/Sunset/db/individual_alignment/ -t 1590_96_TCGA-AO-A0JJ_HMS_CGCC_vs_633_by_method5_realigned0_reduced0 -n 1574_80_TCGA-AO-A0JJ_HMS_CGCC_vs_633_by_method5_realigned0_reduced0 -c 4 -o 7X_1590_96_AO_AOJJ_HMS_noise_20 -w pyflow
- test/judge_result.py -i 7X_1590_96_AO_AOJJ_HMS_noise_20/infer.out.tsv -u 0.50491 -d 1.9745 --max_purity_delta 0.3 --max_ploidy_delta 1
artifacts:
when: always
name: "${CI_JOB_ID}_${CI_JOB_NAME}_${CI_COMMIT_REF_NAME}"
expire_in: 12 mos
paths:
- 7X_1590_96_AO_AOJJ_HMS_noise_20/
dependencies:
- build_debug
tcga3X_1125_431_AA_3968:
stage: test_1
script:
- echo "Test 1125_431_TCGA-AA-3968_HMS_CGCC_vs_1_by_method5_realigned0_reduced0";
- pwd
- test/test_tcga.py -f /y/Sunset/db/individual_alignment/ -t 1125_431_TCGA-AA-3968_HMS_CGCC_vs_1_by_method5_realigned0_reduced0 -n 1117_422_TCGA-AA-3968_HMS_CGCC_vs_1_by_method5_realigned0_reduced0 -c 4 -o 3X_1125_431__AA_3968_HMS -w pyflow
- test/judge_result.py -i 3X_1125_431__AA_3968_HMS/infer.out.tsv -u 0.55417 -d 2.1484 --max_purity_delta 0.1 --max_ploidy_delta 0.3
artifacts:
when: always
name: "${CI_JOB_ID}_${CI_JOB_NAME}_${CI_COMMIT_REF_NAME}"
expire_in: 12 mos
paths:
- 3X_1125_431__AA_3968_HMS
dependencies:
- build_debug
tcga3X_1125_431_AA_3968_divider_20:
stage: test_1
script:
- echo "Test noise divider 20 on 1125_431_TCGA-AA-3968_HMS_CGCC_vs_1_by_method5_realigned0_reduced0";
- pwd
- test/test_tcga.py -f /y/Sunset/db/individual_alignment/ -t 1125_431_TCGA-AA-3968_HMS_CGCC_vs_1_by_method5_realigned0_reduced0 -n 1117_422_TCGA-AA-3968_HMS_CGCC_vs_1_by_method5_realigned0_reduced0 -c 4 -o 3X_1125_431_AA_3968_HMS_divider20 -w pyflow
- test/judge_result.py -i 3X_1125_431_AA_3968_HMS_divider20/infer.out.tsv -u 0.60518 -d 2.0896 --max_purity_delta 0.1 --max_ploidy_delta 0.3
artifacts:
when: always
name: "${CI_JOB_ID}_${CI_JOB_NAME}_${CI_COMMIT_REF_NAME}"
expire_in: 12 mos
paths:
- 3X_1125_431_AA_3968_HMS_divider20
dependencies:
- build_debug
singleclone_5x_0_1_noise_20:
stage: test_2
script:
- echo "singleclone_5x 0.1 reduce noise 20";
- pwd
- test/test_simulation.py -y singleclone_5x -p 0.1 -c 4 -o pyflow.log --debug 1
- test/judge_simulation_result.sh singleclone_5x 1 0
artifacts:
when: always
name: "${CI_JOB_ID}_${CI_JOB_NAME}_${CI_COMMIT_REF_NAME}"
expire_in: 12 mos
paths:
- singleclone_5x/purity.*/infer_result_debug
- singleclone_5x/result*.tsv
dependencies:
- build_debug
singleclone_5x_0_5:
stage: test_1
script:
- echo "singleclone_5x 0.5";
- pwd
- test/test_simulation.py -y singleclone_5x -p 0.5 -c 4 -o pyflow --debug 1
- test/judge_simulation_result.sh singleclone_5x 1 1
artifacts:
when: always
name: "${CI_JOB_ID}_${CI_JOB_NAME}_${CI_COMMIT_REF_NAME}"
expire_in: 12 mos
paths:
- singleclone_5x/purity.*/infer_result_debug
- singleclone_5x/result*.tsv
dependencies:
- build_debug
singleclone_5x_0_5_noise_20:
stage: test_2
script:
- echo "singleclone_5x 0.5 reduce noise 20";
- pwd
- test/test_simulation.py -y singleclone_5x -p 0.5 -c 4 -o pyflow --debug 1
- test/judge_simulation_result.sh singleclone_5x 1 1
artifacts:
when: always
name: "${CI_JOB_ID}_${CI_JOB_NAME}_${CI_COMMIT_REF_NAME}"
expire_in: 12 mos
paths:
- singleclone_5x/purity.*/infer_result_debug
- singleclone_5x/result*.tsv
dependencies:
- build_debug
singleclone_5x_0_9:
stage: test_2
script:
- echo "singleclone_5x 0.9";
- pwd
- test/test_simulation.py -y singleclone_5x -p 0.9 -c 4 -o pyflow --debug 1
- test/judge_simulation_result.sh singleclone_5x 1 1
artifacts:
when: always
name: "${CI_JOB_ID}_${CI_JOB_NAME}_${CI_COMMIT_REF_NAME}"
expire_in: 12 mos
paths:
- singleclone_5x/purity.*/infer_result_debug
- singleclone_5x/result*.tsv
dependencies:
- build_debug
singleclone_1percSNP_0_1:
stage: test_2
script:
- echo "singleclone_1_of_100snp 0.1";
- pwd
- test/test_simulation.py -y singleclone_1_of_100snp -p 0.1 -c 4 -o pyflow --debug 1
- test/judge_simulation_result.sh singleclone_1_of_100snp 1 0
artifacts:
when: always
name: "${CI_JOB_ID}_${CI_JOB_NAME}_${CI_COMMIT_REF_NAME}"
expire_in: 12 mos
paths:
- singleclone_1_of_100snp/purity.*/infer_result_debug
- singleclone_1_of_100snp/result*.tsv
dependencies:
- build_debug
singleclone_1percSNP_0_5:
stage: test_2
script:
- echo "singleclone_1_of_100snp 0.5";
- pwd
- test/test_simulation.py -y singleclone_1_of_100snp -p 0.5 -c 4 -o pyflow --debug 1
- test/judge_simulation_result.sh singleclone_1_of_100snp 1 1
artifacts:
when: always
name: "${CI_JOB_ID}_${CI_JOB_NAME}_${CI_COMMIT_REF_NAME}"
expire_in: 12 mos
paths:
- singleclone_1_of_100snp/purity.*/infer_result_debug
- singleclone_1_of_100snp/result*.tsv
dependencies:
- build_debug
singleclone_1percSNP_0_9:
stage: test_2
script:
- echo "singleclone_1_of_100snp 0.9";
- pwd
- test/test_simulation.py -y singleclone_1_of_100snp -p 0.9 -c 4 -o pyflow --debug 1
- test/judge_simulation_result.sh singleclone_1_of_100snp 1 1
artifacts:
when: always
name: "${CI_JOB_ID}_${CI_JOB_NAME}_${CI_COMMIT_REF_NAME}"
expire_in: 12 mos
paths:
- singleclone_1_of_100snp/purity.*/infer_result_debug
- singleclone_1_of_100snp/result*.tsv
dependencies:
- build_debug
subclone_2_0_1_noise_20:
stage: test_2
script:
- echo "subclone_2 0.1 reduce noise 20";
- pwd
- test/test_simulation.py -y subclone_2 -p 0.1 -c 4 -o pyflow --debug 1
- test/judge_simulation_result.sh subclone_2 1 0
artifacts:
when: always
name: "${CI_JOB_ID}_${CI_JOB_NAME}_${CI_COMMIT_REF_NAME}"
expire_in: 12 mos
paths:
- subclone_2/purity.*/infer_result_debug
- subclone_2/result*.tsv
dependencies:
- build_debug
subclone_2_0_5_noise_20:
stage: test_2
script:
- echo "subclone_2 0.5 reduce noise 20";
- pwd
- test/test_simulation.py -y subclone_2 -p 0.5 -c 4 -o pyflow --debug 1
- test/judge_simulation_result.sh subclone_2 1 1
artifacts:
when: always
name: "${CI_JOB_ID}_${CI_JOB_NAME}_${CI_COMMIT_REF_NAME}"
expire_in: 12 mos
paths:
- subclone_2/purity.*/infer_result_debug
- subclone_2/result*.tsv
dependencies:
- build_debug
subclone_2_0_5:
stage: test_2
script:
- echo "subclone_2 0.5";
- pwd
- test/test_simulation.py -y subclone_2 -p 0.5 -c 4 -o pyflow --debug 1
- test/judge_simulation_result.sh subclone_2 1 1
artifacts:
when: always
name: "${CI_JOB_ID}_${CI_JOB_NAME}_${CI_COMMIT_REF_NAME}"
expire_in: 12 mos
paths:
- subclone_2/purity.*/infer_result_debug
- subclone_2/result*.tsv
dependencies:
- build_debug
SNP_subclone_2_0_5:
stage: test_2
script:
- echo "subclone_2 0.5 call_snps 20 cores";
- pwd
- test/test_simulation.py -y subclone_2 -p 0.5 -c 20 --call_snps -o pyflow --debug 1
- test/judge_simulation_result.sh subclone_2 1 1
artifacts:
when: always
name: "${CI_JOB_ID}_${CI_JOB_NAME}_${CI_COMMIT_REF_NAME}"
expire_in: 12 mos
paths:
- subclone_2/purity.*/infer_result_debug
- subclone_2/result*.tsv
dependencies:
- build_debug
subclone_3_0_5:
stage: test_2
script:
- echo "subclone_3 0.5";
- pwd
- test/test_simulation.py -y subclone_3 -p 0.5 -c 4 -o pyflow --debug 1
- test/judge_simulation_result.sh subclone_3 1 1
artifacts:
when: always
name: "${CI_JOB_ID}_${CI_JOB_NAME}_${CI_COMMIT_REF_NAME}"
expire_in: 12 mos
paths:
- subclone_3/purity.*/infer_result_debug
- subclone_3/result*.tsv
dependencies:
- build_debug
#WGD_purity_0_7:
# stage: test_2
# script:
# - echo "WGD purity 0.7";
# - pwd
# - test/test_simulation.py -y WGD_purity0.7 -p 0.7 -c 4 -o pyflow --debug 1
# - test/judge_simulation_result.sh WGD_purity0.7
# artifacts:
# when: always
# name: "${CI_JOB_ID}_${CI_JOB_NAME}_${CI_COMMIT_REF_NAME}"
# expire_in: 12 mos
# paths:
# - WGD_purity0.7/purity.*/infer_result_debug
# - WGD_purity0.7/result*.tsv
# dependencies:
# - build_debug
#
#WGD_purity_divider_20:
# stage: test_2
# script:
# - echo "WGD purity 0.7 noise reduce 20";
# - pwd
# - test/test_simulation.py -y WGD_purity0.7 -p 0.7 -c 4 -o pyflow --debug 1
# - test/judge_simulation_result.sh WGD_purity0.7
# artifacts:
# when: always
# name: "${CI_JOB_ID}_${CI_JOB_NAME}_${CI_COMMIT_REF_NAME}"
# expire_in: 12 mos
# paths:
# - WGD_purity0.7/purity.*/infer_result_debug
# - WGD_purity0.7/result*.tsv
# dependencies:
# - build_debug
5M_single_mutant_0_7:
stage: test_1
script:
- echo "5M_single_mutant 0.7";
- pwd
- test/test_simulation.py -y 5M_single_mutant -p 0.7 -c 4 -o pyflow --debug 1
- test/judge_result.py -i 5M_single_mutant/purity.0.7/infer_result_debug/infer.out.tsv -u 0.7 -d 2.0 --max_purity_delta 0.1 --max_ploidy_delta 0.2
artifacts:
when: always
name: "${CI_JOB_ID}_${CI_JOB_NAME}_${CI_COMMIT_REF_NAME}"
expire_in: 12 mos
paths:
- 5M_single_mutant/purity.*/infer_result_debug
- 5M_single_mutant/result*.tsv
dependencies:
- build_debug
5M_single_mutant_0_7_release:
stage: test_1
script:
- echo "5M_single_mutant 0.7 release";
- pwd
- test/test_simulation.py -y 5M_single_mutant -p 0.7 -c 4 -o pyflow --debug 0
- test/judge_result.py -i 5M_single_mutant/purity.0.7/infer_result_debug/infer.out.tsv -u 0.7 -d 2.0 --max_purity_delta 0.1 --max_ploidy_delta 0.2
artifacts:
when: always
name: "${CI_JOB_ID}_${CI_JOB_NAME}_${CI_COMMIT_REF_NAME}"
expire_in: 12 mos
paths:
- 5M_single_mutant/purity.*/infer_result_debug
- 5M_single_mutant/result*.tsv
dependencies:
- build_release
#collect:
# stage: collect_result
# script:
# - echo "collect_result";
# - pwd
# - test/collect_result.sh
# artifacts:
# name: "${CI_JOB_ID}_${CI_JOB_NAME}_${CI_COMMIT_REF_NAME}"
# expire_in: 4 yrs
# paths:
# - run_result_png
#job_clean:
# stage: cleanup
# script:
# - pwd
# - ls src_o
# - echo "clean"
# dependencies:
# - build_debug