Git Product home page Git Product logo

brainager_dockerfile's Introduction

brainageR_dockerfile

Dockerfile creates a base docker container that can execute the new version 2.1 of brainageR (author James Cole) which can be found on https://github.com/james-cole/brainageR. Brainage R is a software for generating a brain-predicted age value from a raw T1-weighted MRI scan.

To build the docker you can use the following command, where 'brainimage' is the name of the docker, you can change this variable. Ensure that brainageR script and neurodebian.gpg are in the same directory as Dockerfile.

   docker build . -f Dockerfile -t brainimage

Once the docker is built, you can analyze a raw T1-weighted MRI scan with the following command:

   docker run --rm -it -v ${PWD}/your_data:/data -w /data docker.io/library/brainimage:latest brainageR -f sub-01_T1w_defaced.nii -o subj01_brain_predicted.age.csv

'sub-01_T1w_defaced.nii' is the name of the raw T1-weighted MRI scan decompressed in nii format placed in your_data folder, and 'subj01_brain_predicted.age.csv' is the .csv file where the age predictions are saved.

In this dockerfile, brainageR relies in Octave instead of Matlab.

Within this brainageR docker, we reset the header realigning the input image to MNI to ensure all values are in the proper range. This procedure overwrites the input file.

Links for required softwares:

·BrainageR: https://github.com/james-cole/brainageR

·SPM12(r7219): https://github.com/spm/spm12/archive/refs/tags/r7219.tar.gz

·OCTAVE patch (also works for SPM12 r7219): https://raw.githubusercontent.com/spm/spm-docker/main/octave/spm12_r7771.patch

·Neurodebian.gpg file for FSL installation: https://github.com/PennBBL/fiberfox-wrapper/blob/master/neurodebian.gpg

brainager_dockerfile's People

Contributors

fprados avatar samguay avatar digitalraven avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.