GSoC icon indicating copy to clipboard operation
GSoC copied to clipboard

Automated Clinical Metadata Harmonization Dashboard

Open shbrief opened this issue 10 months ago • 8 comments

Background

cBioPortal hosts over 400 cancer genomics studies with clinical metadata from diverse sources. While individual studies are well-curated, metadata heterogeneity across studies severely limits cross-study analysis and machine learning applications. For example:

  • Treatment information appears as 24+ different terms: RADIO_THERAPY, Rad, XRT, Radiation, etc.
  • Age attributes vary: AGE, AGE_AT_DIAGNOSIS, DIAGNOSIS_AGE, age_at_initial_pathologic_diagnosis
  • Disease staging uses inconsistent systems: TUMOR_STAGE_2009, AJCC_STAGE, STAGE, PATHOLOGIC_STAGE

We manually harmonized metadata from 375 cBioPortal studies, creating a standardized data dictionary with:

  • Unified attribute names (e.g., all age attributes → age_at_diagnosis)
  • Ontology integration (NCIT, MONDO, UBERON terms)
  • Controlled vocabularies for categorical variables
  • Cross-study comparability enabling large-scale ML applications

cBioPortal continuously adds new studies, and manual harmonization cannot scale to keep up. We need an automated harmonization system to maintain consistency as the repository grows. We have been working on an automated harmonization pipeline using the manually harmonized metadata as a reference. The pipeline is featured with:

  • Schema mapper: Sentence transformer-based attribute name matching (BioBERT/PubMedBERT)
  • Value harmonizer: Semantic search with ontology validation (NCIT/MONDO)
  • Confidence scoring: Threshold-based classification for mapping quality

Goal

The primary deliverable is the MetaHarmonizer Dashboard, an interactive, production-ready web application for the cBioPortal curator workflow with full documentation. The dashboard will be featured with

  • Automatically harmonizes new cBioPortal study metadata using machine learning
  • Visualizes harmonization results with confidence scores and suggestions
  • Enables curator review and editing of automated mappings
  • Tracks harmonization history and maintains data quality metrics
  • Exports harmonized metadata in standardized formats

The core deliverables will include,

  • Dashboard application with source code and deployment instructions
  • REST API for harmonization pipeline access
  • Benchmarking report on existing mappers with improvements implemented
  • Integration guide for cBioPortal data loading pipeline

Documentation includes,

  • User guide for curators (with screenshots and tutorials)
  • API documentation
  • Deployment and maintenance guide
  • Performance evaluation report

Approach

Phase 1: Evaluation & Benchmarking (Weeks 1-2)

Test existing mappers on recent cBioPortal studies. Benchmark performance:

  • Mapping accuracy (precision, recall, F1)
  • Confidence score calibration
  • Edge case handling (missing values, free-text, synonyms)
  • Processing speed and scalability

Identify gaps and implement improvements to the harmonization pipeline as needed.

Phase 2: Interactive Dashboard Development (Weeks 3-12)

Build production-ready web application integrated into cBioPortal's curation workflow:

Core Features:

  • Study ingestion: Upload new study metadata, trigger automated harmonization
  • Mapping review interface: Side-by-side view with confidence scores, sample values, batch editing
  • Curator tools: Accept/reject/edit mappings, add custom rules, flag issues
  • Quality assurance: Progress tracking, confidence distribution, validation checks
  • Export & integration: Generate harmonized files, mapping reports, cBioPortal-ready formats

cBioPortal Integration:

  • Align with cBioPortal data model and file formats
  • Support curator workflow (review → approve → export)
  • API endpoints for potential automation in data loading pipeline

Need skills

  • Required Skills: Python, Web development (frontend/backend), UI/UX design basics
  • Preferred Skills: React/Vue.js or Shiny, FastAPI/Flask, Machine Learning/NLP, Bioinformatics

Possible mentors

Sehyun Oh (@shbrief)

If you are interested

Anyone interested in this project, please email your EDA work to [email protected] and submit it to the GSoC official site. Looking forward to hearing your idea. Thanks!

Required

