question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Dockstore-based workflows with registered tools

See original GitHub issue

Feature Request

Is it possible to create Workflow using Tools registered in Dockstore? I noticed that many available workflows in Dockstore provide all tools (CWL files) locally. I want to write Workflow files (CWL) using tools that I previously registered in Dockstore. Any ideia?

Desired behaviour

A CWL Workflow example:

# ...
steps:
  quality_report:
    run:  registry.hub.docker.com/welliton/rqc # latest version
    in: {}
    out: {}
  quality_control:
    run: registry.hub.docker.com/welliton/trimgalore:v0.4.4 # with tag
    in: {}
    out: {}
# ...

┆Issue is synchronized with this Jira Story ┆fixVersions: Dockstore 2.X ┆friendlyId: DOCK-490 ┆sprint: Backlog ┆taskType: Story

Issue Analytics

  • State:open
  • Created 6 years ago
  • Reactions:1
  • Comments:7 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
wdesouzacommented, Jun 14, 2017

Thank you @denis-yuen for your suggestion. It worked! I used the URL for raw Dockstore.cwl file from GithHub. See example below.

cwlVersion: v1.0
class: Workflow

inputs:
  files: File[]
  groups: string[]

outputs:
  qc_report:
    type: File
    outputSource: qc_raw/qc_report

steps:
  qc_raw:
    run: https://raw.githubusercontent.com/labbcb/dockstore-rqc/v3.5/Dockstore.cwl
    in:
      files: files
      groups: groups
    out: [qc_report]

Input example:

files:
  - class: File
    path: ERR127302_1_subset.fastq.gz
  - class: File
    path: ERR127302_2_subset.fastq.gz
groups: [None, None]

I tested using cwltool. Another way is to dowload CWL files via dockstore tool cwl. For example:

dockstore tool cwl --entry registry.hub.docker.com/welliton/rqc:v3.5 > Rqc.cwl
0reactions
denis-yuencommented, Mar 29, 2022

I think that would be nice. There’s a bit of a start of a description of different kinds of imports at https://docs.dockstore.org/en/stable/end-user-topics/language-support.html#converting-file-path-based-imports-to-public-http-s-based-imports-for-wdl and a new section could be added for CWL

Read more comments on GitHub >

github_iconTop Results From Across the Web

Hosted Tools and Workflows
A hosted tool or workflow is simply an entry where instead of files being stored in a Git repository they are stored within...
Read more >
Deploying Workflows - Registration
This process of deploying your workflows to a Flyte cluster is known as registration. It involves the following steps: Writing code, SQL etc;....
Read more >
Using Plugin Registration Tool
Plugin Registration Tool 2015 can be downloaded from CRM 2015 SDK. ... Button to check workflows to register and then click on Register...
Read more >
Register Workflows
If you are a content administrator, you can register new workflows, unregister current workflows, view workflow details such as assigned repositories and ...
Read more >
Online Registrations | Registration Automation
Organize events, boost online registrations, manage tickets, accept payments, and more. Streamline workflows with our registration automation tools!
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found