Skip to content

fix(pgx): require real depth before two CYP2D6 callers count as agreeing - #278

Open
geiresx wants to merge 3 commits into
mainfrom
pgp/i411-cyp2d6-gate
Open

geiresx wants to merge 3 commits into
mainfrom
pgp/i411-cyp2d6-gate

Conversation

@geiresx

@geiresx geiresx commented Nov 20, 2026

Copy link
Copy Markdown
Owner

The CYP2D6 depth check read only the share of MAPQ 0 reads, so flanks
at 6x with every read mapped well passed as fit for a copy-number call,
and two callers could agree on too few reads. Flanks under 10x at
MAPQ >= 1 now make the verdict unreliable, with the message "agreement
not counted (depth)". Multi-mapped reads are still named first.

Bead: pgx-09
Bead: D10
A pypgx CYP2D6 call whose defining variants are not all PASS, or not of
good quality, now reads "weak evidence (...)" in the Evidence column of
pgx_consensus.tsv. A call Cyrius agrees with is still passed: the flag
shows the weakness, it does not withhold the call.

Bead: pgx-01
…ypgx evidence shows

Bead: pgx-09
Bead: pgx-01
@coderabbitai

coderabbitai Bot commented Nov 20, 2026

Copy link
Copy Markdown

Important

  • Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

Run configuration

  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

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