-
Notifications
You must be signed in to change notification settings - Fork 0
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 data model #56
Comments
@sjfleming Sorry for the delayed response. Altocumulus has not supported the job submission using inputs from Terra data tables, and thus features like |
Thanks @yihming for your response. Is this a feature you'd be interested in? I think there may be a way to do it using some of the If you think there's a place for it in this repo, are you open to pull requests? |
@sjfleming Yes, definitely we are open to PRs from community. We currently don't have much bandwidth for new supporting features on Terra, as our daily working environment is directly communicating with Cromwell servers in command-line. That's why we developed |
@sjfleming This is something I'm working on too. You can do it for a single row submission using the syntax If you're importing workflows from Dockstore to your own workspace and configuring them in the Terra GUI, methodConfigurationNamespace will be the same as workspaceNamespace and methodConfigurationName is the name of the workflow you will run. entityType is the root entity type (probably sample in your case), and entityName is a value from the sample_id column. You can loop over this command to analyze multiple rows - I'm still not sure how to replicate the behavior of the Terra GUI where you can select multiple rows and generate a new set from them. If I figure that out I'll happily submit a PR. Appreciate all your work on this repo @yihming, it helped me understand the Terra API much better! |
Thanks @erikwolfsohn , that does seem very close to what I want to do, thanks! I want to avoid the GUI, but I am guessing there's a way to do that. |
@sjfleming Definitely - glancing over what they've done with Altocumulus, you can pass in the JSON configuration file somewhere at runtime. I think for your use case, this might be the solution: https://api.firecloud.org/#/Workspaces/postWorkspaceMethodConfig Disclaimer that I haven't attempted this, but I think you would write or generate the JSON config file for your workflow, pass it into the workspace using the above API call, and then follow the same directions I posted earlier to execute the workflow. |
Can I run a Terra workflow and submit inputs using the Terra "data model" (https://terra.bio/new-resources-for-unlocking-the-power-of-terras-data-tables/)... which is to say, can I specify an input file using
this.h5_file
for example, whereh5_file
is the name of a column in thesample
data table in Terra?The text was updated successfully, but these errors were encountered: