Repository navigation
veff.py in-frame complex variant TODO got duplicate issues open, needs a maintainer decision #1341
Unanswered
laypatel13
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Summary
_get_within_cds_effect()inveff.pyhas anelsebranch that returns a literal"TODO in-frame complex variation (MNP + INDEL)"string withimpact="UNKNOWN"instead of a real classification, for variants where ref/alt are both multi-base, not a pure MNP, and the net length change is a multiple of 3 (in-frame).This has been independently reported and worked on three separate times:
veff.pyis only ever called on true SNPs today (len(ref)==1 and len(alt)==1, enforced upstream insnp_frq.py). → PR fix: handle in-frame complex variants in _get_within_cds_effect() #1227veff.py#1180 - vinitjain2005 raised the same issue independently, proposingINFRAME_COMPLEX_VARIANT. → PR Fix: classify in-frame complex variants (MNP + INDEL) as INFRAME_COMPLEX_VARIANT #1181CODON_CHANGE. → PR fix: classify in-frame complex variants (MNP+INDEL) as CODON_CHANGE in veff.py #1316 (closed, no maintainer review)(#916 also touched this file's TODO placeholders originally, plus a separate intronic/MNP one.)
Why none of the PRs landed
On PR #1227 and #1181, @jonbrenas pointed out the same core issue each time: since the branch can't currently be reached, any label we pick is speculative - there's no real input data to validate the classification against, and it's unclear whether a single effect label can even be assigned correctly for arbitrary multi-base ref/alt pairs without more context.
The actual open question
Rather than a fourth PR proposing a fourth label, it'd help to get a decision on direction:
NotImplementedErroras an explicit stopgap instead of silently returning a placeholder string (discussed on PR fix: handle in-frame complex variants in _get_within_cds_effect() #1227 but not finalized)@jonbrenas - given this keeps resurfacing, could you weigh in on which of these you'd want to see? Happy to pick it up once there's a direction.
Even if there's no bandwidth to decide right now, I'll leave this open as a reference so future contributors searching "TODO" or "in-frame complex" land here first, rather than opening a fourth duplicate issue or PR.
All reactions