Liftover page: show allele merges (merged across ClinGen alleles, and refused)

Open
#2,962 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
56/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Active
Tech stack
python
Domain
backend, database

Research direction

Read the liftover page template and the two existing grid implementations, then trace how the allele merge log is stored and queried. Add a newest-first table with linked alleles, date, linking tool, merged or refused status, and message; done when it appears alongside the existing grids and includes merges from every source.

Written by the indexing model from the issue text.

Description

🤖 Written by Claude

Follow-up to #2954 / PR #2957.

Background

Since PR #2957, two alleles merge even when ClinGen gives them different allele IDs, as long as they don't have different variants in the same build. Each merge, and each refused merge, is recorded in the allele merge log with both alleles, the linking tool and a message. For a merge across two ClinGen IDs the message names both.

That log is only visible on each individual allele's page. There is no way to see across alleles which merges overrode ClinGen, or which were refused.

What the liftover page shows today (admin only)

  • Failures per build: each allele's latest failed liftover, with the tool and error. A refused merge appears here.
  • A single liftover run: each allele with its status and message. A merge that went through shows as skipped with "(merged ...)", without the ClinGen IDs, and only if you open that run.

Proposal

Add an "Allele merges" table to the liftover page, backed by the allele merge log:

  • Columns: date, both alleles (linked to their pages), linking tool, merged or refused, message. Newest first.
  • Searching the message for "ClinGen" lists the merges made across two ClinGen IDs.
  • It covers every source of merges (liftover, ClinGen linking, same-contig builds), since they all write to the same log.

No schema change: one grid, one URL and one section in the page template, following the two grids already on that page.

This is a place to look, not an alert. A health check line was considered and decided against.

Dominant language
Python
Stars
31
Forks
4
Avg merge
4h 52m
Merged PRs (30d)
183

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from SACGF/variantgrid

All issues in SACGF/variantgrid

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.