Giter VIP home page Giter VIP logo

hcplifespan2bids's Introduction

Converts HCP datasets into BIDS format. Works for both Lifespan and Young Adult.

lifespan.py: Converts Aging and Development (i.e. Lifespan) datasets to BIDS format.

hcpya.py: Converts Young Adult dataset to BIDS format.

Lifespan

Usage

python lifepsan.py --nda_dir <path to unprocessed data> --output_dir <path to output BIDS directory>

Options

You can run python lifespan.py --help to see all options. The most important ones are:

  • --nda_dir: Path to the unprocessed data directory. This should contain a directory titled 'imagingcollection01'.
  • --output_dir: Path to the output BIDS directory. This directory will be created if it does not exist.
  • --overwrite: If specified, will overwrite existing files in the output directory.
  • --method: The method to use for linking/copying/moving the files. The options are "hardlink", "softlink", "copy", and "move". Default is "hardlink".
  • --dry_run: If specified, will not actually copy/move/link any files, but will print out what it would do.
  • --use_bids_uris: If specified, will use BIDS URIs instead of BIDS filenames in the JSON sidecar. URIs are the current standard, but as of April 2024 they were not supported by fMRIPrep.

Downloading the data

I found it easiest to use the ndatools downloadcmd commandline tool to download the data. You can download downloadcmd using pip install nda-tools.

HCP Young Adult

TODO: Add information about the HCP Young Adult dataset.

Running fMRIPrep

I was able to successfully run fMRIPrep on the HCP-Development and Young Adult data after turning the bids verification off. I have not tested the Aging dataset yet.

Useful Links

hcplifespan2bids's People

Contributors

ellisdg avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Forkers

fireflysaint

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.