Skip to content
forked from bsmn/ndasynapse

Code for synchronizing NDAR data with Synapse

Notifications You must be signed in to change notification settings

NDAR/ndasynapse

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

96 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Syncing BSMN data at NDA in Synapse

Uses the NIMH Data Archive Web Services to synchronize files and metadata (annotations) stored in an NDA-hosted Amazon S3 bucket to a Synapse Project.

See this IPython Notebook for examples.

Installation

pip install git+https://github.com/bsmn/ndasynapse.git

Docker

docker pull bsmn/ndasynapse

Usage

The main tool to use is query-nda, which is installed as a command line tool when installing the package.

> query-nda -h
usage: query-nda [-h] [--verbose] [--config CONFIG]
                 {get-experiments,get-submissions,get-submission,get-collection-manifests}
                 ...

positional arguments:
  {get-experiments,get-submissions,get-submission,get-collection-manifests}
                        sub-command help
    get-experiments     Get experiments from NDA.
    get-submissions     Get submissions in NDA collections.
    get-submission      Get an NDA submission.
    get-collection-manifests
                        Get an NDA submission.

optional arguments:
  -h, --help            show this help message and exit
  --verbose
  --config CONFIG

About

Code for synchronizing NDAR data with Synapse

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 97.1%
  • R 2.9%