Skip to content
forked from physimals/hcp-asl

ASL pipeline for the Human Connectome Project

License

Notifications You must be signed in to change notification settings

aptinis/hcp-asl

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ASL Pipeline for the Human Connectome Project

This repository contains the ASL processing pipeline scripts for the Human Connectome Project.

Contents

Prerequisites

The HCP list some prerequisites for their pipelines: https://github.com/Washington-University/HCPpipelines/wiki/Installation-and-Usage-Instructions.

The prerequisites specific to this pipeline, along with links to their installation pages, are listed below:

FSL version 6.0.5.1 is required to use new features in fabber and oxford_asl_roi_stats.py, which were added for this pipeline.

Workbench >= v1.5.0 is required. The -weighted option in wb_command's -volume-to-surface-mapping introduced in version 1.5.0 is used in projections to the surface.

The HCP Pipelines must be installed and the environment variable HCPPIPEDIR set in order for the (Sub-)Cortical LUTs to be used in SE-based bias correction.

Installation

It is advised that the pipeline is installed in a conda environment, for example following the steps below:

conda create -n hcpasl pip cython numpy python=3.7
conda activate hcpasl
git clone https://github.com/physimals/hcp-asl.git
cd hcp-asl
python -m pip install --user .

Usage

Once installed, the pipeline may be run as a command-line script as follows:

hcp_asl --studydir ${StudyDir} --subid ${Subjectid} --outdir ${IntermediateOutputDir}--mtname ${ScalingFactors} -g ${GradientCoeffs} -s ${T1} --sbrain ${T1Brain} --mbpcasl ${mbpcasl} --fmap_ap ${SEFM_AP} --fmap_pa ${SEFM_PA} --cores ${n_cores} --interpolation ${InterpType} --pvcorr --wmparc ${wmparc.nii.gz} --ribbon ${ribbon.nii.gz} --territories_atlas ${Atlas} --territories_labels ${AtlasLabels} --wbdir ${wbDir} -v

The filepaths passed to the script may be relative or absolute. A more detailed explanation of the arguments can be found by running:

hcp_asl --help

About

ASL pipeline for the Human Connectome Project

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 82.2%
  • Jupyter Notebook 10.9%
  • Shell 6.9%