-
Notifications
You must be signed in to change notification settings - Fork 596
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
VS-567. Removing usage of ServiceAccount from CreateVat related WDLs #7974
Conversation
Fix WDL error
Codecov Report
@@ Coverage Diff @@
## ah_var_store #7974 +/- ##
================================================
Coverage ? 79.218%
Complexity ? 33309
================================================
Files ? 2173
Lines ? 165016
Branches ? 17793
================================================
Hits ? 130723
Misses ? 28119
Partials ? 6174 |
# { | ||
# localization_optional: true | ||
# } | ||
# } |
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.
any reason not to just fully rip this out?
gsutil cp ~{inputFileofFileNames} ~{updated_input_files} | ||
fi | ||
|
||
# nothing to do - it is just reading the lines from the input - TODO - is there a better way to do this? |
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.
This was definitely written for the singular use case that is AoU annotation files are in GCP and I want to run them through the python script to transform them into the VAT schema
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.
I dont see any reason to have this task at all --and I dont think you need to worry about testing this WDL (maybe we even want to retire it?) since it will be used so rarely and if it is used again it will be in another emergency state that will probably require similar customization
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.
Okay, I've removed this file (as Bec mentioned, it's still in the github history).
…oveSAFromGvsCreateVAT
Bake the schema json into the docker file.
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.
Looks good, minor request for simplification.
cp ~{vat_schema_json_filepath} ~{vat_schema_json_filename} | ||
cp ~{variant_transcript_schema_json_filepath} ~{variant_transcript_schema_json_filename} | ||
cp ~{genes_schema_json_filepath} ~{genes_schema_json_filename} |
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.
Is this just cp
ing all these to .
? Could all of this be simplified to something like
ln /data/variant_annotation_table/schema/* .
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.
Had to go back to using a cp
- even ln -s
wouldn't work (cromwell couldn't resolve/delocalize the outputs)
String schema_filepath = "/data/variant_annotation_table/schema/" | ||
String vat_schema_json_filename = "vat_schema.json" | ||
String variant_transcript_schema_json_filename = "vt_schema.json" | ||
String genes_schema_json_filename = "genes_schema.json" |
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.
this is awesome--thank you!
Removing usage of ServiceAccount from CreateVat related WDLs.