How to add another workflow hosted in Dockstore as a subworkflow?

Hi,

I am wondering what would be the best practice to reuse a workflow hosted on dockstore as my own subworkflow? is it possible to use another workflow hosted in Dockstore as a subworkflow for my own WDL workflow? or just copy it to my own workflow directory?

Thanks,
Wendy

Hi,
In general, if you’re trying to re-use portions of a workflow you can either copy files and/or import them locally within the same repo or from a different repo.
Details are available here https://docs.dockstore.org/en/develop/end-user-topics/language-support.html?#converting-file-path-based-imports-to-public-http-s-based-imports-for-wdl and in the linked Cromwell article.