Output files¶
LMBC separates processing records, imaging derivatives, and phenotype products. Directory contents depend on the input data and stages that completed. In the paths below, [ses-*] denotes an optional session directory; the brackets are not part of the directory name.
Planning records¶
The general planner writes records under <output>/logs/<run_uuid>/. These include the resolved configuration, environment information, dataset index, workflow plan, manifest, optional graph, text log, and JSONL events.
A planning manifest describes intended processing. It does not establish that the corresponding imaging or phenotype products were generated.
Database records and QC¶
Each adult database output root contains dataset.json (database identity and input/table paths). Each batch invocation writes logs/dataset/<uuid>/plan.json, preflight.csv, run-summary.json, execution.csv, and worker logs as applicable. Dry-runs write plans without worker results.
Unsharded processing also writes QC/qc-summary.csv, qc-runs.csv, qc-anatomical.csv, qc-report.json, and an initial visual-review-template.csv. Sharded cluster runs require a separate lmbc-qc call after all shards finish. A combined report uses the output directory supplied to lmbc-qc --output-dir. Refer to Quality control for fields and missing-state semantics.
Adult processing¶
QuNex sessions, imaging derivatives, and processing records are stored under Results_Qunex/sub-*/[ses-*]/. Downstream phenotype products are stored under Results_PostPre/sub-*/[ses-*]/:
Results_PostPre/sub-*/[ses-*]/
anat/
morphometry/
mind/
func/
timeseries/
parcellation/
connectivity/
qc/
logs/
_work/
Directories are created by the modules that use them. GS, WM, and CSF compatibility products are also written into the HCP result tree. Review logs/run-summary.json together with the stage-specific manifests and images.
ASL and website CSVs¶
Under Results_PostPre/sub-*/[ses-*]/, open the current visit’s asl/ for the plan, ASLPrep derivatives, QC and extracted CBF. Use website/struct-func/current.json or website/asl/current.json to locate the current participant CSVs. The group command publishes the selected cohort under group-csv/current/ with a manifest.json recording its visits and skipped measurements. Earlier group publications are under group-csv/history/. The per-visit .lmbc-visit.json records processing status and the attempt directory.
Infant processing¶
Infant imaging derivatives and intermediate products are stored under Results_Infant/sub-*/[ses-*]/. Phenotypes use the shared Results_PostPre hierarchy. The output root includes infant-plan.json and infant-run.json.
Manual QC reviews are written to QC_Infant/sub-*/[ses-*]/. The published subject/session QC/ directory contains index.html, report.json, qc-status.json, image snapshots, portable scenes, display assets, and rendering logs. Retain these files together when moving or sharing a report. See the infant workflow for the detailed output tree and Quality control for review guidance.
Numerical formats and sidecars¶
| Format | Typical content | Sidecar naming |
|---|---|---|
| TSV | Small arrays, parcel tables, and MIND matrices | Append .json: metric.tsv.json |
| TSV.GZ | Long vectors and compressed tables | Append .json: metric.tsv.gz.json |
| NPZ | Large matrices; commonly includes data and labels |
Append .json: metric.npz.json |
| GIFTI/CIFTI | Surface or grayordinate representations, where emitted by the workflow | Defined by the producing module |
The generic numerical writer uses NPZ for a two-dimensional array when its largest axis exceeds 1,000. Other arrays may be compressed according to element count; specialized writers can use different conventions. MIND primary matrices are written as uncompressed TSV.
Preserve sidecars and axis labels with the numerical values. They identify measurement definitions, spaces, atlases, dimensions, and processing settings. The output hierarchy is an LMBC convention; BIDS-style filenames do not by themselves establish validated BIDS Derivatives compliance.
Website scoring outputs¶
Website scoring produces a separate wide CSV: one row per input observation and two score columns per supplied metric. It does not replace the imaging derivatives, pipeline QC tables, or phenotype sidecars. Successful calculations may also be restored from account history, independently of the original upload's expiry. See Upload, estimate, and retrieve results for score definitions, partial-result handling, and retention.