Outputs#
MEGPrep writes Nextflow execution files under output_dir and processing
derivatives under preproc_dir. By default:
preproc_dir = ${params.output_dir}/preprocessed
Top-Level Output Layout#
Path |
Description |
|---|---|
|
Nextflow work directory. |
|
Nextflow execution report when run through the Docker entrypoint. |
|
Nextflow timeline when run through the Docker entrypoint. |
|
Nextflow process trace. The static report uses it to populate per-subject
|
|
Effective config copied from the Docker run config. |
|
Portable MEGPrep QC report. Depending on |
|
MEGPrep processing derivatives. |
Preprocessed Directory#
Path |
Contents |
|---|---|
|
Continuous preprocessed raw files, ICA-clean raw files, and selected QA plots. |
|
Bad-channel files, bad-segment annotation files, and artifact review images. |
|
ICA model, component labels, ECG/EOG score files, component figures, and overlay/PSD plots. |
|
Epoch FIF files, rejection logs, and epoch-level figures. |
|
Noise covariance FIF file and covariance visualization figures. |
|
MEG-MRI transform, coregistration distance CSV, and staged coregistration figures. |
|
Forward model outputs and head model figures. |
|
Source reconstruction outputs and visualization figures. |
|
Nextflow log, MEGPrep run manifest, and config snapshots when available. |
|
DeepPrep outputs when |
Important Sidecar Files#
File pattern |
Meaning |
|---|---|
|
Continuous output from OSL preprocessing. |
|
One bad channel name per line. |
|
MNE annotation file containing bad time spans. |
|
Fitted ICA model. |
|
ICA component indices selected for exclusion. |
|
ECG/EOG candidate indices and scores when produced by ICA labeling. |
|
Continuous raw file after ICA application. |
|
Epoch output. |
|
Rejected epoch indices and estimated remaining epoch count. |
|
Noise covariance estimate. |
|
Coregistration distance summary in mm. |
|
MEG-MRI transform used by forward modeling. |
|
Pipeline mode, selected stages, path snapshot, and runtime metadata. |
The exact set of outputs depends on params.steps. For example,
meg_artifacts does not produce ICA, epoch, covariance, forward, or source
outputs, while report only rebuilds the static report from existing files.