Skip to content

Categories

Modules & Subworkflows in nf-neuro

nf-neuro pipelines are built using two key components:

🧩 Modules

  • Single, reusable Nextflow processes (e.g., brain extraction, filtering).
  • Found in /modules/nf-neuro/.
  • Focused on one specific task.
  • πŸ”— Subworkflows

  • Chains of modules forming higher-level workflows.
  • Found in /subworkflows/.
  • Define how modules connect to achieve a broader goal (e.g., preprocessing pipeline).
  • Why?

  • πŸ”„ Reusability
  • 🧼 Clean, modular code
  • πŸš€ Easier maintenance & scaling
  • πŸ‘‡ Let’s explore full API details for modules and subworkflows.