Frontiers in NeuroinformaticsBioinformaticsPeer-reviewed journal article
Experimental Directory Structure (Exdir): An alternative to HDF5 without introducing a new file format
Svenn-Arne DraglyiD, Milad Hobbi MobarhaniD, Mikkel Elle LepperødiD, Simen TennøeiD, Marianne FyhniD, Torkel HaftingiD, Anders Malthe‐SørensseniD
Abstract
Natural sciences generate an increasing amount of data in a wide range of formats developed by different research groups and commercial companies. At the same time there is a growing desire to share data along with publications in order to enable reproducible research. Open formats have publicly available specifications which facilitate data sharing and reproducible research. Hierarchical Data Format 5 (HDF5) is a popular open format widely used in neuroscience, often as a foundation for other, more specialized formats. However, drawbacks related to HDF5s complex specification have initiated a discussion for an improved replacement. We propose a novel alternative, the Experimental Directory Structure (Exdir), an open standard for data storage in experimental pipelines which amends drawbacks associated with HDF5 while retaining its advantages. HDF5 stores data and metadata in a hierarchy within a complex binary file which, among other things, is not human-readable, not optimal for version control systems, and lacks support for storing raw data. Exdir, one the other hand, uses file system directories to represent the hierarchy, with metadata stored in human-readable YAML files, datasets stored in binary NumPy files, and raw data stored directly in subdirectories. Furthermore, storing data in multiple files makes it easier to track for version control systems. Exdir is not a file format in itself, but a standard for organizing files in a directory structure. Exdir uses the same abstractions as HDF5 and is compatible with the HDF5 Abstract Data Model. Several research groups are already using data stored in a directory hierarchy as an alternative to HDF5, but no common standard exists in the field. This complicates and limits the opportunity for data sharing and development of common tools for reading, writing, and analyzing data. Exdir facilitates improved data storage, data sharing, reproducible research, and novel insight from interdisciplinary collaboration. With the publication of Exdir, we invite the scientific community to join the development to create an open standard that will serve as many needs as possible and that will serve as a foundation for open access to and exchange of data.\n\nSIGNIFICANCE STATEMENTExperimental Directory Structure (Exdir) is a proposal to standardize a storage solution that has become an increasingly popular alternative to Hierarchical Data Format 5 (HDF5), namely to use directories to define a hierarchy, store data in binary files, and metadata in text files. While this strategy is deployed locally by several research groups, no common standard exists. We envision the establishment of such a standard and present Exdir to the community as a starting point.
- Citations
- 19
- FWCI
- 3.23
- Field percentile
- top 6%
Reproducibility ledger
Nobody has reported trying to reproduce this paper yet. Did you replicate an experiment or run the code? Your report saves the next lab a week.
Sign in to file a reproducibility report.
Related papers
- BRAINformat: A Data Standardization Framework for Neuroscience Data
Oliver Rübel, Prabhat, … Kristofer Bouchard·bioRxiv·Aug 13, 2015
- FRED: a universal tool to generate FAIR metadata for omics experiments
Jasmin Walter, Carsten Tobias Kuenne, … Mario Looso·bioRxiv·Feb 4, 2026
- Photon-HDF5: an open file format for single-molecule fluorescence experiments using photon-counting detectors
Antonino Ingargiola, Ted Laurence, … Xavier Michalet·bioRxiv·Dec 23, 2015
- NDI: A platform-independent data interface and database for neuroscience physiology and imaging experiments
Daniel García Murillo, Yixin Zhao, … Stephen D. Van Hooser·eNeuroPeer-reviewed·Jan 1, 2022
- BD5: an open HDF5-based data format to represent quantitative biological dynamics data
Koji Kyoda, Kenneth H. L. Ho, … Shuichi Onami·PLoS ONEPeer-reviewed·Aug 12, 2020
- OpenNeuro: An open resource for sharing of neuroimaging data
Christopher Johnson Markiewicz, Krzysztof J. Gorgolewski, … Russell Alan Poldrack·eLifePeer-reviewed·Oct 18, 2021