Define and customize the Latch workflow interface.
nextflow_json.schema
or config.yaml
file using the latch generate-metadata
command.
This document provides a comprehensive reference for all metadata types available in the Latch SDK.
LatchMetadata
display_name
(str): The human-readable name of the workflowauthor
(LatchAuthor): Author information for the workflowdocumentation
(str, optional): Link to workflow documentationrepository
(str, optional): Link to source code repositorylicense
(str): SPDX license identifier (default: “MIT”)parameters
(Dict[str, LatchParameter]): Parameter definitionswiki_url
(str, optional): Link to wiki documentationvideo_tutorial
(str, optional): Link to video tutorialtags
(List[str]): Tags for workflow discoveryflow
(List[FlowBase]): Custom parameter layoutsno_standard_bulk_execution
(bool): Disable standard CSV bulk executionabout_page_path
(Path, optional): Path to about page markdown fileNextflowMetadata
display_name
(str): Workflow display nameauthor
(LatchAuthor): Author informationparameters
(Dict[str, NextflowParameter]): Parameter definitionsruntime_resources
(NextflowRuntimeResources): Resource configurationexecution_profiles
(List[str]): Available execution profileslog_dir
(LatchDir, optional): Directory for workflow logsupload_command_logs
(bool): Upload command logs to Latch DataSnakemakeMetadata
display_name
(str): Workflow display nameauthor
(LatchAuthor): Author informationparameters
(Dict[str, SnakemakeParameter]): Parameter definitionsfile_metadata
(FileMetadata): File-specific metadataoutput_dir
(LatchDir, optional): Output directory locationdocker_metadata
(DockerMetadata, optional): Docker credentialsenv_config
(EnvironmentConfig): Environment configurationcores
(int): Number of cores for Snakemake tasksabout_page_content
(Path, optional): Path to about page contentLatchParameter
display_name
(str, optional): Human-readable parameter namedescription
(str, optional): Parameter description/tooltiphidden
(bool): Whether parameter is hidden by defaultsection_title
(str, optional): Section grouping titleplaceholder
(str, optional): Placeholder text for inputcomment
(str, optional): Additional comment textoutput
(bool): Whether parameter is an outputbatch_table_column
(bool): Show in batch mode tableallow_dir
(bool): Accept directories in UIallow_file
(bool): Accept files in UIappearance_type
(LatchAppearance): UI appearance typerules
(List[LatchRule]): Validation rulesdetail
(str, optional): Secondary label textsamplesheet
(bool, optional): Enable samplesheet inputallowed_tables
(List[int], optional): Allowed registry tablesNextflowParameter
type
(Type[T], optional): Expected parameter typedisplay_name
(str, optional): Parameter display namedescription
(str, optional): Parameter descriptiondefault
(T, optional): Default parameter valuesamplesheet
(bool, optional): Enable samplesheet inputsamplesheet_type
(Literal[“csv”, “tsv”, None]): Samplesheet formatsamplesheet_constructor
(Callable[[T], Path], optional): Custom constructorresults_paths
(List[Path], optional): Output sub-paths for UISnakemakeParameter
type
(Type[T], optional): Expected parameter typedisplay_name
(str, optional): Parameter display namedescription
(str, optional): Parameter descriptiondefault
(T, optional): Default parameter valueSection
s and take advantage of elements like Spoiler
or Fork
to collapse advanced parameters.
Section
Text
Title
Params
Spoiler
Fork
LatchAuthor
LatchRule
LatchAppearance
SnakemakeFileMetadata
NextflowRuntimeResources
DockerMetadata
EnvironmentConfig
LatchRule