Skip to content

Commit

Permalink
Clarified pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
jcohenadad authored Jul 19, 2023
1 parent 81e9d93 commit 1244bbd
Showing 1 changed file with 10 additions and 8 deletions.
18 changes: 10 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,13 +71,15 @@ dataset/

## Step 1. Data preprocessing

This pipeline includes the following steps:\
      **1.1** Install SCT;\
      **1.2** Edit configuration file;\
      **1.3** Segment spinal cord and vertebral discs;\
      **1.4** Quality control (QC) labels;\
      **1.5** Normalize spinal cord across subjects;\
      **1.6** Quality control (QC) spinal cord normalization across subjects.
This pipeline includes the following steps:
1. Install SCT
2. Edit configuration file
3. Segment spinal cord and vertebral discs
4. Quality control (QC) segmentation and labels using SCT's web-based HTML QC report, and download YML files of data to be corrected
5. Manually correct files when correction is needed using https://github.com/spinalcordtoolbox/manual-correction
6. Copy the non-corrected and corrected files back in the input dataset
7. Normalize spinal cord across subjects
8. Quality control (QC) spinal cord normalization across subjects.

### 1.1 Install SCT

Expand Down Expand Up @@ -116,7 +118,7 @@ sct_run_batch -script preprocess_segment.sh -config configuration.json -include-
```

With:
- `PATH_OUT`: The location where to output the results, the logs and the QC information. Example: `/scratch/template_preproc_YYYYMMDD-HHMMSS`. This is a temporary directory in that it is only needed to QC your labels. It therefore cannot be stored inside `path_data`.
- `PATH_OUT`: The location where to output the processed data, results, the logs and the QC information. Example: `/scratch/template_preproc_YYYYMMDD-HHMMSS`. This is a temporary directory in that it is only needed to QC your labels. It therefore cannot be stored inside `path_data`.
- `N_CPU`: The number of CPU cores to dedicate to this task (one subject will be process per core).

> **Note**
Expand Down

0 comments on commit 1244bbd

Please sign in to comment.