-
Notifications
You must be signed in to change notification settings - Fork 598
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
WDLize GvsPrepareCallset (briefly known as CreateCohortTable) #7200
Merged
Merged
Changes from 1 commit
Commits
Show all changes
30 commits
Select commit
Hold shift + click to select a range
a0e4874
first pass at CreateCohortTable.wdl, rename python script
mmorgantaylor e3ad814
update wdl defaults, add this branch to dockstore
mmorgantaylor bd3469e
add inputs file
mmorgantaylor e01c16f
fix indentation on dockstore y(f)ml
mmorgantaylor be53b43
pull script from github branch directly
mmorgantaylor a5dd483
change string reference character
mmorgantaylor 8293d0f
revert previous; add missing input
mmorgantaylor 9c6d19a
fix attempt for defaults - use new variable names
mmorgantaylor 5fffcab
try alternate string reference character again ~
mmorgantaylor 2dfefff
add bigquery installation
mmorgantaylor 3d02841
use custom docker, add docker build script
mmorgantaylor 4ba7b65
make build_docker script easier to use
mmorgantaylor 9c0a154
add entrypoint to dockerfile, run script in app dir
mmorgantaylor 11d5c79
try something else
mmorgantaylor 433fdfa
remove ls from wdl
mmorgantaylor 6d7e113
add SA key file as input, use google base image for gcloud auth support
mmorgantaylor a705592
cleanup, fix docker input
mmorgantaylor bb916f3
functional SA authentication for CreateCohortTable
mmorgantaylor f2122e0
don't copy SA file, localization happens anyway
mmorgantaylor b475a9d
define defaults better
mmorgantaylor 0d4bb2f
finish defaults for wdl inputs
mmorgantaylor 049909f
use default_dataset, further clean up unneeded inputs
mmorgantaylor 0ecb319
update example inputs json
mmorgantaylor 018fae3
update inputs with new docker image
mmorgantaylor a21626c
rename create_cohort_data_table.py
mmorgantaylor 438b89e
remove redundant google sdk installation from Dockerfile
mmorgantaylor 9ffe9ae
update shell script with new python script name
mmorgantaylor 2024451
update to support latest docker tag; remove branch from dockstore yml
mmorgantaylor 8ea51c8
refactor duplicated config setup
mmorgantaylor 2c5d25e
rename wdl GvsPrepareCallset
mmorgantaylor File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -58,7 +58,11 @@ task CreateCohortTableTask { | |
set -e | ||
|
||
if [ ~{has_service_account_file} = 'true' ]; then | ||
gcloud auth activate-service-account --key-file='~{service_account_json}' | ||
SA_FILENAME="sa_key.json" | ||
gsutil cp "~{service_account_json}" $SA_FILENAME | ||
SA_ARGS="--sa_key_path ${SA_FILENAME}" | ||
else | ||
SA_ARGS="" | ||
fi | ||
|
||
python3 /app/create_cohort_data_table.py \ | ||
|
@@ -68,7 +72,8 @@ task CreateCohortTableTask { | |
--destination_table ~{destination_cohort_table_name_final} \ | ||
--fq_cohort_sample_names ~{fq_cohort_sample_table_final} \ | ||
--query_project ~{query_project_final} \ | ||
--fq_sample_mapping_table ~{fq_sample_mapping_table_final} | ||
--fq_sample_mapping_table ~{fq_sample_mapping_table_final} \ | ||
$SA_ARGS | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. nice |
||
>>> | ||
|
||
runtime { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If this is declared as a
File
above, won't it already be copied down to the VM now and the path be a local path?