workflows create
Create a workflow in a namespace
Synopsis
omics workbench workflows create [WORKFLOW_FILE...]
[--name=TEXT]
[--version-name=TEXT]
[--description=FILE|TEXT]Description
Create a new workflow in a namespace from the given WORKFLOW_FILE, and set any additional metadata.
Examples
Create a workflow with a single file main.wdl. When the name or version name is not specified, workbench will use default values. The name will be derived directly from the workflow name in main.wdl. For example if the name of the workflow is workflow HelloWorld { ... }, then the name in Workbench will be HelloWorld
If you do not specify a version name the default version name is: v1_0_0
dnastck workbench workflows create main.wdlYou can customize the metadata of the workflow and override the default values
omics workbench workflows create --name "Hello World" --version-name 1.0 --entrypoint main.wdlYou can also add a description in markdown, uploading a file
omics workbench workflows create --name "Hello World" --description @description.md --entrypoint main.wdlOr writing the contents of the description direclty
omics workbench workflows create --name "Hello World" --description '# Description \nA simple hello world' --entrypoint main.wdlPositional Arguments
WORKFLOW_FILE
WORKFLOW_FILEA WDL or supporting text file that you would like to upload as part of the workflow. You can specify multiple files at once. The first WDL file specified will become the entrypoint of the workflow.
The CLI transparently handles imports for you, inspecting each WDL and resolving/finding relative imports that are defined in the files. Because of this, it is typically sufficient to only specify the entrypoint of the workflow, since all other files will be discoverable from that
Flags
--entrypoint=FILE
--entrypoint=FILENote: The --entrypoint flag is required and specifies the entrypoint for the workflow. Needs to be a path of a file in a context of the workflow, but once it is defined by --entrypoint you do not have to define it again.
--name=TEXT
--name=TEXTSpecify a human-readable name for the workflow
--version-name=TEXT
--version-name=TEXTSpecify a human-readable name for the first version of the workflow. The version-name will be used to derive the version ID which is how workbench references a given version at the API level.
--description=FILE|TEXT
--description=FILE|TEXTSpecify a description written in markdown that will be rendered on the workflows overview page for the given workflow. This is a convenient way to provide specific information, outlines or references for your workflow
--organization=TEXT
--organization=TEXTSpecify the organization for the workflow.
Last updated
Was this helpful?

