pegasus-convert

Convert Snakemake or Nextflow pipelines into Pegasus workflow definitions.

Updated Feb 11, 2026
One-click install
npx skills add https://github.com/pegasus-isi/pegasus-workflow-toolkit --skill pegasus-convert
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pegasus-convert
Source: https://github.com/pegasus-isi/pegasus-workflow-toolkit/tree/main/.claude/skills/pegasus-convert
Command: npx skills add https://github.com/pegasus-isi/pegasus-workflow-toolkit --skill pegasus-convert

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) and scripts (resource) components.

What problem does it solve?

This Skill automates the complex and time-consuming process of converting existing Snakemake or Nextflow data processing pipelines into the Pegasus workflow management system.

Core Features & Use Cases

  • Automated Conversion: Translates pipeline logic, inputs, outputs, and commands from other workflow languages into Pegasus transformations, jobs, and wrapper scripts.
  • Concept Mapping: Provides explicit mappings for common constructs like rules, processes, inputs, outputs, shell commands, and resource definitions.
  • Use Case: A bioinformatics lab has a well-established Snakemake pipeline for genomic analysis. They need to migrate this to a high-performance computing environment that uses Pegasus. This Skill will convert their Snakefile and associated scripts into a functional Pegasus workflow generator.

Quick Start

Use the pegasus-convert skill to convert the attached Snakefile and its associated configuration files into a Pegasus workflow.

Frequently Asked Questions about pegasus-convert

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

FAQPage Schema
How do I convert a Snakemake pipeline to Pegasus?

To convert a Snakemake pipeline to Pegasus, the Skill translates pipeline rules, shell commands, inputs, outputs, and resource requirements into Pegasus transformations, jobs, and wrapper scripts. It also generates Dockerfiles, workflow generator scripts, and README documentation to facilitate the migration.

Can I migrate Nextflow processes to Pegasus workflow definitions?

Yes, you can migrate Nextflow processes to Pegasus workflow definitions. The Skill maps Nextflow processes, inputs, outputs, shell commands, and resource definitions directly into Pegasus transformations, jobs, and wrapper scripts for high-performance computing environments.

What is the best way to automate workflow migration from Snakemake or Nextflow?

The best way to automate workflow migration from Snakemake or Nextflow is using a conversion tool that explicitly maps pipeline logic and constructs to the target system. This Skill automates this by generating the required Pegasus transformations, jobs, wrapper scripts, and Dockerfiles.

Does the converted Pegasus workflow include resource requirements from the original pipeline?

Yes, the converted Pegasus workflow includes resource requirements from the original pipeline. The conversion process explicitly maps resource definitions from Snakemake or Nextflow into the corresponding Pegasus job and transformation configurations.

What output files are generated when converting Nextflow to Pegasus?

When converting Nextflow to Pegasus, the generated output files include Pegasus workflow definitions, wrapper scripts for the jobs, Dockerfiles for containerized execution, workflow generator scripts, and README documentation for setup and usage.

Why use Pegasus for bioinformatics pipelines instead of Snakemake?

Using Pegasus for bioinformatics pipelines instead of Snakemake is beneficial when migrating to high-performance computing environments. Pegasus manages complex workflow dependencies, data transfer, and execution across distributed systems, which this Skill facilitates by converting existing Snakemake logic.