stats_mergejson
Allows you to fuse JSON with different merging possibilities.
Keywords : scilpy, stats, JSON, xlsx, merge
Inputs
Section titled “Inputs”Input 1
Section titled “Input 1”Format : tuple val(meta), path(jsons)
| Type | Description | Mandatory | Pattern | |
|---|---|---|---|---|
| meta | map | Groovy Map containing sample information e.g. [ id:'test', single_end:false ] | True | |
| jsons | file | set of json to merge together. | True | *.json |
Outputs
Section titled “Outputs”Format : tuple val(meta), path(*_stats.json)
| Type | Description | Mandatory | Pattern | |
|---|---|---|---|---|
| meta | map | Groovy Map containing sample information e.g. [ id:'sample1', single_end:false ] | True | |
| *_stats.json | file | json containing all merged jsons. | True | *_stats.json |
Format : tuple val(meta), path(*_stats.xlsx)
| Type | Description | Mandatory | Pattern | |
|---|---|---|---|---|
| meta | map | Groovy Map containing sample information e.g. [ id:'sample1', single_end:false ] | True | |
| *_stats.xlsx | file | xlsx containing all merged jsons. | True | *_stats.xlsx |
versions
Section titled “versions”Format : path(versions.yml)
| Type | Description | Mandatory | Pattern | |
|---|---|---|---|---|
| versions.yml | file | File containing software versions. | True | versions.yml |
Arguments (see process.ext)
Section titled “Arguments (see process.ext)”| Type | Description | Default | Choices | |
|---|---|---|---|---|
| prefix | string | defines the prefix of output files. | ||
| suffix | string | It will add an extra string before “_stats.json” | _stats | |
| per_point | boolean | If set, will perform a first operation to remove parent key from all files. | False | |
| average_last_layer | boolean | If set, will average all entries (scalar) at the lowest layers, but instead of creating a list it creates a mean/std level. | False | |
| recursive | boolean | If set, will merge all entries (scalar) at the lowest layers as a list. | False | |
| no_list | boolean | If set, will merge all entries at the top level, if there is a conflict the lowest level will be extended with the new values (if list) or added (if value). | False | |
| stats_over_population | boolean | If set, consider the input stats to be over an entire population and not subject-based. | False |
| Description | DOI | |
|---|---|---|
| scilpy | The Sherbrooke Connectivity Imaging Lab (SCIL) Python dMRI processing toolbox. |
Authors
Section titled “Authors”Last updated : 2025-10-30