Skip to content
This repository has been archived by the owner on Jul 23, 2024. It is now read-only.

Mathilde-16/STOP_MS_data

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 

Repository files navigation

Warning

This repository was archived. New development is happening here: https://github.com/sct-pipeline/STOP-MS-data

SCT pipeline for a large-scale clinical dataset

The STOP_MS_data repository contains process_data.sh batch script for the segmentation and the vertebral labeling of cervical spinal cord, using the spinal cord toolbox. The dataset corresponds to brain MRI acquisitions which typically pass C2-C3 and a small part of the images go up to C4.

Requirements

Following dependencies are required

  • SCT version 6.3 (Install Spinal Cord Toolbox)
  • Install manual-correction : the SCT command for the vertebral labeling doesn't work for some subjects in the dataset (the identification of the levels is wrong), therefore it will be necessary to fix it manually for subjects who fail the vertebral labeling.

Config YAML file

A config YAML file, as shown below, is needed to precise the path to the dataset and the path to save the output files.

# Path to the folder containing the dataset 
path_data: 

# Path to save the output
path_output:

It is also necessary to create a main folder containing the dataset folder, the script and the config YAML file. Organisation within the main folder should look like this:

├── DATA
└── config.yml

How to use the script

First step

Run processing across all subjects :

cd PATH/TO/THE/MAIN/FOLDER

#To allow permissions 
chmod +x config.yml 
  
#SCT command to run the script across all subjects
sct_run_batch -script process_data.sh -config config.yml -jobs 9

Second step

Launch the QC report and flag with a ❌ the subjects that need to be manually corrected for the vertebral labeling and download the config YAML file that list all the subjects which failed.

Then perform manual vertebral labeling as shown in the following video tutorial :

IMAGE ALT TEXT HERE

Third step

Rerun the script as in the second step. For each subject, if the manual correction exists, it will use it. If not, it will regenerate the vertebral labeling.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages