2011 Summer Project Week Iowa Huntington's disease data sharing

From NAMIC Wiki
Revision as of 14:07, 24 June 2011 by Mscully (talk | contribs)
Jump to: navigation, search
Home < 2011 Summer Project Week Iowa Huntington's disease data sharing

Full Title of Project

Key Investigators

  • UIowa: Hans Johson, Mark Scully


Objective

Share a subset of the Huntington's disease data from UIowa.

Approach, Plan

Data will be made available via xnat.

Progress

Data is shared as the NAMIC_HD project on xnat at https://predict-hd.net/xnat.

Fill out the form File:NAMIC DATA SHARING.doc to request access.

After access has been granted and an account has been created you can fetch the raw data using the script File:Fetch NAMIC HD data.sh.gz and the processed data using File:Fetch NAMIC HD derived data.sh.gz.

The raw data is large (over 1TB) so it will take a long time and require a large amount of space.

Run either script with '-h' for terse help. Each file takes a basePath under which the output will be constructed of the form $basePath/NAMIC_HD/subjectID/scanID.zip for the raw data and $basePath/NAMIC_HD/subjectID/scanID_type.zip for the processed data. The raw data zip files expand to scanID/scans/scanTypes/resources/DICOM/files/ and the processed zip files expand to scanID/reconstructions/scanID_10_AUTO.NN3Tv20110419-BRAINSAutoWorkup/out/resources/resourceType/files/. When fetching the raw data you can specify a list of image types you are interested in using '-t' followed by a comma delimited list of scan types (It defaults to 'ALL'). You can get a list of possible scan types by running "./Fetch_NAMIC_HD_DATA.sh -l". The types you are likely to be interested in are at the beginning of the list. If either script is interrupted while running it can be restarted and it will skip over already downloaded zip files (provided you have not set force=True or deleted the relevant .zip files). If you run either command without a required input you will be prompted to provide it. Brief usage examples for each command follows:

usage: ./fetch_NAMIC_HD_data.sh [-u username] [-b basePath] [-t scanTypes] [-f]
-f (force) Overwrite .zip files even if they exist. (defaults to FALSE)
-l (list) List scan types and exit.
-u username: username on predict-hd.net/xnat
-b basePath: path to store data under
-t scanTypes: comma delimited list of scan types. (Defaults to ALL) Ex: T1-30,T2-30


usage: ./fetch_NAMIC_HD_derived_data.sh [-u username] [-b basePath] [-t scanTypes] [-f]
-f (force) Overwrite .zip files even if they exist. (defaults to FALSE)
-u username: username on predict-hd.net/xnat
-b basePath: path to store data under


References

Delivery Mechanism

This work will be delivered to the NAMIC Kit as a project in the xnat instance at https://predict-hd.net/xnat