Skip to content

Update clinical data annotator with separated germline/somatic columns - #247

Merged
calvinlu3 merged 5 commits into
masterfrom
fix/clinical-data-annotator
Aug 25, 2026
Merged

calvinlu3 merged 5 commits into
masterfrom
fix/clinical-data-annotator

Conversation

@calvinlu3

@calvinlu3 calvinlu3 commented Aug 18, 2026 •

Copy link
Copy Markdown
Contributor

calvinlu3 and others added 5 commits August 18, 2026 11:46
Split the clinical summary's oncogenic roll-up into somatic and germline
columns: ONCOGENIC_MUTATIONS/#ONCOGENIC_MUTATIONS become
SOMATIC_ONCOGENIC_MUTATIONS/#SOMATIC_ONCOGENIC_MUTATIONS, and new
GERMLINE_PATHOGENIC_MUTATIONS/#GERMLINE_PATHOGENIC_MUTATIONS collect
variants annotated Pathogenic or Likely Pathogenic.

Look up ONCOGENIC via geIndexOfHeader so a germline-only annotated file,
which has no such column, no longer raises. Both column guards now check
for a non-negative index, so a missing column reads as empty instead of
silently picking up the last field of the row.

OncoKBPlots falls back to the old ONCOGENIC_MUTATIONS name for clinical
files produced by an earlier version of the annotator.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@calvinlu3
calvinlu3 requested a review from jfkonecn August 20, 2026 13:52
@calvinlu3

Copy link
Copy Markdown
Contributor Author

Test baseline values will be updated in the next data release

@calvinlu3
calvinlu3 merged commit 4ab257f into master Aug 25, 2026
19 of 21 checks passed
@calvinlu3
calvinlu3 deleted the fix/clinical-data-annotator branch August 25, 2026 13:55
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