Skip to content

Commit

Permalink
Added info on where to upload data and which files to edit when uploa…
Browse files Browse the repository at this point in the history
…ding a new subject/sample
  • Loading branch information
ayendiki authored Dec 24, 2024
1 parent 4be245b commit 9b81161
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion docs/upload.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,14 @@ dandi download https://lincbrain.org/dandiset/101010/draft
The above example will create a directory called `/path/to/my/staging/area/101010` with a file called `dandiset.yaml` in it. Any data files that you want to upload to your new lincbrain.org dataset have to first be saved here, and organized according to the [Brain Imaging Data Structure (BIDS)](https://bids-specification.readthedocs.io/).

## Organize your data
An example of how to organize a dataset that includes dMRI and histology data from two brains is shown below:
An example from a (fictional) dataset that includes dMRI and histology data from two brains is shown below, and can be used as a guide for organizing your own data. A few things to watch out for:
1. If you are creating a new dataset, you have to create a `dataset_description.json` file.
1. If you are adding data from a new subject to an existing dataset, you have to add an entry with the new subject's information to the `participants.tsv` file.
1. If you are adding data from a new sample (part of the brain) to an existing dataset, you have to add an entry with the new sample's information to the `samples.tsv` file.
1. Any data files that you add must go under:
* `rawdata/` if they are raw (unprocessed) data in NIfTI or Zarr format
* `sourcedata/` if they are raw (unprocessed) data in other formats
* `derivatives/` if they are the outputs of pre-processing or other downstream analyses of the raw data

```
101010/
Expand Down

0 comments on commit 9b81161

Please sign in to comment.