fmschulz

bio-workflow-methods-docwriter

Generate reproducible Methods documentation from workflow run artifacts (Nextflow/Snakemake/CWL), including exact commands, versions, parameters, QC gates, and outputs.

fmschulz 7 2 Updated 7mo ago

Resources

6
GitHub

Install

npx skillscat add fmschulz/omics-skills/bio-workflow-methods-docwriter

Install via the SkillsCat registry.

About this skill

We need to produce a 2-3 sentence plain-text summary, objective, factual, no marketing, no superlatives, no calls to action. No bullet points, no headings, no markdown. At most 60 words. Must be plain text, not wrapped in quotes. We need to explain what skill does, what problem it solves, when to use. Let's craft: "This skill extracts workflow run artifacts from Nextflow, Snakemake, or CWL executions to produce a reproducible Methods section and a machine‑readable run manifest.

SKILL.md

Bio Workflow Methods Docwriter

Create publication-ready Methods and run documentation from real workflow artifacts.

Instructions

  1. Collect the workflow evidence package (logs, configs, version files).
  2. Build run_manifest.yaml strictly from evidence.
  3. Validate the manifest against the schema.
  4. Draft METHODS.md with a concise workflow summary at the top.
  5. Verify QC gates and reproducibility details are captured.

Quick Reference

Task Action
Evidence checklist See reference/evidence-checklist.md
Manifest schema schemas/run-manifest.schema.json
Validate manifest python scripts/validate_run_manifest.py run_manifest.yaml
Examples See examples/

Input Requirements

  • Workflow artifacts (Nextflow/Snakemake/CWL logs and configs)
  • Tool version records or container digests
  • QC reports and output manifests

Output

  • METHODS.md (workflow summary + detailed steps)
  • run_manifest.yaml (machine-readable run manifest)

Quality Gates

  • No invented commands, versions, or parameters
  • Every step has inputs, outputs, and versions captured
  • Workflow summary appears at top of METHODS.md

Examples

Example 1: Validate a manifest

python scripts/validate_run_manifest.py run_manifest.yaml

Troubleshooting

Issue: Missing tool versions in logs
Solution: Mark as NOT CAPTURED and add a note on how to capture next time.