Multiple versions of a workflow from dockstore?

Post author
Martin Aryee

Is it possible to import multiple versions of the same workflow from the dockstore as different tools? I would like to have mytool:v1.0 and mytool:v2.0 for example. (These correspond to different tags in the mytool Github repo, and to different versions in the dockstore)

 

 

Comments

3 comments

  • Comment author
    Adelaide Rhodes

    Yes it is possible, but the version name in Dockstore may not automatically appear in the Tool tab as it does for the methods in the Firecloud repository. So, when hosting multiple versions it may be a good idea to put the version information into the tool name itself. Colons may not work well in the tool name, I would recommend using lowercase and dashes.

    mytool-v-1
    mytool-v-2

    Please let us know if you have follow up questions.

    0
  • Comment author
    Martin Aryee

    I tried adding another version of the tool by going to "Tools" -> "Find a tool" -> "Dockstore". I select the tool, click "Launch with Terra" and select the destination workspace. When I click "Import" I then get:

    Error importing tool
    Error 409: preprocess_flowcell already exists in aryee-merkin/ctc-nanopore


     

    How do I go about giving this version of the workflow a different name?

    0
  • Comment author
    Adelaide Rhodes

    Hi @aryee 

    You are correct, it is not possible to rename the tool when importing with Terra.  It was previously possible to rename the tool by importing it into the Firecloud version of the workspace (and this option is still available).

    Here is how a tool import looks in Terra versus Firecloud.  It would be nice to be able to rename the tools when it is imported or have some other tag to allow the hosting of multiple versions of the same tool in the workspace.  I am going to repost this information on the Feature Request Page.  In the meantime, manually renaming the tool using the Firecloud import option is the only way to accomplish this particular task, as far as I can tell.

     

     

    0

Please sign in to leave a comment.