Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

VAT creation on GCP Batch [VS-1602] #9106

Merged
merged 4 commits into from
Mar 5, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions .dockstore.yml
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,6 @@ workflows:
branches:
- master
- ah_var_store
- vs_1605_chr5_oops
tags:
- /.*/
- name: GvsWithdrawSamples
Expand Down Expand Up @@ -316,8 +315,6 @@ workflows:
branches:
- master
- ah_var_store
- vs_1418_ploidy_for_foxtrot_vds
- gg_VS-1584_build_variants_docker_on_m4
tags:
- /.*/
- name: GvsIngestTieout
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -630,10 +630,17 @@ task AnnotateVCF {

# Find where the reference disk should have been mounted on this VM. Note this is referred to as a "candidate
# mount point" because we do not actually confirm this is a reference disk until the following code block.
CANDIDATE_MOUNT_POINT=$(lsblk | sed -E -n 's!.*(/mnt/[a-f0-9]+).*!\1!p')
if [[ -z ${CANDIDATE_MOUNT_POINT} ]]; then
>&2 echo "Could not find a mounted volume that looks like a reference disk, exiting."
exit 1
if [[ -e /cromwell_root/gcs_delocalization.sh ]]
then
# PAPI mount points
CANDIDATE_MOUNT_POINT=$(lsblk | grep -v cromwell_root | sed -E -n 's!.*(/mnt/[a-f0-9]+).*!\1!p')
elif [[ -e /mnt/disks/cromwell_root/gcs_delocalization.sh ]]
then
# GCP Batch mount points
CANDIDATE_MOUNT_POINT=$(lsblk | grep -v cromwell_root | sed -E -n 's!.*(/mnt/disks/[a-f0-9]+).*!\1!p')
else
>&2 echo "Could not find a mounted volume that looks like a reference disk, exiting."
exit 1
fi

# Find one particular reference under the mount path. Note this is not the same reference as was specified in the
Expand Down
Loading