Skip to content

BrainCOGS/U19-pipeline-matlab

Repository files navigation

U19 MATLAB Pipeline

This is a data pipeline, constructed in DataJoint, used across Princeton's U19. It specifies a number of tables and their relational structure to organizes all metadata to

  • mouse management,
  • training management,
  • microscope management,
  • und recording

in one coherent framework.

Installation

Prerequisite

  • Install DataJoint for MATLAB
    • Utilize MATLAB built-in GUI i.e. Top Ribbon -> Add-Ons -> Get Add-Ons
    • Search, select, and install DataJoint

User installation

  • First time:

    • Add this repository to MATLAB Path or cd to this repository folder.
    • dj_initial_conf(1)
    • Insert user and password for the DB
  • Subsequent times:

    • Add this repository to MATLAB Path or cd to this repository folder.
    • connect_datajoint00

Tutorial

Follow the steps to go through the tutorial:

  1. Get into the directory of the current tutorial tutorials/202103/

  2. Choose your tutorial

    • Querying data (Strongly recommended)

      • go through session01_queries_fetches.mlx
    • Building analysis pipeline (Recommended only if you are going to create new databases or tables for analysis)

      • go through session02_build_pipeline.mlx

Accessing data files on your system

Backend

The backend is a SQL server [MariaDB].

Integration into rigs.

The rigs talk to the database directly [SSL, wired connection].

About

Data pipeline for U19 projects

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published