Skip to content

Commit 5ccfe97

Browse files
committed
added test for routine runs
1 parent bffccc0 commit 5ccfe97

2 files changed

Lines changed: 19 additions & 1 deletion

File tree

tests/Cluster_noDB-test.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ backend {
2020
submit = """
2121
sbatch -J ${job_name} -D ${cwd} -o ${out} -e ${err} -t ${runtime_minutes} -p ${queue} \
2222
${"-c " + cpu} \
23-
--mem-per-cpu=${requested_memory_mb_per_core} \
23+
--mem-per-cpu=${requested_memory_mb_per_core} \
2424
--wrap "/bin/bash ${script}"
2525
"""
2626
kill = "scancel ${job_id}"

tests/test_metaPanelCapture_restrained.yaml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,24 @@
3030
- path: CAD260090_VDM-4B-NS/panelCapture/CAD260090_VDM-4B-NS.vcf
3131
should_exist: true
3232

33+
- name: MetaPanelCapture solo routine
34+
# Overall runtime : ~ 20 min - runs a panelCapture n a coriell NS157twist sample + happy
35+
tags:
36+
- wf_level
37+
- hg38
38+
- CAD260090_VDM-4B-NS
39+
- routine
40+
command: nohup bash -c "source tests/func_special.sh && run_wdl_MobiDL metaPanelCapture.wdl tests/metaPanelCapture/solo_aviti_hg38_inputs.json tests/Cluster_noDB-test.conf && happy CAD260090_VDM-4B-NS/panelCapture/CAD260090_VDM-4B-NS.dv.vcf /bioinfo/refData/annotations/Coriell/NA24385/hg38/bed_intersects/NA24385_noinconsistent_NS_157_twist_20250515.bed /bioinfo/refData/genomes/GRCh38/no_alt/hg38.fa /bioinfo/refData/annotations/Coriell/NA24385/hg38/HG002_GRCh38_1_22_v4.2.1_benchmark.decomposed.vcf.gz && cat happy_dir/CAD260090_VDM-4B-NS.dv.summary.csv | cut -d ',' -f1,2,3,4,5,7,11,12,14 | column -s, -t"
41+
stdout:
42+
contains:
43+
- "workflow finished with status 'Succeeded'"
44+
files:
45+
- path: CAD260090_VDM-4B-NS/panelCapture/CAD260090_VDM-4B-NS.vcf
46+
should_exist: true
47+
- path: happy_dir/CAD260090_VDM-4B-NS.dv.summary.csv
48+
should_exist: true
49+
md5sum: 6475959888c7e99ce5ef57e7239085b4
50+
3351
# - name: MetaPanelCapture different BED
3452
# # Overall runtime : ~ 20 min
3553
# tags:

0 commit comments

Comments
 (0)