Repository navigation
Add an offline uORF evidence catalogue and mutation-position API - #467
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Variants in 5′ UTRs need a reference for upstream reading frames with actual translation evidence. This adds a versioned, offline human uORF catalogue with exact reference proteins, spliced GRCh38 coding blocks and source-pinned ribosome/MS observations, plus a public Python API and discoverable CLI.
The first dataset has 3,771 upstream models and MS observations for 1,219. Assays, protein intervals, source-specific mapping ambiguity and spectrum reviews remain separate. A genomic-position query reports the uORF residue and overlapping reference peptides; it never promotes native observations into evidence for mutant translation or tumor-specific presentation. TPST1 is a regression example: its observed native peptide covers residues 31–39 and is absent from the 30-aa fusion candidate.
load_uorf_catalog,UORFCatalog.queryandUORFRecord.map_genomic_positionwork offline.isovar uorf-evidence/isovar-uorf-evidenceexport JSON, TSV and FASTA. The package includes source/license notices, input/output hashes, a reproducible optional source builder and mutation interpretation guidance. Version: 1.46.0.The complete 2026 curated shotgun tables remain outside this dataset's stated scope; the public export coverage mismatch and concrete follow-up are tracked in #466. Unknown or absent evidence is not treated as a negative result.
Validation:
./lint.sh;./test.sh(5,826 passed); focused API/CLI regressions; repository-localpip check; installed wheel queried outside the checkout with network access blocked, including both CLI entry points and packaged source/license files.