Channel.fromBIDS Usage & Parameters
This page documents the Channel.fromBIDS factory call and runtime options.
Required Parameters
| Parameter | Type | Description |
|---|---|---|
|
|
Path to the BIDS dataset root. |
|
|
Path to the YAML configuration file. |
Optional Runtime Options
| Option | Type | Description |
|---|---|---|
|
|
Default |
|
|
Default |
|
|
Optional override path to |
|
|
Whether to respect |
|
|
Whether default ignore patterns are applied while parsing. |
|
|
Optional path to a JSON file used to enrich metadata aliases in emitted items. |
|
|
Validation toggle (reserved for validator integration flow). |
Advanced validator-related options such as validator_version and
ignore_codes are not part of the active user-facing runtime flow in the current release.
|
Basic Usage
include { fromBIDS } from 'plugin/nf-bids'
workflow {
Channel.fromBIDS(params.bids_dir, params.config)
.view()
}
Usage with Runtime Options
Channel.fromBIDS(
params.bids_dir,
params.config,
[
flatten_output: true,
unpack_json_sidecar: false,
use_bidsignore: true,
use_default_ignores: true,
libbids_sh: null,
entity_aliases_json: null
]
)