Skip to content

brainlife/app-clean-parcellation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Abcdspec-compliant Run on Brainlife.io

Clean parcellations

This app will This app will remove parcels from a parcellation/volume datatype based on user input. This is done using python, specifically nibabel and numpy.

Authors

Contributors

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/https://doi.org/10.25663/brainlife.app.518 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.

{
	"parc": "/input/parc/parc.nii.gz",
	"key": "/input/parc/key.txt",
	"label": "/input/parc/label.json",
	"discard_labels": "1 181"
}

Sample Datasets

You can download sample datasets from Brainlife using Brainlife CLI.

npm install -g brainlife
bl login
mkdir input
bl dataset download
  1. Launch the App by executing 'main'
./main

Output

The main output of this App is a parcellation/volume datatype containing only the parcels the user wanted.

Product.json

The secondary output of this app is product.json. This file allows web interfaces, DB and API calls on the results of the processing.

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

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published