galaxy icon indicating copy to clipboard operation
galaxy copied to clipboard

TRS import via URL

Open fbacall opened this issue 1 year ago • 0 comments

Hello from WorkflowHub.

Currently in WorkflowHub we provide a button on Galaxy workflow entries to run the workflow on usegalaxy.eu via a hard-coded URL: https://usegalaxy.eu/workflows/trs_import?trs_server=workflowhub.eu&run_form=true with the ID of the workflow added on. Galaxy then imports this via WorkflowHub's TRS API.

Obviously not every Galaxy workflow will be able to run on usegalaxy.eu, and so we want to provide the option for users to specify which instance their Galaxy workflow will run on.

However, the way the TRS integration currently works is that on the WorkflowHub side we need to know which trs_server is configured for WorkflowHub on that particular Galaxy instance. This could potentially vary across different instances, and is probably beyond the average workflow submitter's knowledge.

Could the import instead directly use a TRS URL? e.g.:

https://usegalaxy.eu/workflows/trs_import?url=https://workflowhub.eu/ga4gh/trs/v2/tools/109/versions/5/GALAXY

Then Galaxy could try and import without prior knowledge about which TRS-enabled registry it is talking to.

I know there were issues in the past about differences between the Dockstore and WorkflowHub TRS implementations, not sure if they affect this.

Cheers, Finn

fbacall avatar Sep 16 '22 12:09 fbacall