Contents Menu Expand Light mode Dark mode Auto light/dark, in light mode Auto light/dark, in dark mode Skip to content
aind-data-schema
Light Logo Dark Logo
aind-data-schema

Getting Started

  • Generating metadata

Core Schemas

  • Data description
  • Subject
  • Procedures
  • Instrument
  • Acquisition
  • Processing
  • Quality control
  • Model
  • Metadata

Component Schemas

  • Components
    • Configs
    • Connections
    • Coordinates
    • Devices
    • Identifiers
    • Measurements
    • Reagent
    • Stimulus
    • Subjects
    • Injection_procedures
    • Subject_procedures
    • Specimen_procedures
    • Surgery_procedures
  • Registries
    • Atlas
    • Brain_atlas
    • Coordinates
    • Data_name_patterns
    • Devices
    • External registries
    • Harp_types
    • Licenses
    • Modalities
    • Organizations
    • Pid_names
    • Process_names
    • Reagent
    • Registries
    • Species
    • Specimen_procedure_types
    • Stimulus_modality
    • System_architecture
    • Units

Philosophy

  • Metadata in general
  • Coordinate systems
  • Validation
  • Related Standards
Back to top
View this page

Related Standards¶

There are an overwhelming number of data standards across the life sciences aligned to various biological subdomains and communities. While it may be clear how any particular piece of data aligns with these standards, no standard spans the diversity and scale of data being collected at the Allen Institute.

aind-data-schema is intentionally unopinionated about how images, arrays, time series, and data frames should be represented in files. Because it decouples metadata representation from data representation, aind-data-schema is able to integrate with other formats in the field easily. We designed aind-data-schema to specifically align well with Neurodata Without Borders (NWB), OME-NGFF, and the Brain Imaging Data Structure (BIDS).

NWB¶

Neurodata Without Borders (NWB) is a data standard for neurophysiology, providing neuroscientists with a common standard to share, archive, use, and build common analysis tools for neurophysiology data. The NWB standard describes how neurophysiology data should be organized in array file formats (either HDF5 or Zarr) and provides locations for a limited amount of metadata to describe experimental conditions.

aind-data-schema describes significantly more metadata. We are actively developing an NWB extension (ndx-aind-metadata) that can directly package aind-data-schema metadata into NWB.

OME-NGFF¶

OME-NGFF is an imaging format specification designed to support massively parallel reading and writing of petascale image data. The OME-NGFF standard describes how imaging data should be arranged in files, including multiresolution image pyramids. OME-NGFF also contains a metadata standard that focuses on microscope configuration.

aind-data-schema describes significantly more metadata. We plan to develop a utility for packaging aind-data-schema metadata into OME-NGFF files, setting common fields as appropriate.

BIDS¶

The Brain Imaging Data Structure (BIDS) is a file and folder naming convention and a metadata standard. AIND organizes our files similarly to the BIDS organization, and many of our metadata concepts align with BIDS.

The primary reason we cannot use BIDS directly is that the file organization is inherently mutable. As new acquisitions are produced, many metadata files must change as they describe the entire group. aind-data-schema is scoped specifically to a single data acquisition.

Croissant¶

Croissant is a metadata format that describes how data (arrays, time series, tables) are laid out in files in such a way that they can be easily read into common machine learning frameworks like PyTorch, TensorFlow, and JAX. It contains a few unconstrained metadata fields to describe fields, columns, etc.

aind-data-schema contains fields that align with array field names (for example, the name of a fiber implanted in a certain location is in procedures.json, and that name will also show up in photometry readout files), but aind-data-schema avoids describing the outer and inner layouts of files and focuses instead on broader experimental metadata.

Hugging Face¶

Hugging Face is a platform for hosting and running machine learning models. It has a schema for model metadata that is used to facilitate model discovery and visualization on their web page. The aind-data-schema model schema extends the core concepts there to cover more detailed descriptions of model architecture, training conditions, and more.

Previous
Validation
Made with Furo
On this page
  • Related Standards
    • NWB
    • OME-NGFF
    • BIDS
    • Croissant
    • Hugging Face