From cb69b95be3a868ef60c42cd6f657b78c2a5fff20 Mon Sep 17 00:00:00 2001 From: ekiernan Date: Fri, 10 Jan 2025 15:51:51 -0500 Subject: [PATCH] testing new script and new logging for gtf path --- tasks/skylab/H5adUtils.wdl | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/tasks/skylab/H5adUtils.wdl b/tasks/skylab/H5adUtils.wdl index af83a9e3f8..1ac71225f2 100644 --- a/tasks/skylab/H5adUtils.wdl +++ b/tasks/skylab/H5adUtils.wdl @@ -57,6 +57,12 @@ task OptimusH5adGeneration { touch empty_drops_result.csv + # Save the path of the annotation_file to a variable + gtf_path="~{annotation_file}" + + # Echo the gtf_path for logging/debugging purposes + echo "GTF Path: $gtf_path" + if [ "~{counting_mode}" == "sc_rna" ]; then python3 /warptools/scripts/create_h5ad_optimus.py \ ~{if defined(empty_drops_result) then "--empty_drops_file " + empty_drops_result else "--empty_drops_file empty_drops_result.csv " } \ @@ -74,6 +80,7 @@ task OptimusH5adGeneration { --count_matrix ~{sparse_count_matrix} \ --expression_data_type "exonic" \ --pipeline_version ~{pipeline_version} + --gtf-path $gtf_path else python3 /warptools/scripts/create_snrna_optimus_full_h5ad.py \ --annotation_file ~{annotation_file} \