LogoLogo
  • Overview
  • publisher
    • Introduction
    • Getting Started
      • Logging in to Publisher
    • Data Sources
      • Connecting a Data Source
      • Managing a Data Source
      • Connectors
        • AWS S3 Permissions
        • Connecting to AWS S3 Storage
        • Google Cloud Storage (GCS) Permissions
        • Connecting to Google Cloud Storage
        • PostgreSQL Permissions
        • Connecting to PostgreSQL
        • PostgreSQL on Azure Permissions
        • Microsoft Azure Blob Storage Permissions
        • Connecting to Microsoft Azure Blob Storage
        • Connecting to HTTPS
        • Connecting to other sources via Trino
          • BigQuery
    • Collections
      • Creating a Collection
      • Sharing a Collection
      • Collection Filters
      • Editing Collection Metadata
      • Updating Collection Contents
    • Access Policies
      • Creating an Access Policy
      • Managing Access Policies
    • Questions
      • Adding Questions
      • Example Question
    • Settings
      • Viewing Current and Past Administrators
      • Adding an Administrator
      • Removing an Administrator
      • Setting Notification Preferences
  • Explorer
    • Introduction
    • Viewing a Collection
    • Browsing Collections
    • Asking Questions
    • Accessing a Private Collection
      • Requesting Access to a Private Collection
    • Filtering Data in Tables
      • Strings
      • Dates
      • Numbers
  • Workbench
    • Introduction
    • Getting Started
      • Logging into Workbench
      • Connecting an Engine
      • Finding or Importing a Workflow
      • Configuring Workflow Inputs
      • Running and Monitoring a Workflow
      • Locating Outputs
    • Engines
      • Adding and Updating an Engine
        • On AWS HealthOmics
        • On Microsoft Azure
        • On Google Cloud Platform
        • On Premises
      • Parameters
        • AWS HealthOmics
        • Google Cloud Platform
        • Microsoft Azure
        • On-Premises
        • Cromwell
        • Amazon Genomics CLI
    • Workflows
      • Finding Workflows
      • Adding a Workflow
      • Supported Languages
      • Repositories
        • Dockstore
    • Instruments
      • Getting Started with Instruments
      • Connecting a Storage Account
      • Using Sample Data in a Workflow
      • Running Workflows Using Samples
      • Family Based Analysis with Pedigree Information
      • Monitor the Workflow
      • CLI Reference
        • Instruments
        • Storage
        • Samples
        • OpenAPI Specification
    • Entities
    • Terminology
  • Passport
    • Introduction
    • Registering an Email Address for a Google Identity
  • Command Line Interface
    • Installation
    • Usage Examples
    • Working with JSON Data
    • Reference
      • workbench
        • runs submit
        • runs list
        • runs describe
        • runs cancel
        • runs delete
        • runs logs
        • runs tasks list
        • runs events list
        • engines list
        • engines describe
        • engines parameters list
        • engines parameters describe
        • engines health-checks list
        • workflows create
        • workflows list
        • workflows describe
        • workflows update
        • workflows delete
        • workflows versions create
        • workflows versions list
        • workflows versions describe
        • workflows versions files
        • workflows versions update
        • workflows versions delete
        • workflows versions defaults create
        • workflows versions defaults list
        • workflows versions defaults describe
        • workflows versions defaults update
        • workflows versions defaults delete
        • namespaces get-default
        • storage add
        • storage delete
        • storage describe
        • storage list
        • storage update
        • storage platforms add
        • storage platforms delete
        • storage platforms describe
        • storage platforms list
        • samples list
        • samples describe
        • samples files list
      • publisher
        • datasources list
  • Analysis
    • Python Library
    • Popular Environments
      • Cromwell
      • CWL Tool
      • Terra
      • Nextflow
      • DNAnexus
Powered by GitBook

© DNAstack. All rights reserved.

On this page
  • Synopsis
  • Description
  • Examples
  • Positional Arguments
  • WORKFLOW_FILE
  • Flags
  • --entrypoint=FILE
  • --name=TEXT
  • --version-name=TEXT
  • --description=FILE|TEXT
  • --organization=TEXT

Was this helpful?

  1. Command Line Interface
  2. Reference
  3. workbench

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.wdl

You 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.wdl

You can also add a description in markdown, uploading a file

omics workbench workflows create --name "Hello World" --description @description.md --entrypoint main.wdl

Or writing the contents of the description direclty

omics workbench workflows create --name "Hello World" --description '# Description \nA simple hello world' --entrypoint main.wdl

Positional Arguments

WORKFLOW_FILE

A 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

Note: 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

Specify a human-readable name for the workflow

--version-name=TEXT

Specify 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

Specify 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

Specify the organization for the workflow.

Previousengines health-checks listNextworkflows list

Last updated 11 months ago

Was this helpful?