https://github.com/agdamsbo/normalisation-pipeline

Normalising T1 weighted brain scans and lesions.

https://github.com/agdamsbo/normalisation-pipeline

Science Score: 36.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
  • DOI references
    Found 1 DOI reference(s) in README
  • Academic publication links
    Links to: zenodo.org
  • Committers with academic emails
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (12.7%) to scientific vocabulary

Keywords

fsl mri-segmentation stroke
Last synced: 6 months ago · JSON representation

Repository

Normalising T1 weighted brain scans and lesions.

Basic Info
Statistics
  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • Open Issues: 0
  • Releases: 1
Topics
fsl mri-segmentation stroke
Created over 2 years ago · Last pushed about 2 years ago
Metadata Files
Readme Changelog License

README.md

DOI

Data processing for brain and lesion normalisation

This pipeline was comprised as part of my exchange stay at the Brain Behavior Lab at UBC, Vancouver, Canada. It is my hope that the notes and script may be of help to others, myself being a new learner to FSL and everything around it.

The reason for creating this tool is to use 1mm MNI normalised lesion masks for the NeMo tool.

Most of the hard working scripts in this pipeline are based on the work by Dr. Dianne Patterson, PhD. I have tried my best at modifying the original scripts as little as possible for clarity, and instead created a few new scripts to work as wrappers.

The pipeline provides a set of handy tools listed below, which I will also go through:

  • R-script to organise files into subject-folders

  • Shell pipeline to process all subject folders to extract brain mask, and normalise lesion mask to 1 mm MNI space (this is the primary content)

  • Shell-script to normalise lesion mask after manual correction of brain mask (no, even using optiBET is not perfect)

  • R-script to package lesion masks to supply to the NeMo tool.

Requirements

You need to have fsl as well as R and RStudio (or similar) installed. I also highly recommend the package ITK-SNAP, which can be used for some (semi-)manual mask modifications.

Files required for each subject

The scripts needs a T1 weighted scan and lesion mask in Nifti format. Naming should be as follows.

  • subjID_T1w.nii.gz
  • subjID_LesionMask.nii.gz

Instructions

Step-by-step documentation and notes are provided here.

Source and acknowledgements

Scripts for normalization: link

NeMo tool upload: link

Notes on changes from the originals

fslanatalt_bbl.sh: It took me some time to figure out, I have to say. During the script, the working directory is changed. This makes referencing the optiBETbbl.sh script a little tricky. I ended up going back a step with "cd -" and forward again after running optiBETbbl.sh.

Licensing

If nothing else is explicitly stated en the relevant files, everything in the repository is licensed under the AGPL-v3.

Owner

  • Name: Andreas Gammelgaard Damsbo
  • Login: agdamsbo
  • Kind: user
  • Location: Aarhus, Denmark

MD, clinical researcher, opensource-enthusiast.

GitHub Events

Total
  • Watch event: 1
Last Year
  • Watch event: 1

Committers

Last synced: 9 months ago

All Time
  • Total Commits: 77
  • Total Committers: 1
  • Avg Commits per committer: 77.0
  • Development Distribution Score (DDS): 0.0
Past Year
  • Commits: 0
  • Committers: 0
  • Avg Commits per committer: 0.0
  • Development Distribution Score (DDS): 0.0
Top Committers
Name Email Commits
Andreas Gammelgaard Damsbo a****s@g****k 77
Committer Domains (Top 20 + Academic)

Issues and Pull Requests

Last synced: 9 months ago

All Time
  • Total issues: 0
  • Total pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Total issue authors: 0
  • Total pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 0
  • Pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 0
  • Pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
Pull Request Authors
Top Labels
Issue Labels
Pull Request Labels