broadinstitute / gatk-sv

A structural variation pipeline for short-read sequencing
BSD 3-Clause "New" or "Revised" License
170 stars 70 forks source link

Make MELT scripts independent of the execution path. #665

Closed VJalili closed 5 months ago

VJalili commented 5 months ago

MELT scripts build logic dependent on the script invocation path. The invocation path on Cromwell is a deployment-specific configuration, and currently, the default settings on GCP and Azure differ, which breaks MELT execution. We have two possible tracks to address this: (1) update the scripts to match the currently configured invocation path on Azure and GCP, or (2) update the scripts to be independent of the invocation path. This PR implements the latter approach as it seems more portable and invariant to deployment-specific configurations of Cromwell.

Specifically, this PR implements the following:

The changes were successfully tested on GCP and Azure:

VJalili commented 5 months ago

Thank you, @mwalker174!