Home Mold

cwl-summary-to-galaxy-data-flow

Translate a CWL summary into a Galaxy data-flow design brief.

Mold health

ok
  • Source layout

    Directory Mold with only index.md frontmatter.

  • Axis fields

    source-specific fields are coherent.

  • Eval plan

    eval.md declares cases and check type.

  • Typed refs

    8 typed references; 0 resolver issues.

  • On-demand triggers

    All on-demand references describe triggers.

  • Evidence checks

    Hypothesis references include verification.

axis
source-specific
source
cwl
name
cwl-summary-to-galaxy-data-flow
contract

Reference Loading

Typed Mold references describe what casting consumes and when the generated skill should load each artifact.

Researchcomponent-cwl-workflow-anatomy

Background synthesis loaded by explicit progressive-disclosure metadata.

Purpose
Use CWL's native graph and mark only the features that need Galaxy reinterpretation.
Verify
Run against representative CWL summaries with scatter, secondaryFiles, and valueFrom; confirm the brief starts from summary-cwl graph edges and only adds Galaxy-specific reshape decisions.
Researchgalaxy-collection-semantics

Background synthesis loaded by explicit progressive-disclosure metadata.

Purpose
Translate CWL arrays, records, scatter, and secondary-file shapes into Galaxy dataset and collection semantics.
Trigger
When CWL input/output or step wiring implies Galaxy collections, map-over, reduction, or shape changes.
Patterngalaxy-collection-patterns

Workflow-construction idiom. Usually condensed during casting.

Purpose
Ground collection reshape, relabel, cleanup, and map-over choices in corpus-observed Galaxy recipes.
Trigger
When CWL scatter, arrays, nested arrays, records, or secondary-file contracts require explicit Galaxy collection operations.
Researchcwl-pickvalue-to-galaxy

Background synthesis loaded by explicit progressive-disclosure metadata.

Purpose
Map CWL pickValue (first_non_null / the_only_non_null / all_non_null) on workflow outputs or step inputs into Galaxy's native `pick_value` workflow module added by galaxy#22222.
Trigger
When any summary-cwl edge `via` contains a `pickValue:*` marker, OR any workflow_outputs[].output_source is multi-valued with pickValue, OR any steps[].in[].pick_value is non-null in the source workflow or referenced subworkflows.
Researchgalaxy-paired-or-unpaired-collections

Background synthesis loaded by explicit progressive-disclosure metadata.

Purpose
When the interface brief adopted a `paired_or_unpaired` shape, model inner-tool branching via `has_single_item` semantics instead of a Galaxy-level mode switch.
Trigger
When the preceding cwl-galaxy-interface brief uses `paired_or_unpaired` (or `list:paired_or_unpaired`) as a workflow input, OR the data-flow brief is considering it as an option.

Cast artifacts

How to install →

Artifact handoffs

/ pipeline contract

Produces

Consumes

cwl-summary-to-galaxy-data-flow

Read a CWL summary plus the preceding Galaxy interface brief and emit a reviewable Markdown data-flow brief. Capture abstract topology, Galaxy collection semantics, placeholder transformations, unresolved Galaxy tool needs, confidence, and open questions.

CWL already carries structured workflow shape, so this Mold should be lighter than nextflow-summary-to-galaxy-data-flow.

Start from summary-cwl.graph.edges[] instead of rediscovering the DAG. The main work is translation pressure: CWL scatter into Galaxy map-over or collection steps, linkMerge/pickValue into explicit fan-in choices, secondary files into output contracts, and valueFrom/when into reviewable placeholders when Galaxy cannot express them directly.

Incoming References (15)