soichih / app-QWarp

runs AFNI's 3dQwarp function over a NIfTI file

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Abcdspec-compliant Run on Brainlife.io

app-example-documentation

See the AFNI documentation for 3dQwarp.

To use this app, add all optional tags

Authors

Contributors

  • Jamie Hanson

Funding Acknowledgement

brainlife.io is publicly funded and for the sustainability of the project it is helpful to Acknowledge the use of the platform. We kindly ask that you acknowledge the funding below in your publications and code reusing this code.

NSF-BCS-1734853 NSF-BCS-1636893 NSF-ACI-1916518 NSF-IIS-1912270 NIH-NIBIB-R01EB029272

Citations

We kindly ask that you cite the following articles when publishing papers and code using this code.

  1. Avesani, P., McPherson, B., Hayashi, S. et al. The open diffusion data derivatives, brain data upcycling via integrated publishing of derivatives and reproducible open cloud services. Sci Data 6, 69 (2019). https://doi.org/10.1038/s41597-019-0073-y

MIT Copyright (c) 2020 brainlife.io The University of Texas at Austin and Indiana University

Running the App

On Brainlife.io

You can submit this App online at https://doi.org/10.25663/bl.app.1 via the "Execute" tab.

Running Locally (on your machine)

  1. git clone this repo.
  2. Inside the cloned directory, create config.json with something like the following content with paths to your input files.
{
	"t1":	"/testdata/t1/t1.nii.gz",
	"template": "template/MNI152_T1_2009c+tlrc.BRIK.gz",
	"optional_params": "-allineate -blur 0 3 -minpatch 7 -Qfinal -workhard"
}
  1. Launch the App by executing main
./main

Sample Datasets

If you don't have your own input file, you can download sample datasets from Brainlife.io, or you can use Brainlife CLI.

npm install -g brainlife
bl login
mkdir input
bl dataset download 5a0e604116e499548135de87 && mv 5a0e604116e499548135de87 input/track
bl dataset download 5a0dcb1216e499548135dd27 && mv 5a0dcb1216e499548135dd27 input/dtiinit

Output

t1.nii.gz

Dependencies

This App only requires singularity to run. If you don't have singularity, you will need to install following dependencies.

MIT Copyright (c) 2020 brainlife.io The University of Texas at Austin and Indiana University

About

runs AFNI's 3dQwarp function over a NIfTI file


Languages

Language:Shell 100.0%