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

Terra output missing metadata.json #278

Open
elisadonnard opened this issue Apr 6, 2022 · 1 comment
Open

Terra output missing metadata.json #278

elisadonnard opened this issue Apr 6, 2022 · 1 comment

Comments

@elisadonnard
Copy link

Hello, I am wondering if it is possible to get the Terra workflow to generate the metadata.json file with paths to all relevant results. Would significantly improve the usability of the pipeline in Terra. Thanks in advance.

@leepc12
Copy link
Contributor

leepc12 commented Aug 4, 2022

You can use Broad's fire cloud api to get metadata JSON object.
Please see this for details.
https://github.com/DataBiosphere/terra-examples/blob/00db055fcb50f38893fd5127150472dd6a8c9f06/cloud_functions/submissions_export/submissions_export.py#L8

Open a jupyter notebook and import firecloud api and use this function.
namespace means Terra billing account name.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants