Latch supports Nextflow execution profiles
which allows users to group related configuration parameters. Users can specify
which configuration profile to use when running their pipeline statically
at registration time or dynamically when launching their workflow in the Latch UI.
To specify an execution profile to use when running the workflow on Latch, pass the
--nf-execution-profile flag to the latch register command.For example, to specify the docker profile:
To enable users to dynamically select an execution profile when launching a workflow,
use the execution_profiles parameter in the NextflowMetadata object as follows:
This will generate the following dropdown in the Latch UI, enabling users to select
a subset of the execution profiles provided when launching the workflow: