Skip to main content

NeuroDataPub: Tool built for publication of BIDS datasets of the NCCR-Synapsy

Project description

NeuroDataPub: NCCR-SYNAPSY Neuroimaging Dataset Publishing Tool

This tool is developed by the Connectomics Lab at the University Hospital of Lausanne (CHUV) for use within the lab and within the National Centre of Competence in Research (NCCR) "SYNAPSY – Synaptic Bases of Mental Diseases" NCCR-SYNAPSY, as well as for open-source software distribution.

PyPI DOI Documentation Status CircleCI All Contributors Codacy Badge

Overview

NeuroDataPub is an open-source neuroimaging dataset publishing tool written in Python and built on top of Datalad and git-annex. It aims to lower the barriers, for the NCCR-SYNAPSY members, to manage and publish, privately or publicly, their dataset repositories on GitHub and the annexed files on their SSH data server, in order to fully fulfill the implemented Neuroimaging Data Management Plan.

NeuroDataPub comes with its graphical user interface, aka the NeuroDataPub Assistant, created to facilitate:

  • the configuration of the siblings,

  • the creation of the JSON configuration files, as well as

  • the execution of NeuroDataPub in three different modes:

    1. creation and publication of a datalad dataset,
    2. creation of a datalad dataset only,
    3. publication of an existing datalad dataset only,

NeuroDataPub is a Python 3.8 package that can be easily installed with pip as follows:

pip install "git+https://github.com/NCCR-SYNAPSY/neurodatapub.git"

Documentation

Usage

NeuroDataPub has the following commandline arguments:

usage: neurodatapub [-h] --mode {all,create-only,publish-only} --bids_dir
                    BIDS_DIR --datalad_dir DATALAD_DIR
                    --git_annex_ssh_special_sibling_config
                    GIT_ANNEX_SSH_SPECIAL_SIBLING_CONFIG
                    --github_sibling_config GITHUB_SIBLING_CONFIG [--gui] [-v]

Command-line argument parser of NeuroDataPub (v0.1)

optional arguments:
  -h, --help            show this help message and exit
  --mode {all,create-only,publish-only}
                        Mode in which ``neurodatapub`` is run: ``"create-
                        only"`` creates the datalad dataset only, ``"publish-
                        only"`` creates the datalad dataset only, ``"all"``
                        creates the datalad dataset only,
  --bids_dir BIDS_DIR   The directory with the input dataset formatted
                        according to the BIDS standard.
  --datalad_dir DATALAD_DIR
                        The local directory where the Datalad dataset should
                        be.
  --git_annex_ssh_special_sibling_config GIT_ANNEX_SSH_SPECIAL_SIBLING_CONFIG
                        Path to a JSON file containing configuration
                        parameters for the git-annex SSH special remote
                        dataset sibling
  --github_sibling_config GITHUB_SIBLING_CONFIG
                        Path to a JSON file containing configuration
                        parameters for the GitHub dataset repository sibling
  --gui                 Run NeuroDataPub in GUI mode
  -v, --version         show program's version number and exit

Acknowledgment

If your are using NeuroDataPub in your work, please acknowledge this software and its dependencies:

  • Tourbier S, Hagmann P., (2021). NCCR-SYNAPSY/neurodatapub: NCCR-SYNAPSY Neuroimaging Dataset Publishing Tool (Version 0.1). Zenodo.

  • Halchenko et al., (2021). DataLad: distributed system for joint management of code, data, and their relationship. Journal of Open Source Software, 6(63), 3262, https://doi.org/10.21105/joss.03262.

License information

This software is distributed under the open-source Apache 2.0 license. See license for more details.

All trademarks referenced herein are property of their respective holders.

Help/Questions

If you run into any problems or have any code bugs or questions, please create a new GitHub Issue.

Funding

Supported by the National Centre of Competence in Research (NCCR) "SYNAPSY – Synaptic Bases of Mental Diseases" NCCR-SYNAPSY (grant TO BE UPDATED).

Contributors ✨

Thanks goes to these wonderful people (emoji key):


Sébastien Tourbier

💻 📖 🎨 🤔 🚇 🚧 🧑‍🏫 📆 💬 👀

Patric Hagmann

🔍

This project follows the all-contributors specification. Contributions of any kind welcome!

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

neurodatapub-0.2.tar.gz (22.9 kB view details)

Uploaded Source

Built Distribution

neurodatapub-0.2-py3-none-any.whl (63.7 kB view details)

Uploaded Python 3

File details

Details for the file neurodatapub-0.2.tar.gz.

File metadata

  • Download URL: neurodatapub-0.2.tar.gz
  • Upload date:
  • Size: 22.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.6.3 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.0 CPython/3.8.11

File hashes

Hashes for neurodatapub-0.2.tar.gz
Algorithm Hash digest
SHA256 2ee38715d459a55af41160ebc8f7bc9ba3d98f40ba916c7a3ea964ca3c386965
MD5 9a3e160532389433b68b1b31bd2ff70c
BLAKE2b-256 cf10e93d5bcbbd28ee278bc2c7babb822e8c6bfdb8033bd0c1fa9b7e2e944978

See more details on using hashes here.

File details

Details for the file neurodatapub-0.2-py3-none-any.whl.

File metadata

  • Download URL: neurodatapub-0.2-py3-none-any.whl
  • Upload date:
  • Size: 63.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.6.3 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.0 CPython/3.8.11

File hashes

Hashes for neurodatapub-0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 5659d7375f80e16bc8cd329b034e8bfccd8604b6443e98f187355a6d2534d6d6
MD5 36dab8f2f900513e6edc4a6edfba57c3
BLAKE2b-256 b33863468c77735ba08e2adf5214aeb2bf06d2b42aa9ab1df4992038d64cc9a4

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page