Design a curator dashboard for metadata harmonization. Here is the current version of MetaHarmonizer (https://github.com/shbrief/MetaHarmonizer). Submit a document (PDF/markdown) or interactive prototype showing:

  • UI mockup or wireframe for the mapping review interface
  • Key features you would implement (with rationale)
  • How curators would interact with the tool (user workflow)
  • Brief technical architecture (frontend, backend, database)

Optional (choose one or more for bonus points):

  • Working prototype - Implement a simple dashboard demo (any framework)
  • Mapper evaluation - Test existing approach on metadata_samples.zip and report findings
  • Integration plan - Propose how to integrate with cBioPortal's data loading workflow

shbrief avatar Feb 02 '26 21:02 shbrief

Hi Sehyun,

I recently came across the MetaHarmonizer project and found the metadata harmonization challenge very intruiging. The merger of NLP, ML, and real-world curation workflows is something I’d genuinely like to explore more.

I’m a second-year CSE student building my foundation in Python, ML, and web development, and I’d love toconnect and learn how I can start preparing and contributing towards this GSoC direction. Although, Im a beginner when it comes to open source.

Looking forward to contributing.

adityshambhvi avatar Feb 21 '26 03:02 adityshambhvi

Hi Sehyun,

I’m very interested in this project. In my previous bioinformatics and clinical informatics work, I have worked on data harmonization efforts that integrated multiple datasets, combining real-world, heterogeneous clinical data with high-dimensional omics data. I navigated challenges related to variability in data structure, missingness, coding standards, and cross-platform integration.

While there would be a learning curve for me regarding some of the skills, I am a quick, self directed learner and very motivated to learn, a few things I'd like to explore in a proposal: Benchmarking the existing BioBERT/PubMedBERT schema mapper against newer domain-specific models (BiomedBERT-large) on the metadata_samples set, with precision/recall/F1 stratified by attribute type (treatment, staging, age) Adding confidence calibration diagnostics to the pipeline? A FastAPI backend with a Streamlit review interface, I'll be preparing the EDA document and dashboard design to send to your email shortly. Happy to discuss scope or technical direction beforehand.

ishaniray1 avatar Feb 23 '26 06:02 ishaniray1

Hi Sehyun,

I’m very interested in contributing to the Automated Clinical Metadata Harmonization Dashboard project for GSoC 2026.

The challenge of harmonizing heterogeneous clinical metadata across cBioPortal studies—especially handling schema inconsistencies (e.g., age attributes, treatment terminology, staging systems) and ontology integration (NCIT, MONDO, UBERON)—strongly aligns with my interests in machine learning, NLP, and data engineering for real-world biomedical applications.

I’m particularly excited about:

  1. Improving the schema mapper using transformer-based models (BioBERT/PubMedBERT or newer biomedical embeddings)
  2. Designing a curator-friendly dashboard with confidence-aware mapping review
  3. Building a scalable backend (FastAPI) integrated with a clean React/Streamlit frontend
  4. Implementing evaluation metrics (precision, recall, F1) and confidence calibration diagnostics

I have experience working with:

  1. Python (data processing, ML workflows)
  2. Metadata handling and structured data pipelines
  3. ML model integration and evaluation
  4. Backend/API development concepts

I’m currently reviewing the existing MetaHarmonizer repository and will be preparing:

  1. A curator dashboard UI mockup
  2. A proposed technical architecture
  3. An evaluation plan for the existing mapper

I would appreciate any guidance on specific areas you’d like contributors to focus on or gaps in the current pipeline that need immediate attention.

sahithiroy avatar Mar 02 '26 09:03 sahithiroy

Hi Sehyun,

My name is Zohaib Arif, and I’m currently a Software Engineering student. I found this project very interesting, particularly the challenge of harmonizing heterogeneous clinical metadata using NLP-based mapping and ontology validation.

I’ve been reviewing the MetaHarmonizer repository and have prepared the required EDA work, including a dashboard mockup, proposed curator workflow, and a brief technical architecture. I’m currently finalizing the document and will share it soon via email.

Please let me know if there are any specific aspects you would like contributors to emphasize.

Thank you.

Zohaibarif69 avatar Mar 11 '26 14:03 Zohaibarif69

Hi @shbrief,

I am very interested in the Automated Clinical Metadata Harmonization Dashboard project. The challenge of balancing AI automation with human-in-the-loop trust in curation workflows is exactly the problem I'd love to tackle for GSoC 2026.

I have just sent an email to your inbox with my complete proposal and EDA work. To briefly summarize my submission:

A comprehensive PDF covering the UI wireframes, curator workflow, and a Streamlit-to-FastAPI architecture plan.

A working Streamlit MVP prototype (HTML attached in the email) to demonstrate the low-click review interface.

A detailed mapper evaluation on metadata_samples.zip. I evaluated 142 source columns, identifying 15 with 100% confidence and analyzing edge cases like missing clinical indicators (e.g., BMI, cholesterol) in the curated_meta.csv reference dictionary.

I would greatly appreciate any feedback on my approach and architecture design. Looking forward to the opportunity to contribute to the cBioPortal ecosystem!

Best regards, Zhengyang Peng (@tonypzy)

tonypzy avatar Mar 13 '26 13:03 tonypzy

Hi @shbrief,

After reviewing the MetaHarmonizer repository and the project description, my understanding is that the automated pipeline already produces candidate mappings using:

  • sentence-transformer based schema matching (BioBERT / PubMedBERT)
  • ontology-aware value harmonization (NCIT / MONDO)
  • confidence scoring to estimate mapping reliability

The key challenge now is turning these predictions into a practical curator workflow, where automated suggestions accelerate the process while still allowing experts to validate and correct mappings.

While thinking about the dashboard design, a few interface ideas stood out to me:

1. Mapping Review Interface

Instead of reviewing attributes individually, curators could work in a side-by-side mapping table showing:

Source Attribute | Suggested Standard Attribute | Confidence | Sample Values | Ontology Term | Action Example: RAD → radiation_therapy | 0.93 | [XRT, Radiation] | NCIT:C15313

This allows curators to quickly:

  • accept mappings
  • edit suggestions
  • reject incorrect matches
  • define manual override rules

Confidence-based color coding could help prioritize review effort (e.g., red <0.6, yellow 0.6–0.85, green >0.85).

2. Dataset-Level Quality Overview

Before reviewing mappings, curators should see a summary dashboard including:

  • mapping confidence distribution
  • number of unmapped attributes
  • ontology validation failures
  • attributes requiring manual review

This allows curators to focus first on high-risk metadata inconsistencies.

3. Rule Learning / Reusability

Since many inconsistencies repeat across studies (e.g., age attributes or radiation terminology), the dashboard could allow curators to create custom mapping rules that automatically apply to future studies.

Example rule: Rad | XRT | Radiation → radiation_therapy

This would gradually improve the harmonization pipeline over time.

Technical architecture I am exploring

Backend

  • Python service (FastAPI)

  • wrapper around MetaHarmonizer pipeline

  • endpoints for:

    • study upload
    • harmonization execution
    • mapping review updates
    • export of standardized metadata

Frontend

  • React dashboard
  • interactive review table
  • confidence visualizations
  • curator workflow management

Database

  • mapping history
  • curator decisions
  • reusable mapping rules
  • ontology references

I’m currently preparing the required EDA document including UI mockups, curator workflow, and system architecture, which I will send via email as requested.

If there are specific parts of the MetaHarmonizer pipeline or metadata examples that would be most useful to focus on during evaluation, I would appreciate any guidance.

arnvptl avatar Mar 15 '26 14:03 arnvptl

Hi @shbrief I'm Francesco Olivato. My background is BS in Computer Science, MS in Artificial Intelligence and currently I’m a PhD student in AI in Medicine (University of Brescia). Previously worked as software engineer for a local company, developing web applications. Relevant Skills

For this project I plan to use python and related frameworks (pytorch, sklearn, numpy, etc..) to develop and assess the AI pipeline. Instead regarding the front-end development I would choose the JS language especially React or Vue (the ones I’m most familiar with) and their respective lib environment.

To be honest, I never had prior open source development experience. That's the main reason for me to apply for the GSoC 2026. Even though I just started my PhD program, I realized that research grade software benefits very much from the open source community (shared effort and transparency) allowing for different institutions with (somewhat) limited funding to cooperate in order to actually address real world scale problems. As I mentioned I didn’t had any opensource experience however in the past I used github to share my academic projects. Here I leave my github link https://github.com/fmolivato as a reference. The code in my repo is mainly developed in python. The full stack projects I implemented are not on github since they were implemented as an employee of a closed source company.

Although I didn’t have any direct experience with bioinformatics and cancer genomics, I’m really motivated to dive deeper in these fields. As a new PhD student I thrive to explore the compelling fields that could shape my PhD research journey in AI in Medicine. I believe the cBioPortal principles and approach to science aligns very much with how I would impact my future research field of choice. I’m convinced that being able to contribute to such a project as a PhD student would benefit both the project and my skillsets.

I would like to tackle a project of 175 hours. As an student with engineering background in my med department one of my key responsibilities is to assist the doctors and med students with the necessary statistical analysis for their work, which allows me to have only a part-time availability throughout the program i.e. 4 hours a day, 24 hours per week (2 months -ish)

fmolivato avatar Mar 17 '26 08:03 fmolivato

Hi! I'm Laura, medicine student applying to this project. I've been digging into the metadata problem from the clinical side and the treatment_type chaos is a good example of why it's hard — 'RADIO_THERAPY', 'Rad', 'XRT' are the same thing but you'd never know from the data alone. TNM staging is even messier across studies.

For the benchmarking phase I was thinking of comparing RapidFuzz, a BioBERT-based embedder, and NCIT lookup on a held-out sample of cBioPortal values before committing to any one approach. Curious if there are existing mapper evaluations I should look at first, or if that's meant to be a deliverable from scratch.

I have a working Streamlit prototype for a related QC problem if that's useful context. Happy to chat more.

laurapiro17 avatar Mar 29 '26 23:03 laurapiro17