PGx: CYP2D6 structures from sub-region CN — *68+*4, *36+*10, *13 (PGX-013/018)

Sub-region CNs (p5, intron 2, exon 9) resolve full copies and *36/*68/*13 units; candidates carry the
tandem names, background alleles, and CPIC activity sums. GeT-RM: CYP2D6 13/15 top (NA12878 *3/*68+*4 and
NA11832 *1/*68+*4 exact), 15/15 within feasible; all genes 132/144.
This commit is contained in:
kemal committed 2026-09-29 16:29:54 +01:00
1 parent e567d12684
commit 46422b8de4
7 files changed
+129 -31

No files matched your search

+1 -1
View File
@@ -67,7 +67,7 @@ def truth_alternatives(text: str) -> list[list[set[str]]]:
def matches(call: tuple[str, str], truth: list[list[set[str]]]) -> bool:
a, b = (re.sub(r"x\d+$", "", x) for x in call)
a, b = (re.sub(r"x\d+$", "", x.split("+")[-1]) for x in call) # tandem "*68+*4" → core "*4"
return any((a in t[0] and b in t[1]) or (a in t[1] and b in t[0]) for t in truth)