🫀 Yang Lab

Cardiac Imaging Research | Cedars-Sinai

📊 Data Management Query System

A powerful web-based tool for managing and querying cardiac imaging research datasets

Overview

The Yang Lab Data Management Query System is a custom-built Python application that provides a comprehensive interface for managing research datasets. The system enables efficient organization, search, and analysis of cardiac imaging files including DICOM, IMA, DAT, and MAT formats.

🐍 Python 🌐 Flask 📊 Pandas 💾 Box Storage 📈 Excel Export

Key Features

🔍 Advanced Search & Filtering

  • Multi-criteria Search: Filter by folder, subject, file type, date range
  • File Type Detection: Automatically identify DICOM (.dcm), IMA (.ima), DAT (.dat), and MAT (.mat) files
  • Path Search: Search within full folder paths
  • Depth Filtering: Filter by folder hierarchy depth

📂 Folder Tree Aggregation

  • Tree View: See total file counts across entire folder hierarchies
  • Individual View: View file counts for specific folders only
  • Toggle Views: Switch between aggregated and individual folder views
  • Deep Scanning: Traverses all subfolder levels automatically

📊 Data Analytics

  • Real-time Statistics: View total counts for folders, files, and processed data
  • Processing Status: Track which datasets have been processed (.mat files exist)
  • Date Tracking: Monitor file creation and modification dates
  • Visual Indicators: Color-coded rows for quick status identification

📥 Export Capabilities

  • Excel Export: Export filtered results to Excel spreadsheets
  • Summary Reports: Automatic generation of data summaries
  • Flexible Views: Export either aggregated or individual folder data

🌐 Web-Based Interface

  • Browser Access: No complex desktop software needed
  • Intuitive Design: User-friendly interface with clear navigation
  • Responsive Layout: Works on desktop and laptop computers
  • Real-time Updates: Instant search results as you type

System Screenshots

Main Dashboard Interface

Screenshots will be added soon

Search and Filter Panel

Screenshots will be added soon

📥 Download & Installation

For Yang Lab Members: This system is designed for internal lab use to manage research datasets stored in Box.

⬇️ Download Python Script

System Requirements

  • Python 3.7 or higher (Anaconda recommended)
  • Required Python packages:
    • Flask
    • Pandas
    • openpyxl (for Excel export)
  • Box Desktop App with access to Human folder
  • Operating System: Windows, macOS, or Linux
  • Web Browser: Chrome, Firefox, Safari, or Edge

🚀 Installation Instructions

Step 1: Install Python (if not already installed)

Download and install Anaconda from: anaconda.com/download

Step 2: Install Required Packages

Open Anaconda Prompt (Windows) or Terminal (Mac/Linux) and run:

pip install flask pandas openpyxl

Step 3: Set Up Box Access

Ensure you have:

  • Box Desktop App installed and synced
  • Access to the Box/Data/Human folder
  • Folder synced to your local computer

Step 4: Download the Script

Click the download button above to get human_folder_webV3.py

Step 5: Configure the Path

Open the Python file in a text editor and update this line to match your Box folder location:

BOX_HUMAN_ROOT = r"C:\Users\YourUsername\Box\Data\Human"

Replace "YourUsername" with your actual username

Step 6: Run the Application

Open Anaconda Prompt, navigate to the folder containing the script, and run:

python human_folder_webV3.py

The web interface will automatically open in your browser at http://localhost:5000

Step 7: Perform Initial Scan

Click the "Deep Rescan All Folders" button to index your data. This may take several minutes depending on the number of folders.

Usage Guide

Basic Operations

Color Coding

Support & Contact

For questions, issues, or access requests, please contact:

Future Enhancements

We are working on making this system fully accessible online. Future updates may include: