galaxy-tool-wrapping

Create, validate, and debug Galaxy XML tool wrappers with Planemo.

17|2|Updated Dec 20, 2025
One-click install
npx skills add https://github.com/Delphine-L/claude_global --skill galaxy-tool-wrapping
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: galaxy-tool-wrapping
Source: https://github.com/Delphine-L/claude_global/tree/main/skills/galaxy/tool-wrapping
Command: npx skills add https://github.com/Delphine-L/claude_global --skill galaxy-tool-wrapping

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Galaxy tool wrappers enable seamless integration of command-line tools into the Galaxy platform, but creating robust XML wrappers, ensuring correct dependencies, and validating tool behavior can be complex. This skill provides a structured guide and best practices to design, test, and publish Galaxy tool wrappers using XML, Planemo, and Tool Shed metadata.

Core Features & Use Cases

  • Wrapper authoring: Develop well-formed Galaxy tool wrappers (XML) with precise inputs, outputs, and metadata.
  • Planemo testing: Validate wrappers using planemo lint, planemo test, and local Galaxy workflows.
  • Troubleshooting & debugging: Diagnose common wrapper issues via dedicated documentation and debugging workflows.
  • Use Case: A researcher wraps a CLI tool into a Galaxy tool, ensures tests pass, pins dependencies, and submits to the Tool Shed.

Quick Start

Begin by setting up a minimal wrapper (tool.xml), define inputs/outputs, add a few tests, and run planemo lint followed by planemo test to iterate quickly.

Frequently Asked Questions about galaxy-tool-wrapping

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I create a Galaxy tool wrapper for a command-line tool?

A Galaxy tool wrapper is an XML file that integrates CLI tools into Galaxy by defining inputs, outputs, and execution logic. Start with a minimal tool.xml, define command parameters and outputs, then validate with planemo lint and planemo test to ensure the wrapper executes correctly.

What is Planemo and how do I use it to test Galaxy wrappers?

Planemo is a command-line toolkit for developing and testing Galaxy tools. Use planemo lint to validate XML syntax and best practices, then planemo test to run functional tests against your wrapper in a local Galaxy instance, catching integration issues before submission.

How do I validate and debug a Galaxy tool wrapper?

Validate wrappers by running planemo lint for structural checks and planemo test for functional validation. Debug common issues like missing dependencies, incorrect parameter mappings, or malformed XML by checking test output logs and comparing expected vs. actual tool behavior.

Can I use Galaxy tool wrappers to publish tools to the Tool Shed?

Yes. After creating and testing your XML wrapper with Planemo, ensure all tests pass and dependencies are pinned, then submit to the Galaxy Tool Shed using shed metadata workflows. This makes your wrapped tool discoverable and installable by other Galaxy instances.

What dependencies and metadata do I need to include in a Galaxy tool wrapper?

Include explicit tool dependencies (via conda or other package managers) to ensure reproducibility. Add shed metadata such as categories, descriptions, and authors. Pinning versions and enforcing dependencies prevents compatibility issues and ensures consistent tool behavior across Galaxy instances.

Does Galaxy tool wrapping work with complex multi-step workflows?

Galaxy tool wrappers define individual tool behavior; for multi-step automation, combine wrappers into Galaxy workflows that chain tool outputs and inputs. Each wrapper must be independently testable with Planemo before integration into larger workflow logic.