Oct 10, 2023

Public workspacecermep-bids-retro V.1

  • 1CarMeN Laboratory, Université Claude Bernard Lyon 1, INSERM U1060, INRA U1397, Lyon, France;
  • 2Olea Medical, La Ciotat, France
Open access
Protocol Citationlucie.chalet 2023. cermep-bids-retro. protocols.io https://dx.doi.org/10.17504/protocols.io.261ge319dl47/v1
License: This is an open access protocol distributed under the terms of the Creative Commons Attribution License,  which permits unrestricted use, distribution, and reproduction in any medium, provided the original author and source are credited
Protocol status: Working
We use this protocol and it's working
Created: March 22, 2023
Last Modified: October 10, 2023
Protocol Integer ID: 79230
Funders Acknowledgement:
ANR CYCLOPS
Grant ID: ANR-15-CE17-0020
ANR CMRO2
Grant ID: ANR-21-CE17-0028
RHU MARVELOUS
Grant ID: ANR-16-RHUS-0009
Disclaimer
DISCLAIMER – FOR INFORMATIONAL PURPOSES ONLY; USE AT YOUR OWN RISK

The protocol content here is for informational purposes only and does not constitute legal, medical, clinical, or safety advice, or otherwise; content added to protocols.io is not peer reviewed and may not have undergone a formal approval of any kind. Information presented in this protocol should not substitute for independent professional judgment, advice, diagnosis, or treatment. Any action you take or refrain from taking using or relying upon the information presented here is strictly at your own risk. You agree that neither the Company nor any of the authors, contributors, administrators, or anyone else associated with protocols.io, can be held responsible for your use of the information contained in or linked to this protocol or any of our Sites/Apps and Services.
Abstract
cermep-bids-retro enables the formatting of retrospective PET and MRI data to BIDS standards from DICOM databases. When dealing with pre-clinical imaging modalities, numerous metadata are overlooked during acquisitions making it difficult to automatically format following BIDS guidelines. This python-based project is a flexible method for BIDS formatting with input csv files to compensate for lacking DICOM tags. And advanced data quality assessment.
cermep-bids-retro installation
cermep-bids-retro installation
Clone repository
In GitBash:

Create conda environment

cd cermep-bids-retro
conda env create -f environment.yml
conda activate bids-retro

Fill-in input files
Fill-in input files
This step is key to a functional method. It requires a good knowledge
of the available tags and fields in the DICOM data and one can always refer
to the BIDS specifications to define all required tags for their modality.
Substeps below provide description and example for each column of the 3 input files.
Description and examples to fill in seq_overview.csv

This table must be filled in simultaneously with seq_overview.csv
Desciption and examples to fill in dcm2bids_tags.csv.
This table is necessary for formatting of PET data, otherwise optional
Description and examples to fill in pet_doses.csv

Run formatting task
Run formatting task
Replace argument values and run task from command line:

python bids_retro\\main.py \
--src_mri "path\to\modality" \
--src_pet "E:\PhD\temp\data_fabien\raw_dcm" \
--sequences_overview "inputs\seq_overview.csv" \
--pet_doses "inputs\pet_doses.csv" \
--dcm2bids_tags "inputs\dcm2bids_tags.csv" \
--species "name of species" \
--src_structure "A" \
--in_sub_dcm_list "subjectA,subjectB" \
--in_ses_dcm_list "session" \
--dest "path\to\bids\formatted\destination" \
--quality_testing 1 \
--results "path\to\save\quality_analysis\results" \
--include_dicom 0 --verbose 1