From ecdbf3e2703bc2073c61b9fe586b2a3c2380974a Mon Sep 17 00:00:00 2001 From: William Rowell Date: Mon, 9 Dec 2024 18:00:25 -0800 Subject: [PATCH] Added merge_bam_stats test for sample with no rq. --- wdl-ci.config.json | 58 ++++++++++++++++++++++++++++++++++++++++++++ workflows/wdl-common | 2 +- 2 files changed, 59 insertions(+), 1 deletion(-) diff --git a/wdl-ci.config.json b/wdl-ci.config.json index ad39e6d..590ad85 100644 --- a/wdl-ci.config.json +++ b/wdl-ci.config.json @@ -1098,6 +1098,64 @@ ] } } + }, + { + "inputs": { + "sample_id": "HG002", + "bam_stats": [ + "${resources_file_path}/pbmm2_align_wgs/vega_10k_no_rq/HG002.vega_10k.no_rq.hifi_reads.read_length_and_quality.tsv.gz" + ], + "runtime_attributes": "${default_runtime_attributes}" + }, + "output_tests": { + "read_length_and_quality": { + "value": "${resources_file_path}/merge_bam_stats/no_rq/HG002.read_length_and_quality.tsv.gz", + "test_tasks": [ + "compare_file_basename", + "check_tab_delimited", + "count_columns", + "check_gzip" + ] + }, + "read_length_plot": { + "value": "${resources_file_path}/merge_bam_stats/no_rq/HG002.read_length_histogram.png", + "test_tasks": [ + "calculate_md5sum", + "compare_file_basename", + "png_validator" + ] + }, + "stat_num_reads": { + "value": "10000", + "test_tasks": [ + "compare_string" + ] + }, + "stat_read_length_mean": { + "value": "21837.4", + "test_tasks": [ + "compare_string" + ] + }, + "stat_read_length_median": { + "value": "21385.0", + "test_tasks": [ + "compare_string" + ] + }, + "stat_read_quality_mean": { + "value": "nan", + "test_tasks": [ + "compare_string" + ] + }, + "stat_read_quality_median": { + "value": "nan", + "test_tasks": [ + "compare_string" + ] + } + } } ] } diff --git a/workflows/wdl-common b/workflows/wdl-common index 43d6857..4ca5479 160000 --- a/workflows/wdl-common +++ b/workflows/wdl-common @@ -1 +1 @@ -Subproject commit 43d68579cd241c19d5ae8a581e7e71fe289347a4 +Subproject commit 4ca54791d3f8fabd88872df3cd8ec81ed8a516c6