Open rickymagner opened 10 months ago
it seems like picard gets a project to use for a requester-pays bucket from google application default credentials, which presumably are not setup by default in terra.
edit: actually I'm not sure it makes sense that application default credentials wouldn't be setup in terra. someone who understands how all the cloud access stuff works probably has a better shot at answering this.
@lbergelson maybe?
Bug Report
Affected tool(s)
CrosscheckFingerprints
Affected version(s)
3.1.0, and 2.27.5 (inside GATK 4.4.0.0 and 4.3.0.0)
Description
When running CrosscheckFingerprints in Terra and trying to stream an input using a
localization_optional
file, if the file is located in a requester-pays GCP bucket, the task will fail. Here is a truncated stack trace:After I tried using Picard 3.1.0 locally with the command:
which worked fine, meaning that the difference was in the environment in Terra, not the tool itself. It also worked fine running locally with GATK 4.4.0.0, so the versioning was not the culprit.
Terra support wanted to blame the Picard tool for not having the
--gcs-project-for-requester-pays
flag, but it still worked locally, so it's not clear to me what exactly needs to be set in the environment to make it "just work."Steps to reproduce
Try streaming a file from a requester-pays bucket in a Terra environment.
Expected behavior
The tool should be able to stream the bam/vcf inputs and calculate the fingerprint info from that.
Actual behavior
The tool gets an error when trying to stream instead.