UTRAnnotator uORF summary names only uAUG effects; SpliceVault top events help text shows the data file's separator

Open
#2,583 2 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
Half a day
Newbie friendliness
62/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Active
Tech stack
bioinformatics, python

Research direction

Start with utr_annotator_annotation_formatter in classification/autopopulate_evidence_keys/evidence_from_variant.py, which currently summarises UTRAnnotator records by type and Kozak strength, and annotation/effect_filters.py, which already reads alt_type. Then open migration classification/migrations/0007_avi_splicevault_utr_annotator_ekeys.py to see the splicevault_top_events description and example. Done when uORF summaries name the effect for uSTOP and uFrameshift records, and a new data migration corrects the SpliceVault separator in the key's help text.

Written by the indexing model from the issue text.

Description

🤖 Written by Claude

Follow-up to #2563 (the evidence keys themselves, and what goes to Shariant, stay on that issue). Two cosmetic problems found when agent-testing those keys on test.variantgrid.com.

1. uORF details summary is incomplete

The utr_annotator_annotation key is autopopulated by utr_annotator_annotation_formatter (classification/autopopulate_evidence_keys/evidence_from_variant.py), which summarises each UTRAnnotator record as its type plus Kozak strength. Only uAUG gain / loss records have type; uSTOP gain / loss and uFrameshift records carry ref_type / alt_type (and FrameWithCDS) instead, so they come out as a bare Kozak strength:

  • GRCh38: OutOfFrame_oORF (Moderate Kozak), (Moderate Kozak)
  • GRCh37: (Strong Kozak), uORF (Moderate Kozak)

About a third of UTRAnnotator records on the current GRCh38 version are of these kinds, and uSTOP loss to an oORF is one of the effects the Effect node rule (annotation/effect_filters.py, which already reads alt_type) treats as damaging. The summary should name the effect for every record kind, e.g. ref_type → alt_type for the records that change ORF type.

2. SpliceVault top events help text uses the wrong separator

The splicevault_top_events key's description and example (migration classification/migrations/0007_avi_splicevault_utr_annotator_ekeys.py) show Top1:CD;-35;31%;Frameshift (rank:type;position;percent;frame), which is the separator in SpliceVault's data file. VEP's VCF output turns ; into :, so the stored and autopopulated values are Top1:ES:4:29%:inFrame. Migration 0007 is applied on test deployments, so the correction is a new data migration updating the key's description and example.

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.