Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft BEP031 #2

Open
wants to merge 30 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
1bb6c1e
Add Microscopy chapter in mkdocs.yml
mariehbourget Aug 31, 2021
882cdd5
Add Microscopy to list of modalities in src/02-common-principles.md
mariehbourget Aug 31, 2021
26ebedf
Add chunk and stain to src/schema/entities.yaml
mariehbourget Aug 31, 2021
e8ab897
Add Microscopy MACRO to src/99-appendices/04-entity-table.md
mariehbourget Aug 31, 2021
66457af
Add Microscopy to src/schema/modalities.yaml
mariehbourget Aug 31, 2021
6887915
Add microscopy.yaml to src/schema/datatypes
mariehbourget Aug 31, 2021
7560251
Correction to chunk definition in src/schema/entities.yaml
mariehbourget Sep 1, 2021
c1bf695
Add image src/04-modality-specific-files/images/microscopy_chunks.png
mariehbourget Sep 1, 2021
c5bca1b
Add 10-microscopy.md in src/04-modality-specific-files/
mariehbourget Sep 1, 2021
a847c91
Correction to Immersion metadata description
mariehbourget Sep 1, 2021
f7f644f
Merge branch 'bids-standard:master' into bep031_draft
mariehbourget Sep 1, 2021
0debc13
Update JSON metadata examples
mariehbourget Sep 1, 2021
5be750e
Update "chunk" example with 4 chunks instead of 3
mariehbourget Sep 1, 2021
7f864d5
Fixed typo
jcohenadad Sep 2, 2021
8cda4da
Typo
jcohenadad Sep 2, 2021
4aa4960
Typo
jcohenadad Sep 2, 2021
9885acc
Separated examples
jcohenadad Sep 2, 2021
a66aa1f
Add png and tif extension for photos in 10-microsocpy.md and
mariehbourget Sep 7, 2021
d353e12
Corrections to SampleStaining, SamplePrimaryAntibody and
mariehbourget Sep 7, 2021
e401fd6
Update ChunkTransformationMatrix datatype from "array of arrays of
mariehbourget Sep 7, 2021
2bb417e
Update chunk figure and description
mariehbourget Sep 7, 2021
6cc7799
Add photo example (SEM overview)
mariehbourget Sep 8, 2021
2fb4bbd
Update "StationName" and "BodyPart" metadata and comments
mariehbourget Sep 8, 2021
b30b975
Correction to slice thickness metadata example
mariehbourget Sep 8, 2021
15286a9
Revert ChunkTransformationMatrix datatype to "array of arrays of
mariehbourget Sep 9, 2021
8455966
Update overview photo and description
mariehbourget Sep 9, 2021
c80d0c2
Merge branch 'bids-standard:master' into bep031_draft
mariehbourget Sep 9, 2021
28450ed
Add Microscopy to README.md
mariehbourget Sep 9, 2021
dbea4d4
Add link to data_axondeepseg_sem example dataset
mariehbourget Sep 10, 2021
c5c4658
Comments formatting
mariehbourget Sep 10, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ BIDS currently supports the following data modalities with more to come in the f
- behavioral
- physiological
- PET
- Microscopy

# Formatting your data with BIDS

Expand Down
1 change: 1 addition & 0 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ nav:
- Behavioral experiments (with no neural recordings): 04-modality-specific-files/07-behavioral-experiments.md
- Genetic Descriptor: 04-modality-specific-files/08-genetic-descriptor.md
- Positron Emission Tomography: 04-modality-specific-files/09-positron-emission-tomography.md
- Microscopy: 04-modality-specific-files/10-microscopy.md
- Derivatives:
- BIDS Derivatives: 05-derivatives/01-introduction.md
- Common data types and metadata: 05-derivatives/02-common-data-types.md
Expand Down
1 change: 1 addition & 0 deletions src/02-common-principles.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ misunderstanding we clarify them here.
1. `ieeg` (intracranial electroencephalography)
1. `beh` (behavioral)
1. `pet` (positron emission tomography)
1. `microscopy`

Data files are contained in a directory named for the data type.
In raw datasets, the data type directory is nested inside subject and
Expand Down
366 changes: 366 additions & 0 deletions src/04-modality-specific-files/10-microscopy.md

Large diffs are not rendered by default.

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions src/99-appendices/04-entity-table.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,3 +36,7 @@ while entity definitions are in [Appendix IX](09-entities.md).
## Behavioral Data

{{ MACROS___make_entity_table(datatypes=["beh"], auxdatatypes=[]) }}

## Microscopy

{{ MACROS___make_entity_table(datatypes=["microscopy"], auxdatatypes=[]) }}
45 changes: 45 additions & 0 deletions src/schema/datatypes/microscopy.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
---
# Microscopy
- suffixes:
- TEM
- SEM
- CT
- BF
- DF
- PC
- DIC
- FLUO
- CONF
- PLI
- CARS
- 2PE
- MPE
- SR
- NLO
- OCT
- SPIM
extensions:
- .ome.tif
- .ome.btf
- .png
- .tiff
- .json
entities:
subject: required
session: optional
sample: required
chunk: optional
acquisition: optional
stain: optional
run: optional
- suffixes:
- photo
extensions:
- .jpg
mariehbourget marked this conversation as resolved.
Show resolved Hide resolved
- .png
- .tif
entities:
subject: required
session: optional
sample: required
acquisition: optional
20 changes: 20 additions & 0 deletions src/schema/entities.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,15 @@ sample:
The label MUST be unique per subject and is RECOMMENDED to be unique
throughout the dataset.
format: label
chunk:
name: Chunk
entity: chunk
description: |
The `chunk-<index>` key/value pair is used to distinguish between different
regions, 2D images or 3D volumes files, of the same physical sample with
different fields of view acquired in the same imaging experiment.
type: string
format: index
task:
name: Task
entity: task
Expand Down Expand Up @@ -91,6 +100,17 @@ tracer:
although the label may be different.
type: string
format: label
stain:
name: Stain
entity: stain
description: |
The `stain-<label>` key/pair values can be used to distinguish image files
from the same sample using different stains or antibodies for contrast enhancement.
Stains or antibodies SHOULD be indicated as appropriate in the `SampleStaining`,
`SamplePrimaryAntibodies` and/or `SampleSecondaryAntobodies` keys in the JSON file,
although the label may be different.
type: string
format: label
reconstruction:
name: Reconstruction
entity: rec
Expand Down
4 changes: 4 additions & 0 deletions src/schema/modalities.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,7 @@ pet:
name: Positron Emission Tomography
datatypes:
- pet
microscopy:
name: Microscopy
datatypes:
- microscopy