Awesome-omni-skill nf-to-galaxy
Router skill for Nextflow to Galaxy conversions - directs to appropriate sub-skill
git clone https://github.com/diegosouzapw/awesome-omni-skill
T=$(mktemp -d) && git clone --depth=1 https://github.com/diegosouzapw/awesome-omni-skill "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/documentation/nf-to-galaxy" ~/.claude/skills/diegosouzapw-awesome-omni-skill-nf-to-galaxy && rm -rf "$T"
skills/documentation/nf-to-galaxy/SKILL.mdNextflow to Galaxy Conversion (Router)
Purpose
This is a router skill that directs you to the appropriate specialized skill based on what you're converting.
For complete pipelines, you are expected to include bioinformatics best-practice sanity checks and discuss QC + reporting requirements (e.g. MultiQC). See
nf-pipeline-to-galaxy-workflow/SKILL.md.
What Are You Converting?
Option 1: Single Nextflow Process → Galaxy Tool
Converting: One Nextflow process to one Galaxy tool XML
Example:
HYPHY_FEL process → hyphy_fel.xml tool
Use skill:
nf-process-to-galaxy-tool
When to use:
- Creating a Galaxy tool wrapper for a specific bioinformatics tool
- You've identified a missing tool during pipeline conversion
- Converting a single nf-core module
Option 2: Nextflow Subworkflow → Galaxy Workflow
Converting: Multiple connected Nextflow processes to a Galaxy workflow
Example:
PROCESS_VIRAL_NONRECOMBINANT subworkflow → Galaxy .ga workflow
Use skill:
nf-subworkflow-to-galaxy-workflow
When to use:
- Converting a logical group of processes
- Building a reusable workflow component
- Most processes already have Galaxy tools
Option 3: Complete Nextflow Pipeline → Galaxy Solution
Converting: Full Nextflow pipeline to complete Galaxy solution
Example:
CAPHEINE pipeline → Multiple Galaxy workflows + any missing tools
Use skill:
nf-pipeline-to-galaxy-workflow
When to use:
- Converting an nf-core pipeline
- Large-scale conversion project
- Need to plan tool creation + workflow assembly
Key Concepts
Before using any sub-skill, understand these mappings:
| Aspect | Nextflow | Galaxy |
|---|---|---|
| Unit of work | Process (Groovy DSL) | Tool (XML) |
| Organization | Module (directory) | Tool directory |
| Workflow format | files (code) | files (JSON) |
| Dependencies | Containers or Conda | Conda via |
| Inputs/Outputs | Channels | Datasets with datatypes |
Critical: One Nextflow process = One Galaxy tool
Read:
nextflow-galaxy-terminology.md for detailed conceptual mapping
Getting Started
New to this skill? See
README.md for file organization and navigation.
Using Galaxy integration? See
../../galaxy-integration/README.md and ../../galaxy-integration/galaxy-integration.md.
Shared Resources
Core Guides
- Galaxy MCP/BioBlend: setup, tool checking, workflow testing../../galaxy-integration/galaxy-integration.md
- Manual tool checking across repositoriescheck-tool-availability.md
- Routing page to canonical testing docstesting-and-validation.md
- Tool testing with Planemo../../tool-dev/references/testing.md
Tool Discovery Order (Installed vs Available vs Missing)
Before you conclude a tool is "missing", distinguish:
- Installed on your target Galaxy instance (ready to use in a
)..ga - Not installed, but has an existing wrapper that can be installed (ToolShed / tools-iuc / known maintainers).
- No wrapper exists (tool wrapper must be created).
If you determine (3) applies, use
to create a Galaxy tool wrapper.nf-process-to-galaxy-tool/
When a tool is not installed on the target instance, follow the repository search order in
.check-tool-availability.md
Common ToolShed owners to check (not exhaustive):
iucdevteambgrueninggenouest
Reference Documentation
- Concept mappings (process→tool, workflow→.ga)nextflow-galaxy-terminology.md
- Process → Tool conversion detailsprocess-to-tool.md
- Workflow → .ga conversion detailsworkflow-to-ga.md
- Container → Conda package mappingcontainer-mapping.md
- File patterns → Galaxy datatypesdatatype-mapping.md
- Where to create tools (tools-iuc vs custom)tool-sources.md
Scripts & Examples
- Automation scripts (seescripts/
)scripts/README.md
- Complete conversion examples (seeexamples/
)examples/README.md
Quick Decision Tree
What are you converting? │ ├─ Single process? │ └─ Use: nf-process-to-galaxy-tool │ ├─ Subworkflow (multiple processes)? │ └─ Use: nf-subworkflow-to-galaxy-workflow │ └─ Complete pipeline? └─ Use: nf-pipeline-to-galaxy-workflow
Sub-Skills
nf-process-to-galaxy-tool/
nf-process-to-galaxy-tool/Convert a single Nextflow process to a Galaxy tool XML.
nf-subworkflow-to-galaxy-workflow/
nf-subworkflow-to-galaxy-workflow/Convert a Nextflow subworkflow to a Galaxy workflow.
nf-pipeline-to-galaxy-workflow/
nf-pipeline-to-galaxy-workflow/Convert a complete Nextflow pipeline to a Galaxy solution.