Giter Club home page Giter Club logo

dj-nwb-li-2015b's Introduction

Li et al., 2015b

This repository sets up the data pipeline corresponding to Figure 4 in Li et al., (2015). "A motor cortex circuit for motor planning and movement." and provides the notebook for the figure replication.

Link to the publication: https://doi.org/10.1038/nature14178

Link to the original data: https://dx.doi.org/10.6080/K0MS3QNT

Link to the exported NWB files: https://drive.google.com/drive/u/1/folders/1ZiyqvKBiu1yjr7UTR4RNo6Kcs0Wdf67o

Access to view the notebook: https://nbviewer.jupyter.org/github/shenshan/Li-2015b/blob/master/notebooks/Li-2015b-examples.ipynb

This study revealed the flow of information within motor cortex circuits involved in converting preparatory activity into movements. One important part of the motor cortex is known as anterior later motor cortex (ALM), which has been shown to involve in planing directed licking. Projection neurons in ALM include two major classes: intratelencephalic (IT) neurons that project to other cortical areas and pyramidal tract (PT) neurons that project out of the cortex, including to motor-related areas in the brainstem. Results in Figure 4, in particular, characterized the selectivity and preference of PT and IT neurons in ALM L5 on the population level.

Schema structure

The lab schema:

lab schema

The experiment schema:

experiment schema

The imaging schema:

imaging schema

Instrunctions on setting up the pipeline and notebook locally.

  1. This repo is set up with docker, install docker and docker-compose.

  2. Set up your local mysql server.

  3. git clone https://github.com/vathes/li-2015b.git

  4. Inside the repository, open a file called .env and paste in the following information and save the file.

    DJ_HOST=host.docker.internal
    DJ_USER=YOUR_USER_NAME
    DJ_PASS=YOUR_PASSWORD
    
  5. Create a directory called data, and download the data from the link https://dx.doi.org/10.6080/K0MS3QNT, put the meta data file into data/meta_data and the recorded data into data/datastruction.

  6. Run the bash script with command bash li2015b.sh The whole script takes a few hours to run. After it's done, you will find nwb files in the directory data/NWB 2.0

  7. To run the notebook, open your browser and put in http://localhost:8810/notebooks/Li-2015b-examples.ipynb

dj-nwb-li-2015b's People

Contributors

shenshan avatar eywalker avatar dimitri-yatsenko avatar

Stargazers

mnarayan avatar

Watchers

James Cloos avatar  avatar  avatar  avatar Tolga Dincer avatar Milagros Marín avatar Sidharth Hulyalkar avatar Kushal Bakshi avatar

Forkers

shenshan

dj-nwb-li-2015b's Issues

linked data set and instruction has some errors and docker-compose.yml file missing

We would like point out serval issues or information (maybe useful for others): 1) In the repository, the linked provided is wrong. The linked data set is not the data expected to for that pipeline. 2) A docker-compose.yml file is missing. I guess this is very difficult to figure out without certain background knowledge. 3) After ingested the data, we could not reproduce two of the figures that has been shown in the notebook. While other figures can be reproduced. Maybe we still have unrecognized problem for data ingestion. 4) In the repository, the data ingestion requires running bash file. I work with windows 10 system. So I ingested the data within the jupyter notebook, but I found out that I need to add following line to make the data ingestion work.
dj.config["enable_python_native_blobs"] = True

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.