Workflow
Source:
src/AWS/Omics/Workflow.ts
An Amazon HealthOmics private workflow — a bioinformatics workflow (WDL, Nextflow, or CWL) that is executed as one or more runs.
A workflow name is auto-generated from the app, stage, and logical ID
unless you provide one. The workflow definition (engine, definitionZip,
definitionUri, main, parameterTemplate, accelerators) is immutable —
changing any of it replaces the workflow. name, description,
storageCapacity, and storageType are updated in place.
Creating a Workflow
Section titled “Creating a Workflow”Workflow from an inline definition zip
import * as Omics from "alchemy/AWS/Omics";
const workflow = yield* Omics.Workflow("Hello", { engine: "WDL", main: "main.wdl", definitionZip: myZipBytes,});Workflow from an S3-hosted definition
const workflow = yield* Omics.Workflow("Hello", { engine: "NEXTFLOW", definitionUri: "s3://my-bucket/workflows/hello.zip",});