Skip to content

Commit

Permalink
Output VaPoR header with # (#387)
Browse files Browse the repository at this point in the history
  • Loading branch information
xuefzhao authored Aug 18, 2022
1 parent 9e32e40 commit ccceea0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion inputs/values/dockers.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"wham_docker": "us.gcr.io/broad-dsde-methods/wham:8645aa",
"igv_docker": "us.gcr.io/broad-dsde-methods/gatk-sv/igv:mw-xz-fixes-2-b1be6a9",
"duphold_docker": "us.gcr.io/broad-dsde-methods/gatk-sv/duphold:mw-xz-fixes-2-b1be6a9",
"vapor_docker": "us.gcr.io/broad-dsde-methods/gatk-sv/vapor:mw-xz-fixes-2-b1be6a9",
"vapor_docker": "us.gcr.io/broad-dsde-methods/eph/vapor:header-hash-2fc8f12",
"cloud_sdk_docker": "google/cloud-sdk",
"pangenie_docker": "us.gcr.io/broad-dsde-methods/vjalili/pangenie:vj-127571f",
"sv-base-virtual-env": "us.gcr.io/broad-dsde-methods/gatk-sv/sv-base-virtual-env:2022-06-10-v0.23-beta-9c6fbf56",
Expand Down
2 changes: 2 additions & 0 deletions wdl/TasksBenchmark.wdl
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ task ConcatVaPoR {
command <<<
set -eu
zcat ~{shard_bed_files[0]} | head -n1 > header.txt
# note head -n1 stops reading early and sends SIGPIPE to zcat,
# so setting pipefail here would result in early termination
Expand All @@ -54,6 +55,7 @@ task ConcatVaPoR {
zcat $SPLIT | tail -n+2
done < ~{write_lines(shard_bed_files)} \
| sort -Vk1,1 -k2,2n -k3,3n \
| cat header.txt - \
| bgzip -c \
> ~{output_file}
Expand Down

0 comments on commit ccceea0

Please sign in to comment.