Coder Social home page Coder Social logo

aind-ephys-job-dispatch's Introduction

Dispatch jobs for AIND ephys pipeline

aind-ephys-job-dispatch

Description

This simple capsule is designed to dispatch jobs for the AIND pipeline.

It assumes the data is stored in the data/ directory, and creates as many JSON files as the number of jobs that can be run in parallel. Each job consists of a recording with spiking activity that needs spike sorting.

Inputs

The data/ folder must include an ecephys folder with a single recorded session.

The data ingestion layer supports three input formats:

  • aind: data folder created at AIND (e.g., "ecephys_664438_2023-04-12_14-59-51") with the ecephys folder containing the ecepys_compressed and ecephys_clipped folders.
  • spikeglx: a SpikeGLX generated folder
  • nwb: a single NWB file (either in HDF5 or Zarr backend)

The ecephys data can have multiple experiments (or blocks), each with multiple streams (probes) and continuous recordings (segments). Different recordings can be concatenated together to form a single recording (and spike sorted together) or treated as separate recordings (and spike sorted separately).

Parameters

The code/run script takes 2 arguments:

  --concatenate         Whether to concatenate recordings (segments) or not. Default: False
  --input {aind,spikeglx,nwb}
                        Which 'loader' to use (aind | spikeglx | nwb)

Output

The output of this capsule is a list of JSON files in the results/ folder, containing the parameters for a spike sorting job.

Each JSON file contains the following fields:

  • session_name: the session name (e.g., "ecephys_664438_2023-04-12_14-59-51")
  • recording_name: the recording name, which will correspond to output folders downstreams (e.g, "experiment1_Record Node 101#Neuropix-PXI-100.probeA-AP_recording1")
  • recording_dict: the SpikeInterface dict representation of the recording with paths relative to the data folder
  • recording_lfp_dict: the SpikeInterface dict representation of the LFP recording associated to the main recording (e.g., the LF stream in case of Neuropixels). If the recording is wideband this field will be set.

aind-ephys-job-dispatch's People

Contributors

alejoe91 avatar

Watchers

 avatar  avatar

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.