Skip to content
Back to skills

Nf To Galaxy

ASecurity

Router skill for Nextflow to Galaxy conversions - directs to appropriate sub-skill

  • 57 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added October 17, 2026
documentationtestingdocumentation

Works with

  • mcp

Security analysis

A100/100

Scanned October 17, 2026

npx -y skills add diegosouzapw/awesome-omni-skill --skill nf-to-galaxy --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Nf To Galaxy?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Nf To Galaxy
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/diegosouzapw-nf-to-galaxy/badge)](https://www.skillsdirectory.com/skills/diegosouzapw-nf-to-galaxy)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: nf-to-galaxy
description: Router skill for Nextflow to Galaxy conversions - directs to appropriate sub-skill
---

# Nextflow 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** | `.nf` files (code) | `.ga` files (JSON) |
| **Dependencies** | Containers or Conda | Conda via `<requirements>` |
| **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-integration/galaxy-integration.md`** - Galaxy MCP/BioBlend: setup, tool checking, workflow testing
- **`check-tool-availability.md`** - Manual tool checking across repositories
- **`testing-and-validation.md`** - Routing page to canonical testing docs
- **`../../tool-dev/references/testing.md`** - Tool testing with Planemo

### Tool Discovery Order (Installed vs Available vs Missing)

Before you conclude a tool is "missing", distinguish:

1. **Installed on your target Galaxy instance** (ready to use in a `.ga`).
2. **Not installed, but has an existing wrapper** that can be installed (ToolShed / tools-iuc / known maintainers).
3. **No wrapper exists** (tool wrapper must be created).

If you determine (3) applies, use **`nf-process-to-galaxy-tool/`** to create a Galaxy tool wrapper.

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):
- `iuc`
- `devteam`
- `bgruening`
- `genouest`

### Reference Documentation
- **`nextflow-galaxy-terminology.md`** - Concept mappings (process→tool, workflow→.ga)
- **`process-to-tool.md`** - Process → Tool conversion details
- **`workflow-to-ga.md`** - Workflow → .ga conversion details
- **`container-mapping.md`** - Container → Conda package mapping
- **`datatype-mapping.md`** - File patterns → Galaxy datatypes
- **`tool-sources.md`** - Where to create tools (tools-iuc vs custom)

### Scripts & Examples
- **`scripts/`** - Automation scripts (see `scripts/README.md`)
- **`examples/`** - Complete conversion examples (see `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/`
Convert a single Nextflow process to a Galaxy tool XML.

### `nf-subworkflow-to-galaxy-workflow/`
Convert a Nextflow subworkflow to a Galaxy workflow.

### `nf-pipeline-to-galaxy-workflow/`
Convert a complete Nextflow pipeline to a Galaxy solution.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.