Skip to content

Release 2026.1.0#69

Open
bencap wants to merge 18 commits intomavedb-mainfrom
mavedb-dev
Open

Release 2026.1.0#69
bencap wants to merge 18 commits intomavedb-mainfrom
mavedb-dev

Conversation

bencap and others added 16 commits December 4, 2025 17:56
…ction

Prior to this change, we relied on the user supplying an appropriate HGNC symbol for their target as their target name. This is no longer required. Instead, transcript selection follows the following algorithm:

1.   Align the target sequence with BLAT.
2.    Fetch transcripts which overlap the aligned region (notably, without an HGNC symbol filter).
3.    Perform transcript selection within each distinct gene. This will either leave us with (a) one transcript in cases where we have no overlapping genes in a region, or, (2) one transcript per gene when multiple genes overlap an aligned region. These will be our candidate transcripts.
4.    If we still have more than one candidate transcript, we compare the similarity of each candidate to the provided target sequence. Select the most similar transcript.
This function queries the Ensembl API with exponential backoff as needed, returning a list of features which overlap the passed region.
…over-to-protein-level-alignment

Auto-failover for Protein Level Alignment
…liance-on-user-supplied-target-metadata

Reduce reliance on user supplied target metadata during transcript selection
Computes a new `gene_info` property for all mapped targets. This property is defined by an `hgnc_symbol` and a `selection_method`.

The hgnc symbol is the HGNC symbol of the gene to which this target relates. The selection method is the method by which this symbol was selected and may be:
- `tx_selection`: via the selected transcript
- `alignment_max_covered_bases`: based on the gene 'feature' (via Ensembl) which covered the most bases of the aligned target
- `variants_max_covered_bases`: same as `alignment_max_covered_bases`, but based on variant bases rather than aligned bases
- `target_metadata`: based on parsing the target metadata the user supplied
- `target_category`: no gene info was selected because the target was not protein coding (see #66)

Various helpers were added to `dcd_mapping.annotate` which support this calculation. Gene info selection should not cause job failures, and will simply fail to select gene info on failure.
…-for-mapped-targets

Output gene name for mapped targets
@bencap bencap changed the title Release 2026.0.0 Release 2026.1.0 Feb 3, 2026
bencap and others added 2 commits February 4, 2026 09:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants