Test Nextflow Example Script

Execute Nextflow scripts and verify outputs against documentation.

261|325|Updated Aug 27, 2020
One-click install
npx skills add https://github.com/nextflow-io/training --skill test-nextflow-example-script
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: Test Nextflow Example Script
Source: https://github.com/nextflow-io/training/tree/main/.claude/skills/test-example
Command: npx skills add https://github.com/nextflow-io/training --skill test-nextflow-example-script

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill helps verify that Nextflow example scripts run correctly, produce expected outputs, and align with accompanying documentation, reducing manual validation effort.

Core Features & Use Cases

  • Script discovery and understanding: Identify the Nextflow script to test and read its behavior.
  • Execution & validation: Run the script with Nextflow, capture outputs, and verify against documentation.
  • Resume & parameter testing: Validate resume functionality and test different parameter values to ensure deterministic results.

Quick Start

Start in the repository root, locate a recent or targeted .nf script, and run nextflow run [script.nf]. Compare outputs against doc references.

Frequently Asked Questions about Test Nextflow Example Script

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

FAQPage Schema
How do I validate Nextflow scripts against their documentation?

To validate Nextflow scripts, run the target script from its directory, capture console outputs, and compare the results against documented expectations. This automated testing verifies script behavior, resume functionality, and parameter configurations to ensure correctness.

How do I test resume functionality in a Nextflow workflow?

Testing resume functionality in a Nextflow workflow involves executing the script with resume parameters and verifying that the outputs remain deterministic. This automated validation checks if the resume process aligns with documented behavior and produces consistent results.

Can I test multiple parameter configurations in Nextflow automatically?

Yes, you can test multiple parameter configurations in Nextflow automatically. The validation process runs the script across different parameter values, captures console output, and compares the results against expectations to ensure deterministic outcomes.

What is the best way to automate Nextflow script testing?

The best way to automate Nextflow script testing is by executing the script from its directory, capturing console output, and verifying results against documentation. This approach validates script behavior and resume functionality across multiple configurations.

Why does my Nextflow script validation fail when running outside its directory?

Nextflow script validation fails when running outside its directory because the testing process enforces executing the script from its specific directory location. This constraint ensures proper output capture and accurate comparison against documented expectations.

Do I need to manually check Nextflow outputs against documentation?

No, you do not need to manually check Nextflow outputs against documentation. Automated validation executes the script, captures console output, and compares results against documented expectations, reducing manual validation effort and ensuring alignment.