Sign inSign up

cplmeg/megflow

By cplmeg

•Updated 2 months ago

MEGFlow: A Scalable and Reproducible Pipeline for Large-Scale MEG Preprocessing

Image
0

473

cplmeg/megflow repository overview

⁠MEGFlow

MEGFlow is an open-source, scalable, and reproducible pipeline for magnetoencephalography (MEG) preprocessing, quality control, and source analysis. Built with MNE-Python and Nextflow, it supports automated and parallel processing from individual recordings to large multi-dataset studies.

⁠Key Features

  • Reproducible execution with Container
  • Parallel processing powered by Nextflow
  • Support for BIDS and non-BIDS MEG datasets
  • Configurable and staged workflows
  • Basic preprocessing, filtering, resampling, and Maxwell filtering
  • Automated bad-channel and bad-segment detection
  • ICA decomposition, component classification, and interactive review
  • Epoching and covariance estimation
  • Structural MRI processing, coregistration, forward modeling, and source localization
  • Dataset-level and corpus-level processing
  • Interactive Streamlit reports and portable static HTML QC reports
  • Nextflow caching and resume support for efficient incremental processing

MEGFlow is designed for reproducible research environments, large-scale MEG studies, and workflows that require consistent processing across subjects, datasets, acquisition systems, or research sites.

⁠Quick Start

Pull the Docker image:

docker pull cplmeg/megflow:1.0.0

Display the available commands:

docker run --rm -it cplmeg/megflow:1.0.0 -h

A typical processing command is:

docker run --rm -it \
  -v /path/to/meg-data:/input \
  -v /path/to/output:/output \
  cplmeg/megflow:1.0.0 \
  -i /input \
  -o /output \
  --steps meg_all

Please refer to the documentation for configuration files, structural MRI processing, interactive reports, corpus-level execution, and advanced workflow options.

⁠Resources

⁠License

MEGFlow is distributed under the Apache 2.0 License.

Tag summary

Content type

Image

Digest

sha256:79e5b87d7…

Size

15.6 GB

Last updated

2 months ago

docker pull cplmeg/megflow:1.0.0