pipelinerz
Pipelinerz aims to coordinate different data sources for analysing escape and LSE experiments. It should allow the user to run specific parts of a common neuroscience analysis pipeline.
Designed to be used alongside SWC Neuroblueprint data organisation principles. See: https://neuroblueprint.neuroinformatics.dev/
This includes:
Behavioural recordings analysis - Nidaq data extraction (daq_loader) - Tracking using DLC (lmtracker)
Serial2p image analysis - Brain registration (brainreg) - Cellfinder (not implemented)
Electrophysiology analysis - Preprocessing (Spikewrap) - Spike sorting (Spikewrap) - Spike train handling (probez) - Automated curation tools (bombcell, unitmatch)
The only arguments needed are the root directories for rawdata and processed data as well as the directory where serial2p images are stored. Data are assumed to follow NIU blueprint.
- extract sync trigger data
- assert that the number of frames is consistent across different data sources (i.e. photodiode vs. probe sync TTL)
- transfer relevant data from raw to derivatives
- convert videos from avi to mp4
- extract behaviour data on the camera frames only and save as .npy (i.e. photodiode, photometry etc)
- submit DLC tracking job to the swc hpc
- submit spikesorting job with spikewrap to the swc hpc
- submit brain registration job to the swc hpc
Data considered here consist of the following:
Behavioural recordings
- camera.avi file of mouse behaviour
- AI.tdms file
- stimulus information (photodiode used to get looming stimulus onsets)
- auditory stimulus (when present)
- photometry signals and waveform
- TTL clock (used to trigger camera and synchronise with other sources e.g. npix)
Tracking
- Pose estimation and tracking of mouse position over time is carried out using deeplabcut
Probe recordings
- Data acquired using neuropixels probes and spikeglx
- .ap.bin files
- Sync channel (of the probe) that receives the same TTL as the camera (at 40 hz)
- All preprocessing and sorting uses spikewrap (and therefore spike-/probe- interface).
Histology
- Brainreg is used to register serial2p images such that they are ready to be used in brainreg-segment for the reconstruction of probe tracks
Installation
pip install pipelinerz
git clone https://github.com/JoeZiminski/spikewrap.git
cd spikewrap
pip install -e .
Usage from commandline
pipelinerz_gui

When you update the rawdata directory all the available mouse ids will be listed.

The selected mouse ids will be processed when you press "run".

Metadata
Release files for pipelinerz 0.1.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pipelinerz-0.1.6.tar.gz | 17.8 kB | Without provenance | Details for pipelinerz-0.1.6.tar.gz |
Release files / pipelinerz-0.1.6.tar.gz
| Download URL | pipelinerz-0.1.6.tar.gz |
|---|---|
| Size | 17.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7b802b9d83dc8e685ccfc7aed115a7adbcfacd6e748252f4a162689e93738ebc
|
|
BLAKE2b-256 checksum How to use checksums |
0f48e4525dc620dd57e3aedf42ea47e0a43fdfe1a2d808ee89dab9e21672e119
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.10.0
|
Security for pipelinerz 0.1.6
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.