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. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01814GKVzZVL3FuF3DeiZXhv
This commit is contained in:
1 parent
58dbd8f514
commit
1428535e91
7 files changed
+129
-31
No files matched your search
@@ -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)
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user