Skip to content

This repository contains a script designed for the analysis of tractography data using DSI Studio. The script computes a range of tract properties as described in (Yeh, F. C., Neuroimage, 2020)

Notifications You must be signed in to change notification settings

gamorosino/dsi-studio-trk-ana

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 

Repository files navigation

dsi-studio-trk-ana

This repository contains a script designed for the analysis of tractography data using DSI Studio. The script computes a range of tract properties as described in Yeh, F. C. (2020)

Features

This app computes detailed tract properties, including:

  • Length
  • Span
  • Volume
  • Diameter
  • Surface Area
  • Curl
  • Elongation
  • Irregularity

The results are exported as structured statistics for further analysis.

Author

Gabriele Amorosino ([email protected])

Usage

Running on Brainlife.io

You can run the dsi-studio-trk-ana app on the Brainlife.io platform via the web user interface (UI) or using the Brainlife CLI. With both methods, inputs and outputs are managed on the Brainlife.io platform, and computations are performed using its cloud computing resources.

On Brainlife.io via UI

  1. Navigate to the Brainlife.io platform and locate the dsi-studio-trk-ana app.
  2. Click the "Execute" tab and specify the required dataset inputs.

On Brainlife.io using CLI

  1. Install the Brainlife CLI on your UNIX/Linux-based system by following the instructions at Brainlife CLI Installation.
  2. Log in to the Brainlife CLI using your Brainlife.io credentials:
    bl login
  3. Run the app using the following command:
    bl app run --id <app_id> --project <project_id> --input tt:<tt_object_id>
    The output will be stored in the specified project identified by <project_id>.

Running Locally (on your machine)

Follow these steps to run the script locally on your machine:

  1. Clone the repository:

    git clone https://github.com/gamorosino/dsi-studio-trk-ana.git
    cd dsi-studio-trk-ana
  2. Create a config.json file in the repository directory, specifying the required input paths. Example:

    {
        "tt": "/path/to/tract.trk"
    
    }
  3. Run the script:

    ./main

    The script will:

    • Use DSI Studio via a Singularity container to analyze the tract file.
    • Export computed statistics to stat/tractmeasure.tsv.

Requirements

  • Singularity: Ensure Singularity is installed and accessible.

Outputs

  • Statistics: The results of the analysis will be stored in stat/tractmeasure.tsv.

Citation

If you use this app in your research, please cite the following:

About

This repository contains a script designed for the analysis of tractography data using DSI Studio. The script computes a range of tract properties as described in (Yeh, F. C., Neuroimage, 2020)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages