GithubHelp home page GithubHelp logo

neuro-ml / bidstransformers Goto Github PK

View Code? Open in Web Editor NEW
3.0 7.0 0.0 113.69 MB

BIDS Transformers for neuroimaging data preprocessing based on BIDS and sklearn architecture

Jupyter Notebook 37.65% Python 62.35%

bidstransformers's Introduction

BIDSTransformers

This is a very basic proof of concept of BIDS Transformers. It implements two transformers: one based on FSL ROI extractor and second based on FSL Skull Stripping.

Example notebook is BIDS_Transformers.ipynb. To run this notebook you will need the following:

  1. Clone this repository
  2. Working Nipype installation. You can also use docker container (see instructions below).
  3. PyBIDS package (pip install pybids)
  4. Download data folder from one of the following links and put it into the folder /bidst/tests/data

Installing Nipype

You can follow the Nipype tutorial.

Using docker

Getting neuro_docker container:

git clone https://github.com/Neurita/neuro_docker.git
cd neuro_docker
docker build -t="dockerfile/neuro" .
cd ..

Downloading repository

git clone https://github.com/neuro-ml/BIDSTransformers.git
cd BIDSTransformers

Running docker:

sudo docker run -v $PWD/:/work/soft/BIDSTransformers -it -p 8809:8809 dockerfile/neuro

Installing needed packages in the docker:

pip install notebook pybids duecredit
apt-get update
apt-get install tree

export PATH=/work/soft/ants/build/bin:$PATH
export ANTSPATH=/work/soft/ants/build/bin/

Starting jupyter notebook in the docker:

jupyter notebook --no-browser --ip="*" --allow-root --port 8809

You will see message:

  Copy/paste this URL into your browser when you connect for the first time,
  to login with a token:
    http://localhost:8809/?token=some_token
git checkout crn-code-sprint2017

You will need to open this url in your browser and copy the token.

bidstransformers's People

Contributors

hyperswitcher avatar lodurality avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

bidstransformers's Issues

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.