cancervariants / cancervariants/variation-normalization

Determine how to return MANE data with more than one mane_select

Open
#174 1 comment 0 reactions 0 assignees View on GitHub
priority:low question
Dominant language
Python
Stars
15
Forks
2
PR merge metrics
No merged PRs in 30d

Description

[Here](https://github.com/cancervariants/variation-normalization/blob/main/variation/validators/validator.py#L676), we determine which MANE data to return in the response. We are taking the result with the highest count. However, this is not the best approach. If there are two distinct `mane_select` results each with a `count = 1` it will return the first match it found. This is likely the problem of #136 failing occasionally. For some reason, accessions somehow change order when running the same query multiple times.

@MayLiu27 stated that in their database, they know the `c.` position of the transcript they are talking about. Maybe we could provide a parameter giving a known position to help decide in these cases?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.