Developed NWB conversion tools for the Dan lab's sleep-wake project. The pipeline standardizes multiple data streams including EEG, EMG, fiber photometry, optogenetic stimulation data, behavioral videos, and DeepLabCut pose estimation. These tools enable comprehensive analysis of brain activity during sleep and wakefulness, facilitating data sharing through the DANDI Archive with example visualization notebooks for exploring the data relationships across modalities. This project culminated in two Dandisets: The first (#001617) focuses on the neural dynamics of sleep-wake regulation, as recorded by EEG, EMG, and fiber photometry, and probed by optogenetic stimulation. The second (#001711) centers on behavioral outcomes as captured by video and pose estimation data, alongside EEG and EMG recordings.
The Dan lab has collected preliminary data comparing brain activity during sleep and wakefulness, using simultaneous EEG and fiber photometry, as part of the ASAP initiative. Our goals are to package this data at each stage of processing in the NWB format so that it can be shared within the lab and published on the DANDI Archive.
Conversion of Project Data
We wrote an open-source Python package to ingest data from the systems used in the lab’s sleep-wake project into NWB, covering EEG, EMG, fiber photometry, optogenetics, and behavioral video. Further components are developed as the project progresses, to stay compatible with the other varieties of experiment the lab performs.
Publication on DANDI
We created a pipeline that uploads the specified list of converted sessions to the DANDI Archive automatically, and a Dandiset annotated according to DANDI best practices. Because data collection is ongoing and the corresponding paper is not yet published, the data is not uploaded publicly; it may be uploaded in embargo mode instead, with a decision on public release taken with the lab toward the end of the project.
Demonstrating NWB Usage
We created Jupyter notebooks demonstrating how to read the converted files, access each data stream, and generate example visualizations. These notebooks were submitted to the DANDI example-notebooks repository.