BIDSCOINER(1)
π BIDSCOINER π
okay bestie, so this is bidscoiner β it lives in the bidscoin 4.6.2 era (dated 2025-11-06) and it is literally the moment your messy raw scan folder gets its glow-up β¨
β¨ NAME β¨
bidscoiner β your little conversion fairy that turns raw source data into a full-on BIDS baddie π§
π SYNOPSIS π
bidscoiner [-h] [-p LABEL [LABEL ...]] [-b NAME] [-f] [-c [SPECS]]
sourcefolder bidsfolder
πΈ DESCRIPTION πΈ
So here's the tea: bidscoiner "coins" your source datasets into NIfTI/json/tsv BIDS datasets, using the mapping info it finds in the bidsmap.yaml file. Periodt. π«Ά
Before you run it, go edit that bidsmap to your needs with the bidseditor tool, or (re-)run the bidsmapper whenever you run into unexpected data. That's the vibe check.
You can run bidscoiner once all your data has been collected, OR run/re-run it whenever new data has been added to your source folder (assuming the scan protocol hasn't changed). Also β and this is lowkey iconic β if you delete a subject/session folder from the bidsfolder, it will simply be re-created from the sourcefolder the next time you run bidscoiner. It really said "not me being the backup plan" ππ
The bidscoiner uses plugins, as stored in the bidsmap['Options'], to do the actual work.
Provenance information, warnings and error messages are stored in the bidsfolder/code/bidscoin/bidscoiner.log file. So if something's acting up, that log is your main character. π
sourcefolderβ The study root folder containing the raw source data π±bidsfolderβ The destination/output folder with the bids data π
π OPTIONS π
-p LABEL [LABEL ...],--participant LABEL [LABEL ...]β Space separated list of selectedsub-#names/folders to be processed (thesub-prefix can be omitted). Otherwise all subjects in thesourcefolderwill be processed. Pick your faves only π-b NAME,--bidsmap NAMEβ The study bidsmap file with the mapping heuristics. If the bidsmap filename is just the base name (i.e. no"/"in the name) then it is assumed to be located in the current directory or inbidsfolder/code/bidscoin. Default:bidsmap.yaml. That's the default bestie, no cap π-f,--forceβ Process all subjects, regardless of existing subject folders in thebidsfolder. Otherwise these subject folders will be skipped. Yes, it's giving "we're doing this whether you like it or not" π₯-c [SPECS],--cluster [SPECS]β Use the DRMAA library to submit the bidscoiner jobs to a high-performance compute (HPC) cluster. You can add an opaque DRMAA argument with native specifications for your HPC resource manager. β‘
NB: Use quotes and include at least one space character to prevent premature parsing β see examples. fr fr, the quoting matters π«
π¦ COMMENTS π¦
examples, aka the receipts:
bidscoiner myproject/raw myproject/bids
bidscoiner -f myproject/raw myproject/bids -p sub-009 sub-030
bidscoiner -f myproject/raw myproject/bids -c "--time=00:30:00
--mem=4000"
look at that cluster one go π β quotes AND a space, exactly like we said. iykyk π
β AUTHOR β
Marcel Zwiers <m.zwiers@donders.ru.nl> β the actual genius behind all this π«Άβ¨
okay that's the whole page bestie, you ate it, now go coin some datasets π π
this was the bidscoiner page from the Generated Python Manual, hailing from bidscoin 4.6.2, dated 2025-11-06 β mwah, bye ππ
π¦ where this page comes from
- fedora 43: bidscoin 4.6.2-1.fc43 Β· GPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms