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

[WIP] SCHEMA bep011 #1086

Closed
wants to merge 8 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
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
28 changes: 28 additions & 0 deletions src/schema/objects/columns.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,12 +37,20 @@ cardiac:
description: |
continuous pulse measurement
type: number
centroid:
name: centroid
description: Center coordinate of structure
type: number
color:
name: color
description: |
Hexadecimal. Label color for visualization.
type: string
unit: hexadecimal
curvature:
name: curv
description: Curvature index of cortical structure
type: number
derived_from:
name: derived_from
description: |
Expand Down Expand Up @@ -158,6 +166,10 @@ index:
description: |
The label integer index.
type: integer
intensity:
name: intensity
description: Intensity of voxels within structure
type: number
low_cutoff:
name: low_cutoff
description: |
Expand Down Expand Up @@ -444,6 +456,18 @@ strain_rrid:
of the strain of the species, for example: `RRID:IMSR_JAX:000664`.
type: string
format: rrid
structure_name:
name: name
description: Structure name
type: string
surface_area:
name: area
description: Surface area of cortical structure
type: number
thickness:
name: thickness
description: Thickness of cortical structure
type: number
time:
name: time
description: |
Expand Down Expand Up @@ -574,6 +598,10 @@ value:
anyOf:
- type: number
- type: string
volume:
name: volume
description: Volume of structure
type: number
volume_type:
name: volume_type
description: |
Expand Down
16 changes: 16 additions & 0 deletions src/schema/objects/entities.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -304,6 +304,22 @@ space:
for other data types, it is restricted to derivative data.
type: string
format: label
space__surface:
name: Surface Space
entity: space
description: |
The space entitiy that corresponds to the surface coordinate space subset of the
coordinate space options.
type: string
format: label
space__volume:
name: Volume Space
entity: volspace
description: |
The volspace entitiy corresponds to the 3D coordinate space subset of the
coordinate space options.
type: string
format: label
split:
name: Split
entity: split
Expand Down
51 changes: 51 additions & 0 deletions src/schema/objects/suffixes.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@
name: 2-photon excitation microscopy
description: |
2-photon excitation microscopy imaging data
area:
name: Surface Area
description: Discretized surface area across regions
BF:
name: Bright-field microscopy
description: |
Expand All @@ -27,10 +30,22 @@ CONF:
name: Confocal microscopy
description: |
Confocal microscopy imaging data
curv:
name: Curvature Index
description: Cortical surface curvature indices
defects:
name: Defects
description: Marked regions with surface defects
DIC:
name: Differential interference contrast microscopy
description: |
Differential interference contrast microscopy imaging data
dist:
name: Distance
description: Distance from a point
distortion:
name: Distortion Map
description: Distortion map calculated from a surface registration
DF:
name: Dark-field microscopy
description: |
Expand All @@ -55,10 +70,17 @@ FLASH:
When used in a file collection, it may result in conflicts across filenames of
different applications.
**Change:** Removed from suffixes.
flat:
name: Flattened Surface
description: The flattened surface (used for visualization)
FLUO:
name: Fluorescence microscopy
description: |
Fluorescence microscopy imaging data
inflated:
name: Inflated Midthickness
description: |
An inflation of the midthickness surface (useful for visualization)
IRT1:
name: Inversion recovery T1 mapping
description: |
Expand Down Expand Up @@ -87,6 +109,9 @@ MESE:
times and is primarily used for T2 mapping.
Please note that this suffix is not intended for the logical grouping of
images acquired using an Echo Planar Imaging (EPI) readout.
midthickness:
name: Pial/White Matter Midpoint Thickness
description: The midpoints between wm and pial surfaces
MP2RAGE:
name: Magnetization Prepared Two Gradient Echoes
description: |
Expand Down Expand Up @@ -146,6 +171,9 @@ MTsat:
MTsat maps are REQUIRED to use this suffix regardless of the method used to
generate them.
unit: arbitrary
myelinmap:
name: Myelin Map
description: Myelin map calculated from T1w to T2w ratio
MWFmap:
name: Myelin water fraction image
description: |
Expand Down Expand Up @@ -208,6 +236,9 @@ PDw:
In a gradient-echo acquisition, PD weighting dominates the contrast at long
repetition and short echo times, and at small flip angles.
unit: arbitrary
pial:
name: Pial
description: The gray matter / pial matter border
PLI:
name: Polarized-light microscopy
description: |
Expand Down Expand Up @@ -411,6 +442,9 @@ TEM:
name: Transmission electron microscopy
description: |
Transmission electron microscopy imaging data
thickness:
name: Cortical Thickness
description: Cortical thickness
UNIT1:
name: Homogeneous (flat) T1-weighted MP2RAGE image
description: |
Expand Down Expand Up @@ -644,11 +678,28 @@ sessions:
These files MUST include a session_id column and describe each session by one and only one row.
Column names in sessions.tsv files MUST be different from group level participant key column
names in the participants.tsv file.
smoothwm:
name: Smoothed White Matter
description: The smoothed gray matter / white matter border
sphere:
name: Sphere
description: |
The sphere (used for registration - see transforms for nomenclature)
stim:
name: Continuous recording
description: |
Continuous measures, such as parameters of a film or audio stimulus.
sulc:
name: Sulcal Depth
description: Sulcal Depth
uCT:
name: Micro-CT
description: |
Micro-CT imaging data
vinflated:
name: Very Inflated Midthickness
description: |
A very-inflated midthicknesss surface (also for visualization)
wm:
name: White Matter
description: The gray matter / white matter border for the cortex
18 changes: 18 additions & 0 deletions src/schema/rules/checks/derivatives/common.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
---
ResInSidecar:
selectors:
- dataset.dataset_description.DatasetType == "derivative"
- '["mri", "pet"].includes(modality)'
- '["nii", " nii.gz"].includes(extension)'
- typeof(sidecar.Resolution) == "object"
checks:
- sidecar.Resolution.hasOwnProperty(entities.resolution)

DenInSidecar:
selectors:
- dataset.dataset_description.DatasetType == "derivative"
- '["mri", "pet"].includes(modality)'
- '[".nii", ".nii.gz"].includes(extension)'
- typeof(sidecar.Density) == "object"
checks:
- sidecar.Density.hasOwnProperty(entities.density)
18 changes: 0 additions & 18 deletions src/schema/rules/common_derivatives_validation.yaml

This file was deleted.

Loading