-
Notifications
You must be signed in to change notification settings - Fork 56
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Upgraded BIDScoin from 3.7.0 to 4.2.0 + cleanup
- Loading branch information
1 parent
e8677ce
commit 01148fc
Showing
5 changed files
with
69 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,37 +1,52 @@ | ||
|
||
---------------------------------- | ||
## bidscoin/3.7.0 ## | ||
## bidscoin/4.2.0 ## | ||
Contains a collection of tools needed for DICOM to BIDS conversion, as well as MRS spectroscopy and physiological data to BIDS conversion | ||
|
||
Example: | ||
Tools included: | ||
``` | ||
dcm2niix: v1.0.20230411 https://github.com/rordenlab/dcm2niix | ||
bidscoin: https://bidscoin.readthedocs.io/en/4.2.0 | ||
bidscoin | ||
bidscoiner | ||
bidseditor | ||
bidsmapper | ||
bidsparticipants | ||
deface | ||
dicomsort | ||
echocombine | ||
medeface | ||
physio2tsv | ||
plotphysio | ||
rawmapper | ||
skullstrip | ||
slicereport | ||
``` | ||
|
||
Example reorganizing DICOM data: | ||
``` | ||
dicomsort dicomfolder/sub-folder -r -e .IMA | ||
``` | ||
dcm2niix | ||
bidsmapper | ||
bidscoiner | ||
bidseditor | ||
bidsparticipants | ||
deface | ||
medeface | ||
dicomsort | ||
rawmapper | ||
|
||
convert dicom to bids: | ||
dicomsort dicomfolder | ||
Example converting dicom to BIDS: | ||
``` | ||
Getting started: | ||
bidscoin -h | ||
Convert DICOM to BIDS: | ||
bidsmapper dicomfolder bidsoutputfolder | ||
bidscoiner dicomfolder bidsoutputfolder | ||
``` | ||
|
||
More documentation can be found here: | ||
https://bidscoin.readthedocs.io/en/latest/installation.html | ||
https://github.com/rordenlab/dcm2niix | ||
https://bidscoin.readthedocs.io/en/4.2.0 | ||
|
||
|
||
Citation: | ||
``` | ||
Zwiers MP, Moia S, Oostenveld R. BIDScoin: A User-Friendly Application to Convert Source Data to Brain Imaging Data Structure. Front Neuroinform. 2022 Jan 13;15:770608. doi: 10.3389/fninf.2021.770608. PMID: 35095452; PMCID: PMC8792932. | ||
``` | ||
|
||
To run container outside of this environment: ml bidscoin/3.7.0 | ||
To run container outside of this environment: ml bidscoin/4.2.0 | ||
|
||
---------------------------------- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ set -e | |
|
||
# this template file builds tools required for dicom conversion to bids | ||
export toolName='bidscoin' | ||
export toolVersion='3.7.0' | ||
export toolVersion='4.2.0' | ||
# Don't forget to update version change in README.md!!!!! | ||
|
||
if [ "$1" != "" ]; then | ||
|
@@ -13,9 +13,10 @@ fi | |
|
||
source ../main_setup.sh | ||
|
||
# Changes I made to .def file: | ||
# Changes made to .def file: | ||
# 1. turned the apt-get install to neurodocker install | ||
# 2. put commands with cd with && in between | ||
# TODO: update these list items to better reflect the changes made | ||
neurodocker generate ${neurodocker_buildMode} `# Based on Singularity .def file provided by bidscoin at https://github.com/Donders-Institute/bidscoin/blob/master/singularity.def` \ | ||
`# Install the latest dcm2niix from source` \ | ||
--pkg-manager apt \ | ||
|
@@ -31,12 +32,12 @@ neurodocker generate ${neurodocker_buildMode} `# Based on Singularity .def file | |
--install curl \ | ||
`# Install pigz (to speed up dcm2niix)` \ | ||
--install pigz \ | ||
`# Install the latest stable BIDScoin release from Python repository` \ | ||
`# Install the 4.2.0+Qt5 branch from Github` \ | ||
`# NOTE: PyQt5 is installed as Debian package to solve dependencies issues occurring when installed with pip.` \ | ||
--install python3-pyqt5 \ | ||
--miniconda version=latest \ | ||
pip_install='bidscoin[spec2nii2bids,phys2bidscoin]' \ | ||
--env DEPLOY_BINS=bidsmapper:bidscoiner:dicomsort:rawmapper:echocombine:deface:medeface:bidseditor:bidsparticipants \ | ||
pip_install='bidscoin[spec2nii2bids,deface]@git+https://github.com/Donders-Institute/[email protected]+qt5' \ | ||
--env DEPLOY_BINS=bidscoin:bidscoiner:bidseditor:bidsmapper:bidsparticipants:deface:dicomsort:echocombine:medeface:physio2tsv:plotphysio:rawmapper:skullstrip:slicereport:dcm2niix:pydeface \ | ||
--copy README.md /README.md \ | ||
> ${toolName}_${toolVersion}.Dockerfile | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
export QT_DEBUG_PLUGINS=1 | ||
bidscoin -t | ||
bidseditor myproject/bids |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters