Skip to content

CaitlinLloyd/FW_correction

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FW_correction: Remove freewater from diffusion-weighted imaging (dwi) data

The collection of files here includes everything needed to run freewater correction on dwi data (single shell) using the method developed by Parker and colleagues (original repository here: https://github.com/DiCIPHR-Lab/Fernet). Some minor updates have been made to the filenames, to prevent issues running the scripts. The files have also been packaged into a Docker container, allowing you to run the correction steps within a single script, relatively easily.

With docker or singularity installed, you can run the following:

docker pull drlloydpi/fw_correct_arm (for docker)

singularity pull pull fw_correct.sif docker://drlloydpi/fw_correct_arm (for singularity)

If you are running docker on an M1 mac, you can also use: docker pull drlloydpi/fw_correct:latest

Then to run, you will use the following command docker run -v $local_path_to_data:/data drlloydpi/fw_correct_arm ./main.sh /data/$path_to_dwi /data/$path_to_bval /data/$path_to_bvec /data/$path_to_mask ../data/fw_out

or

singularity run -v $local_path_to_data:/data fw_correct ./main.sh /data/$path_to_dwi /data/$path_to_bval /data/$path_to_bvec /data/$path_to_mask ../data/fw_out

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published