tvb-ukbb
tvb-ukbb copied to clipboard
add support for reorganizing into BIDS standard post-processing
will require dataset-specific customization of the code here: https://github.com/McIntosh-Lab-RRI/tvb-ukbb/blob/master/bb_pipeline_tools/bb_UKBB_to_BIDS_converter.py
BIDS specification found here: https://bids-specification.readthedocs.io/en/stable/
add BIDS-ification:
- option before running pipeline to automatically BIDS-ify the current sub
- option before running batches to automatically BIDS-ify the entire batch
- option to BIDS-ify a subject after running the pipeline
- option to batch BIDS-ify several subjects after running the pipeline
This may require the creation of a temporary BIDS structure with symlinks pointing to the subject's files while the pipeline is running. When the pipeline is done running, a script can be run to copy-paste each sub into a new BIDs structure and delete the old structure & temp symlink BID structure (instead of the relatively riskier mv command).