Skip to content

datajoint-company/odor_meso

 
 

Repository files navigation

Odor Meso

  • DataJoint pipeline to capture the data for the mice two-photon imaging experiments in the presence of olfactory stimulation.

  • This is a clone of the cajal/pipeline with modifications.


Install pipeline

Step 1 - Clone the repositories

  • Launch a new terminal and run the following
    cd ~/<Enter custom path>
    git clone https://github.com/reimerlab/odor_meso
    git clone --branch release-1.0 https://github.com/ppfaff/DataPlot
    cd odor_meso
    

Step 2 - Create .env

  • At the root of the odor_meso repository folder, create a new file .env from the env_template.

  • Specify the database's DJ_HOST, DJ_USER, and DJ_PASS.

Step 3 - Create paths.init and uinit.init

  • This file is required for the DataMan and plot_dm functions.

  • At the root of the odor_meso repository folder, create a paths.init file and a uinit.init file.

Step 4 - Customize docker-compose.yml

  • Under ports: HOST:CONTAINER, if the HOST port is in use you will need to change this port.

Step 5 - Build the Docker image

  • Install Docker Desktop

  • From the root of the cloned odor_meso repository directory

    docker-compose up -d --build notebook
    

Step 6 - (Optional) Install DataJoint LabBook

Installation complete

  • At this point the basic setup of this pipeline is complete.

Docker commands

  • The following is a resource for docker commands you may need to utilize.

  • Build the Docker image

    docker-compose up -d --build notebook
    
  • If the image is already built, start a container

    docker-compose up -d notebook
    
  • Access an interactive bash shell of the container

    docker exec -it odor_meso_notebook_1 /bin/bash
    
  • Stop and remove containers and networks

    docker-compose down
    

Process data

  • The data ingestion and processing is usually handled with an automatic procedure, but the steps are described within the following Jupyter Notebook. To run the notebook, navigate to localhost:8888 in your web broswer.
    ~/odor_meso/python/scripts/data_ingest.ipynb
    

Explore data

  • Detailed instructions can be found within the following Jupyter Notebook. To run the notebook, navigate to localhost:8888 in your web broswer.
    ~/odor_meso/python/scripts/data_explore.ipynb
    

About

Odor experiment pipeline for meso

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Jupyter Notebook 39.2%
  • Python 33.6%
  • MATLAB 27.1%
  • Other 0.1%