YY Preprocessing Documentation¶
Welcome to the documentation for yyprep - a comprehensive tool for DICOM to BIDS conversion and fMRIPrep preprocessing, developed for Prof. Yaara Yeshurun's Lab.
What is yyprep?¶
YY Preprocessing (yyprep) is a Python package that streamlines neuroimaging data preprocessing workflows by providing:
- DICOM to BIDS conversion using HeuDiConv with automatic fieldmap handling
- fMRIPrep preprocessing through a simplified nipype-compatible interface
- Unified command-line interface for complete preprocessing pipelines
- Python API for programmatic workflow control
Quick Start¶
Installation¶
Basic Usage¶
# Convert DICOM to BIDS
yyprep dicom2bids participants.csv --bids-dir /path/to/bids --heuristic heuristic.py
# Run fMRIPrep preprocessing
yyprep fmriprep /path/to/bids /path/to/output participant --participant-label 001 002
Documentation Sections¶
Getting Started¶
- Installation - Setup and requirements
- Quick Start Guide - Get up and running in minutes
- Configuration - Setup and customization
User Guide¶
- DICOM to BIDS Conversion - Convert your DICOM data to BIDS format
- fMRIPrep Integration - Preprocess your BIDS data with fMRIPrep
- Command Line Interface - Complete CLI reference
- Python API - Use yyprep in your Python scripts
Advanced Topics¶
- Heuristics - Custom DICOM conversion rules
- Workflows - Creating custom preprocessing pipelines
- Troubleshooting - Common issues and solutions
Development¶
- Contributing - How to contribute to the project
- API Reference - Detailed API documentation
- Release Notes - Version history and changes
Examples¶
Explore complete examples in our examples directory:
- Complete Jupyter Notebook:
tzlil_preprocessing.ipynb- End-to-end preprocessing workflow - Python Script:
fmriprep_usage.py- fMRIPrep integration examples
Features¶
✅ DICOM to BIDS Conversion - Automated conversion using HeuDiConv - Custom heuristic support - Automatic fieldmap IntendedFor handling
✅ fMRIPrep Integration - Nipype-compatible interface - Docker-based execution via fmriprep-docker - Comprehensive parameter support
✅ Unified CLI - Single command for complete pipelines - Flexible parameter configuration - Dry-run capabilities
✅ Python API - Programmatic workflow control - Integration with existing pipelines - Jupyter notebook support
Support¶
- Issues: GitHub Issues
- Discussions: GitHub Discussions
- Documentation: This documentation site