|
a |
|
b/README.md |
|
|
1 |
# Spine Generic Public Database (Multi-Subject) |
|
|
2 |
[](https://doi.org/10.5281/zenodo.4299140) |
|
|
3 |
[](https://github.com/spine-generic/data-multi-subject/actions?query=workflow%3A%22Dataset+Validator%22) |
|
|
4 |
|
|
|
5 |
## About this dataset |
|
|
6 |
|
|
|
7 |
This dataset was acquired using the [spine-generic protocol](http://spinalcordmri.org/protocols) |
|
|
8 |
on multiple subjects, multiple sites and multiple MRI vendors and models. The list of subjects |
|
|
9 |
is available in [participants.tsv](./participants.tsv). |
|
|
10 |
|
|
|
11 |
This dataset follows the [BIDS](https://bids.neuroimaging.io/) convention. |
|
|
12 |
The contributors have the necessary ethics & permissions to share the data publicly. |
|
|
13 |
|
|
|
14 |
The dataset does not include any identifiable personal health information, including names, |
|
|
15 |
zip codes, dates of birth, facial features on structural scans. |
|
|
16 |
|
|
|
17 |
The entire dataset is about **26GB**. |
|
|
18 |
|
|
|
19 |
## Download |
|
|
20 |
|
|
|
21 |
We are using a tool to manage large datasets called `git-annex`. To download this dataset, you need to have `git` installed, and also [install `git-annex`](https://github.com/neuropoly/data-management/blob/master/git-annex.md#installation) |
|
|
22 |
|
|
|
23 |
> ⚠️ Make sure you have at least **version 8** by running: |
|
|
24 |
> |
|
|
25 |
> ``` |
|
|
26 |
> git annex version | head -n 1 |
|
|
27 |
> # the answer should show something like: git-annex version: 8.20200330 |
|
|
28 |
> ``` |
|
|
29 |
|
|
|
30 |
|
|
|
31 |
Then this will download the dataset: |
|
|
32 |
|
|
|
33 |
``` |
|
|
34 |
git clone https://github.com/spine-generic/data-multi-subject && \ |
|
|
35 |
cd data-multi-subject && \ |
|
|
36 |
git annex init && \ |
|
|
37 |
git annex get . |
|
|
38 |
``` |
|
|
39 |
|
|
|
40 |
You may **substitute** `git annex get` with more specific commands if you are only interested in certain subjects. For example: |
|
|
41 |
|
|
|
42 |
``` |
|
|
43 |
git annex get sub-nwu01/ sub-nwu03/ sub-nwu04/ sub-oxfordFmrib04/ sub-tokyoSkyra*/ |
|
|
44 |
``` |
|
|
45 |
|
|
|
46 |
If you with to update an already-cloned repository, run: |
|
|
47 |
|
|
|
48 |
``` |
|
|
49 |
git pull && git annex get . |
|
|
50 |
``` |
|
|
51 |
|
|
|
52 |
See more at [the official documentation](https://git-annex.branchable.com/walkthrough/) and take note of our [in-lab troubleshooting](https://github.com/neuropoly/data-management/blob/master/git-annex.md). |
|
|
53 |
|
|
|
54 |
## Working from a forked repository |
|
|
55 |
|
|
|
56 |
> ⚠️ For advanced users only. Normally the instructions under [Download](#Download) should be enough. |
|
|
57 |
|
|
|
58 |
If you have forked this repository on Github (so that you have a copy `your-user-name/data-multi-subject` of `spine-generic/data-multi-subject`), you will need to take a few extra synchronization steps to get the latest data with `git annex get`. Otherwise, you may get an error message like: |
|
|
59 |
``` |
|
|
60 |
get some-file-name.nii.gz (not available) |
|
|
61 |
No other repository is known to contain the file. |
|
|
62 |
|
|
|
63 |
(Note that these git remotes have annex-ignore set: origin) |
|
|
64 |
failed |
|
|
65 |
``` |
|
|
66 |
|
|
|
67 |
1. In your local clone of `your-user-name/data-multi-subject`, make sure that `spine-generic/data-multi-subject` is also configured as a remote: |
|
|
68 |
``` |
|
|
69 |
git remote -v |
|
|
70 |
# the answer should show both your-user-name/data-multi-subject.git (probably named "origin") |
|
|
71 |
# and spine-generic/data-multi-subject (probably named "upstream") |
|
|
72 |
``` |
|
|
73 |
|
|
|
74 |
If `spine-generic/data-multi-subject` is missing, you can add it with: |
|
|
75 |
``` |
|
|
76 |
git remote add upstream https://github.com/spine-generic/data-multi-subject.git |
|
|
77 |
git config remote.upstream.annex-readonly true |
|
|
78 |
``` |
|
|
79 |
|
|
|
80 |
2. Then, to update your local clone, make sure to fetch the `git-annex` branch from `spine-generic/data-multi-subject` before running `git annex get`: |
|
|
81 |
``` |
|
|
82 |
git fetch upstream +refs/heads/git-annex:refs/remotes/upstream/git-annex |
|
|
83 |
git pull && git annex get . |
|
|
84 |
``` |
|
|
85 |
|
|
|
86 |
## Analysis |
|
|
87 |
|
|
|
88 |
The instructions to process this dataset are available in the [spine-generic documentation](https://spine-generic.readthedocs.io/en/latest/analysis-pipeline.html). |
|
|
89 |
|
|
|
90 |
## Help |
|
|
91 |
|
|
|
92 |
If you have problems downloading the dataset, please post an [issue](https://github.com/spine-generic/data-multi-subject/issues). Document your steps as much as possible and copy/paste the content of your Terminal. |
|
|
93 |
|
|
|
94 |
## Contributing |
|
|
95 |
|
|
|
96 |
If you wish to contribute to this dataset please see [the wiki](https://github.com/spine-generic/spine-generic/wiki/git-annex). Thank you for your contribution 🎉 |