Skip to content

Commit

Permalink
testing new script and new logging for gtf path
Browse files Browse the repository at this point in the history
  • Loading branch information
ekiernan committed Jan 10, 2025
1 parent 7b5cae5 commit cb69b95
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions tasks/skylab/H5adUtils.wdl
Original file line number Diff line number Diff line change
Expand Up @@ -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 " } \
Expand All @@ -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} \
Expand Down

0 comments on commit cb69b95

Please sign in to comment.